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
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
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/software/pkgsrc/sunos5.10-x64/20090630/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
 
-Wl,-R/software/pkgsrc/sunos5.10-x64/20090630/gcc34/bin/../lib/gcc/i386-pc-solaris2.10/3.4.6
 -L/software/pkgsrc/sunos5.10-x64/20090630/gcc34/bin/../lib 
-Wl,-R/software/pkgsrc/sunos5.10-x64/20090630/gcc34/bin/../lib 
-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 
`/software/pkgsrc/source/pkgsrc/archivers/unzip/work.spare4200/unzip60'
gmake: *** [generic_zlib] Error 2

NB that unix.c can handle this case, and unzip60/unix/configure checks for the 
presence of lchmod.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index