Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892511 - sys-fs/lvm2-2.03.18-r1 fails installing
Summary: sys-fs/lvm2-2.03.18-r1 fails installing
Status: RESOLVED NEEDINFO
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:
Depends on:
Blocks:
 
Reported: 2023-01-29 17:56 UTC by Andrew Saunders
Modified: 2023-01-30 04:36 UTC (History)
1 user (show)

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


Attachments
error installing 2.03.18-r1 (sys-fs:lvm2-2.03.18-r1:20230129-173605.log,223.97 KB, text/x-log)
2023-01-29 22:49 UTC, Andrew Saunders
Details
successful install 2.03.18-r1 (sys-fs:lvm2-2.03.18-r1:20230129-223152.log,276.89 KB, text/x-log)
2023-01-29 22:55 UTC, Andrew Saunders
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Saunders 2023-01-29 17:56:22 UTC
after a successful compile it fails in the install stage

/usr/bin/install: cannot change permissions of '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/sb
in/dmsetup': No such file or directory
make[2]: *** [Makefile:71: install_dmsetup_dynamic] Error 1
make[2]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/libdm/dm-t
ools'
ln -s -f dmsetup /tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/sbin/dmstats
/usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 755 -d /tmp/portage/portage/sys-fs/lv
m2-2.03.18-r1/image/usr/lib64
make[1]: *** [../libdm/make.tmpl:337: dm-tools.install_device-mapper] Error 2
make[1]: *** Waiting for unfinished jobs....


Reproducible: Always




USE="lvm readline thin udev -lvm2create-initrd -sanlock (-selinux) -static -static-libs -systemd"

it left my system in a funk and I had to boot in with a rescue iso and roll back to sys-fs/lvm2-2.03.17-r2 . this bug also happens in sys-fs/lvm2-2.03.18
Comment 1 Andrew Saunders 2023-01-29 18:02:36 UTC
proper log output

/usr/bin/install: cannot change permissions of '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/sbin/dmsetup': No such file or directory
make[2]: *** [Makefile:71: install_dmsetup_dynamic] Error 1
make[2]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/libdm/dm-tools'
ln -s -f dmsetup /tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/sbin/dmstats
/usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 755 -d /tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/usr/lib64
make[1]: *** [../libdm/make.tmpl:337: dm-tools.install_device-mapper] Error 2
make[1]: *** Waiting for unfinished jobs....
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/lvm2'
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/raid'
make[2]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/libdm/dm-tools'
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/mirror'
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/snapshot'
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/thin'
make[4]: Nothing to be done for 'install_device-mapper'.
make[4]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins/vdo'
make[3]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/daemons/dmeventd/plugins'
ln -s -f ../../lib64/libdevmapper.so.1.02 /tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/usr/lib64/libdevmapper.so
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/lib'
make -C tools
make -C scripts
ln -s -f ../../lib64/libdevmapper-event.so.1.02 /tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/image/usr/lib64/libdevmapper-event.so
make[1]: Leaving directory '/tmp/portage/portage/sys-fs/lvm2-2.03.18-r1/work/LVM2.2.03.18/libdm'
make: *** [make.tmpl:396: libdm.install_device-mapper] Error 2
make: *** Waiting for unfinished jobs....
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-29 19:02:20 UTC
Please include the full build.log and emerge --info.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-29 19:20:29 UTC
Also, which is it? It doesn't install, or you can't boot with it? Are you mixing this with bug 892487?
Comment 4 Andrew Saunders 2023-01-29 22:49:24 UTC
Created attachment 849429 [details]
error installing 2.03.18-r1
Comment 5 Andrew Saunders 2023-01-29 22:54:51 UTC
I attached the log of it failing to install lvm2-2.03.18-r1 . I just now decided to recompile it again to get a fresh log and it compiled and installed just fine .

When it failed before it did screw up my boot and rolling back to lvm2-2.03.17-r2-1.xpak fixed it.

So I'm at a loss as to what actually happened. Mark this one up to gremlins.
Comment 6 Andrew Saunders 2023-01-29 22:55:39 UTC
Created attachment 849431 [details]
successful install 2.03.18-r1
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-30 04:36:12 UTC
No worries, thank you for trying again! Maybe it tried to interact with the installed broken lvm. No idea.