Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300076 - dev-util/scons-1.2.0_p20091224: wrong path given to python_mod_* functions in ebuild
Summary: dev-util/scons-1.2.0_p20091224: wrong path given to python_mod_* functions in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-07 19:56 UTC by parafin
Modified: 2010-01-08 07:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description parafin 2010-01-07 19:56:38 UTC
After usual system update I found this error in /var/log/portage/elog/dev-util:scons-1.2.0_p20091224:20100107-161052.log:
WARN: postinst
//usr/lib/scons-1.2.0_p20091224 doesn't exist!

/usr/lib/scons-1.2.0_p20091224 indeed doesn't exist, because files got installed into /usr/lib/scons-1.2.0.d20091224. Excerpt from ebuild:
pkg_postinst() {
        python_mod_optimize /usr/$(get_libdir)/${P}
}

pkg_postrm() {
        python_mod_cleanup /usr/$(get_libdir)/${P}
}
Obviously ${P} in these function calls should be changed to ${PN}-${MY_PV}, like it's been done with SRC_URI. Or perhaps directory should be renamed, but it may be a little more complicated.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-08 07:42:01 UTC
Ah, right, sorry about that. Will fix.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-01-08 07:50:00 UTC
This is fixed in CVS.