Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162008 - >=eselect-1.0.7 fails to emerge: install-symlink-kernel-config fails
Summary: >=eselect-1.0.7 fails to emerge: install-symlink-kernel-config fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords:
: 162124 162148 162156 162195 162331 (view as bug list)
Depends on:
Blocks: 160535
  Show dependency tree
 
Reported: 2007-01-14 09:21 UTC by Patrick De Pinguin
Modified: 2007-01-16 08:57 UTC (History)
7 users (show)

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


Attachments
build log for failed eselect-1.0.8 build (app-admin:eselect-1.0.8:20070115-000750.log,8.41 KB, text/plain)
2007-01-15 00:12 UTC, Joshua A. Manis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick De Pinguin 2007-01-14 09:21:50 UTC
I get an error upon emerge of eselect-1.0.7:

test -z "/usr/bin" || mkdir -p -- "/var/tmp/portage/eselect-1.0.7/image//usr/bin"
ln -snf /var/tmp/portage/eselect-1.0.7/image//usr/bin/eselect \
                /var/tmp/portage/eselect-1.0.7/image//usr/bin/kernel-config
ln: creating symbolic link `/var/tmp/portage/eselect-1.0.7/image//usr/bin/kernel-config': No such file or directory
make[2]: *** [install-symlink-kernel-config] Error 1
make[2]: *** Waiting for unfinished jobs....

Reproducible: Always

Steps to Reproduce:
1.emerge eselect
2.
3.
Comment 1 Patrick De Pinguin 2007-01-14 09:23:23 UTC
This is with a freshly updated portage-tree by the way

galapagos thomas # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.19.1 i686)
=================================================================
System uname: 2.6.19.1 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 14 Jan 2007 08:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sfperms strict userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
LINGUAS="en nl fr sv"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/thomas/src/portage-overlay /usr/portage/local/layman/voip"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol bash-completion berkdb blas bzip2 cdparanoia cdr cracklib crypt cups dbus dri dvd dvdr dvdread elibc_glibc emacs encode exif expat ffmpeg firefox flac flash foomaticdb ftp gd gif glut gphoto2 gpm gtk gtk2 hal ieee1394 imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics jabber java jikes jpeg jpeg2k kde kernel_linux linguas_en linguas_fr linguas_nl linguas_sv lirc lirc_devices_sir mad mikmod mp3 mpeg mplayer msn ncurses nls nptl nsplugin ogg opengl pdf perl png ppds qt3 qt4 quicktime readline samba sdl sse sse2 ssl svg tetex theora threads tiff truetype unicode usb userland_GNU v4l v4l2 video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa vorbis wifi win32codecs wmf xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Patrick De Pinguin 2007-01-14 17:42:04 UTC
I found a solution: when emerging with MAKEOPTS="-j1" it works.
The linking fails since the eselect binary is being copied by another processor/thread which runs behind.

I believe there should be a check or lock in the ebuild...
Comment 3 Roman Pertl 2007-01-14 19:37:01 UTC
same problem here. workaround works: 

MAKEOPTS="-j1" emerge eselect

emerge --info

Portage 2.1.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-hardened-r1 i686)
=================================================================
System uname: 2.6.18-hardened-r1 i686 AMD Duron(tm) processor
Gentoo Base System version 1.12.6
Last Sync: Sun, 14 Jan 2007 16:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirror.cyberservice.net/ http://gentoo.inode.at/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 acl alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 bash-completion berkdb bzip2 cracklib crypt elibc_glibc gdbm input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux maildir mysql ncurses nls nptl nptlonly pam readline shadow slang ssl tcpd unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Mike Kelly (RETIRED) gentoo-dev 2007-01-14 19:41:05 UTC
Hmm, I thought I had fixed most of the parallel-install issues. For now, the ebuild is fixed with an emake -j1 for install. I'll try and get it fully fixed for a future release.

Thanks for the report!
Comment 5 Mike Kelly (RETIRED) gentoo-dev 2007-01-14 21:14:42 UTC
I've just pushed out 1.0.8, which should really fix parallel make. Try it and lemme know how it works.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 00:02:46 UTC
*** Bug 162124 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 00:03:03 UTC
(In reply to comment #5)
> I've just pushed out 1.0.8, which should really fix parallel make. Try it and
> lemme know how it works.

No luck, see the other bug. 

Comment 8 Joshua A. Manis 2007-01-15 00:12:01 UTC
Created attachment 107019 [details]
build log for failed eselect-1.0.8 build

Also had the linking problem, this is with MAKEOPTS=-j3
Comment 9 Joshua A. Manis 2007-01-15 00:14:04 UTC
Jokarzyl ~ # emerge --info
Portage 2.1.2_rc4-r9 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-morph7 x86_64)
=================================================================
System uname: 2.6.19-morph7 x86_64 Dual Core AMD Opteron(tm) Processor 165
Gentoo Base System version 1.12.8
Timestamp of tree: Mon, 15 Jan 2007 00:00:03 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r2
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/layman/sunrise /usr/local/layman/voip /usr/local/layman/custom-kernels /usr/local/layman/science /usr/local/layman/wtk-mono"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 bash-completion berkdb bitmap-fonts branding bzip2 cdr cli cracklib crypt dbus dlloader dri dts dvd dvdr encode evo ffmpeg firefox flac fortran g15 gdbm gif gpm graphviz gstreamer gtk gtk+ gtkhtml hal iconv ipv6 isdnlog jpeg lcd libg++ lm_sensors logitech-mouse mono mp3 mpeg multislot ncurses nls nptl nptlonly nvidia ogg openal opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sse3 ssl svg symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis x264 xcomposite xine xinerama xml xml2 xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Mike Kelly (RETIRED) gentoo-dev 2007-01-15 02:23:11 UTC
Hrm... so I guess I missed one. I'll push a patch into the tree in a few hours that I hope will *really* fix this (though I don't have a machine I can really test it out on).
Comment 11 Mike Kelly (RETIRED) gentoo-dev 2007-01-15 03:32:38 UTC
Okay, the patch is committed to the tree. I've tested on a server with MAKEOPTS="-j20" without my patch, and I see the failure. With my patch, I don't. 

Please try emerging 1.0.8 again with your usual MAKEOPTS and see if it now works as intended.

Hoping it's really really fixed this time. If not, please feel free to hit me over the head with another build log.
Comment 12 John M. Drescher 2007-01-15 06:51:53 UTC
Thanks it now works for me. 
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 08:40:28 UTC
*** Bug 162148 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 08:45:23 UTC
*** Bug 162156 has been marked as a duplicate of this bug. ***
Comment 15 Patrick De Pinguin 2007-01-15 09:13:13 UTC
fixed for me as well. Thanks...
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-01-15 13:19:07 UTC
*** Bug 162195 has been marked as a duplicate of this bug. ***
Comment 17 lordcris 2007-01-15 13:27:22 UTC
MAKEOPTS="-j1" emerge eselect
works for me.
Comment 18 Mike Kelly (RETIRED) gentoo-dev 2007-01-15 14:28:25 UTC
(In reply to comment #17)
> MAKEOPTS="-j1" emerge eselect
> works for me.

Okay, but does the current patched version of eselect-1.0.8 in the tree work for you with your usual MAKEOPTS setting?

Comment 19 lordcris 2007-01-15 14:48:46 UTC
(In reply to comment #18)

> Okay, but does the current patched version of eselect-1.0.8 in the tree work
> for you with your usual MAKEOPTS setting?
> 

no,
it doesn't work with my usual MAKAOPTS.
Comment 20 Mike Kelly (RETIRED) gentoo-dev 2007-01-15 15:13:57 UTC
(In reply to comment #19)
> (In reply to comment #18)
> 
> > Okay, but does the current patched version of eselect-1.0.8 in the tree work
> > for you with your usual MAKEOPTS setting?
> > 
> 
> no,
> it doesn't work with my usual MAKAOPTS.
> 

After you emerge --sync and try again, could you attach a full build log to this bug?
Comment 21 lordcris 2007-01-15 15:36:22 UTC
> After you emerge --sync and try again, could you attach a full build log to
> this bug?
> 

not it works.
thank you!
Comment 22 far jump 2007-01-15 19:31:32 UTC
MAKEOPTS="-j1" emerge eselect
works for me also
Comment 23 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 08:06:40 UTC
*** Bug 162331 has been marked as a duplicate of this bug. ***
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2007-01-16 08:57:11 UTC
Uh...

1/ emerge --sync before commenting here!
2/ MAKEOPTS="-j1" is NOT a solution to this bug
3/ emerge --sync before commenting here!