Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366165 - [gnome-overlay] gnome-extra/gnome-tweak-tool fails to configure with Python 2.5
Summary: [gnome-overlay] gnome-extra/gnome-tweak-tool fails to configure with Python 2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2011-05-06 05:00 UTC by Sebastián Magrí
Modified: 2011-05-08 13:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastián Magrí 2011-05-06 05:00:03 UTC
gnome-tweak-tool needs Python >= 2.6 to configure and will fail if the user have 2.5 in USE_PYTHON. Adding 2.5 to RESTRICT_PYTHON_ABIS solves the issue.

Reproducible: Always




 * Package:    gnome-extra/gnome-tweak-tool-3.0.3-r1
 * Repository: gnome
 * USE:        elibc_glibc kernel_linux userland_GNU x86
 * FEATURES:   ccache preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking gnome-tweak-tool-3.0.3.tar.bz2 to /var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work
>>> Source unpacked in /var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work
>>> Preparing source in /var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work/gnome-tweak-tool-3.0.3 ...
 * Applying gnome-tweak-tool-no-cursor-themes.patch ...
 [ ok ]
 * Fixing OMF Makefiles ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work/gnome-tweak-tool-3.0.3 ...
 * Configuration of gnome-extra/gnome-tweak-tool-3.0.3-r1 with CPython 2.5...
 * econf: updating gnome-tweak-tool-3.0.3-2.5/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnome-tweak-tool-3.0.3-2.5/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnome-tweak-tool-3.0.3/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnome-tweak-tool-3.0.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnome-tweak-tool-3.0.3-2.6/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnome-tweak-tool-3.0.3-2.6/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating gnome-tweak-tool-3.0.3-2.7/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating gnome-tweak-tool-3.0.3-2.7/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=i486-pc-linux-gnu --host=i486-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib PYTHON=/usr/bin/python2.5 --disable-schemas-compile
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether /usr/bin/python2.5 version >= 2.6... configure: error: too old

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work/gnome-tweak-tool-3.0.3-2.5/config.log
 * ERROR: gnome-extra/gnome-tweak-tool-3.0.3-r1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 5447:  Called gnome2-python_src_configure
 *   environment, line 2760:  Called python_execute_function '-s' 'configure'
 *   environment, line 3942:  Called configure
 *   environment, line 2758:  Called gnome2_src_configure 'PYTHON=/usr/bin/python2.5'
 *   environment, line 2998:  Called econf 'PYTHON=/usr/bin/python2.5' '--disable-schemas-compile'
 *     ebuild.sh, line  557:  Called die
 * The specific snippet of code:
 *   			die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =gnome-extra/gnome-tweak-tool-3.0.3-r1',
 * the complete build log and the output of 'emerge -pqv =gnome-extra/gnome-tweak-tool-3.0.3-r1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/gnome/eclass/gnome2-python.eclass
 *   /var/lib/layman/gnome/eclass/gnome2.eclass
 * This ebuild is from an overlay named 'gnome': '/var/lib/layman/gnome/'
 * The complete build log is located at '/var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/temp/environment'.
 * S: '/var/tmp/portage/gnome-extra/gnome-tweak-tool-3.0.3-r1/work/gnome-tweak-tool-3.0.3'
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-05-08 13:22:31 UTC
I thought the PYTHON_DEPEND would be enough to prevent configure with old slots.
For now, I added the 2.4 and 2.5 slots to the restricted list. Thanks for reporting.