| Summary: | sci-chemistry/ccp4i-6.1.3-r3 fails postinst phase | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
| Component: | New packages | Assignee: | Gentoo Chemistry-Related Packages <sci-chemistry> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Patrick Lauer
2012-02-26 09:46:56 UTC
What is /bin/sh for you? Please try following patch
Index: ccp4i-6.1.3-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r3.ebuild,v
retrieving revision 1.6
diff -u -B -r1.6 ccp4i-6.1.3-r3.ebuild
--- ccp4i-6.1.3-r3.ebuild 7 Sep 2011 17:24:17 -0000 1.6
+++ ccp4i-6.1.3-r3.ebuild 27 Feb 2012 07:20:20 -0000
@@ -92,7 +92,7 @@
_ccp4-setup() {
source "${EPREFIX}/etc/profile"
export USER=root
- ccp4i -h > /dev/null
+ bash "${EPREFIX}"/usr/$(get_libdir)/ccp4/ccp4i/bin/ccp4i -h > /dev/null
}
VIRTUALX_COMMAND="_ccp4-setup" virtualmake
echo ""
(In reply to comment #2) > Please try following patch Doesn't work. Problem appears to be variables in that script, look at line 4 - the paths expand to "/" and then bltwish can't run + 13 Dec 2012; Justin Lecher <jlec@gentoo.org> ccp4i-6.1.3-r3.ebuild, + metadata.xml: + Add missing dep on sci-libs/ccp4-libs, #405867 + |