[Mesa-dev] r300 problems in the 7.10.3 and 7.11 tarballs

Jeremy Huddleston jeremyhu at freedesktop.org
Mon Jul 25 09:26:38 PDT 2011


Can we please get a 7.10.4 release with this fixed?  It's not a bug in libarchive; you just get lucky that gnutar doesn't complain (which I think *is* a bug in gnutar).

Some users are running into problems using gnutar with this archive, so that's not really a great fallback either:
https://trac.macports.org/ticket/30058

There doesn't seem to be a good solution (I don't count zip) other than rolling a new tarball (which will be nice to collect the rest of the 7.10 branch patches anyway):

$ tar -tvjf MesaLib-7.10.3.tar.bz2 | grep r300/compiler/memory_pool.c
-rw-rw-r--  0 idr    idr      2671 May 20 01:31 Mesa-7.10.3/src/mesa/drivers/dri/r300/compiler/memory_pool.c
hrw-rw-r--  0 idr    idr         0 May 20 01:31 Mesa-7.10.3/src/mesa/drivers/dri/r300/compiler/memory_pool.c link to Mesa-7.10.3/src/mesa/drivers/dri/r300/compiler/memory_pool.c

The issue partly exists in 7.11-rc2, but we don't see it because it's just including the file twice rather than including a symlink to itself:

$ tar -tjvf MesaLib-7.11-rc2.tar.bz2 | grep memory_pool.c
-rw-rw-r--  0 idr    idr      2671 Jul  8 18:37 Mesa-7.11-rc2/src/mesa/drivers/dri/r300/compiler/memory_pool.c
-rw-rw-r--  0 idr    idr      2671 Jul  8 18:37 Mesa-7.11-rc2/src/mesa/drivers/dri/r300/compiler/memory_pool.c


On Jun 17, 2011, at 9:41 AM, Andreas Radke wrote:

> If you'd check the output of the tar check you'd see files linked to
> itself that seems to break it. That wasn't the case in the releases
> before. It's all related to r300.
> 
> There's probably something wrong with links pointing to the source file.
> 
> BTW: I've used the 'zip' source to build our package. gz+bz2 are broken for me.
> 
> -Andy
> 
> [andyrtr at workstation64 ~]$ LANG=C tar -tvf  ~/arch64/sources/MesaLib-7.10.3.tar.bz2 | grep ^h | sed -e "s: Mesa-7.10.3/src/mesa/drivers/dri/: :g"
> hrw-rw-r-- idr/idr           0 2011-05-20 10:31 r300/compiler/memory_pool.c link to r300/compiler/memory_pool.c
> hrw-r--r-- idr/idr           0 2010-10-05 18:56 r300/compiler/memory_pool.h link to r300/compiler/memory_pool.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r300_fragprog.c link to r300/compiler/r300_fragprog.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r300_fragprog_emit.c link to r300/compiler/r300_fragprog_emit.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/r300_fragprog.h link to r300/compiler/r300_fragprog.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r300_fragprog_swizzle.c link to r300/compiler/r300_fragprog_swizzle.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r300_fragprog_swizzle.h link to r300/compiler/r300_fragprog_swizzle.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r3xx_fragprog.c link to r300/compiler/r3xx_fragprog.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r3xx_vertprog.c link to r300/compiler/r3xx_vertprog.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/r3xx_vertprog_dump.c link to r300/compiler/r3xx_vertprog_dump.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r500_fragprog.c link to r300/compiler/r500_fragprog.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r500_fragprog_emit.c link to r300/compiler/r500_fragprog_emit.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/r500_fragprog.h link to r300/compiler/r500_fragprog.h
> hrw-r--r-- idr/idr           0 2010-12-14 22:43 r300/compiler/radeon_code.c link to r300/compiler/radeon_code.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_code.h link to r300/compiler/radeon_code.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_compiler.c link to r300/compiler/radeon_compiler.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_compiler.h link to r300/compiler/radeon_compiler.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_compiler_util.c link to r300/compiler/radeon_compiler_util.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_compiler_util.h link to r300/compiler/radeon_compiler_util.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_dataflow.c link to r300/compiler/radeon_dataflow.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_dataflow_deadcode.c link to r300/compiler/radeon_dataflow_deadcode.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_dataflow.h link to r300/compiler/radeon_dataflow.h
> hrw-r--r-- idr/idr           0 2011-01-02 23:58 r300/compiler/radeon_dataflow_swizzles.c link to r300/compiler/radeon_dataflow_swizzles.c
> hrw-r--r-- idr/idr           0 2010-12-14 22:43 r300/compiler/radeon_emulate_branches.c link to r300/compiler/radeon_emulate_branches.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/radeon_emulate_branches.h link to r300/compiler/radeon_emulate_branches.h
> hrw-r--r-- idr/idr           0 2010-12-14 22:43 r300/compiler/radeon_emulate_loops.c link to r300/compiler/radeon_emulate_loops.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/radeon_emulate_loops.h link to r300/compiler/radeon_emulate_loops.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_opcodes.c link to r300/compiler/radeon_opcodes.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_opcodes.h link to r300/compiler/radeon_opcodes.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_optimize.c link to r300/compiler/radeon_optimize.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_pair_regalloc.c link to r300/compiler/radeon_pair_regalloc.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_pair_schedule.c link to r300/compiler/radeon_pair_schedule.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_pair_translate.c link to r300/compiler/radeon_pair_translate.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_alu.c link to r300/compiler/radeon_program_alu.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/radeon_program_alu.h link to r300/compiler/radeon_program_alu.h
> hrw-r--r-- idr/idr           0 2010-12-16 00:02 r300/compiler/radeon_program.c link to r300/compiler/radeon_program.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_constants.h link to r300/compiler/radeon_program_constants.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program.h link to r300/compiler/radeon_program.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_pair.c link to r300/compiler/radeon_program_pair.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_pair.h link to r300/compiler/radeon_program_pair.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_print.c link to r300/compiler/radeon_program_print.c
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_program_tex.c link to r300/compiler/radeon_program_tex.c
> hrw-r--r-- idr/idr           0 2010-10-05 18:56 r300/compiler/radeon_program_tex.h link to r300/compiler/radeon_program_tex.h
> hrw-r--r-- idr/idr           0 2010-12-16 00:02 r300/compiler/radeon_remove_constants.c link to r300/compiler/radeon_remove_constants.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/radeon_remove_constants.h link to r300/compiler/radeon_remove_constants.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/radeon_rename_regs.c link to r300/compiler/radeon_rename_regs.c
> hrw-r--r-- idr/idr           0 2010-10-19 19:58 r300/compiler/radeon_rename_regs.h link to r300/compiler/radeon_rename_regs.h
> hrw-r--r-- idr/idr           0 2010-03-31 00:40 r300/compiler/radeon_swizzle.h link to r300/compiler/radeon_swizzle.h
> hrw-rw-r-- idr/idr           0 2011-05-20 10:33 r300/compiler/Makefile link to r300/compiler/Makefile
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
> 



More information about the mesa-dev mailing list