Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 296827 - mesa-7.7_rc2 missing /usr/lib/libGLU.la
Summary: mesa-7.7_rc2 missing /usr/lib/libGLU.la
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 08:08 UTC by hubertstar
Modified: 2009-12-18 18:51 UTC (History)
1 user (show)

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 hubertstar 2009-12-14 08:08:16 UTC
I notice mesa-7.7_rc2 ebuild missing /usr/lib/libGLU.la, but xorg-server[+sdl] need this la file.

mesa-7.7_rc2.ebuild havn't those code:

	insinto /usr/$(get_libdir)
	# Should this use the -L/usr/lib instead of -L/usr/$(get_libdir)?
	# Please confirm and update this comment or the file.
	doins "${FILESDIR}"/lib/libGLU.la || die "doins libGLU.la failed"
	sed \
		-e "s:\${libdir}:$(get_libdir):g" \
		"${FILESDIR}"/lib/libGL.la \
		> "${D}"/usr/$(get_libdir)/opengl/xorg-x11/lib/libGL.la

	# On *BSD libcs dlopen() and similar functions are present directly in
	# libc.so and does not require linking to libdl. portability eclass takes
	# care of finding the needed library (if needed) witht the dlopen_lib
	# function.
	sed -i \
		-e 's:-ldl:'$(dlopen_lib)':g' \
		"${D}"/usr/$(get_libdir)/{libGLU.la,opengl/xorg-x11/lib/libGL.la} \
			|| die "sed dlopen failed"


in the end of src_install().

but  mesa-7.5.2 has.

why remove those code from mesa-7.7 ?



Reproducible: Always
Comment 1 Rafał Mużyło 2009-12-14 09:56:51 UTC
Cause recent eselect-opengl stopped using la files
- it tells you so in the post-install message.
So, INVALID.
Comment 2 Mark Wagner 2009-12-14 21:15:56 UTC
If you are like me and only have eselect-1.2.3.ebuild,  eselect-1.2.7.ebuild, and eselect-1.2.8.ebuild in your portage tree, and you memory is poor (like mine), you may be confused by the claim that "it tells you so in the post-install message" since those ebuilds don't contain the message anymore.

Have a look in the--fortunately out-of-date in this case-- http://gentoo-portage.com , particularly http://gentoo-portage.com/AJAX/Ebuild/99102/View and you see this:

	# info about removal of .la file
	einfo
	elog "eselect-opengl since version 1.0.9 strips the libGL.la file."
	elog "This file was broken by design and thus removed."
	elog "For fixing all sort of configure issues please run:"
	elog "  lafilefixer --justfixit"
	elog "or run revdep-rebuild if you update from any older release."
	elog "(lafilefixer package can be found as dev-util/lafilefixer

For me running "lafilefixer --justfixit" did in fact just fix it.
Comment 3 Rafał Mużyło 2009-12-18 18:39:05 UTC
Strange, I can still see it in eselect-opengl-1.1.1-r2.ebuild.
Comment 4 Mark Wagner 2009-12-18 18:51:46 UTC
(In reply to comment #3)
> Strange, I can still see it in eselect-opengl-1.1.1-r2.ebuild.
> 

My bad! I was looking in the wrong package.