Summary: | dev-tcltk/itk - env.d file's LDPATH points to wrong directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jan Kohnert <bughunter> |
Component: | [OLD] Library | Assignee: | TCL/TK Project <tcltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bughunter |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jan Kohnert
2011-04-16 06:00:19 UTC
cat >> "${T}"/34${PN} <<- EOF LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}$(get_version_component_range 1-2)/" EOF doenvd "${T}"/34${PN} || die You should run etc-update or dispatch-conf.. The current ebuild installs the right path. Probably you ignored the change in the env-file and it isn't updated by etc-update any more. Remove the file and reemerge the package First of all: I always run etc-update after world updates. kohni ~ # cat /etc/env.d/34itk LDPATH="/usr/lib/itk3.4/" kohni ~ # emerge -av1 itk ... [output removed] ... >>> Regenerating /etc/ld.so.cache... >>> Original instance of package unmerged safely. >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. kohni ~ # cat /etc/env.d/34itk LDPATH="/usr/lib/itk3.3/" kohni ~ # etc-update Scanning Configuration files... Exiting: Nothing left to do; exiting. :) kohni ~ # The fix is easy, I know how to use Vi, but anyway, that's annoying, but probably a bug in portage, not the ebuild itself. I'm using current x86 stable portage... kohni ~ # eix ^portage$ [I] sys-apps/portage Available versions: [P]2.1.6.7 2.1.6.13 2.1.8.3 2.1.9.25 2.1.9.42 ~2.1.9.45 ~2.1.9.46 ~*2.2.0_alpha28 ~*2.2.0_alpha29 ~*2.2.0_alpha30 **9999 {build doc epydoc +ipc linguas_pl python2 python3 selinux} Installed versions: 2.1.9.42(03:50:16 30.03.2011)(ipc -build -doc -epydoc -linguas_pl -python2 -python3 -selinux) Homepage: http://www.gentoo.org/proj/en/portage/index.xml Description: Portage is the package management and distribution system for Gentoo kohni ~ # Regards Jan BTW: If I understand [1] correctly, the code *has* to write 3.3 to the env-file, since get_version_component_range extracts the version from the ebuild file, an that is still called 3.3_$blahblubb... [1] http://devmanual.gentoo.org/ebuild-writing/variables/index.html You are absolutely right. +*itk-3.3.1_pre20090417-r1 (18 Apr 2011) + + 18 Apr 2011; Justin Lecher <jlec@gentoo.org> -itk-3.3.1_pre20090417.ebuild, + +itk-3.3.1_pre20090417-r1.ebuild: + Fix env.d file's LDPATH points to wrong directory, #363791 + |