Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 759967

Summary: dev-lang/luajit-2.1.1727870382-r1 does not respect LDFLAGS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: artemis, esigra, tommy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/39393
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-12-14 09:18:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/luajit-2.0.5-r3 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-14 09:18:12 UTC
Created attachment 678271 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-15 07:10:00 UTC
ci has reproduced this issue with version 2.1.0_beta3_p20220127 - Updating summary.
Comment 3 Agostino Sarubbo gentoo-dev 2022-02-16 07:35:01 UTC
ci has reproduced this issue with version 2.1.0_beta3_p20220127-r1 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2022-06-21 06:49:06 UTC
ci has reproduced this issue with version 2.1.0_beta3_p20220127-r2 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2022-06-21 06:49:49 UTC
ci has reproduced this issue with version 2.1.0_beta3_p20220613 - Updating summary.
Comment 6 Agostino Sarubbo gentoo-dev 2024-06-09 07:24:00 UTC
ci has reproduced this issue with version 2.1.1716656478 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2024-11-13 07:52:42 UTC
ci has reproduced this issue with version 2.1.1727870382 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2024-11-14 07:54:47 UTC
ci has reproduced this issue with version 2.1.1727870382-r1 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2024-11-21 09:24:37 UTC
The bug has been closed via the following commit(s):

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

commit f8c77dc7b846da5f726891305c72744e14c2768c
Author:     Artemis Everfree <artemis@artemis.sh>
AuthorDate: 2024-11-21 03:17:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-21 09:24:14 +0000

    dev-lang/luajit: Set TARGET_SHLDFLAGS
    
    luajit uses TARGET_SHLDFLAGS to determine the LDFLAGS
    of the luajit library. We previously only set
    TARGET_LDFLAGS, which is used to link the executable
    interpreter. We now set TARGET_SHLDFLAGS appropriately.
    
    Closes: https://bugs.gentoo.org/759967
    Signed-off-by: Artemis Everfree <artemis@artemis.sh>
    Closes: https://github.com/gentoo/gentoo/pull/39393
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{luajit-2.1.1716656478.ebuild => luajit-2.1.1716656478-r1.ebuild}    | 1 +
 dev-lang/luajit/luajit-2.1.1731601260.ebuild                             | 1 +
 dev-lang/luajit/luajit-2.1.9999999999.ebuild                             | 1 +
 3 files changed, 3 insertions(+)