Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233651 - app-portage/gentoolkit-0.2.4.1 - euse broken with 2008.0 profile
Summary: app-portage/gentoolkit-0.2.4.1 - euse broken with 2008.0 profile
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
: 231699 233571 (view as bug list)
Depends on:
Blocks: 170220
  Show dependency tree
 
Reported: 2008-08-01 22:20 UTC by Dror Levin (RETIRED)
Modified: 2008-09-18 08:09 UTC (History)
5 users (show)

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


Attachments
euse.233651.patch (euse.233651.patch,949 bytes, patch)
2008-09-17 18:22 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin (RETIRED) gentoo-dev 2008-08-01 22:20:23 UTC
Any attempt to use euse produces the following error:
kamino ~ # euse --help
ERROR: /usr/portage/profiles/default/linux/amd64/2008.0/../make.defaults is not readable

My /etc/make.profile:
/etc/make.profile -> ../usr/portage/profiles/default/linux/amd64/2008.0

I'm using app-portage/gentoolkit-0.2.4_rc5 and sys-apps/portage-2.2_rc5.
Comment 1 Michael Perlov 2008-08-05 15:14:25 UTC
Confirm. app-portage/gentoolkit-0.2.4_rc5

# ls -l /etc/make.profile
lrwxrwxrwx 1 root root 49 Авг  5 18:14 /etc/make.profile -> ..//usr/portage/profiles/default/linux/x86/2008.0

Portage 2.2_rc6 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26 i686)
=================================================================
System uname: Linux-2.6.26-i686-Intel-R-_Pentium-R-_4_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Tue, 05 Aug 2008 12:41:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 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.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
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/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.gentoo.no/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
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/local/portage/my /usr/local/portage/layman/enlightenment"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa apache2 berkdb bzip2 cli cracklib crypt dbus dri dvdr flac fortran gdbm gif gpm gtk2 hal iconv ipv6 isdnlog jpeg midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode vorbis win32codecs x86 xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Michael Perlov 2008-08-05 15:26:04 UTC
There are additional per-arch make.defaults files in profiles < 2008.0
Is 2008.0 missing them?
Comment 3 Tonda 2008-08-07 06:23:40 UTC
Portage 2.2_rc6 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Wed, 06 Aug 2008 16:36:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/rc.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo"
LANG="cs_CZ"
LC_ALL="cs_CZ"
LDFLAGS="-Wl,-O1"
LINGUAS="cs en en_GB"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa apache2 apm arts asf audiofile bash-completion berkdb bluetooth bzip2 bzlib cli cracklib crypt css cups curl dba devmap dri dv dvd dvdread exif ffmpeg flac font-server fortran gdbm gpm hal iconv ieee1394 imagemagick imap imlib innodb ipv6 isdnlog ithreads java java5 java6 jpeg jpeg2k kde kipi ldap lirc logrotate mad maildir matroska mhash mime mmx mp3 mudflap mysql ncurses nls no-seamonkey nptl nptlonly nsplugin objc objc++ objc-gc ogg openexr opengl openmp oss pam pcre pdf perl php pmu png ppds pppd python qt4 readline real reflection samba scanner sdl session simplexml slang sms sndfile snmp soap spl sse sse2 ssl ssse3 svg sysfs tcpd tetex threads truetype unicode usb vorbis wifi win32codecs x86 xcomposite xine xml xmlrpc xorg xsl xvid zlib" ALSA_CARDS="intel8x0" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


ltafaltynek ~ # locate make.defaults | grep 2008 | less
/usr/portage/profiles/releases/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/x86/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/ia64/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/amd64/2008.0/no-multilib/make.defaults
/usr/portage/profiles/hardened/linux/amd64/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/powerpc/ppc32/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/powerpc/ppc64/2008.0/make.defaults
/usr/portage/profiles/hardened/linux/powerpc/ppc64/2008.0/32bit-userland/make.defaults
Comment 4 Michael Perlov 2008-08-08 15:37:03 UTC
touch /usr/portage/profiles/default/linux/x86/make.defaults solved the problem for me.

touch /usr/portage/profiles/default/linux/amd64/make.defaults 
must do the same for amd64
Comment 5 Tonda 2008-08-15 08:32:46 UTC
I confirm Michaels solution with (gentle) touch :)
Comment 6 Jesse Gonzalez 2008-08-22 18:14:49 UTC
(In reply to comment #5)
> I confirm Michaels solution with (gentle) touch :)
> 

Same Here.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-14 18:41:58 UTC
FuzzyRay: I have noticed alot of work on gentoolkit lately but this bug goes forgotten. Mind taking a look at it? Thanks.
Comment 8 Paul Varner (RETIRED) gentoo-dev 2008-09-17 18:21:22 UTC
$ svn commit -m "Fix check_sanity function to use get_all_make_defaults function when checking for the make.defaults files in the profile. (Bug #233651)"
Sending        trunk/ChangeLog
Sending        trunk/src/euse/euse
Transmitting file data ..
Committed revision 515.
Comment 9 Paul Varner (RETIRED) gentoo-dev 2008-09-17 18:22:17 UTC
Created attachment 165664 [details, diff]
euse.233651.patch

The is the patch from the fix in subversion
Comment 10 Paul Varner (RETIRED) gentoo-dev 2008-09-17 19:13:41 UTC
*** Bug 231699 has been marked as a duplicate of this bug. ***
Comment 11 Paul Varner (RETIRED) gentoo-dev 2008-09-17 22:07:31 UTC
Released in gentoolkit-0.2.4.2
Comment 12 Justin Lecher (RETIRED) gentoo-dev 2008-09-18 08:09:18 UTC
*** Bug 233571 has been marked as a duplicate of this bug. ***