Opened 10 years ago

Closed 10 years ago

#47005 closed defect (invalid)

python27 @2.7.9 destroot failure 10.4 - modules missing

Reported by: geoffd2 Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: tiger powerpc Cc:
Port: python27

Description

Upgrade to python27 @2.7.9 failed at the destroot phase:

:info:destroot Python build finished, but the necessary bits to build these modules were not found:
:info:destroot bsddb185           linuxaudiodev      ossaudiodev     
:info:destroot readline           spwd               sunaudiodev     
:info:destroot To find the necessary bits, look in setup.py in detect_modules() for the module's name.

@2.7.8_3 built ok, that was some time ago. I don't know how to act on the above message (there's more than one setup.py for a start). Are these dependencies?

Attachments (1)

main.log (342.2 KB) - added by geoffd2 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by geoffd2

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: jwa@… openmaintainer@… removed
Keywords: tiger powerpc added; Tiger PowerPC removed
Owner: changed from macports-tickets@… to jwa@…
Port: python27 added; Python27 removed

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 Changed 10 years ago by ned-deily (Ned Deily)

Most of those missing modules are normal on OS X builds and do not indicate or cause an error. The only surprising one is readline. For some reason, your build skipped building the Python readline.so extension. The MacPorts python27 port file includes patches to ensure that the MacPorts libedit port provides the shared libraries for the readline.so extension rather than either the system libedit or a locally-installed GNU readline. I've not looked closely at those patches but it *might* be possible that you have a local copy of either readline or libedit installed in /usr/local that *might* be interfering. FWIW, the current python27 port builds and installs correctly for me on a 10.4 G4 PPC system.

comment:3 in reply to:  2 ; Changed 10 years ago by geoffd2

Replying to nad@…:

Most of those missing modules are normal on OS X builds and do not indicate or cause an error. The only surprising one is readline. For some reason, your build skipped building the Python readline.so extension. The MacPorts python27 port file includes patches to ensure that the MacPorts libedit port provides the shared libraries for the readline.so extension rather than either the system libedit or a locally-installed GNU readline. I've not looked closely at those patches but it *might* be possible that you have a local copy of either readline or libedit installed in /usr/local that *might* be interfering. FWIW, the current python27 port builds and installs correctly for me on a 10.4 G4 PPC system.

Thanks, 'port installed' gives 'libedit @20140620-3.1_0 (active)' , but no readline. Which compiler did you use - the native 4.0 or port's 4.2?

comment:4 in reply to:  3 Changed 10 years ago by geoffd2

Well, try 2 succeeded. I have been upgrading other ports since my first try, so who knows what went on. Thanks anyway - I guess you can close this.

comment:5 Changed 10 years ago by jyrkiwahlstedt

Resolution: invalid
Status: newclosed

Good to hear, I was a bit worried:)

Note: See TracTickets for help on using tickets.