[tlbuild] new xz utilities

Richard Koch koch at math.uoregon.edu
Sat Aug 29 05:38:33 CEST 2009


Karl,

Bad news. The latest xz compiles on OS X 10.5 (Leopard) and the just  
released OS X 10.6 (Snow Leopard). But it does not compile on OS X  
10.4 (Tiger). I've enclosed the output of the console near the error.

Moreover, the version of xz compiled on Leopard does not run on Tiger.

We want TeX Live 2009 to run on system 10.3, but haven't worried if  
parts of it don't. However, a number of users are still on Tiger,  
system 10.4, and I'd be reluctant to cut them off from TeX Live.

Dick Koch

----------

Notes on the xz site state that building on Darwin may require the  
flag --disable-assembler, so I configure with

	./configure --disable-assembler --disable-shared

--------

Making all in xz
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DLOCALEDIR=\"/usr/local/ 
share/locale\" -I../../src/common -I../../src/liblzma/api -I../../lib - 
DLZMA_API_STATIC  -D_THREAD_SAFE  -fvisibility=hidden -Wall -Wextra - 
Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat- 
equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite- 
strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition - 
Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn - 
Wredundant-decls -g -O2 -MT xz-args.o -MD -MP -MF .deps/xz-args.Tpo -c  
-o xz-args.o `test -f 'args.c' || echo './'`args.c
mv -f .deps/xz-args.Tpo .deps/xz-args.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DLOCALEDIR=\"/usr/local/ 
share/locale\" -I../../src/common -I../../src/liblzma/api -I../../lib - 
DLZMA_API_STATIC  -D_THREAD_SAFE  -fvisibility=hidden -Wall -Wextra - 
Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat- 
equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite- 
strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition - 
Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn - 
Wredundant-decls -g -O2 -MT xz-coder.o -MD -MP -MF .deps/xz-coder.Tpo - 
c -o xz-coder.o `test -f 'coder.c' || echo './'`coder.c
mv -f .deps/xz-coder.Tpo .deps/xz-coder.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DLOCALEDIR=\"/usr/local/ 
share/locale\" -I../../src/common -I../../src/liblzma/api -I../../lib - 
DLZMA_API_STATIC  -D_THREAD_SAFE  -fvisibility=hidden -Wall -Wextra - 
Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat- 
equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite- 
strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition - 
Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn - 
Wredundant-decls -g -O2 -MT xz-file_io.o -MD -MP -MF .deps/xz- 
file_io.Tpo -c -o xz-file_io.o `test -f 'file_io.c' || echo  
'./'`file_io.c
mv -f .deps/xz-file_io.Tpo .deps/xz-file_io.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DLOCALEDIR=\"/usr/local/ 
share/locale\" -I../../src/common -I../../src/liblzma/api -I../../lib - 
DLZMA_API_STATIC  -D_THREAD_SAFE  -fvisibility=hidden -Wall -Wextra - 
Wformat=2 -Winit-self -Wmissing-include-dirs -Wstrict-aliasing -Wfloat- 
equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wwrite- 
strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition - 
Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn - 
Wredundant-decls -g -O2 -MT xz-hardware.o -MD -MP -MF .deps/xz- 
hardware.Tpo -c -o xz-hardware.o `test -f 'hardware.c' || echo  
'./'`hardware.c
In file included from hardware.c:14:
../../src/common/physmem.h: In function 'physmem':
../../src/common/physmem.h:107: warning: passing argument 6 of  
'sysctl' makes integer from pointer without a cast
In file included from hardware.c:15:
../../src/common/cpucores.h: In function 'cpucores':
../../src/common/cpucores.h:43: warning: passing argument 2 of  
'sysctl' makes integer from pointer without a cast
../../src/common/cpucores.h:43: error: too few arguments to function  
'sysctl'
make[3]: *** [xz-hardware.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



On Aug 28, 2009, at 4:39 PM, Karl Berry wrote:

> A new version of the xz utilities was just released.  I updated
> our files in Build/source/utils, or download directly from
> http://tukaani.org/xz.
>
> Please update the binaries if you built them, and send to me or  
> commit.
> http://tug.org/texlive/build.html#xz
>
> (i386-linux, x86_64-linux, sparc-linux, and win32 have already been
> done.  [Thanks Akira.])
>
> karl
>



More information about the tlbuild mailing list