Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230788 - app-portage/eix-0.13.1 looks for layman repos make.conf in wrong place
Summary: app-portage/eix-0.13.1 looks for layman repos make.conf in wrong place
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 19:16 UTC by Pacho Ramos
Modified: 2008-08-05 06:12 UTC (History)
4 users (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 Pacho Ramos gentoo-dev 2008-07-04 19:16:14 UTC
I have added sunrise and java-overlay repos, they were added to /usr/local/portage/layman (instead of /usr/portage/local/layman...) by "layman -a repository", my /etc/make.conf was changed to the new location of make.conf, but eix is still looking for old:
# update-eix-layman add
 * cannot read /usr/portage/local/layman/make.conf
# ls -l /usr/local/portage/layman/make.conf 
-rw-r--r-- 1 root root 110 jul  4 21:08 /usr/local/portage/layman/make.conf

My make.conf:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
# CFLAGS="-march=k8 -O2 -ggdb"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-arts -ipv6 -gdbm eds startup-notification real cpudetection \
     3dnowext 3dnow mmxext sse sse2 sse3 gtk2 dvb curl rtc musicbrainz \
     evolution tk glitz mplayer trayicon logrotate X vim gimp pdf \
     xcomposite network imlib cddb gnome-print xpm musepack cdda \
     quicktime spell galago gif opengl qt3 qt4 foomaticdb xv gnome \
     kde sdl encode gtk usb png alsa jpeg tiff kdeenablefinal \
     kdehiddenvisibility nautilus beagle libnotify totem madwifi \
     dlloader xulrunner timidity ithreads ggi idn gtkhtml slang cairo \
     glut motif threads asf svg wma dbus gcj acpi latex vcd aac v4l \
     v4l2 nvidia a52 cdparanoia dts dvdread bash-completion hal \
     audiofile bzlib caps cdb cdr cpdflib cross dga divx4linux dvd \
     dvdr erandom escreen evo exif fam fbcon jabber mp3 mpeg flac \
     ftp gb glx gphoto2 gstreamer gimpprint iconv imagemagick java \
     lcms mad mikmod mime mng mono mpi multilib nas nethack nptl \
     nocardbus oggvorbis vorbis ogg bzip2 openal pcre pic plotutils \
     posix ppds scanner slp sockets sysvipc tcltk theora truetype \
     unicode videos wmf xine xml xml2 xvid amd64 -sasl -ctags \
     -cscope -aalib -jack -matroska -lzo -oss -opensp -xerces \
     -serpentine avahi daap -ldap lm_sensors hddtemp ffmpeg gd djvu acl \
     remote xattr gnome-keyring xcb xft pch -accessibility kpathsea \
     moonlight mjpeg dv fame lame thunderbird git subversion \
     ladspa -ipod xvmc consolekit"
LINGUAS="es es_ES en_US"
FEATURES="ccache parallel-fetch multilib-strict collision-protect sandbox cvs autoaddcvs strict"
# FEATURES="ccache parallel-fetch multilib-strict  sandbox cvs autoaddcvs"
# SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save_summary syslog"
VIDEO_CARDS="nvidia nv vesa fbdev vga"
LANGS="es"
INPUT_DEVICES="keyboard mouse"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
# "http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
# "http://ftp.heanet.ie/pub/gentoo/"
# "http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
# http://ftp.club-internet.fr/pub/mirrors/gentoo"
# http://ftp.heanet.ie/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.intergenia.de/"
# CLEAN_DELAY=0
# DVB_CARDS=usb-dib0700
DISTDIR="/usr/distfiles"
# PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
COLLISION_IGNORE=/lib/modules
source /usr/local/portage/layman/make.conf

layman's make.conf:
PORTDIR_OVERLAY="
/usr/local/portage/layman/sunrise
/usr/local/portage/layman/java-overlay
$PORTDIR_OVERLAY
"

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Thu, 03 Jul 2008 13:33: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.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-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/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES en_US"
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/layman/sunrise /usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf audiofile avahi bash-completion beagle berkdb bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli consolekit cpdflib cpudetection cracklib cross crypt cups curl daap dbus dga divx4linux djvu dlloader dri dts dv dvb dvd dvdr dvdread eds encode erandom escreen evo evolution exif fam fame fbcon ffmpeg flac foomaticdb fortran ftp galago gb gcj gd ggi gif gimp gimpprint git glitz glut glx gnome gnome-keyring gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility kpathsea ladspa lame latex lcms libnotify lm_sensors logrotate mad madwifi midi mikmod mime mjpeg mmx mmxext mng mono moonlight motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pch pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection remote rtc scanner sdl session slang slp sockets spell spl sse sse2 sse3 ssl startup-notification subversion svg sysvipc tcltk tcpd theora threads thunderbird tiff timidity tk totem trayicon truetype unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xattr xcb xcomposite xft xine xml xml2 xorg xpm xulrunner xv xvid xvmc zlib" 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Martin Väth 2008-07-04 21:32:27 UTC

*** This bug has been marked as a duplicate of bug 208021 ***
Comment 2 Pacho Ramos gentoo-dev 2008-07-05 16:17:11 UTC
I am using defaults for layman and eix, eix should automatically handle this, and layman-1.2.0-r1 download repos at /usr/local/portage/layman instead of /usr/portage/local/layman

Thanks
Comment 3 Wormo (RETIRED) gentoo-dev 2008-07-05 22:01:29 UTC
Adding the layman maintainer to cc list... hopefully he will have advice on how eix can find the layman make.conf without any horrible hacks. 

Otherwise, how about making the path be a mandatory argument to update-eix-layman, and document why this was done in the eix man page?
Comment 4 Martin Väth 2008-07-15 08:03:13 UTC
In the new eix svn trunk (>=0.13.3), I added a python call to set the defaults,
using layman's configure module/Config class; I hope that the interface of this
module/class remains rather stable.
Comment 5 Martin Väth 2008-08-05 06:12:28 UTC
Closing since eix-0.13.3 is now in the tree.