Summary: | quake2-data does not merge (dies because of quake2-demodata) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Rothe (RETIRED) <corsair> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brebs, queen.killer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | patch to quake2-data |
Description
Markus Rothe (RETIRED)
2006-07-08 11:25:42 UTC
(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 |