Summary: | dev-db/tora-3.0.0_pre20140929 causes 'bad substitution' error message while emerging any other package | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Osmialowski <newchief> |
Component: | Current packages | Assignee: | Sergey S. Starikoff <Ikonta> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | haubi, proxy-maint, zmedico |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.cmake.org/pipermail/cmake/2008-January/019290.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=542796 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Use sed to remove $$ORIGIN in src_prepare |
Description
Paul Osmialowski
2015-04-23 19:50:05 UTC
(In reply to Paul Osmialowski from comment #0) > This started to occur after recent upgrade of dev-apps/portage This issue should not matter TOra at all. It is a bug in =sys-apps/portage-2.2.18. An it should appear not after TOra installation, but after upgrade portage to 2.2.18. I've don't update TOra since 13.01.2015, but also see this issue on my workstation (for example on re-emerge of net-misc/freerdp). On today's test re-emerge TOra I've seen the same issue (first described in bug #542796). The bad substitution in NEEDED.ELF.2 comes from the DT_NEEDED sections of the ELF files installed by dev-db/tora-3.0.0_pre20140929. Something about the build system causes the DT_NEEDED sections to contain $$ORIGIN instead of $ORIGIN. I've found something: extlibs/trotl/src/CMakeLists.txt:SET(CMAKE_INSTALL_RPATH "$ORIGIN/instantclient/:$$ORIGIN/instantclient/") and src/CMakeLists.txt:SET(CMAKE_INSTALL_RPATH "$ORIGIN/:$$ORIGIN/") I added sed -i \ -e '/$$ORIGIN/d' \ extlibs/trotl/src/CMakeLists.txt || die "Removal of ORIGIN" sed -i \ -e '/$$ORIGIN/d' \ src/CMakeLists.txt || die "Removal of ORIGIN" to ebuild and now is without any warning from portage. btw. $ORIGIN and $$ORIGIN are completely useless. Created attachment 402070 [details, diff]
Use sed to remove $$ORIGIN in src_prepare
It's fixed in cvs now. |