Opened 14 years ago

Closed 14 years ago

#27823 closed defect (fixed)

gtk-doc @1.15 uses python26 without declaring a dependency on it

Reported by: aeronova Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: taltosh@…
Port: gtk-doc

Description

checking if Perl version >= 5.6.0... yes
checking whether /opt/local/bin/python2.6 version >= 2.3... configure: error: too old
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.15" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Warning: the following items did not execute (for gtk-doc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install gtk-doc
Log for gtk-doc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/main.log
Error: The following dependencies were not installed: texlive-bin poppler gtk2 atk gtk-doc gdk-pixbuf2 jasper pango cairo libpixman shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto lcms openjpeg poppler-data t1lib texlive-common xz texlive-documentation-base
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I checked that python26-apple is the current python version. I'm confused why the configuration fails despite version 2.6 being greater than 2.3.

Snow Leopard Mac OS X 10.6.5 with Xcode Version 3.2.5 (1760)

Change History (12)

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

Keywords: gtk-doc removed
Owner: changed from macports-tickets@… to devans@…
Port: gtk-doc added

I am seeing this now too.

comment:2 Changed 14 years ago by protogeezer

I encountered this same bug a few minutes ago - while building the kdesdk4 port which installed python27... there is no pythin26 on my machine...

comment:3 Changed 14 years ago by taltosh@…

Hi,

I'm also getting this error, same as described above,

Tx.

comment:4 Changed 14 years ago by taltosh@…

Cc: taltosh@… added

Cc Me!

comment:5 Changed 14 years ago by jmroot (Joshua Root)

This was actually caused by r55438. Some other dependency was pulling in python26, which masked the fact that gtk-doc lacked a dependency, but now the other dep changed to python27.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Summary: gtk-doc @1.15 configure error - build failuregtk-doc @1.15 uses python26 without declaring a dependency on it

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

comment:8 Changed 14 years ago by protogeezer

Resolution: fixed
Status: closedreopened

Perhaps I'm misunderstanding what closing the bug means - I'm still getting the same error - as shown below I removed gtk-doc and its dependencies then tried to rebuild... Notice that the latest config file builds python27

et:~ sjbespa$ sudo port uninstall gnome-doc-utils ---> Deactivating gnome-doc-utils @0.20.3_0 ---> Cleaning gnome-doc-utils ---> Uninstalling gnome-doc-utils @0.20.3_0 ---> Cleaning gnome-doc-utils et:~ sjbespa$ sudo port uninstall py27-libxml2 ---> Deactivating py27-libxml2 @2.6.21_0 ---> Cleaning py27-libxml2 ---> Uninstalling py27-libxml2 @2.6.21_0 ---> Cleaning py27-libxml2 et:~ sjbespa$ sudo port uninstall python27 ---> Deactivating python27 @2.7.1_1 ---> Cleaning python27 ---> Uninstalling python27 @2.7.1_1 ---> Cleaning python27 et:~ sjbespa$ sudo port install gtk-doc ---> Computing dependencies for gtk-doc ---> Dependencies to be installed: gnome-doc-utils py27-libxml2 python27 ---> Fetching python27 ---> Verifying checksum(s) for python27 ---> Extracting python27 ---> Applying patches to python27 ---> Configuring python27 ---> Building python27 ---> Staging python27 into destroot ---> Installing python27 @2.7.1_1 ---> Activating python27 @2.7.1_1

To fully complete your installation and make python 2.7 the default, please run:

sudo port install python_select sudo python_select python27

---> Cleaning python27 ---> Fetching py27-libxml2 ---> Verifying checksum(s) for py27-libxml2 ---> Extracting py27-libxml2 ---> Applying patches to py27-libxml2 ---> Configuring py27-libxml2 ---> Building py27-libxml2 ---> Staging py27-libxml2 into destroot ---> Installing py27-libxml2 @2.6.21_0 ---> Activating py27-libxml2 @2.6.21_0 ---> Cleaning py27-libxml2 ---> Fetching gnome-doc-utils ---> Verifying checksum(s) for gnome-doc-utils ---> Extracting gnome-doc-utils ---> Configuring gnome-doc-utils ---> Building gnome-doc-utils ---> Staging gnome-doc-utils into destroot ---> Installing gnome-doc-utils @0.20.3_0 ---> Activating gnome-doc-utils @0.20.3_0 ---> Cleaning gnome-doc-utils ---> Configuring gtk-doc Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for gtk-doc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> et:~ sjbespa$ bbedit /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/main.log et:~ sjbespa$

comment:9 Changed 14 years ago by aeronova

The same here. Switched to "python27" using python_select, but ran into the same configure failure.

checking whether /opt/local/bin/python2.6 version >= 2.3... configure: error: too old
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/work/gtk-doc-1.15" && ./configure --prefix=/opt/local --with-xml-catalog=/opt/local/etc/xml/catalog " returned error 1
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Warning: the following items did not execute (for gtk-doc): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Log for gtk-doc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gtk-doc/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:10 Changed 14 years ago by jmroot (Joshua Root)

Did you selfupdate at least half an hour after the commit?

comment:11 in reply to:  10 Changed 14 years ago by aeronova

Replying to jmr@…:

Did you selfupdate at least half an hour after the commit?

Thanks for the tip. After selfupdate, python26 is installed before gtk-doc; because of that, everything went well. :)

comment:12 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.