Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 11:25:10 +1000
From:      Steven Harris <steve@zarvon.com>
To:        freebsd-ports-bugs@freebsd.org
Subject:   Possible unzip dependency bug with a PREFIX set
Message-ID:  <CAEzWBxDxc6m=JD64Q1vL9TAXDApPMTzmZdtg88C7T17wc3W63g@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEzWBxDxc6m=JD64Q1vL9TAXDApPMTzmZdtg88C7T17wc3W63g>