Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854279 - app-crypt/sequoia-sq-0.26.0 fails to compile: mem.rs:124: undefined reference to BZ2_bzCompressInit
Summary: app-crypt/sequoia-sq-0.26.0 fails to compile: mem.rs:124: undefined reference...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-25 12:45 UTC by Agostino Sarubbo
Modified: 2024-03-01 08:05 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,472.48 KB, text/plain)
2022-06-25 12:45 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 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 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