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

Bug 854228

Summary: app-crypt/nitrocli-0.4.1 fails to compile (lto): undefined reference to NK_get_major_library_version
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: deso
Status: RESOLVED WORKSFORME    
Severity: normal CC: eschwartz93, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-06-25 08:26:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-crypt/nitrocli-0.4.1 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-25 08:26:40 UTC
Created attachment 787571 [details]
build.log

build log and emerge --info
Comment 2 deso 2022-07-02 14:38:30 UTC
Will need fix upstream: https://lists.sr.ht/~ireas/nitrokey-rs-dev/patches/33304
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-02 14:41:35 UTC
(In reply to deso from comment #2)
> Will need fix upstream:
> https://lists.sr.ht/~ireas/nitrokey-rs-dev/patches/33304

Nice! Please backport at your convenience (may want to wait until accepted upstream, up to you).
Comment 4 Eli Schwartz 2024-03-01 01:27:27 UTC
Never accepted upstream, but app-crypt/nitrocli-0.4.1 -- same version, same ebuild, same pinned crates -- works perfectly fine today...