Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I'm confused-USE_PYTHON,PYTHON_SINGLE_TARGET,PYTHON_TARGETS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Odysseus
Apprentice
Apprentice


Joined: 23 Jun 2004
Posts: 250
Location: Miami, FL. I miss San Francisco!!!

PostPosted: Thu Jan 03, 2013 10:42 pm    Post subject: I'm confused-USE_PYTHON,PYTHON_SINGLE_TARGET,PYTHON_TARGETS? Reply with quote

I just finished updating my machine when I ran into an issue I have no clue how to resolve. I'm a long-time Gentoo user, but I'm a truck driver not a programmer.

One of the packages that was updated was dev-python/simplejson-3.0.4-r1 (which apparently is a dependency for chromium) When I finished updating portage gave me the following output:
Code:
 * Messages for package dev-python/simplejson-3.0.4-r1:

 * It seems that you need to set USE_PYTHON to make sure that legacy
 * packages will be built with respect to PYTHON_TARGETS correctly:
 *
 *      USE_PYTHON='2.7'
 *
 * Please note that after changing the USE_PYTHON variable, you may need
 * to run 'python-updater' to rebuild affected packages.
 *
 * For more information on python.eclass compatibility, please see
 * the appropriate python-r1 User's Guide chapter [1].
 *
 * [1] http://www.gentoo.org/proj/en/Python/python-r1/user-guide.xml#doc_chap2


Well I read the guide linked to above, and now I'm more confused than ever as I've never had USE_PYTHON=, PYTHON_SINGLE_TARGET=, PYTHON_TARGETS= set in my make.conf before.

I've always just used eselect python to set the interpretor and have never had any issues.

I currently have installed dev-lang/python-2.7.3-r3 and dev-lang/python-3.2.3-r2, with python-3.2 set as default via eselect. (I've had python-3.x set as my default since the summer with no issues.)

When I run eselect python list I get this:
Code:
Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *


Now here is where I get completely confused. As I said, I've never set anything about python in my make.conf except for USE="python3" for portage.
However, if I run emerge --info I get PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" and USE_PYTHON is unset.

My emerge --info:
Code:
Portage 2.2.0_alpha149 (default/linux/amd64/10.0/desktop/kde, gcc-4.7.2, glibc-2.17, 3.6.12-pf x86_64)
=================================================================
System uname: Linux-3.6.12-pf-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-gentoo-2.2
Timestamp of tree: Thu, 03 Jan 2013 19:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sunrise sabayon my_local_overlay
Installed sets: @nice-fonts, @tool-chain, @xorg-update
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="!* /etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="!* /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --with-bdeps=y --keep-going --complete-graph --load-average=1.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy collision-protect config-protect-if-modified distlocks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/sabayon /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aacplus aacs aalib acl acpi alsa amd64 amr analitza ap attica avahi bazaar berkdb bidi bittorrent bluetooth bluray branding bzip2 cairo cdda cddb cdio cdparanoia cdr chm clamav clamdtop cli consolekit contrast corefonts cracklib crypt cups curl cvs cxx dbus declarative designer-plugin desktopglobe device-mapper dirac djvu dri dts dv dvd dvdr ebook emboss emovix encode exif faac faad fam fbcondecor fbsplash ffmpeg firefox fits flac fontconfig fortran ftp g3dvl gdbm gif gimp git glibc-omitfp google gphoto2 groupwise hdri http httpd iconv icq idn ieee1394 imagemagick imlib indi infinality ipv6 irc jabber java javascript jbig joystick jpeg jpeg2k kde kipi lame latex lcms ldap lensfun libass libnotify libsamplerate live lm_sensors lua lzma lzo mad matroska mdnsresponder-compat meanwhile mercurial mime mjpeg mms mmx mng modplug modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz ncurses netlink nls nptl nsplugin ntp nvidia offensive offlinehelp ogg openal openexr opengl openmp oscar otr pam pango pcre pdf phonon plasma png policykit postproc ppds pppd prediction ps python3 qalculate qt3support qt4 quicktime qwt rdesktop readline rtsp samba scanner schroedinger scim sdl semantic-desktop session sip skype smp sms sndfile solver sox speex spell sqlite sse sse2 ssl ssse3 startup-notification subversion svg symlink taglib tcpd telepathy templates theora thumbnail tidy tiff truetype twolame udev udisks unicode upnp upower usb vcd vcdx vlc vlm vnc vorbis vpx wavpack webpresence wicd wifi winpopup wmf wxwidgets x264 xa xcb xcomposite xine xinerama xml xorg xscreensaver xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


So what is going on and where do I go from here? Do I set USE_PYTHON="3.2" and PYTHON_SINGLE_TARGET="3.2" to keep consistent with eselect? Is eselect now deprecated and ignored? Do I even have to set these values at all in my make.conf?

Somebody knowledgeable please chime in, before I rip what little hair I have left out! lol

TIA
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 217
Location: Detroit, MI, USA

PostPosted: Fri Jan 04, 2013 1:27 am    Post subject: Reply with quote

Sorry, that message appears due to a bug in python-r1.eclass. I just committed a fix.

Please feel free to ignore it.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2773
Location: Gainesville, Florida

PostPosted: Tue Jan 08, 2013 8:54 pm    Post subject: Reply with quote

I'm running into this on Cinnamon:
Code:
Emerging (1 of 1) gnome-extra/cinnamon-1.6.7-r1
 * cinnamon-1.6.7.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                    [ ok ]
 * No Python implementation selected for the build. Please set
 * the PYTHON_SINGLE_TARGET variable in your make.conf to one
 * of the following values:
 *
 * python2_6 python2_7

 * ERROR: gnome-extra/cinnamon-1.6.7-r1 failed (setup phase):
 *   No supported Python implementation in PYTHON_SINGLE_TARGET.
 *
 * Call stack:
 *                  ebuild.sh, line  93:  Called pkg_setup
 *   cinnamon-1.6.7-r1.ebuild, line 131:  Called python-single-r1_pkg_setup
 *    python-single-r1.eclass, line 206:  Called die
 * The specific snippet of code:
 *      die "No supported Python implementation in PYTHON_SINGLE_TARGET."
 *
 * If you need support, post the output of `emerge --info '=gnome-extra/cinnamon-1.6.7-r1'`,
 * the complete build log and the output of `emerge -pqv '=gnome-extra/cinnamon-1.6.7-r1'`.
 * The complete build log is located at '/var/tmp/portage/gnome-extra/cinnamon-1.6.7-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/cinnamon-1.6.7-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/gnome-extra/cinnamon-1.6.7-r1'
 * S: '/var/tmp/portage/gnome-extra/cinnamon-1.6.7-r1/work/linuxmint-Cinnamon-5ab432d'

I've tried setting it in make.conf, /etc/portage/package.use, and on the command line for cinnamon (such as PYTHON_SINGLE_TARGET="python2_7" emerge cinnamon), but nothing seems to do the trick. I also ran python-updater, which rebuilt 16 packages successfully. Emerge --info says PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" even without it set in make.conf, so this is very curious. Is this still the python-r1.eclass bug?

This is an otherwise ~x86 system in seemingly perfect running order, up-to-date, depcleaned, and revdep-rebuild shows nothing

I've had cinnamon-1.6.7 installed OK, just today's newest r1 version had this problem???? :?
_________________
Main box- Gigabyte GIGABYTE GA-990FXA-UD3 AM3+ rev.-4.0
Amd FX 8320, 3.5 GHz, 16GB GSkill DDR3 1866mhz
Samsung SATA 1000GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.19-r1, gcc-4.9.1 kernel 3.17.0-gentoo (USE=experimental "native")


Last edited by wrc1944 on Tue Jan 08, 2013 9:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 217
Location: Detroit, MI, USA

PostPosted: Tue Jan 08, 2013 8:57 pm    Post subject: Reply with quote

That was a mistake that has been fixed.

Code:
  08 Jan 2013; Michał Górny <mgorny@g.o> python-single-r1.eclass:
  Fix the PYTHON_SINGLE_TARGET validity check.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2773
Location: Gainesville, Florida

PostPosted: Tue Jan 08, 2013 9:19 pm    Post subject: Reply with quote

I just synced 3-4 hours ago- you mean fixed since then, and I should resync?
_________________
Main box- Gigabyte GIGABYTE GA-990FXA-UD3 AM3+ rev.-4.0
Amd FX 8320, 3.5 GHz, 16GB GSkill DDR3 1866mhz
Samsung SATA 1000GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.19-r1, gcc-4.9.1 kernel 3.17.0-gentoo (USE=experimental "native")
Back to top
View user's profile Send private message
floppymaster
Developer
Developer


Joined: 07 Jul 2010
Posts: 217
Location: Detroit, MI, USA

PostPosted: Tue Jan 08, 2013 9:21 pm    Post subject: Reply with quote

Yes.
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2773
Location: Gainesville, Florida

PostPosted: Tue Jan 08, 2013 9:23 pm    Post subject: Reply with quote

Thanks much, floppymaster! :D That did the trick!
_________________
Main box- Gigabyte GIGABYTE GA-990FXA-UD3 AM3+ rev.-4.0
Amd FX 8320, 3.5 GHz, 16GB GSkill DDR3 1866mhz
Samsung SATA 1000GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.19-r1, gcc-4.9.1 kernel 3.17.0-gentoo (USE=experimental "native")
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 772

PostPosted: Tue May 07, 2013 6:37 am    Post subject: Reply with quote

I'm seeing this again with gobject-introspection. I have both PYTHON_TARGETS="python2_7 python3_2" and PYTHON_SINGLE_TARGET="python2_7" in my make.conf Any suggestions?[/code]
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 66

PostPosted: Tue May 14, 2013 11:36 am    Post subject: Reply with quote

nukem996 wrote:
I'm seeing this again with gobject-introspection. I have both PYTHON_TARGETS="python2_7 python3_2" and PYTHON_SINGLE_TARGET="python2_7" in my make.conf Any suggestions?[/code]


same here!
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Tue May 14, 2013 12:54 pm    Post subject: Reply with quote

2012-11-06-PYTHON_TARGETS-deployment
Quote:
If you are running a modern system with only Python 2.7 & 3.2 installed, then you don't have to do anything. The defaults will simply fit you, and let you keep your system up-to-date when new Python versions are deployed. However, if you'd like to use another set of Python implementations, you will need to set PYTHON_TARGETS in your make.conf file appropriately.

So, there is no need to define these in make.conf, and it may be failing for that reason (guess).

dev-libs/gobject-introspection has PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" so most like this would work without any intervention.

best ... khay
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 66

PostPosted: Wed May 15, 2013 12:19 am    Post subject: Reply with quote

Code:

w530 lu # grep PYTHON /etc/portage/make.conf
w530 lu #


Code:

w530 lu # emerge -1av gobject-introspection

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/gobject-introspection-1.34.2-r1  USE="-doctool {-test}" PYTHON_SINGLE_TARGET="-python2_7*" PYTHON_TARGETS="python2_7" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

===> build fails

Code:

w530 lu # emerge -1av gobject-introspection

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-libs/gobject-introspection-1.34.2-r1  USE="-doctool {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

===> build succeeds


So, why is PYTHON_SINGLE_TARGET unset by default on this package?
If I try to set PYTHON_SINGLE_TARGET="python2_7" in make.conf, it also wont work. The only way is to set manually before the emerge commad.
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Wed May 15, 2013 1:11 pm    Post subject: Reply with quote

ccube wrote:
So, why is PYTHON_SINGLE_TARGET unset by default on this package? If I try to set PYTHON_SINGLE_TARGET="python2_7" in make.conf, it also wont work. The only way is to set manually before the emerge commad.

ccube ... I think the issue is that PYTHON_SINGLE_TARGET is designed to overide PYTHON_TARGETS for cases in which "only a single Python implementation can be enabled", in the case above there is a change in TARGET, PYTHON_SINGLE_TARGET="-python2_7*" will set that value to null, and so "tak[ing] precedence over PYTHON_TARGETS" nothing is passed as TARGET.

I'm still not altogether sure how the whole thing is ment to work, but given that it should work without having to define anything (at least when not requiring "another set of Python implementations") its probably a case that having it in make.conf causes emerge to take this value more literally, that again, is mostly guesswork.

best ... khay
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 66

PostPosted: Wed May 15, 2013 3:47 pm    Post subject: Reply with quote

Code:

le@w530 / $ emerge --info
Portage 2.1.11.63 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.9.2-gentoo x86_64)
=================================================================
System uname: Linux-3.9.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:    16063884 total,   6700592 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Wed, 15 May 2013 15:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0::java-overlay
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage x11 sunrise luman mate-overlay moonrise steam-overlay java
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=15 --load-average=8.5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://de-mirror.org/distro/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/luman /var/lib/layman/mate /var/lib/layman/moonrise /var/lib/layman/steam /var/lib/layman/java"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo caja cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gstreamer gtk gtkstyle iconv ipv6 java jpeg laptop latex lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pulseaudio python qt3support qt4 readline samba scanner sdl session spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vim-syntax vorbis wicd wxwidgets x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Since it is set, but not recognized, it looks like a bug for me. But why are no other people affected? Any tips where to look at next?
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Wed May 15, 2013 4:16 pm    Post subject: Reply with quote

ccube wrote:
Since it is set, but not recognized, it looks like a bug for me. But why are no other people affected? Any tips where to look at next?

ccube ... yes, its set, as it is here without ever having added any *_TARGET in make.conf, but as I said, in the above it looks to have been changed, and so you had "-python2_7*" (a use change). This may have been the result of the package having been changed, or the effect of the additon of *_TARGETS in make.conf, I'm not sure. The basic point, I think, is that there shouldn't be any need to do anything with *_TARGETS unless you have needs outside of those provided by the default.

The behavior does seem to point to a bug, if nothing was changed in the package that is, but I can't really say any more than that without trying to replicate it, and gobject-introspection is something I have blocked.

best ... khay
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 66

PostPosted: Mon May 20, 2013 10:10 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=470826
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 2289
Location: Germany

PostPosted: Tue May 21, 2013 12:51 am    Post subject: Reply with quote

ccube,
What says
Code:
grep -Ri target /etc/portage/
?
Back to top
View user's profile Send private message
ccube
n00b
n00b


Joined: 15 Feb 2011
Posts: 66

PostPosted: Tue May 21, 2013 11:09 am    Post subject: Reply with quote

whooops,

Seems like portage added some stuff to my package.use and I did not pay enugh attention!

Cleaned this up, fixed the problem! :))


Thx Josef.95!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum