pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42924: archivers/unzip fails on Solaris

>Number:         42924
>Category:       pkg
>Synopsis:       archivers/unzip fails on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 05 12:45:00 +0000 2010
>Originator:     Jörn Clausen
University of Bielefeld
Compilation of devel/unzip 6.0 fails on Solaris due to missing function lchmod:

gcc -o unzip  -Lbzip2 unzip.o crc32.o  crypt.o envargs.o explode.o extract.o 
fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o 
unreduce.o unshrink.o zipinfo.o unix.o  -s    
-L/usr/pkgsrc/20090630/lib -Wl,-R/usr/pkgsrc/20090630/lib 
-L/usr/pkgsrc/20090630/gcc34/lib -L/usr/lib -Wl,-R/usr/lib -lz
Undefined                       first referenced
 symbol                             in file
lchmod                              unix.o
ld: fatal: Symbol referencing errors. No output written to unzip
collect2: ld returned 1 exit status
gmake[1]: *** [unzip] Error 1
gmake[1]: Leaving directory 
gmake: *** [generic_zlib] Error 2

NB that unix.c can handle this case, and unzip60/unix/configure checks for the 
presence of lchmod.


Home | Main Index | Thread Index | Old Index