#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)
Change History (5)
Changed 11 years ago by dbevans (David B. Evans)
Attachment: | dbus-python33-main.log added |
---|
comment:1 Changed 11 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Status: | new → assigned |
---|
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 11 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.
comment:3 Changed 11 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Missing python dependency added in r119928, remove minor trailing whitespace. Build now successful both locally and on buildbots.
comment:4 Changed 11 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.
Log showing configure failure for dbus-python33