[MacPorts] #38775: metis @5.1.0 (math) Error: org.macports.build for port metis returned: command execution failed
#38775: metis @5.1.0 (math) Error: org.macports.build for port metis returned: command execution failed -----------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: octave merit -----------------------------------+-------------------------------- After installing dependencies, I tried to install octave using the wiki instruction: {{{ sudo port install octave-devel +atlas+docs }}} However, ran into this error: {{{ Error: org.macports.build for port metis returned: command execution failed Please see the log file for port metis for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_metis/metis/main.log Error: Unable to upgrade port: 1 Error: Unable to execute port: upgrade metis failed }}} Found another ticket with metis issue and tried the solution there: {{{ sudo port clean metis Password: ---> Cleaning metis }}} {{{ sudo port -s destroot metis build.jobs=1 ---> Computing dependencies for metis ---> Fetching distfiles for metis ---> Verifying checksum(s) for metis ---> Extracting metis ---> Applying patches to metis ---> Configuring metis ---> Building metis Error: org.macports.build for port metis returned: command execution failed Please see the log file for port metis for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_metis/metis/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port metis failed }}} Attach the log from the latest try. This overwrote the previous log file but I uploaded to the poppler ticket so both are available. -- Ticket URL: <https://trac.macports.org/ticket/38775> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0 (math) Error: org.macports.build for port metis returned: command execution failed ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: octave merit | ------------------------------------+-------------------------------- Comment (by precioso.p.gabrillo@…): Forgot to add: using Mac OSX 10.6.8 with XCode 3.2.6 -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0 (math) Error: org.macports.build for port metis returned: command execution failed ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: octave merit | ------------------------------------+-------------------------------- Comment (by egall@…):
but I uploaded to the poppler ticket
The poppler ticket mentioned here is #38762, for other's reference. -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: metis | ------------------------------------+-------------------------------- Changes (by ryandesign@…): * port: octave merit => metis -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: metis | ------------------------------------+-------------------------------- Comment (by ryandesign@…): I'm guessing that the developers of metis starting using the option `-Wno- unused-but-set-variable` in 5.1.0 to suppress some errors they didn't want to see, not realizing that this flag may not be compatible with older versions of gcc such as the one you're using in Xcode 3.2.6. You should report this problem to the developers of metis so that they can fix it. -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: metis | ------------------------------------+-------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Fixed in r105190. Maybe upstream will fix this issue, but just removing that -W setting is easy enough and changes nothing about the resulting binaries or installed files. -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: metis | ------------------------------------+-------------------------------- Comment (by precioso.p.gabrillo@…): I tried and getting the same error. What I did: {{{ sudo port clean octave ---> Cleaning octave sudo port clean metis ---> Cleaning metis }}} Using the same install instruction: sudo port install octave-devel +atlas+docs Error same as last time. {{{ port info metis metis @5.1.0 (math) Variants: openmpi, universal Description: METIS is a set of programs for partitioning graphs and for producing fill reducing orderings for sparse matrices. The algorithms implemented by METIS are based on the multilevel graph partitioning scheme described in [KK95a] and [KK95e]. METIS provides high quality partitions, is extremely fast, and produces low fill orderings. Homepage: http://glaros.dtc.umn.edu/gkhome/metis/metis/overview Build Dependencies: cmake Platforms: darwin License: Restrictive Maintainers: nomaintainer@macports.org }}} Tried the following: {{{ sudo port clean metis ---> Cleaning metis }}} {{{ sudo port -s destroot metis build.jobs=1 ---> Computing dependencies for metis ---> Fetching distfiles for metis ---> Verifying checksum(s) for metis ---> Extracting metis ---> Applying patches to metis ---> Configuring metis ---> Building metis Error: org.macports.build for port metis returned: command execution failed Please see the log file for port metis for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_metis/metis/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port metis failed }}} Log is attached. -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: metis | ------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: fixed => Comment: You need to run `sudo port selfupdate` first to receive the fixes that were committed. -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: metis | ------------------------------------+-------------------------------- Comment (by precioso.p.gabrillo@…): Replying to [comment:8 ryandesign@…]:
You need to run `sudo port selfupdate` first to receive the fixes that were committed.
Ahh, miss this in the docs.[[BR]] [[BR]] After doing this and install, it made it through although a lot of Warning:Error {...} lines: {{{ ---> Updating database of binaries: 0.9% Warning: Error determining file type of `/opt/local/bin/pcre-config': lstat(/opt/local/bin/pcre-config):no such file or directory Warning: A file belonging to the `pcre' port is missing or unreadable. Consider reinstalling it. ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} [[BR]] But it works. Thank you for the help. {{{ which octave /opt/local/bin/octave octave GNU Octave, version 3.6.4 Copyright (C) 2013 John W. Eaton and others. }}} -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38775: metis @5.1.0: cc1: error: unrecognized command line option "-Wno-unused- but-set-variable" ------------------------------------+-------------------------------- Reporter: precioso.p.gabrillo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: metis | ------------------------------------+-------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: As the message says, a file that's supposed to be part of the pcre port is missing. Consider reinstalling it, i.e.: {{{ sudo port clean pcre sudo port -n upgrade --force pcre }}} -- Ticket URL: <https://trac.macports.org/ticket/38775#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts