Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200695 - install script for sys-fs/udev-115-r1 failed (sys-fs/udev-114 works)
Summary: install script for sys-fs/udev-115-r1 failed (sys-fs/udev-114 works)
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 22:15 UTC by werner
Modified: 2007-12-06 12:57 UTC (History)
1 user (show)

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


Attachments
patch against files/udev-114-root-link-2 (patch-against-udev-114-root-link-2.diff,460 bytes, patch)
2007-12-06 12:57 UTC, Christoph Gysin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description werner 2007-11-28 22:15:31 UTC
make[1]: Entering directory `/var/tmp/portage/udev-115-r1/work/udev-115/extras/root_link'
install -c -D get_dir_major_minor /var/tmp/portage/udev-115-r1/image//lib64/udev/get_dir_major_minor
install -c -D write_root_link_rule /var/tmp/portage/udev-115-r1/image//lib64/udev/
install: cannot overwrite directory `/var/tmp/portage/udev-115-r1/image//lib64/udev/' with non-directory
make[1]: *** [install-bin] Error 1
make[1]: Leaving directory `/var/tmp/portage/udev-115-r1/work/udev-115/extras/root_link'
make: *** [install-bin] Error 1

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
emerge udev


I was able to install udev-114 after looking at all the available ebuilds.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-28 22:22:01 UTC
emerge --info please.
Comment 2 werner 2007-11-29 21:52:30 UTC
Portage 2.0.54 (hardened/amd64/multilib, gcc-3.4.4, glibc-2.3.5-r2, 2.6.22.2 x86_64)
=================================================================
System uname: 2.6.22.2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 1.12.9
app-admin/eselect-compiler: [Not Present]
app-shells/bash:     3.2_p17
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.12
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-r1, 1.10
sys-devel/binutils:  2.16.1
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.ISO-8859-15"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 berkdb bzip2 cracklib crypt expat hardened justify midi ncurses nls nptl nptlonly pam perl pic python readline ssl tcpd urandom xorg zlib apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias video_cards_apm video_cards_ark video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i810 video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nv video_cards_r128 video_cards_radeon 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 input_devices_mouse input_devices_keyboard userland_GNU kernel_linux elibc_glibc 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 lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 3 Christoph Gysin 2007-12-06 12:53:23 UTC
I just updated a friends old laptop for the first time since 2 years(!) I stumbled upon the exact same problem.

Actually, I don't understand why this works for most people.

The line that causes the problem comes from files/udev-114-root-link-2.patch, and tries to do:

install -c -D write_root_link_rule /var/tmp/portage/udev-115-r1/image//lib/udev/

If I remove the -D, udev installs fine.
Comment 4 Christoph Gysin 2007-12-06 12:57:17 UTC
Created attachment 137881 [details, diff]
patch against files/udev-114-root-link-2

This patch fixes the problem for me.