Hi, just tried to install quake2-data, but it failed: [...] >>> checking q2-3.20-x86-full-ctf.exe ;-) * The symlink for the demo data conflicts with the cdinstall data !!! ERROR: games-fps/quake2-data-3.20 failed. Call stack: ebuild.sh, line 1555: Called dyn_setup ebuild.sh, line 668: Called pkg_setup quake2-data-3.20.ebuild, line 26: Called die !!! Unmerge games-fps/quake2-demodata to remove the conflict !!! If you need support, post the topmost build error, and the call stack if relevant. unfortunatly I don't have quake2-demodata installed: # emerge -s quake2-demodata Searching... [ Results for search key : quake2-demodata ] [ Applications found : 1 ] * games-fps/quake2-demodata [ Masked ] Latest version available: 3.14 Latest version installed: [ Not Installed ] Size of files: 38,101 kB Homepage: http://en.wikipedia.org/wiki/Quake_II Description: Demo data for Quake 2 License: quake2-demodata # emerge --info Portage 2.1-r1 (default-linux/ppc/ppc64/2006.0/64bit-userland, gcc-3.4.6, glibc-2.3.6-r4, 2.6.18-rc1 ppc64) ================================================================= System uname: 2.6.18-rc1 ppc64 PPC970FX, altivec supported Gentoo Base System version 1.6.15 dev-lang/python: 2.4.3-r1 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.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec" CHOST="powerpc64-unknown-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/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="de" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc64 X a52 aac alsa altivec amr apache2 apm asf bash-completion berkdb bitmap-fonts bzip2 cdinstall cdparanoia cdr cli crypt cups curl cvs dbus dlloader dri dts dv dvd dvdr dvdread eds emboss encode exscalibar ffmpeg foomaticdb fortran gcj gd gdbm ggi gif glitz gmp gnokii gnutls gphoto2 gpm graphviz gstreamer gtk hal ieee1394 imagemagick imlib ipv6 isdnlog jpeg kde kdeenablefinal libg++ libwww mad matroska mdnsresponder-compat mikmod mjpeg motif mp3 mp4 mpeg mplayer multiuser musicbrainz ncurses network nls nptl nptlonly nsplugin objc objc++ ogg openal opengl pam pcre pdf pdflib perl php plotutils png ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba screen sdl session skins spell spl ssl stream subtitles subversion svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode upnp usb videos vim-pager vorbis wxwindows x264 xcomposite xml xorg xv xvid xvmc zeroconf zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #0) Are your quake2-icculus emerged with "demo" use flag?
no, it isn't. this also happend before quake2-icculus was installed.
(In reply to comment #2) > no, it isn't. this also happend before quake2-icculus was installed. > Hmm, it`s interesting. It fail on built_with_use, but if you havenn`t got demodata, it cannot pass. so look if exist this file and if in it is symlink ${ROOT}/var/db/pkg/${PKG}/USE (PKG is games-fps/quake2-demodata) if this doesn`t exist look if your built_with_use function in eutils.eclass contain this part " local USEFILE=${ROOT}/var/db/pkg/${PKG}/USE # if the USE file doesnt exist, assume the $PKG is either # injected or package.provided [[ ! -e ${USEFILE} ]] && return 0 "
the USE file does not exist and the lines are present in eutils.eclass.
(In reply to comment #4) > the USE file does not exist and the lines are present in eutils.eclass. > Hmmm, I get same error. I found problem in built_with_use - when I test function best_version net-im/gaim => return net-im/gaim-1.5.0 best_version games-fps/quake2-demodata => return nothink it looks like it think, that everythink after '-' is version identification BUT!!! PROBLEM IS THAT built_with_use return if they didn`t find USE file 0, which is pass if and then report error!!! and because best_version allways return null, then this function allways return 0 and call die :) (uff two hours testing and reading code)
Created attachment 91304 [details, diff] patch to quake2-data I add test if you had that package installed (I didn`t know if has_version is good function)
(In reply to comment #5) > Hmmm, I get same error. I found problem in built_with_use - when I test > function > best_version net-im/gaim => return net-im/gaim-1.5.0 > best_version games-fps/quake2-demodata => return nothink (In reply to comment #0) > unfortunatly I don't have quake2-demodata installed: best_version only works for installed packages, so that's expected behavior.
(In reply to comment #7) > best_version only works for installed packages, so that's expected behavior. > OK, so curent ebuild is still bad and my improvement work.
The attachment in comment #6 will work. The real problem is that built_with_use is returning the wrong value - see bug #139842.
the ebuild checks to see if the package is installed first now