ng0 transcribed 2.3K bytes:
> lvm2 from bc0e6c9312f5f755e1ccd7d8c43b58974e6f7d38 fails with this:
> 
> ../lib/liblvm-internal.a(sharedlib.o): In function `load_shared_library':
> sharedlib.c:(.text+0x130): warning: Using 'dlopen' in statically linked 
> applications requires at runtime the shared libraries from the glibc version 
> used for linking
> /gnu/store/874zyvmg1ykihbx2j38m58srgblj7al9-eudev-3.2.1/lib/libudev.a(util.o):
>  In function `get_group_creds':
> (.text+0x1e89): warning: Using 'getgrgid' in statically linked applications 
> requires at runtime the shared libraries from the glibc version used for 
> linking
> /gnu/store/874zyvmg1ykihbx2j38m58srgblj7al9-eudev-3.2.1/lib/libudev.a(util.o):
>  In function `get_group_creds':
> (.text+0x1ef2): warning: Using 'getgrnam' in statically linked applications 
> requires at runtime the shared libraries from the glibc version used for 
> linking
> /gnu/store/874zyvmg1ykihbx2j38m58srgblj7al9-eudev-3.2.1/lib/libudev.a(util.o):
>  In function `get_user_creds':
> (.text+0x1ddb): warning: Using 'getpwnam' in statically linked applications 
> requires at runtime the shared libraries from the glibc version used for 
> linking
> /gnu/store/874zyvmg1ykihbx2j38m58srgblj7al9-eudev-3.2.1/lib/libudev.a(util.o):
>  In function `get_user_creds':
> (.text+0x1d13): warning: Using 'getpwuid' in statically linked applications 
> requires at runtime the shared libraries from the glibc version used for 
> linking
> ../libdm/ioctl/libdevmapper.a(libdm-string.o): In function 
> `dm_size_to_string':
> libdm-string.c:(.text+0x11b6): undefined reference to `nearbyint'
> libdm-string.c:(.text+0x11cb): undefined reference to `floor'
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:163: lvm.static] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: Leaving directory 
> '/tmp/guix-build-lvm2-static-2.02.171.drv-0/LVM2.2.02.171/tools'
> make: *** [make.tmpl:327: tools] Error 2
> phase `build' failed after 22.0 seconds
> builder for 
> `/gnu/store/jhmy3pfy0mda6svfjg82zz67j2qw6nxi-lvm2-static-2.02.171.drv' failed 
> with exit code 1
> cannot build derivation 
> `/gnu/store/nrk426gr7p9j8lfy9mi52yxfq6fylc76-cryptsetup-static-1.7.4.drv': 1 
> dependencies couldn't be built
> guix system: error: build failed: build of 
> `/gnu/store/nrk426gr7p9j8lfy9mi52yxfq6fylc76-cryptsetup-static-1.7.4.drv' 
> failed
> -- 
> https://pragmatique.xyz
> PGP: https://people.pragmatique.xyz/ng0/
> 
> 
> 

#lvm on freenode.net says we are on our own and that the method (in general)
to statically build lvm2 is considered fragile.
The comment was that we need to make libm available, statically, as well for
lvm2.
The only person shown by git blame gnu/packages/linux.scm for lvm2-static is
Ludovic.
-- 
https://pragmatique.xyz
PGP: https://people.pragmatique.xyz/ng0/



Reply via email to