Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135584 - AMD64 please test swi-prolog-5.6.8
Summary: AMD64 please test swi-prolog-5.6.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 130895
  Show dependency tree
 
Reported: 2006-06-04 19:17 UTC by Keri Harris
Modified: 2006-07-21 22:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
src_install.log (src_install.log,11.07 KB, text/plain)
2006-06-04 19:19 UTC, Keri Harris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keri Harris gentoo-dev 2006-06-04 19:17:39 UTC
In bug #130895 the swi-prolog install failed in src_install. See attached log for the src_install output. This output raises two issues:



1) the swi-prolog ebuild does not honour $libdir, thus breaking multilib-strict compliance. I've committed a patch to honour /usr/$libdir, rather than /usr/lib. Can the amd64 team please test in order to see if swi-prolog is now multilib-strict compliant.



2) the output shows a perplexing sequence of events, summarized as:

run 'make -C src install':
	mkdir -p $(DESTDIR)/usr/lib64/pl-5.6.8/include

run 'make -C packages install':
	install SWI-cpp.h $(DESTDIR)/usr/lib/pl-5.6.8/include
	mkdir -p $(DESTDIR)/usr/lib/pl-5.6.8/include

The second call to mkdir is failing as $(DESTDIR)/usr/lib/pl-5.6.8/include is a file created by the 'install' command. This is somewhat confusing as the first call to mkdir (from src/Makefile) is defined by:

	mkdir -p $(DESTDIR)$(PLBASE)

and $PLBASE is defined as:

	PLBASE=$(prefix)/lib/pl-5.6.8

But the install log is showing PLBASE expanded to $(prefix)/lib64/pl-5.6.8 instead.

The ebuild does not override PLBASE when calling 'make install' and it does not call 'make -e install', so we don't have errant environment variables sneaking into the build.

Can the amd64 arch team please attempt to install swi-prolog-5.6.8 *without* swi-prolog-PLBASE.patch being applied in order to see if the output in the install log is reproduceable.
Comment 1 Keri Harris gentoo-dev 2006-06-04 19:19:24 UTC
Created attachment 88398 [details]
src_install.log
Comment 2 Keri Harris gentoo-dev 2006-07-21 22:18:18 UTC
This bug is fixed with application of swi-prolog-PLBASE.patch. Closing.