First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139693
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
quake2-data.diff patch to quake2-data patch Josef Reidinger 2006-07-09 11:01 0000 579 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139693 depends on: Show dependency tree
Bug 139693 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: 2006-07-08 11:25 0000
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

------- Comment #1 From Josef Reidinger 2006-07-08 12:33:42 0000 -------
(In reply to comment #0)
Are your quake2-icculus emerged with "demo" use flag?

------- Comment #2 From Markus Rothe 2006-07-08 22:50:20 0000 -------
no, it isn't. this also happend before quake2-icculus was installed.

------- Comment #3 From Josef Reidinger 2006-07-09 06:47:15 0000 -------
(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

"

------- Comment #4 From Markus Rothe 2006-07-09 07:26:50 0000 -------
the USE file does not exist and the lines are present in eutils.eclass.

------- Comment #5 From Josef Reidinger 2006-07-09 10:58:28 0000 -------
(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)

------- Comment #6 From Josef Reidinger 2006-07-09 11:01:37 0000 -------
Created an attachment (id=91304) [details]
patch to quake2-data

I add test if you had that package installed (I didn`t know if has_version is
good function)

------- Comment #7 From Marius Mauch (RETIRED) 2006-07-09 11:30:21 0000 -------
(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.

------- Comment #8 From Josef Reidinger 2006-07-09 11:46:41 0000 -------
(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.

------- Comment #9 From Paul Bredbury 2006-07-09 21:00:54 0000 -------
The attachment in comment #6 will work. The real problem is that built_with_use
is returning the wrong value - see bug #139842.

------- Comment #10 From SpanKY 2006-08-05 15:54:45 0000 -------
the ebuild checks to see if the package is installed first now

First Last Prev Next    No search results available      Search page      Enter new bug