Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 191043
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: udev maintainers <udev-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Barry Salter <barry@southie.me.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
udev-115.log Complete build log for udev-115 text/plain Barry Salter 2007-09-02 11:40 0000 20.71 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191043 depends on: Show dependency tree
Bug 191043 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-02 11:38 0000
When attempting to upgrade udev to version 115, ln fails with a file exists
error on '/var/tmp/portage/sys-fs/udev-115/image//lib64/libvolume_id.so.0'

Reproducible: Always

Steps to Reproduce:
1. emerge sys-fs/udev-115
2. That's it!
Actual Results:  
udev-115 builds successfully, but when it tries to install the package it fails
as follows:

(most output snipped for brevity)

make[1]: Entering directory
`/var/tmp/portage/sys-fs/udev-115/work/udev-115/extras/root_link'
Please create a man page for this tool.
make[1]: Leaving directory
`/var/tmp/portage/sys-fs/udev-115/work/udev-115/extras/root_link'
ln: creating symbolic link
`/var/tmp/portage/sys-fs/udev-115/image//lib64/libvolume_id.so.0': File exists
 *
 * ERROR: sys-fs/udev-115 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   udev-115.ebuild, line 153:   Called die
 *
 * Failed installing libvolume_id.so
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/sys-fs:udev-115:20070902-112421.log'.
 *

Expected Results:  
udev-115 installed successfully.

emerge --info output:

Portage 2.1.3.7 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0,
2.6.21-gentoo x86_64)
=================================================================
System uname: 2.6.21-gentoo x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 02 Sep 2007 10:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.17.50.0.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/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/texmf/web2c /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo
http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB en en_US"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi ada admin aiglx
aim aimextras allegro alsa amd amd64 amr amrr animgif aoss apache2 apm arj arts
artworkextra asf async atk audacious audiofile auth authdaemond authfile
authlib automount avahi awe32 background bash-completion bc bcmath bdf berkdb
big-tables binary-drivers bind-mysql bindist binfilter bitmap-fonts bittorrent
bl blas bonobo bootsplash branding buttons bzip2 calendar cap catalogs ccache
cdaudio cdda cddb cdparanoia cdr cdrom cdsound cg cgi charconv chardet
checkpath chm chroot cjk clamav clamd cli cnamefix colordiff command-args
compress config_wizard connectionstatus console contentcache contrib corba cpio
cpudetection cracklib crypt crypto_libgcrypt crypto_openssl css ctype cups curl
curlwrappers cvs dbase dbm dbus dbx dcraw dedicated depth32 device-mapper dga
dhcp dillo dio directfb diskcache divx djbfft djvu dlz dmi dnsdb domain-aware
domainkeys double-precision dri dts dvd dvdread dxr3 dxr3-audio-denoise
dynamicplugin ecc editor effects elf emoticon emul-linux-x86 enca encode
enscript epydoc erandom escreen esd evo evolution examples excel exif exim
exiscan exiscan-acl expat extensions extraengine extrafilters extraicons
extramodules extras fam fame fastcgi fat fax fbcon fbdev fbsplash ffi ffmpeg
fftw fidonet figlet filter finger firefox flac flash flood fltk fmod
font-server fontconfig foomaticdb force-cgi-redirect fortran freetds ftp gadu
gaim gatos gb gcc-libffi gd gdbm geoip gg ggi gif gimp gimpprint ginac gkrellm
glade glep glgd glib glibc-compat20 glibc-omitfp glsa glut gmail gmedia gmp
gnokii gnome gnome-print gnomedb gnuplot gnutls gopher gpgme gphoto2 gpm gprof
graphviz gs gsl gsm gssapi gstreamer gtk gtk2 gtkhtml guile gvim gzip h323 hal
hald hash hddtemp howl howl-compat hpn html http httpd ical icecast icons iconv
icq icu id3 idea ident idn ifsession ignore-case image imagemagick imap imlib
inifile innkeywords innodb ipalias iproute2 ipsec ipv6 irc isc isdnlog jabber
jack java java5 javacomm javamail javascript jbig jce jcs jikes jingle john
joystick jpeg jpeg2k jpty jumpplay junit kde kdexdeltas kdgraphics kdrive
kerberos keyring kig-scripting lame langpacks latex lcms ldap lha libcaca
libclamav libdsk libgda libnotify libtommath libwww lights live lj lm_sensors
lmtp logrotate lzo lzw mad maildir math matroska mcal mccp md5sum mdb
mdnsresponder-compat meanwhile memcache messages mgetty mhash midi mikmod mime
mimencode mixer mjpeg mmap mng mod mod_python mode-force modperl modplug mods
module mono motif mouse mozbranding mozcalendar mozilla moznoirc mozsha1 mozsvg
mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-prefork msdav msession
msn msnextras mudflap multidata multipleip multiprocess multiuser munin-apache
munin-dhcp munin-irc munin-squid mysql mysqlfriends mysqli nagios-dns
nagios-ntp nagios-ping nagios-ssh nas nat nautilus ncurses net netbeans netboot
netjack netpbm network networking nforce2 nfs nis nls nntp nptl nptlonly
nsplugin nspr nss ntfs ntlm ntp numeric nvidia nvram oav objc objc++ objc-gc
odbc offensive office ofx ogg ole on-the-fly-crypt onaccess openal opendoc
opengl openmp openntpd openssh openssl opensslcrypt openstreetmap opera oscar
padlock pam pam_console pam_timestamp pango parse-clocks pascal passfile
paste64 patch pcap pch pcntl pcre pdf pdfkit pear-db perfprofiling perl php
physfs pipe player plotutils plugins pmu png polling pop posix ppds pppd pregen
print profile ps python qmax qt3 qt3support qt4 quicktime quotes rar rc5
rdesktop readline realmedia reflection regex reiserfs replytolist resolvconf
restrict-javascript rewrite rle roundrobin rpm rss rtc rtsp ruby samba sametime
sample sasl scanner screen sdl sdl-image sdl-sound sdlaudio seamonkey search
sender sensord server session sge shared sharedext sid signatures silc
silvercity simplexml skey skins slang slp smime smp sms smtp sndfile snmp soap
sockets socks5 sofia-sip songdb sound sounds spamassassin speedo spell spf spl
sql sqlite srs ssl startup-notification statistics stats stlport stream
subject-rewrite subversion svg svgz swat sysfs syslog sysvipc szip t1lib taglib
tagwriting tcl tcltk tcp tcpd tcpmd5 tcpwrapper test tetex text texteffect tga
theora thumbnail thunderbird tidy tiff timidity tk tokenizer toolbar tools
transcode translator trayicon truetype truetype-fonts type1 type1-fonts ucs2
ucs4 underscores unicode unix98 unzip usb user-homedirs v4l v4l2 vcd vfat vim
vim-pager vim-syntax vim-with-x virtual-users vnc vncviewer vorbis vpopmail
wavpack web webdav winbind winpopup wma wmf wmp wxgtk1 wxwindows xanim xattr
xbase xcomposite xext xface xforms xhtml xine xml xmlreader xmlrpc xmlwriter
xorg xorg-x11 xpm xprint xscreensaver xsettings xsl xslt xtended xterm xv xvid
xvnc yahoo zero-penalty-hit zeroconf zip zlib zvbi" ALSA_CARDS="via82xx cs46xx"
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="evdev keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="en_GB en en_US" USERLAND="GNU" VIDEO_CARDS="fbdev
v4l nv nvidia vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Barry Salter 2007-09-02 11:40:35 0000 -------
Created an attachment (id=129827) [details]
Complete build log for udev-115

------- Comment #2 From Matthias Schwarzott 2007-09-02 13:23:52 0000 -------
This bug is caused by dolib returning an error code when symlink already
exists.
rm ${D}/lib/ should have deleted the file before, but this clearly fails on
multilib systems.

Changed to rm "${D}/$(get_libdir)/..."

------- Comment #3 From Boris Faure 2007-09-02 21:18:12 0000 -------
(In reply to comment #2)
> This bug is caused by dolib returning an error code when symlink already
> exists.
> rm ${D}/lib/ should have deleted the file before, but this clearly fails on
> multilib systems.
> 
> Changed to rm "${D}/$(get_libdir)/..."
> 

I had the same issue with udev-114 on amd64 and this changes have fixed the
ebuild.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug