CMoH / gnome15-overlay

Gentoo ebuilds for Gnome15 packages
www.gnome15.org
10 stars 6 forks source link

econf fails Python checks for 0.9.6-r1 and 0.9.6r2 ebuilds with Python 3 default (but works fine on the old 0.9.6 ebuild) #15

Closed Delicates closed 11 years ago

Delicates commented 11 years ago

Can emerge the old 0.9.6 ebuild, but can't emerge the new 0.9.6-r1 and 0.9.6-r2 ebuilds:

    * ERROR: app-misc/gnome15-0.9.6-r1::gnome15 failed (configure phase):
     *   econf failed
     * 
     * Call stack:
     *          ebuild.sh, line   93:  Called src_configure
     *        environment, line 4078:  Called econf '--disable-indicator' '--enable-systemtray' '--enable-gnome-shell-extension' '--enable-driver-kernel' '--disable-driver-g15' '--disable-driver-g19direct' '--disable-driver-g930' '--enable-plugin-background' '--enable-plugin-backlight' '--enable-plugin-clock' '--enable-plugin-fx' '--enable-plugin-lcdshot' '--enable-plugin-macro_recorder' '--enable-plugin-macros' '--enable-plugin-menu' '--enable-plugin-mounts' '--enable-plugin-mpris' '--enable-plugin-panel' '--enable-plugin-processes' '--enable-plugin-profiles' '--enable-plugin-stopwatch' '--enable-plugin-sysmon' '--enable-plugin-trafficstats' '--enable-plugin-tails' '--enable-plugin-things' '--enable-plugin-tweak' '--enable-plugin-volume' '--disable-plugin-indicator-messages' '--disable-plugin-debug' '--enable-plugin-cairo-clock' '--disable-plugin-cal-evolution' '--enable-plugin-mediaplayer' '--disable-plugin-g15daemon-server' '--disable-plugin-cal-google' '--enable-plugin-mediaplayer' '--enable-plugin-sense' '--disable-plugin-impulse15' '--disable-plugin-nm' '--disable-plugin-rss' '--disable-plugin-screensaver' '--disable-plugin-im' '--disable-plugin-voip' '--enable-plugin-weather' '--enable-plugin-webkit-browser' '--disable-plugin-display' '--enable-plugin-weather-noaa' '--enable-plugin-weather-yahoo' '--enable-icons-mono' '--disable-icons-awoken'
     *   phase-helpers.sh, line  577:  Called die
     * The specific snippet of code:
     *                      die "econf failed"

This is the error:

     checking for python... /usr/bin/python
     checking for python version... 3.3
     checking for python platform... linux
     checking for python script directory... ${prefix}/lib64/python3.3/site-packages
     checking for python extension module directory... ${exec_prefix}/lib64/python3.3/site-packages
     checking for python3.3... (cached) /usr/bin/python
     checking for a version of Python >= '2.1.0'... yes
     checking for a version of Python 2.6... Traceback (most recent call last):
       File "<string>", line 1, in <module>
     TypeError: unorderable types: str() >= float()
     no
     configure: error: this package requires Python 2.6.
     If you have it installed, but it isn't the default Python
     interpreter in your system path, please pass the PYTHON_VERSION
     variable to configure. See ``configure --help'' for reference.

This is the Python environment (note, this works for 0.9.6 ebuild):

      $ eselect python --list
     Available Python interpreters:
       [1]   python2.7
       [2]   python3.3 *

Here are the emerge USE flags:

     [ebuild     U  ] app-misc/gnome15-0.9.6-r1::gnome15 [0.9.6::gnome15] USE="alsa cairo gnome gstreamer lg4l-module lm_sensors systray weather webkit yahoo (-ayatana) -debug -evo -g15 -g19 -g930 -google -imap -networkmanager -nexuiz -pop -pulseaudio -rss -screensaver -telepathy -themes -title -voip -xrandr" PYTHON_TARGETS="python2_7%* -python2_6%" 0 kB

Here is the same econf running successfully for 0.9.6 ebuild:

     checking for python... /usr/bin/python
     checking for python version... 2.7
     checking for python platform... linux2
     checking for python script directory... ${prefix}/lib64/python2.7/site-packages
     checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
     checking for python2.7... (cached) /usr/bin/python
     checking for a version of Python >= '2.1.0'... yes
     checking for a version of Python 2.6... yes
CMoH commented 11 years ago

app-misc/gnome15-0.9.6-r4 should fix the problem. Please close the issue if resolved.

Delicates commented 11 years ago

Both 0.9.6-r6 and 0.9.7-r1 are building fine with Python 3 as default. Thanks!