Hello team,
When building a package i.e. Blender as an exampleon Rawhide repository, the following message displayed:
DEBUG util.py:445: /proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: /usr/lib/sysusers.d/basic.conf:9: Conflict with earlier configuration for user 'root', ignoring line.
It seems like a bug related to the new systemd 253rc which can lead to failure. Here is the link of root.log:
https://kojipkgs.fedoraproject.org//work/tasks/79/96810079/root.log
And the affected build: https://koji.fedoraproject.org/koji/taskinfo?taskID=96810014
Can someone investigate? Thanks.
On Sun, Jan 29, 2023 at 01:50:21AM -0800, Luya Tshimbalanga wrote:
Hello team,
When building a package i.e. Blender as an exampleon Rawhide repository, the following message displayed:
DEBUG util.py:445: /proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: /usr/lib/sysusers.d/basic.conf:9: Conflict with earlier configuration for user 'root', ignoring line.
It seems like a bug related to the new systemd 253rc which can lead to failure. Here is the link of root.log:
https://kojipkgs.fedoraproject.org//work/tasks/79/96810079/root.log
And the affected build: https://koji.fedoraproject.org/koji/taskinfo?taskID=96810014
The issue as in the message. It seems that some commands are called in a partial chroot where /proc is not mounted. procfs is an "api filesystem" that is effectively part of the linux userspace api and is not optional. For example, /proc/self/fd/ for a program to get information about its own file descriptors. Thus, this is a problem with how the caller has set up the chroot.
Zbyszek
On 2023-01-29 07:24, Zbigniew Jędrzejewski-Szmek wrote:
On Sun, Jan 29, 2023 at 01:50:21AM -0800, Luya Tshimbalanga wrote:
Hello team,
When building a package i.e. Blender as an exampleon Rawhide repository, the following message displayed:
DEBUG util.py:445: /proc/ is not mounted, but required for successful operation of systemd-tmpfiles. Please mount /proc/. Alternatively, consider using the --root= or --image= switches. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: ⚠️ /proc/ is not mounted. This is not a supported mode of operation. Please fix DEBUG util.py:445: your invocation environment to mount /proc/ and /sys/ properly. Proceeding anyway. DEBUG util.py:445: Your mileage may vary. DEBUG util.py:445: /usr/lib/sysusers.d/basic.conf:9: Conflict with earlier configuration for user 'root', ignoring line.
It seems like a bug related to the new systemd 253rc which can lead to failure. Here is the link of root.log:
https://kojipkgs.fedoraproject.org//work/tasks/79/96810079/root.log
And the affected build: https://koji.fedoraproject.org/koji/taskinfo?taskID=96810014
The issue as in the message. It seems that some commands are called in a partial chroot where /proc is not mounted. procfs is an "api filesystem" that is effectively part of the linux userspace api and is not optional. For example, /proc/self/fd/ for a program to get information about its own file descriptors. Thus, this is a problem with how the caller has set up the chroot.
Thanks for the info. That setup impact some subcommand on both make and ninja accordingly, hence the last line:
ninja: build stopped: subcommand failed.
See build.log for details: https://kojipkgs.fedoraproject.org//work/tasks/79/96810079/build.log
Luya Tshimbalanga wrote on 2023/01/30 5:05:
Thanks for the info. That setup impact some subcommand on both make and ninja accordingly, hence the last line:
ninja: build stopped: subcommand failed.
See build.log for details: https://kojipkgs.fedoraproject.org//work/tasks/79/96810079/build.log
The actual error for the above is:
/builddir/build/BUILD/blender-3.4.1/intern/cycles/util/thread.cpp: In member function 'bool ccl::thread::join()': /builddir/build/BUILD/blender-3.4.1/intern/cycles/util/thread.cpp:50:34: error: expected unqualified-id before '&' token 50 | catch (const std::system_error &) { | ^ /builddir/build/BUILD/blender-3.4.1/intern/cycles/util/thread.cpp:50:33: error: expected ')' before '&' token 50 | catch (const std::system_error &) { | ~ ^~ | ) /builddir/build/BUILD/blender-3.4.1/intern/cycles/util/thread.cpp:50:34: error: expected '{' before '&' token 50 | catch (const std::system_error &) { | ^ /builddir/build/BUILD/blender-3.4.1/intern/cycles/util/thread.cpp:50:35: error: expected primary-expression before ')' token 50 | catch (const std::system_error &) { | ^
I guess intern/cycles/util/thread.cpp needs "include <system_error>" .
Regards, Mamoru
I confirm about the guessing about missing "include <system_error>" which possibly came from the mass build. After applying the patch, the build was successful. Patch submitted upstream on https://developer.blender.org/D17151
Thanks Mamoru!
Luya