Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786816 - sys-fs/cryptsetup[static] - undefined reference to `__xmknod'
Summary: sys-fs/cryptsetup[static] - undefined reference to `__xmknod'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 788358 799887 800626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-29 13:27 UTC by lekto
Modified: 2021-07-06 21:13 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,116.50 KB, text/x-log)
2021-04-29 13:27 UTC, lekto
Details
emerge --info (emerge.info,6.36 KB, text/plain)
2021-04-29 13:27 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2021-04-29 13:27:26 UTC
Created attachment 703899 [details]
build.log

>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_group_creds':
>(.text+0x2107): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2174): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_user_creds':
>(.text+0x2004): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x1f3e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_group_creds':
>(.text+0x2107): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2174): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_user_creds':
>(.text+0x2004): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x1f3e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_group_creds':
>(.text+0x2107): warning: Using 'getgrgid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2174): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libudev.a(util.o): in function `get_user_creds':
>(.text+0x2004): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x1f3e): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-common.o): in function `_add_dev_node.isra.0':
>(.text+0x57b3): undefined reference to `__xmknod'
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-iface.o): in function `_open_control':
>(.text+0x741): undefined reference to `__xmknod'
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-common.o): in function `_add_dev_node.isra.0':
>(.text+0x57b3): undefined reference to `__xmknod'
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-iface.o): in function `_open_control':
>(.text+0x741): undefined reference to `__xmknod'
>collect2: error: ld returned 1 exit status
>make[2]: *** [Makefile:1585: veritysetup.static] Error 1
>make[2]: *** Waiting for unfinished jobs....
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-common.o): in function `_add_dev_node.isra.0':
>(.text+0x57b3): undefined reference to `__xmknod'
>/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libdevmapper.a(libdm-iface.o): in function `_open_control':
>(.text+0x741): undefined reference to `__xmknod'
Comment 1 lekto 2021-04-29 13:27:52 UTC
Created attachment 703902 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2021-04-30 19:27:11 UTC
Please try rebuilding sys-fs/lvm2.
Comment 3 Mantas 2021-04-30 22:18:00 UTC
sudo emerge -av1 sys-fs/lvm2

Can confirm this has solved the issue.
Comment 4 lekto 2021-05-01 03:38:29 UTC
It worked, when I was installing this system 4 years ago I made custom initramfs. Now, I'm using Dracut, but I forgot that there are still packages with static use flag, thanks.
Comment 5 Mike Gilbert gentoo-dev 2021-05-05 17:08:21 UTC
*** Bug 788358 has been marked as a duplicate of this bug. ***
Comment 6 Attila Tóth 2021-05-05 17:19:58 UTC
Re-emerging lvm2 worked for me - thanks!
Comment 7 Mike Gilbert gentoo-dev 2021-07-02 17:50:18 UTC
*** Bug 799887 has been marked as a duplicate of this bug. ***
Comment 8 Mike Gilbert gentoo-dev 2021-07-06 21:11:22 UTC
*** Bug 800626 has been marked as a duplicate of this bug. ***