I asked this in ask.fedoraproject
(https://ask.fedoraproject.org/t/is-there-a-way-to-mockbuild-systemd),
but FranciscoD suggested this might be a better place.
I'm trying to build a slightly modified version of systemd. To start
with, I tried to do a fedpkg mockbuild of systemd without any
modification. The build fails on the test-mountpoint-util test.
Is there a way around this? Is there a way to build systemd using mock?
The commands I run are these:
fedpkg clone systemd
cd systemd
fedpkg switch-branch f32
fedpkg mockbuild
The actual compilation succeeds, but the testing fails as mentioned.
If I keep the build root I found these lines in the error log.
ids of /proc/filesystems are 1256, 1281
the other path for mnt id 1281 is /proc
Assertion ‘path_equal(p, t)’ failed at src/test/test-mountpoint-util.c:94,
function test_mnt_id(). Aborting.
According to this page
https://www.gitmemory.com/issue/systemd/systemd/11505/584844862 this
is because the build is done in a pid and mount namespace. The site
is about Gentoo builds.
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]