Date: Wed, 15 Jun 2011 16:22:07 GMT From: Derek Brost <derek.brost@eprotex.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157905: net-mgmt/argus3-clients port installation fails with option mysql=off Message-ID: <201106151622.p5FGM7pD080556@red.freebsd.org> Resent-Message-ID: <201106151630.p5FGU8vS028068@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157905 >Category: ports >Synopsis: net-mgmt/argus3-clients port installation fails with option mysql=off >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 15 16:30:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Derek Brost >Release: 8.2-RELEASE >Organization: >Environment: >Description: Two binaries in argus-clients are not compiled when the make config option MYSQL is changed from the default ON to OFF. The flag USE_MYSQL is not passed, so the binaries bin/rasql and bin/rasqlinsert are not created. This causes the ports installation script to fail later when attempting to install the non-existent binaries. >How-To-Repeat: Procedure: # cd /usr/ports/net-mgmt/argus3-clients # make config - uncheck MYSQL default from ON to OFF # make install Result: ===> Installing for argus-clients-3.0.4.1 ===> Generating temporary packing list ===> Checking if net-mgmt/argus3-clients already installed install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/ra /usr/local/bin/ra install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rabins /usr/local/bin/rabins install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/racluster /usr/local/bin/racluster install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/racount /usr/local/bin/racount install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/radump /usr/local/bin/radump install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rafilteraddr /usr/local/bin/rafilteraddr install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rahisto /usr/local/bin/rahisto install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/ralabel /usr/local/bin/ralabel install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/ranonymize /usr/local/bin/ranonymize install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rapath /usr/local/bin/rapath install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rapolicy /usr/local/bin/rapolicy install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/raservices /usr/local/bin/raservices install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rasort /usr/local/bin/rasort install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rasplit /usr/local/bin/rasplit install -s -o root -g wheel -m 555 /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rasql /usr/local/bin/rasql install: /usr/ports/net-mgmt/argus3-clients/work/argus-clients-3.0.4.1/bin/rasql: No such file or directory *** Error code 71 Stop in /usr/ports/net-mgmt/argus3-clients. *** Error code 1 Stop in /usr/ports/net-mgmt/argus3-clients. >Fix: Patch: # diff -ruN Makefile.old Makefile --- Makefile.old 2011-06-15 15:27:33.000000000 +0000 +++ Makefile 2011-06-15 15:29:41.000000000 +0000 @@ -51,10 +51,15 @@ do-install: .for i in ra rabins racluster racount radump rafilteraddr \ rahisto ralabel ranonymize rapath rapolicy \ - raservices rasort rasplit rasql rasqlinsert rastream \ - rastrip ratemplate ratimerange ratop ratree rauserdata + raservices rasort rasplit rastream rastrip \ + ratemplate ratimerange ratop ratree rauserdata ${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i .endfor +.if defined(WITH_MYSQL) +.for i in rasql rasqlinsert + ${INSTALL_PROGRAM} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i +.endfor +.endif .for i in radark ragraph rahosts raports ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${PREFIX}/bin/$i .endfor >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106151622.p5FGM7pD080556>