Port java/diablo-jdk16 can't extract on clean FreeBSD 9. This is because of /usr/bin/unzip || ${LOCALBASE}/bin/unzip conflict (port depends of unzip but using ${UNZIP_CMD}. This can be fixed in port depends (see diablo.patch), so port will install ${LOCALBASE}/bin/unzip always. This can be fixed in mk (see unzip.patch). This way working too and more clean for this port but I don't know how other ports will work with /usr/bin/unzip. Fix: Use diablo.patch or use unzip.patch or something like this. Patch attached with submission follows: How-To-Repeat: Install FreeBSD 9 statlab09# make -C /usr/ports/java/diablo-jdk16 extract BATCH=1 ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Extracting for diablo-jdk-1.6.0.07.02_18 => SHA256 Checksum OK for diablo-caffe-freebsd7-amd64-1.6.0_07-b02.tar.bz2. => SHA256 Checksum OK for tzupdater-1_3_45-2011n.zip. ===> diablo-jdk-1.6.0.07.02_18 depends on executable: unzip - found /usr/local/bin/unzip: No such file or directory *** Error code 1 Stop in /usr/ports/java/diablo-jdk16.
Responsible Changed From-To: freebsd-ports-bugs->glewis Over to maintainer (via the GNATS Auto Assign Tool)
glewis 2012-02-11 17:23:51 UTC FreeBSD ports repository Modified files: java/diablo-jdk15 Makefile java/diablo-jdk16 Makefile java/diablo-jre15 Makefile java/diablo-jre16 Makefile Log: . Make EXTRACT_DEPENDS check UNZIP_CMD rather than just unzip, since this is what we use doing the actual unzipping. Fixes the build for FreeBSD 9. PR: 164847 Submitted by: Kukushkin Konstantin <dark@rambler-co.ru> Revision Changes Path 1.48 +1 -1 ports/java/diablo-jdk15/Makefile 1.25 +1 -1 ports/java/diablo-jdk16/Makefile 1.47 +1 -1 ports/java/diablo-jre15/Makefile 1.25 +1 -1 ports/java/diablo-jre16/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Responsible Changed From-To: glewis->portmgr I've commited the diablo changes. Reassigning to portmgr to evaluate the bsd.port.mk, etc. changes.
State Changed From-To: open->analyzed
Responsible Changed From-To: portmgr->linimon take for -exp.
State Changed From-To: analyzed->feedback Please see my comments in ports/167794, which I ran at the same time as this patch. There were 6 regressions. I have not yet figured out which belong to which patch.
State Changed From-To: feedback->closed diablo-jdk16 has been deprecated
State Changed From-To: closed->feedback Re-open, this is about detection of unzip at the moment.
State Changed From-To: feedback->open I am no longer in a position to test this.
Responsible Changed From-To: linimon->portmgr
State Changed From-To: open->closed diable-jdk is gone from the ports tree