libtool issue? creating package for classpath-0.18/0.19
In the snippet below (edited to reduce line length), classpath-0.18 has
compiled successfully; the OpenBSD ports system is trying to construct
the package (make fake). The relevant unedited output is attached.
The specific symptom (cc error message below) suggests that the pathing
is incorrect to the fake subtree. If I bypass the ports system and
build classpath directly on the platform (using classpath's stock gnu
install into /usr/local) everything works (0.19 too)
OK, you say, it sounds like a bug in OpenBSD ports. Note however the
ominous warning from libtool.
Respecting the admonitions to use OpenBSD's libtool I hacked it in. I
did this by deleting classpath's ltmain.sh and softlinking the
delivered libtool to /usr/local/bin/libtool. I am running
libtool-1.5.20 from ports; openbsd3.8-current GENERIC #189 (Oct 11).
The results were not good. The bsd.ports.mk fake target fails to put
*anything* in the fake subtree. At least the classpath libtool puts
stuff into fake and only fails at the point noted below.
So it looks like a libtool issue -- unless you think that the "not
portable" warning message absolves libtool of responsibility. The
warning message is not OpenBSD specific. I've asked the classpath-dev
list about the justification for it and plans to address the root
A casual diff of the ltmain.sh in OpenBSD's libtool and classpath's
reveals numerous differences in spite of having the same version number
and almost identical timestamps. I can easily provide a diff in a
> On Wed, Nov 09, 2005 at 06:35:32AM -0500, Frederick C Druseikis wrote:
> > A casual diff of the ltmain.sh in OpenBSD's libtool and classpath's
> > reveals numerous differences
> one of them designed to avoid exactly the problem you are seeing.
> I bet your problem will disappear if you add
> to your port's Makefile.
And don't forget to check if that port honours LIBTOOL variable as
there are ports that simply use hardcoded value like ../libtool.
Słowa Hawkmoona dodały im otuchy, natomiast królowa Frawbra przekonała ich
logicznymi argumentami. Zaczęli znów sięgać po broń, poprawiać zbroję,
rozglądać się za swymi końmi.
-- Michael Moorcock, Klejnot w czaszce