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 (lto): mem.rs:124: undefined reference to BZ2_bzCompressInit
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: CONFIRMED ---    
Severity: normal    
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 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