[arch-dev-public] Packages sometimes fail to build: "Failed to attach XXXX to compat systemd cgroup /user.slice/user-1000.slice/session-c1.scope/payload: No such file or directory"

Baptiste Jonglez baptiste at bitsofnetworks.org
Sun Jan 14 15:30:45 UTC 2018


On 14-01-18, Baptiste Jonglez wrote:
>     $ extra-x86_64-build -- -I ../../another-package/trunk/foo.pkg.tar.xz
>     (...)
>     ==> Making package: ring-gnome 3:20180112.2.d0bda53-1 (Sun Jan 14 16:06:22 CET 2018)
>     ==> Retrieving sources...
>       -> Updating ring-client-gnome git repo...
>     Fetching origin
>     ==> Validating source files with sha256sums...
>         ring-client-gnome ... Skipped
>     Failed to attach 9683 to compat systemd cgroup /user.slice/user-1000.slice/session-c1.scope/payload: No such file or directory
>     Failed to attach 9661 to compat systemd cgroup /user.slice/user-1000.slice/session-c1.scope/supervisor: No such file or directory
>     Failed to chown() cgroup /sys/fs/cgroup/systemd/user.slice/user-1000.slice/session-c1.scope/payload: No such file or directory
>     Parent died too early
>     ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/zorun/build
> 
> Full log : https://paste.aliens-lyon.fr/gD0
> 
> This is the ring-gnome package in [community] but I had this issue with
> another one.  It's not 100% reproducible, but when it happens, all
> subsequent builds of the same package exhibit the issue.
> 
> My system is fully up-to-date, with kernel 4.14.13-1-ARCH and systemd
> 236.0-3.  It looks like a bug in systemd, or in the interaction with the
> devtools.  This may be caused by the systemd update a few days ago.

Some more information: it seems to happen when a package installed with -I
pulls systemd as a dependency.

Without -I, even if systemd is a dependency of the package being built,
everything works fine.

With -I to install a package that does *not* depend on system, it also
works fine.

Any help appreciated!
Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20180114/5d2d7fd4/attachment.asc>


More information about the arch-dev-public mailing list