Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500058 - sys-fs/lvm2-2.02.105-r1 - /usr/lib/libudev.a(util.o): In function `lookup_uid': (.text.lookup_uid+0x88): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Summary: sys-fs/lvm2-2.02.105-r1 - /usr/lib/libudev.a(util.o): In function `lookup_uid...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-02 09:08 UTC by Alexey Sychev
Modified: 2014-02-04 02:26 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,117.89 KB, text/plain)
2014-02-02 09:09 UTC, Alexey Sychev
Details
emerge --info '=sys-fs/lvm2-2.02.105-r1::gentoo' (emerge.info.txt,4.77 KB, text/plain)
2014-02-02 09:11 UTC, Alexey Sychev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sychev 2014-02-02 09:08:14 UTC
lvm2 with static USE does not emerge with this kind of errors:

(.text.util_lookup_user+0xb4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../lib/libudev.a(util.o): In function `lookup_uid':

Reproducible: Always
Comment 1 Alexey Sychev 2014-02-02 09:09:47 UTC
Created attachment 369322 [details]
build.log
Comment 2 Alexey Sychev 2014-02-02 09:11:21 UTC
Created attachment 369324 [details]
emerge --info '=sys-fs/lvm2-2.02.105-r1::gentoo'
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-02-04 02:26:44 UTC
Those were warnings, here's your actual error:
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lblkid
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -luuid
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lblkid

I've added util-linux[static-libs] to the DEPEND for you.