Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549222 - gnome-base/librsvg multilib x86 (ABI 32) fails with unresolved external for glBlendFuncSeparate
Summary: gnome-base/librsvg multilib x86 (ABI 32) fails with unresolved external for g...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2015-05-11 23:41 UTC by Richard Benjamin Voigt
Modified: 2015-05-12 17:52 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 Richard Benjamin Voigt 2015-05-11 23:41:45 UTC
On my system, emerging gnome-base/librsvg with ABI 64 only is successful, but multilib with ABI 64 and 32 causes the abi_x86_32 portion to fail with an unresolved external in libcairo.so for glBlendFuncSeparate.

This function is actually in libGL.so.1 and editing the Makefile to include "-lGL" in the list of libraries allowed emerge to complete (using "keepwork" FEATURES to use the result of my patch and successful build).

I presume that pkg-config or a similar mechanism should have caused libGL to be included in the link command automatically, but this did not happen.

I had already re-emerged the dependencies, and particularly including mesa and cairo.

Unfortunately I can't paste the output from emerge --info because the clipboard is temporarily not available on the virtual machine where I experienced the failure (X is currently functional but not KDE 5 or any other proper window manager)
Comment 1 Richard Benjamin Voigt 2015-05-11 23:50:21 UTC
gtk+ encounters the same problem (undefined reference to glBuildFuncSeparate, fixed by adding -lGL to Makefile in several subdirectories, everywhere that -lcairo appears)
Comment 2 Pacho Ramos gentoo-dev 2015-05-12 17:49:13 UTC
Are you referring to x32 or the normal x86_32 support? Anyway, please provide the full build.log and emerge --info output