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

Bug 854279

Summary: app-crypt/sequoia-sq-0.26.0 fails to compile: mem.rs:124: undefined reference to BZ2_bzCompressInit
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: RESOLVED WORKSFORME    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

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

Issue: app-crypt/sequoia-sq-0.26.0 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 12:45:08 UTC
Created attachment 787622 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-25 12:45:10 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:124: undefined reference to `BZ2_bzCompressInit'
          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:157: undefined reference to `BZ2_bzCompress'
          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:215: undefined reference to `BZ2_bzDecompressInit'
          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:232: undefined reference to `BZ2_bzDecompress'
          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:309: undefined reference to `BZ2_bzCompressEnd'
          /var/tmp/portage/app-crypt/sequoia-sq-0.26.0/work/cargo_home/gentoo/bzip2-0.4.3/src/mem.rs:314: undefined reference to `BZ2_bzDecompressEnd'
error: linking with `x86_64-pc-linux-gnu-gcc` failed: exit status: 1
Comment 3 Eli Schwartz gentoo-dev 2024-03-01 02:02:06 UTC
Compiles fine right now. Unclear what this has to do with LTO...
Comment 4 Agostino Sarubbo gentoo-dev 2024-03-01 08:05:02 UTC
For unknown reasons, at that time I was asked to block bug 618550 for each issue from lto_tinderbox. The same applies to all bugs that block bug 618550 that looks to be unrelated to lto