Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679228 - app-text/scdoc installs pkgconfig file into wrong directory on amd64 17.1 profile
Summary: app-text/scdoc installs pkgconfig file into wrong directory on amd64 17.1 pro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mykyta Holubakha
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-02 11:18 UTC by Marien Zwart
Modified: 2019-03-07 00:39 UTC (History)
2 users (show)

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


Attachments
emerge --info scdoc (emerge-info,7.27 KB, text/plain)
2019-03-02 11:18 UTC, Marien Zwart
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart 2019-03-02 11:18:08 UTC
Created attachment 567422 [details]
emerge --info scdoc

scdoc installs its pkgconfig file into /usr/lib/pkgconfig/scdoc.pc. It should install into /usr/$(get_libdir)/pkgconfig instead. On the (experimental) amd64 17.1 profile, /usr/lib64 and /usr/lib are different directories, and pkg-config only looks in /usr/lib64/pkgconfig.

This breaks sway-9999 on this profile, and will start breaking released versions of sway at some point (1.0_rc4 doesn't use pkg-config for scdoc yet).

Adding PCDIR="${ED}/usr/$(get_libdir)/pkgconfig" to the emake invocation in src_install fixes it (in scdoc-9999 and scdoc-1.9.1, didn't check older versions).
Comment 1 Dennis Schridde 2019-03-05 10:10:05 UTC
This worked until I recently upgraded from app-text/scdoc-1.8.1 to 1.9.3: bug #679228 (possible duplicate)
Comment 2 Dennis Schridde 2019-03-05 10:12:39 UTC
(In reply to Dennis Schridde from comment #1)
> This worked until I recently upgraded from app-text/scdoc-1.8.1 to 1.9.3:
> bug #679228 (possible duplicate)

Sorry, mispaste: bug #679508

See-Also: https://bugs.gentoo.org/show_bug.cgi?id=679508
Comment 3 Larry the Git Cow gentoo-dev 2019-03-07 00:37:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cb74167f164fa3f69aeefce4af2026f733f6219

commit 8cb74167f164fa3f69aeefce4af2026f733f6219
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2019-03-07 00:37:01 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-03-07 00:37:36 +0000

    app-text/scdoc: fix pkgconfig install path
    
    Signed-off-by: Aaron Bauman <bman@gentoo.org>
    Bug: https://bugs.gentoo.org/679228
    Bug: https://bugs.gentoo.org/679508
    Package-Manager: Portage-2.3.62, Repoman-2.3.12

 app-text/scdoc/scdoc-1.9.3-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)