Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830336 - dev-haskell/hsql-mysql-1.8.2-r1 fails to link with LLD because of /usr/lib in the link command line
Summary: dev-haskell/hsql-mysql-1.8.2-r1 fails to link with LLD because of /usr/lib in...
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: PMASKED
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2021-12-31 06:55 UTC by Agostino Sarubbo
Modified: 2022-08-22 07:35 UTC (History)
0 users

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


Attachments
build.log (build.log,48.43 KB, text/plain)
2021-12-31 06:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-12-31 06:55:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-haskell/hsql-mysql-1.8.2-r1 fails to link with LLD because of /usr/lib in the link command line.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses CLANG as a compiler and LLD as a linker
This PR gives an idea about a fix: https://github.com/PhotoFlare/photoflare/pull/248/files.
Comment 1 Agostino Sarubbo gentoo-dev 2021-12-31 06:55:28 UTC
Created attachment 760882 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-12-31 06:55:30 UTC
Error(s) that match a know pattern:

ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crti.o is incompatible with elf32-i386
Comment 3 Larry the Git Cow gentoo-dev 2022-07-22 22:57:36 UTC
The bug has been referenced in the following commit(s):

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

commit 6c5ca5dec763541eb3748c5f3c3bd8657479257c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-22 22:53:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-22 22:57:24 +0000

    profiles: last-rite broken, revdep-less Haskell packages
    
    As discussed in #gentoo-haskell. More items are likely to be added
    to this mask, like we've done with Python packages in the past.
    
    Bug: https://bugs.gentoo.org/830336
    Bug: https://bugs.gentoo.org/637278
    Bug: https://bugs.gentoo.org/652014
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 13 +++++++++++++
 1 file changed, 13 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-08-22 07:35:48 UTC
The bug has been closed via the following commit(s):

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

commit 6d3bbf32893b48227b84eb9d5ecaee4d4e8f318e
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-22 07:15:35 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-22 07:15:35 +0000

    dev-haskell/hsql-mysql: treeclean
    
    Closes: https://bugs.gentoo.org/830336
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-haskell/hsql-mysql/Manifest                |  1 -
 dev-haskell/hsql-mysql/hsql-mysql-1.8.3.ebuild | 26 --------------------------
 dev-haskell/hsql-mysql/metadata.xml            |  8 --------
 profiles/package.mask                          |  1 -
 4 files changed, 36 deletions(-)