[MacPorts] #20077: boost @1.39.0_2 +python25 - Activation fails
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Port activation fails when trying to install Boost (1.39) with Python2.5 support. Running: {{{ sudo port -d install boost +debug +doc +graphml +icu +openmpi +python25 }}} The building and installation works out fine but the activation stage does not complete. All the include and library files are successfully "activated" but when {{{port}}} gets to the "boost python module" I get the error message: {{{ ... DEBUG: Adding file to file_map: /opt/local/Library/Frameworks /Python.framework/Versions/2.5/lib/python2.5/site- packages/boost/__init__.py for: boost DEBUG: Not a directory while executing "filemap set file_map $file $port" (procedure "receipt_flat::register_file" line 11) invoked from within "${macports::registry.format}::register_file $file $port" (procedure "registry::register_file" line 3) invoked from within "registry::register_file $file $name" (procedure "portimage::activate" line 65) invoked from within "portimage::activate $portname [composite_version $portversion [array get variations]] [array get options]" Error: port activate failed: Not a directory }}} But when looking at the boost installation, {{{ports}}} report it as activated. {{{ bash-3.2$ port installed boost The following ports are currently installed: boost @1.39.0_2+debug+doc+graphml+icu+openmpi+python25 (active) }}} ---- What am I doing wrong here? Is there a problem with my Python installation or is this caused by the boost {{{Portfile}}}? ---- Further: Trying to runt {{{port deactivate}}}, {{{uninstall}}} and {{{clean --all}}} on {{{boost}}} does not remove the files added by the {{{port}}} activation. Thus when trying to install boost a second time ports activation stage complain on already existing files not belonging to any port. {{{ ---> Activating boost Error: port activate failed: Image error: /opt/local/include/boost/accumulators/accumulators.hpp already exists and does not belong to a registered port. Unable to activate port boost. }}} Removing the old files manually i.e., {{{ rm -r /opt/local/include/boost/ rm -r /opt/loca/lib/libboost_* rm -r /opt/local/share/doc/boost-1_39/ }}} (or using {{{port activate -f boost}}} that renames all old files to {{{*.mp_*}}}.) This makes it possible to run the activation but as expected it also fails at the same point as above. -- Ticket URL: <http://trac.macports.org/ticket/20077> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Changes (by jmr@…): * owner: macports-tickets@… => nox@… -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by jmr@…): Do you have the latest version of python25 installed? -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by hugo.strand@…): Replying to [comment:2 jmr@…]:
Do you have the latest version of python25 installed?
Yes, I've got the latest version of python25 installed, and yes I'm using python_select. But I do think that this is a specific problem with the variants combination of +openmpi +python25. Due to that the activation fails when trying to install the boost.mpi python module, which should only be built with this variant combination. -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by nox@…): You have the latest version of python25 installed, which is? -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by hugo.strand@…): Replying to [comment:4 nox@…]:
You have the latest version of python25 installed, which is? {{{ bash-3.2$ /opt/local/bin/python Python 2.5.4 (r254:67916, Jun 25 2009, 22:34:16) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information.
}}}
-- Ticket URL: <http://trac.macports.org/ticket/20077#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by nox@…): we want the output of `port installed python25` -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by hugo.strand@…): Replying to [comment:6 nox@…]:
we want the output of `port installed python25`
Oh.. sorry {{{ bash-3.2$ port installed python25 The following ports are currently installed: python25 @2.5.4_6+darwin_9+macosx (active) }}} -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by nox@…): So you do have the latest version of python25 installed, but I don't understand the bug there, my opinion is that it's a base/ bug. -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails -----------------------------------------------+---------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: boost python2.5 python activation | Port: boost -----------------------------------------------+---------------------------- Comment(by blb@…): I believe this is related to #19049. -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20077: boost @1.39.0_2 +python25 - Activation fails ------------------------------------+--------------------------------------- Reporter: hugo.strand@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: boost python2.5 python activation Port: boost | ------------------------------------+--------------------------------------- Changes (by nox@…): * status: new => closed * resolution: => fixed Comment: Should be fixed by r53512. -- Ticket URL: <http://trac.macports.org/ticket/20077#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts