Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539828 - dev-lang/lua pkgconfig of slot builds lack version information
Summary: dev-lang/lua pkgconfig of slot builds lack version information
Status: RESOLVED DUPLICATE of bug 539826
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-11 22:53 UTC by tschwinger
Modified: 2015-09-21 16:53 UTC (History)
2 users (show)

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


Attachments
lua-539828-539826-combined_patch.zip (lua-539828-539826-combined_patch.zip,8.19 KB, application/zip)
2015-02-11 23:02 UTC, tschwinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tschwinger 2015-02-11 22:53:48 UTC
Installing slot builds Lua 5.1 and 5.2 yields pkgconfig files with conflicting header locations and library names.

Instead of referring to the symlinks from the eselect module both pkgconfig files should refer to the versions actually installed in their slots.


Reproducible: Always

Steps to Reproduce:
1.Install slot builds Lua 5.1 and 5.2 (may have to unmask)
2.Inspect pc files
3.
Actual Results:  
Include directory is /usr/include, library -llua.

Regardless of the slot the default (symlinks as maintained by eselect-lua) is used instead of the requested version.

Expected Results:  
Both pc files allow to chose which library to link to only based on the slot.

Patch will be attached.
Comment 1 tschwinger 2015-02-11 23:02:14 UTC
Created attachment 396212 [details]
lua-539828-539826-combined_patch.zip

The ZIP contains altered files and diffs of all changed files in a flat folder.
The file 'ISSUES' summarizes the issues addressed. The file 'luav.pc' belongs into ./files of dev-lang/lua/.
Comment 2 tschwinger 2015-02-11 23:07:22 UTC
Comment on attachment 396212 [details]
lua-539828-539826-combined_patch.zip

is a patch
Comment 3 tschwinger 2015-02-11 23:19:58 UTC
CC seems to be maintainer of the ebuild
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-13 07:55:59 UTC

*** This bug has been marked as a duplicate of bug 539826 ***
Comment 5 Dennis Schridde 2015-09-21 16:53:48 UTC
Why is this a duplicate of bug #539826? I understand that one is for Windows support? Which has nothing to do with the pkgconfig file of dev-lang/lua:5.2 being broken for everyone...?