Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945879 - dev-vcs/fossil-2.22:0 - USE `static` results in `emake failed` with glibc-related error
Summary: dev-vcs/fossil-2.22:0 - USE `static` results in `emake failed` with glibc-rel...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Aaron W. Swenson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-04 21:32 UTC by rom
Modified: 2024-12-05 20:23 UTC (History)
0 users

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


Attachments
emerge build log (build.log,52.56 KB, text/x-log)
2024-12-04 21:32 UTC, rom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rom 2024-12-04 21:32:37 UTC
Created attachment 913326 [details]
emerge build log

The build succeeds normally but fails with `static` USE flag set.

System: Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-13, glibc-2.40-r5, 6.12.1+ x86_64)

Several errors with the pattern: Using '...' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

With final error:

    ERROR: dev-vcs/fossil-2.22::gentoo failed (compile phase):
      emake failed

Build log attached.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-04 21:35:57 UTC
The actual error is:

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssl: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcrypto: No such file or directory
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lz: No such file or directory

Do you have openssl[static-libs] and zlib[static-libs]?
Comment 2 Mike Gilbert gentoo-dev 2024-12-05 20:23:04 UTC
The ebuild has a "static" USE flag, but doesn't use it in DEPEND.