Possible unzip dependency bug with a PREFIX set

Steven Harris steve at zarvon.com
Fri Dec 21 01:25:12 UTC 2012


Hi,

One a clean install of FreeBSD, i wanted to install openjdk7 into
/share/local (which is later exported through NFS).

Installing other ports (apache, php etc) works perfect, but openjdk7 relied
on unzip.   So as a dependency, it installed unzip from ports, but because
of my PREFIX setting, put it in /share/local/bin/unzip

Then after returning to openjdk, it was specifically looking in
/usr/local/bin for unzip.


/usr/include/sys/timeb.h:42:2: warning: #warning "this file includes
<sys/timeb.h> which is deprecated"
cc -o unzipsfx  unzipsfx.o crc32_.o  crypt_.o extract_.o fileio_.o
 globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o -s
===>  Installing for unzip-6.0_1
===>   Generating temporary packing list
===>  Checking if archivers/unzip already installed
install  -s -o root -g wheel -m 555
/usr/ports/archivers/unzip/work/unzip60/unzip /share/local/bin/unzip
install  -s -o root -g wheel -m 555
/usr/ports/archivers/unzip/work/unzip60/funzip /share/local/bin
install  -s -o root -g wheel -m 555
/usr/ports/archivers/unzip/work/unzip60/unzipsfx /share/local/bin
/bin/ln -sf unzip /share/local/bin/zipinfo
install  -o root -g wheel -m 555
/usr/ports/archivers/unzip/work/unzip60/unix/zipgrep /share/local/bin
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/man/unzip.1
/share/local/man/man1/unzip.1
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/man/funzip.1 /share/local/man/man1
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/man/unzipsfx.1 /share/local/man/man1
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/man/zipgrep.1 /share/local/man/man1
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/man/zipinfo.1 /share/local/man/man1
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/README /share/local/share/doc/unzip
install  -o root -g wheel -m 444
/usr/ports/archivers/unzip/work/unzip60/WHERE /share/local/share/doc/unzip
===>   Compressing manual pages for unzip-6.0_1
===>   Registering installation for unzip-6.0_1
===>   Returning to build of openjdk-7.9.05_1
/usr/local/bin/unzip: not found
*** Error code 1

Just thought i would raise that.

Thanks

Steve


More information about the freebsd-ports-bugs mailing list