Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43664 closed defect (fixed)

dbus-python @1.2.0: configure fails for python3 subports

Reported by: dbevans (David B. Evans) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: python-dbus

Description

When attempting to build python3 subports configure fails as follows (dbus-python33):

:info:configure checking whether /opt/local/bin/python3.3 version >= 2.6... configure: error: too old
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_macports_trunk_dports_devel_dbus-python/dbus-python33/work/dbus-python-1.2.0" && ./configure --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/3.3 --docdir=/opt/local/share/doc/dbus-python33 --includedir=/opt/local/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3 --disable-html-docs --disable-api-docs
:info:configure Exit code: 127
:error:configure Failed to configure dbus-python33, consult /opt/local/var/macports/build/_opt_macports_trunk_dports_devel_dbus-python/dbus-python33/work/dbus-python-1.2.0/config.log
:error:configure org.macports.configure for port dbus-python33 returned: configure failure: command execution failed
:debug:configure Error code: NONE

Attachments (1)

dbus-python33-main.log (10.6 KB) - added by dbevans (David B. Evans) 10 years ago.
Log showing configure failure for dbus-python33

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by dbevans (David B. Evans)

Attachment: dbus-python33-main.log added

Log showing configure failure for dbus-python33

comment:1 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Status: newassigned

I can not reproduce this problem.
What is the output of the following command?

/opt/local/bin/python3.3 -c "import sys;print(hex(sys.hexversion));print(sys.version);print(sys.version_info);"

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Aha!! No python dependencies! I was building gnome-music in a clean build (starting with all ports deactivated) to check dependencies

$ /opt/local/bin/python3.3 -c "import sys;print(hex(sys.hexversion));print(sys.version);print(sys.version_info);"
-bash: /opt/local/bin/python3.3: No such file or directory
$ port deps dbus-python33
Full Name: dbus-python33 @1.2.0_0
Build Dependencies:   pkgconfig
Library Dependencies: dbus, dbus-glib, gettext, glib2, libiconv

I see that the port (all versions) failed on the build bots (they start with nothing active as well).

After activating python33, build completes successfully.

Last edited 10 years ago by dbevans (David B. Evans) (previous) (diff)

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Missing python dependency added in r119928, remove minor trailing whitespace. Build now successful both locally and on buildbots.

comment:4 Changed 10 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

So dbus-python should depend on python.
I suppose that makes a certain kind of sense.

Thanks for catching the mistake and providing the fix.

Note: See TracTickets for help on using tickets.