Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686912 - dev-lang/ghc-8.0.2: wrong libdir for hprefixify with amd64 binary
Summary: dev-lang/ghc-8.0.2: wrong libdir for hprefixify with amd64 binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-28 14:31 UTC by Michael Haubenwallner (RETIRED)
Modified: 2019-05-29 08:27 UTC (History)
1 user (show)

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


Attachments
proposed patch (0001-dev-lang-ghc-fix-hprefixify-with-amd64-linux.patch,1.10 KB, patch)
2019-05-28 14:37 UTC, Michael Haubenwallner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Haubenwallner (RETIRED) gentoo-dev 2019-05-28 14:31:08 UTC
In ghc-8.0.2 on amd64-linux (Prefix Guest), where $(get_libdir) is 'lib' not 'lib64', the hprefixify on the settings file fails because ${bin_libpath} still holds the libdir from before relocation.
Comment 1 Michael Haubenwallner (RETIRED) gentoo-dev 2019-05-28 14:37:31 UTC
Created attachment 577930 [details, diff]
proposed patch

Thoughts?
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2019-05-28 20:50:04 UTC
Looks good. Please push it :)
Comment 3 Larry the Git Cow gentoo-dev 2019-05-29 06:58:58 UTC
The bug has been closed via the following commit(s):

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

commit e13e70853e6bebd89614de1de89ddc8d57bd0331
Author:     Michael Haubenwallner <haubi@gentoo.org>
AuthorDate: 2019-05-28 14:36:14 +0000
Commit:     Michael Haubenwallner <haubi@gentoo.org>
CommitDate: 2019-05-29 06:56:39 +0000

    dev-lang/ghc: fix hprefixify with amd64-linux
    
    Closes: https://bugs.gentoo.org/686912
    Package-Manager: Portage-2.3.62, Repoman-2.3.11
    Signed-off-by: Michael Haubenwallner <haubi@gentoo.org>

 dev-lang/ghc/ghc-8.0.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 Benda Xu gentoo-dev 2019-05-29 08:27:38 UTC
Thanks, haubi.