amd2000 ~ # emerge -v ut2004-troopers Calculating dependencies... done! >>> Emerging (1 of 1) games-fps/ut2004-troopers-5.0 to / * troopers_5.0-english.run MD5 ;-) ... [ ok ] * troopers_5.0-english.run RMD160 ;-) ... [ ok ] * troopers_5.0-english.run SHA1 ;-) ... [ ok ] * troopers_5.0-english.run SHA256 ;-) ... [ ok ] * troopers_5.0-english.run size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking troopers_5.0-english.run ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking troopers_5.0-english.run to /var/tmp/portage/games-fps/ut2004-troopers-5.0/work 40060+1 records in 334924+1 records out 342962221 bytes (343 MB) copied, 23,8657 s, 14,4 MB/s >>> Source unpacked. >>> Compiling source in /var/tmp/portage/games-fps/ut2004-troopers-5.0/work ... >>> Source compiled. >>> Test phase [not enabled]: games-fps/ut2004-troopers-5.0 >>> Install ut2004-troopers-5.0 into /var/tmp/portage/games-fps/ut2004-troopers-5.0/image/ category games-fps cp: `/var/tmp/portage/games-fps/ut2004-troopers-5.0/image///mnt/data/spiele/ut2004/ut2004-troopers' and `/var/tmp/portage/games-fps/ut2004-troopers-5.0/image///mnt/data/spiele/ut2004/ut2004-troopers' are the same file !!! ERROR: games-fps/ut2004-troopers-5.0 failed. Call stack: ebuild.sh, line 1576: Called dyn_install ebuild.sh, line 1030: Called src_install ebuild.sh, line 1269: Called games-mods_src_install games-mods.eclass, line 369: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. amd2000 ~ # emerge --info Portage 2.1.2_rc3-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19 i686) ================================================================= System uname: 2.6.19 i686 AMD Athlon(tm) XP 2100+ Gentoo Base System version 1.12.7 Last Sync: Fri, 15 Dec 2006 04:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 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.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -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" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/mnt/data/archiv/gentoo/distfiles" FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://duron/portage/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo/" LANG="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j4" PKGDIR="/mnt/data/archiv/gentoo/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://duron/gentoo-portage" USE="x86 3dnow X acl acpi aiglx aim alsa alsa_cards_ens1371 alsa_cards_intel8x0 apache2 arts berkdb bitmap-fonts bzip2 cairo cdr cjk cli cracklib crypt cups dlloader dri dvb dvb_cards_dibusb-usb1 dvd dvdr elibc_glibc encode esd exif fam ffmpeg firefox flac foomaticdb fortran gdbm gif gnutls gphoto2 gpm gtk guile hal iconv icq imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java jpeg jpeg2k kde kernel_linux ldap libg++ linguas_de mad matroska mmx mng motif mp3 mpeg msn ncurses nls nptl nptlonly offensive ogg openal opengl oss pam pcre pdf perl png pppd python qt3 quicktime readline reflection sdl session speex spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vhosts video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vga vorbis win32codecs wmf xine xinerama xml xorg xprint xv yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Works fine for me, with portage-2.1.1-r2 (stable). Blame the unstable Portage.
same problem with sys-apps/portage-2.1.1-r2 . it still do not work.
Clearly not a portage bug if you read the error. To reproduce: GAMES_DATADIR=/opt GAMES_PREFIX_OPT=/opt emerge ut2004-troopers
Mario, is GAMES_DATADIR and GAMES_PREFIX_OPT the same on your system?
yes /etc/make.conf GAMES_PREFIX_OPT="/mnt/data/spiele" GAMES_DATADIR="/mnt/data/spiele"
OK. That definitely won't work, then. I'll look into this some more and try to come up with a working solution. Likely, I'll just make it skip the symlinks if both are the same, but I need to verify that won't break anything else.
OK. That was *way* easier than I thought it was going to be... I've updated the eclass to not run the copy/symlink code if GAMES_DATADIR and GAMES_PREFIX_OPT are the same.