Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235610 - app-text/openjade-1.3.2-r1 uses unreliable check for libosp.la
Summary: app-text/openjade-1.3.2-r1 uses unreliable check for libosp.la
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo SGML project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-24 14:45 UTC by Friedrich Oslage (RETIRED)
Modified: 2008-12-09 21:24 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 Friedrich Oslage (RETIRED) gentoo-dev 2008-08-24 14:45:00 UTC
When the configure script tries to determine the location of the OpenSP Library it checks for the existance of the /usr/lib64 directory not the actual /usr/lib64/libosp.la file.

This causes compilation to fail if run on a system with a (mostly) 32bit userland where /usr/lib64 exists.

Low severity because afaik we don't have a profile where this applies(yet).

Something like this should be applied to fix it:
--- a/configure
+++ b/configure
@@ -1753,7 +1753,7 @@ case "${SPINCLUDEDIR}" in
 esac
 # On PPC64 libosp is to be found in /usr/lib64; thus
 # fall back to this directory
-test -d ${osplibdir}64 && osplibdir=${osplibdir}64
+test -f ${osplibdir}64/libosp.la && osplibdir=${osplibdir}64
 echo "$as_me:$LINENO: checking location of OpenSP Library" >&5
 echo $ECHO_N "checking location of OpenSP Library... $ECHO_C" >&6
 # Check whether --enable-splibdir or --disable-splibdir was given.
Comment 1 Friedrich Oslage (RETIRED) gentoo-dev 2008-12-09 21:24:42 UTC
Fixed it myself since the sgml herd seems to be abandend ;)