Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762017 - sys-fs/lvm2-2.02.187-r2: Fails to build with static use flag due to undefined reference
Summary: sys-fs/lvm2-2.02.187-r2: Fails to build with static use flag due to undefined...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-27 23:00 UTC by Stefan Huber
Modified: 2021-04-13 00:04 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.log,6.61 KB, text/x-log)
2020-12-27 23:00 UTC, Stefan Huber
Details
build log (build.log,110.52 KB, text/x-log)
2020-12-27 23:00 UTC, Stefan Huber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2020-12-27 23:00:19 UTC
The package sys-fs/lvm2-2.02.187-r2 fails to build with the use flag 'static' enabled due to a couple of undefined reference errors like these:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text.capability_quintet_enforce+
0x4af): undefined reference to `cap_free'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9
.3.0/../../../../lib64/libsystemd.a(src_libsystemd_sd-daemon_sd-daemon.c.o): in function `sd_is_mq':
(.text.sd_is_mq+0x3a): undefined reference to `mq_getattr'

I am using gcc-9.3.0-r2.

Reproducible: Always
Comment 1 Stefan Huber 2020-12-27 23:00:40 UTC
Created attachment 679910 [details]
emerge --info
Comment 2 Stefan Huber 2020-12-27 23:00:55 UTC
Created attachment 679913 [details]
build log
Comment 3 Stefan Huber 2021-04-13 00:04:10 UTC
There is some progress upstream:
https://github.com/lvmteam/lvm2/issues/45