in 2023.02-rc1 and -rc2, the per-package parallel build fails for xscreensaver-6.03. I realize this is an experimental feature, but usually such a failure indicates that a dependency wasn't properly specified and therefore staged into the per-package build folder. In traditional build, the dependency is already installed in the build folder by another module and the failure does not occur. In this case, adding util-linux to the XSCREENSAVER_DEPENDENCIES in xscreensaver.mk corrects the issue.
There is not a single build failure with BR2_PER_PACKAGE_DIRECTORIES on the autobuilders: http://autobuild.buildroot.org/?reason=xscreensaver-6.03 Can you provide a defconfig that exhibits this issue?
Created attachment 9526 [details] sample defconfig I did a sample build using a modified stock defconfig and was able to reproduce the error. Building against systemd instead of BusyBox-init does not cause issues.
I should add, the error is at the ./configure stage, not the compilation stage.
Using the provided defconfig and latest master, I wasn't able to reproduce your build failure. What is the output of make xscreensaver-show-recursive-depends? On my side, util-linux is returned in this list because util-linux is a dependency of libglib2 and fontconfig (as can be seen in the pdf generated by make xscreensaver-graph-depends)
Interesting... I have: atk cairo eudev expat fontconfig freetype gdk-pixbuf gdk-pixbuf-xlib glibc harfbuzz host-autoconf host-autoconf-archive host-automake host-binutils host-bison host-ccache host-expat host-flex host-gawk host-gcc-final host-gcc-initial host-gdk-pixbuf host-gettext host-gettext-tiny host-gmp host-gperf host-intltool host-libffi host-libglib2 host-libgtk2 host-libjpeg host-libpng host-libtool host-libxml-parser-perl host-libxml2 host-libxslt host-libzlib host-m4 host-meson host-mpc host-mpfr host-nasm host-ninja host-pcre host-pkgconf host-python-mako host-python-markupsafe host-python-setuptools host-python3 host-skeleton host-util-linux host-xcb-proto host-xorgproto host-zlib jpeg jpeg-turbo kmod libdrm libffi libfribidi libgl libglib2 libglu libgtk2 libpng libpthread-stubs libxcb libxml2 libzlib linux-headers mesa3d pango pcre pixman skeleton skeleton-init-common skeleton-init-sysv toolchain toolchain-buildroot udev util-linux-libs xcb-proto xlib_libICE xlib_libSM xlib_libX11 xlib_libXau xlib_libXcursor xlib_libXdamage xlib_libXdmcp xlib_libXext xlib_libXfixes xlib_libXft xlib_libXi xlib_libXinerama xlib_libXrandr xlib_libXrender xlib_libXt xlib_libXxf86vm xlib_xtrans xorgproto xutil_util-macros zlib so I have host-util-linux and util-linux-libs but not enough to satisfy the dependency. Also interesting, per xconfig, package fontconfig selects BR2_PACKAGE_UTIL_LINUX but not the dependency. Here's another fun one. I mentioned that systemd would trigger the dependency. Switching from eudev (BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV) to static device table (BR2_ROOTFS_DEVICE_CREATION_STATIC) also triggers the dependency.
Could you provide a log of the failure you encounter? And details about your host environment (which distribution? a container perhaps?). Thanks!
Created attachment 9551 [details] configure output
Host is a bare metal Ubuntu 22.04.2 LTS system. I ran make -j1 V=1 xscreensaver-configure and attached the output
Thank you for your report. The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker: https://gitlab.com/buildroot.org/buildroot/-/issues We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker. Thank you!