[MacPorts] #17030: libsvm update fails
#17030: libsvm update fails --------------------------------+------------------------------------------- Reporter: dersh@alum.mit.edu | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: libsvm --------------------------------+------------------------------------------- I had libsvm 2.86_0 installed. I tried updated to 2.87 and got the following errors: {{{ ---> Fetching libsvm ---> Attempting to fetch libsvm-2.87.tar.gz from http://www.csie.ntu.edu.tw/~cjlin/libsvm/ ---> Verifying checksum(s) for libsvm ---> Extracting libsvm ---> Applying patches to libsvm ---> Configuring libsvm ---> Building libsvm with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_libsvm/work/libsvm-2.87" && make all PREFIX=/opt/local VERSION=2.87.0 " returned error 2 Command output: Wall -Wconversion -O3 -fPIC -c svm.cpp Wall: illegal option -- W usage: wall [-g group] [file] make: [svm.o] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-train.c svm.o -o svm-train -lm Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-train] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-predict.c svm.o -o svm-predict -lm Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-predict] Error 1 (ignored) Wall -Wconversion -O3 -fPIC svm-scale.c -o svm-scale Wall: illegal option -- W usage: wall [-g group] [file] make: [svm-scale] Error 1 (ignored) ar rc libsvm.a svm.o ar: svm.o: No such file or directory make: *** [libsvm.a] Error 1 Error: Unable to upgrade port: 1 }}} Suggestions appreciated. Thanks, --Adam -- Ticket URL: <http://trac.macports.org/ticket/17030> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * cc: febeling@macports.org, dersh@alum.mit.edu (removed) * owner: macports-tickets@lists.macosforge.org => febeling@macports.org Comment: It builds fine here. Can you provide some of your setup details? OS? Xcode version? -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Comment(by dersh@alum.mit.edu): Sure: MacBook Pro OS 10.5.5 Xcode 3.1 -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Comment(by dersh@alum.mit.edu): I tried deactivating the 2.86. Then a clean and a build, and it worked this time. So this worked fine: {{{ sudo port deactivate libsvm sudo port clean --all libsvm sudo port install libsvm }}} So something from the prior version was getting in the way of the upgrade. Did you do a clean build or an upgrade? -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Comment(by macsforever2000@macports.org): I did a clean build because I did not have it installed before. -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Comment(by blb@macports.org): It looks like it could have been the [wiki:LeopardProblems#environmentvariablesbecomeblankbetweenconfigureandbuildphases Tcl env bug] since this looks like an env var could have been empty: {{{ Command output: Wall -Wconversion -O3 -fPIC -c svm.cpp }}} Considering a clean/build then got it to work, that's the usual workaround for this issue. -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * status: new => closed * resolution: => invalid Comment: I'm gonna close this one. Please re-open it if you think this is a bug with the port. -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17030: libsvm update fails ---------------------------------+------------------------------------------ Reporter: dersh@alum.mit.edu | Owner: febeling@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: invalid | Keywords: Port: libsvm | ---------------------------------+------------------------------------------ Comment(by febeling@macports.org): I did a test of the upgrade from 2.86 to 2.87, and it worked as well. I agree that this ticket should be closed. -- Ticket URL: <http://trac.macports.org/ticket/17030#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts