[MacPorts] #33539: py25-scipy configure failure: shell command failed
#33539: py25-scipy configure failure: shell command failed -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: pcre swig libbz2 | Port: py25-scipy -------------------------------+-------------------------------------------- sudo port install py25-scipy on Mac OS X 10.6.8 resulted this error: {{{ Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for pcre is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/pcre/main.log Error: Problem while installing pcre Error: Unable to execute port: upgrade swig-python failed }}} -- Ticket URL: <https://trac.macports.org/ticket/33539> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: py25-scipy configure failure: shell command failed -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: pcre swig libbz2 | Port: py25-scipy -------------------------------+-------------------------------------------- Comment(by renz@…): I got the exact same message with py27-scipy. -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: py25-scipy configure failure: shell command failed -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Changes (by macsforever2000@…): * keywords: pcre swig libbz2 => * port: py25-scipy => pcre -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: The error says: {{{ :info:configure ** Cannot --enable-pcregrep-libbz2 because libbz2 was not found }}} This is curious since pcre does declare a dependency on the bzip2 port. Is the bzip2 port installed and active? What does "port -v installed bzip2" and "port contents bzip2" show? -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Comment(by renz@…): {{{ % port -v installed bzip2 The following ports are currently installed: bzip2 @1.0.5_3+darwin bzip2 @1.0.6_0 platform='darwin 10' archs='x86_64' bzip2 @1.0.6_0+universal (active) platform='darwin 10' archs='i386 x86_64' }}} {{{ % port contents bzip2 Port bzip2 contains: /opt/local/bin/bunzip2 /opt/local/bin/bzcat /opt/local/bin/bzcmp /opt/local/bin/bzdiff /opt/local/bin/bzegrep /opt/local/bin/bzfgrep /opt/local/bin/bzgrep /opt/local/bin/bzip2 /opt/local/bin/bzip2recover /opt/local/bin/bzless /opt/local/bin/bzmore /opt/local/include/bzlib.h /opt/local/lib/libbz2.1.0.6.dylib /opt/local/lib/libbz2.1.0.dylib /opt/local/lib/libbz2.1.dylib /opt/local/lib/libbz2.a /opt/local/lib/libbz2.dylib /opt/local/share/man/man1/bzcmp.1.gz /opt/local/share/man/man1/bzdiff.1.gz /opt/local/share/man/man1/bzegrep.1.gz /opt/local/share/man/man1/bzfgrep.1.gz /opt/local/share/man/man1/bzgrep.1.gz /opt/local/share/man/man1/bzip2.1.gz /opt/local/share/man/man1/bzless.1.gz /opt/local/share/man/man1/bzmore.1.gz }}} -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Comment(by ryandesign@…): That looks pretty normal. Could you also attach the config.log file, inside the directory identified by the command "`port work pcre`"? -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Comment(by ryandesign@…): Ok, that provides the clue: {{{ ld: warning: in /opt/local/lib/libbz2.dylib, file was built for unsupported file format which is not the architecture being linked (i386) }}} So, although MacPorts thinks, as shown in your "`port -v installed bzip2`" output [comment:4 above], that it installed bzip2 universal for i386 x86_64, it doesn't actually contain the i386 part. So rebuild bzip2. {{{ sudo port -n upgrade --force bzip2 }}} -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found -------------------------------+-------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: pcre -------------------------------+-------------------------------------------- Comment(by renz@…): Thanks. This fixed the problem. -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33539: pcre: libbz2 was not found --------------------------------+------------------------------------------- Reporter: renz@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: invalid | Keywords: Port: pcre | --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: Great, glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/33539#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts