Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240427 - app-portage/gentoolkit-0.2.4.2: problem with 'euse -I'
Summary: app-portage/gentoolkit-0.2.4.2: problem with 'euse -I'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 21:32 UTC by Rafał Mużyło
Modified: 2008-10-11 16:34 UTC (History)
0 users

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


Attachments
euse.240427.patch (euse.240427.patch,1.13 KB, patch)
2008-10-10 19:07 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2008-10-07 21:32:57 UTC
I don't know whether the problem lies in gentoolkit
or the profile get messed up.
Since a few weeks I'm getting an error in 'euse -I' output.
I.e. 'euse -I moonlight' results in:
global use flags (searching: moonlight)
************************************************************
no matching entries found

local use flags (searching: moonlight)
************************************************************
/usr/bin/euse: line 61: cd: /usr/portage/profiles/default/linux/x86/2008.0/desktop/..
../../../../../targets/desktop: Nie ma takiego pliku ani katalogu
/usr/bin/euse: line 63: cd: : Nie ma takiego pliku ani katalogu
[-    ] moonlight (dev-lang/mono):
add moonlight support

Except for the error, output seems correct.
That error means "no such file or directory".
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-07 22:10:19 UTC
Please post your `emerge --info' too. I assume "Nie ma takiego pliku ani katalogu" means "No such file or directory".
Comment 2 Rafał Mużyło 2008-10-07 22:45:56 UTC
As for the question, yes, that's what it means.
As for 'emerge --info', I'll post it just to prove,
how worthless it is in this case.

Portage 2.1.5.6 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: 2.6.26-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Mon, 06 Oct 2008 12:55:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -mtune=athlon -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -mtune=athlon -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,relro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi afs alsa apache2 apm audiofile avi bash-completion berkdb bidi bluetooth branding bzip2 bzlib cairo caps cdr cjk cli cracklib crypt cscope curl dbus directfb doc dri dvd dvdr dvdread eds emboss encode esd evo fam fbcon ffmpeg firefox flac fortran ftp gdbm ggi gif glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap ipv6 isdnlog java javascript joystick jpeg jpeg2k kerberos lcms ldap leim libnotify libwww mad maildir matroska midi mikmod mmap mmx mng motif mp3 mpeg mudflap mysql ncurses nis nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png posix ppds pppd python qt qt3support qt4 quicktime readline reflection ruby sasl sdl session sharedext slp sndfile sockets speex spell spl ssl startup-notification svg sysfs tcpd tetex theora tiff tokenizer truetype unicode usb v4l vcd vhosts vorbis win32codecs wmf wxwindows x86 xcb xface xinerama xml xml2 xorg xosd xv xvid zlib" ALSA_CARDS="dummy virmidi hda-intel intel8x0 mpu401" 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="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev linuxinput ps2mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx vesa fbdev radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Note the compiler version and ACCEPT_KEYWORDS (among other).
Nearly none of it should matter, as:
1. my profile was already given
2. euse (AFAIK) is pure python
Comment 3 Paul Varner (RETIRED) gentoo-dev 2008-10-09 15:58:07 UTC
I can't duplicate with the same profile

What is the output of ls -l /etc/make.profile?

What does euse -i moonlight return?
Comment 4 Rafał Mużyło 2008-10-09 23:12:09 UTC
Output of 'euse -i moonlight' is correct (same as above, but without errors).
'ls -l /etc/make.profile' is:
/etc/make.profile -> ..//usr/portage/profiles/default/linux/x86/2008.0/desktop
Comment 5 Paul Varner (RETIRED) gentoo-dev 2008-10-10 16:05:21 UTC
I Still can't duplicate, however, something isn't working with euse -I so I will keep investigating.

# ln -s ..//usr/portage/profiles/default/linux/x86/2008.0/desktop make.profile
# euse -I moonlight
global use flags (searching: moonlight)
************************************************************
no matching entries found

local use flags (searching: moonlight)
************************************************************
no matching entries found

# euse -i moonlight
global use flags (searching: moonlight)
************************************************************
no matching entries found

local use flags (searching: moonlight)
************************************************************
[-    ] moonlight (dev-lang/mono):
add moonlight support

Comment 6 Paul Varner (RETIRED) gentoo-dev 2008-10-10 19:07:40 UTC
Created attachment 167900 [details, diff]
euse.240427.patch

I found the problem, euse -I was redefining the IFS variable and breaking the get_all_make_defaults() function.  This patch should fix the problem.
Comment 7 Rafał Mużyło 2008-10-11 16:34:00 UTC
Indeed, it seems it does.