[tlbuild] zziplib package may need '--disable-mmap' option on MinGW
Yung-Jang Lee
yjlee123 at gmail.com
Sun Feb 17 18:31:56 CET 2013
Hi, all:
When building TL on MinGW , a test execution 'unzzip.exe' in
'libs/zziplib' causes a segfault with following messages:
------------------------------------------------------------------------------------------------------------
make[5]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
depbase=`echo zziplib-0.13.62/bins/unzzip.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I../../../libs/zziplib -Iinclude
-I../../../libs/zziplib/zziplib-0.13.62 -I/l/TexLive
013/texlive/Build/source/Work/libs/zlib/include -D_USE_MMAP -Wimplicit
-Wreturn-type -Wdeclaration-after-statement -Wn
-unknown-pragmas -g -O2 -MT zziplib-0.13.62/bins/unzzip.o -MD -MP -MF
$depbase.Tpo -c -o zziplib-0.13.62/bins/unzzip.o
./../../libs/zziplib/zziplib-0.13.62/bins/unzzip.c &&\
mv -f $depbase.Tpo $depbase.Po
gcc -Wimplicit -Wreturn-type -Wdeclaration-after-statement
-Wno-unknown-pragmas -g -O2 -o unzzip.exe zziplib-0.13.62/
ins/unzzip.o libzzip.a
/l/TexLive2013/texlive/Build/source/Work/libs/zlib/libz.a
make[5]: Nothing to be done for `../../../libs/zziplib/zziplib.test'.
make[5]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make check-TESTS
make[5]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[6]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
FAIL: zziplib.test
make[7]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make all-recursive
make[8]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
Making all in include/zzip
make[9]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib/include/zzip'
make[9]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib/include/zzip'
make[9]: Entering directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[9]: Nothing to be done for `all-am'.
make[9]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[8]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[7]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
============================================================================
Testsuite summary for zziplib for TeX Live 0.13.62
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to tex-k at tug.org
============================================================================
make[6]: *** [test-suite.log] Error 1
make[6]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[5]: *** [check-TESTS] Error 2
make[5]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/l/TexLive2013/texlive/Build/source/Work/libs/zziplib'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/l/TexLive2013/texlive/Build/source/Work/libs'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/l/TexLive2013/texlive/Build/source/Work'
make: *** [world] Error 2
----------------------------------------------------------------------------------------------
For testing, I download 'zziplib' source from '
http://zziplib.sourceforge.net/download.html' ,compiling and testing, and
also produce same segfault message when executing 'unzzip.exe'.
A blog
http://itsacleanmachine.blogspot.tw/2012/03/compiling-zziplib-with-mingw.html
say that :
"Without --disable-mmap the library compiles fine, but causes a segfault
in some mmap function when accessing a zip file"
And I test this option ( '--disable-mmap' ) on my 'zziplib'-along package,
it pass the 'unzzip.exe' testing without segfault .
May be 'zziplib' package need to set '--disable-mmap' as defult option on
MinGW ?
How can I test option '--disable-mmap' of 'zziplib' on TL to see it's
effect ?
Regards.
YungLee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20130218/429f4a6c/attachment.html>
More information about the tlbuild
mailing list