On FreeBSD 13-STABLE (FreeBSD 13.0-STABLE #78 stable/13-n248948-9418a626103: Thu Jan 13 19:36:41 CET 2022 amd64) and most recent ports tree, compilation and installation of the port graphics/drm-fbsd13-kmod fails on a local host installed via portmaster and also on all poudriere building hosts running the very same FBSD13 jails. The sources build without issue, but "make install" fails with weird Linux crap: [...] The operation will free 11 MiB. [1/1] Deinstalling drm-fbsd13-kmod-5.4.144.g20211230... [1/1] Deleting files for drm-fbsd13-kmod-5.4.144.g20211230: 100% ===> Installing for drm-fbsd13-kmod-5.4.144.g20211230 ===> Registering installation for drm-fbsd13-kmod-5.4.144.g20211230 pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_e did_load.c:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/asm/set_memory.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/atomic.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/capability.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/device.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/fwnode.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/hash.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/hdmi.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/kernel.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/mm.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/mmu_context.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/mmu_notifier.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/module.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/moduleparam.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/numa.h:No such file or directory pkg-static: Unable to access file /usr/ports/graphics/drm-fbsd13-kmod/work/stage/usr/local/sys/modules/drm-fbsd13-kmod/linuxkpi/gplv2/includ e/linux/pagemap.h:No such file or directory [...]
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ddf2acf7e1ca27a34fa74d74c312039026061dee commit ddf2acf7e1ca27a34fa74d74c312039026061dee Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-01-14 14:57:48 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-01-14 14:58:51 +0000 graphics/drm-fbsd13-kmod: Fix plist with SOURCE option PR: 261183 Sponsored by: Beckhoff Automation GmbH & Co. KG graphics/drm-fbsd13-kmod/pkg-plist | 58 ++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 31 deletions(-)
Many thanks Emmanuel for the fix, but it would be really helpful next time to also commit such important fixes to quarterly branch as well!