Re: synth can't build graphics/drm-kmod

From: Steven Friedrich <freebsdlouisville_at_gmail.com>
Date: Tue, 20 Jun 2023 01:30:14 UTC
On 6/19/23 9:47 AM, Steven Friedrich wrote:
> 00_last_results.log
> 
> graphics/drm-kmod FAILED!
> 
> But I can build it from ports.  Why can't synth?
> BTW, my ports are tracking 2023Q2
> 
> It claims a read-only filesystem, but /boot/efi is mounted rw.
> At the end it claims No space left on device.  I see no indication this 
> is true.
> A make clean reinstall in /usr/ports/graphics/drm-kmod is unremarkable.
> 
> 
> Here's the /var/log/synth/graphics___drm-kmod.log
> => Building graphics/drm-kmod
> Started : Sunday, 18 JUN 2023 at 19:10:32 UTC
> Platform: 13.2-RELEASE FreeBSD 13.2-RELEASE 
> releng/13.2-n254617-525ecfdad597 SLIMLINE amd64
> 
> 
> --------------------------------------------------
> --  Environment
> --------------------------------------------------
> DISABLE_VULNERABILITIES=yes
> MAKE_JOBS_UNSAFE=yes
> FORCE_PKG_REGISTER=yes
> UNAME_r=13.2-SYNTH
> UNAME_m=amd64
> UNAME_p=amd64
> UNAME_v=FreeBSD 13.2-SYNTH
> UNAME_s=FreeBSD
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
> SSL_NO_VERIFY_PEER=1
> TERM=dumb
> PKG_CACHEDIR=/var/cache/pkg8
> PKG_DBDIR=/var/db/pkg8
> PORTSDIR=/xports
> LANG=C
> HOME=/root
> USER=root
> 
> 
> 
> --------------------------------------------------
> --  Options
> --------------------------------------------------
> 
> 
> 
> --------------------------------------------------
> --  CONFIGURE_ENV
> --------------------------------------------------
> XDG_DATA_HOME=/construction/xports/graphics/drm-kmod/work
> XDG_CONFIG_HOME=/construction/xports/graphics/drm-kmod/work
> XDG_CACHE_HOME=/construction/xports/graphics/drm-kmod/work/.cache
> HOME=/construction/xports/graphics/drm-kmod/work
> TMPDIR="/tmp"
> PATH=/construction/xports/graphics/drm-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
> PKG_CONFIG_LIBDIR=/construction/xports/graphics/drm-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
> SHELL=/bin/sh
> CONFIG_SHELL=/bin/sh
> 
> 
> 
> --------------------------------------------------
> --  CONFIGURE_ARGS
> --------------------------------------------------
> 
> 
> 
> 
> --------------------------------------------------
> --  MAKE_ENV
> --------------------------------------------------
> XDG_DATA_HOME=/construction/xports/graphics/drm-kmod/work
> XDG_CONFIG_HOME=/construction/xports/graphics/drm-kmod/work
> XDG_CACHE_HOME=/construction/xports/graphics/drm-kmod/work/.cache
> HOME=/construction/xports/graphics/drm-kmod/work
> TMPDIR="/tmp"
> PATH=/construction/xports/graphics/drm-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
> PKG_CONFIG_LIBDIR=/construction/xports/graphics/drm-kmod/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
> MK_DEBUG_FILES=no
> MK_KERNEL_SYMBOLS=no
> SHELL=/bin/sh
> NO_LINT=YES
> PREFIX=/usr/local
> LOCALBASE=/usr/local
> CC="cc"
> CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "
> CPP="cpp"
> CPPFLAGS=""
> LDFLAGS=" -fstack-protector-strong "
> LIBS=""
> CXX="c++"
> CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "
> MANPREFIX="/usr/local"
> BSD_INSTALL_PROGRAM="install  -s -m 555"
> BSD_INSTALL_LIB="install  -s -m 0644"
> BSD_INSTALL_SCRIPT="install  -m 555"
> BSD_INSTALL_DATA="install  -m 0644"
> BSD_INSTALL_MAN="install  -m 444"
> 
> 
> 
> --------------------------------------------------
> --  MAKE_ARGS
> --------------------------------------------------
> DESTDIR=/construction/xports/graphics/drm-kmod/work/stage
> 
> 
> 
> --------------------------------------------------
> --  PLIST_SUB
> --------------------------------------------------
> OSREL=13.2
> PREFIX=%D
> LOCALBASE=/usr/local
> RESETPREFIX=/usr/local
> LIB32DIR=lib
> DOCSDIR="share/doc/drm-kmod"
> EXAMPLESDIR="share/examples/drm-kmod"
> DATADIR="share/drm-kmod"
> WWWDIR="www/drm-kmod"
> ETCDIR="etc/drm-kmod"
> 
> 
> 
> --------------------------------------------------
> --  SUB_LIST
> --------------------------------------------------
> PREFIX=/usr/local
> LOCALBASE=/usr/local
> DATADIR=/usr/local/share/drm-kmod
> DOCSDIR=/usr/local/share/doc/drm-kmod
> EXAMPLESDIR=/usr/local/share/examples/drm-kmod
> WWWDIR=/usr/local/www/drm-kmod
> ETCDIR=/usr/local/etc/drm-kmod
> 
> 
> 
> --------------------------------------------------
> --  /etc/make.conf
> --------------------------------------------------
> SYNTHPROFILE=LiveSystem
> USE_PACKAGE_DEPENDS_ONLY=yes
> PACKAGE_BUILDING=yes
> BATCH=yes
> PKG_CREATE_VERBOSE=yes
> PORTSDIR=/xports
> DISTDIR=/distfiles
> WRKDIRPREFIX=/construction
> PORT_DBDIR=/options
> PACKAGES=/packages
> MAKE_JOBS_NUMBER_LIMIT=5
> HAVE_COMPAT_IA32_KERN=YES
> CONFIGURE_MAX_CMD_LEN=524288
> _PERL5_FROM_BIN=5.32.1
> _CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 
> (https://github.com/llvm/llvm-project.git 
> llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 
> Thread model: posix InstalledDir: /usr/bin
> _CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 
> (https://github.com/llvm/llvm-project.git 
> llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 
> Thread model: posix InstalledDir: /usr/bin  "/usr/bin/ld" 
> "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" 
> "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" 
> "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" 
> "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" 
> "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" 
> "/usr/lib/crtn.o"
> _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 
> (https://github.com/llvm/llvm-project.git 
> llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd13.2 
> Thread model: posix InstalledDir: /usr/bin
> CC_OUTPUT_921dbbb2_58173849=yes
> CC_OUTPUT_921dbbb2_9bdba57c=yes
> CC_OUTPUT_921dbbb2_6a4fe7f5=yes
> CC_OUTPUT_921dbbb2_6bcac02b=yes
> CC_OUTPUT_921dbbb2_67d20829=yes
> CC_OUTPUT_921dbbb2_bfa62e83=yes
> CC_OUTPUT_921dbbb2_f0b4d593=yes
> CC_OUTPUT_921dbbb2_308abb44=yes
> CC_OUTPUT_921dbbb2_f00456e5=yes
> CC_OUTPUT_921dbbb2_65ad290d=yes
> CC_OUTPUT_921dbbb2_b2657cc3=yes
> CC_OUTPUT_921dbbb2_380987f7=yes
> _ALTCCVERSION_921dbbb2=none
> _OBJC_ALTCCVERSION_921dbbb2=none
> _SMP_CPUS=12
> UID=0
> ARCH=amd64
> OPSYS=FreeBSD
> OSVERSION=1302001
> OSREL=13.2
> _OSRELEASE=13.2-SYNTH
> PYTHONBASE=/usr/local
> _PKG_CHECKED=1
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: check-sanity
> --------------------------------------------------------------------------------
> ===>  License NA accepted by the user
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: pkg-depends
> --------------------------------------------------------------------------------
> ===>   drm-kmod-20220907_1 depends on file: /usr/local/sbin/pkg - not found
> ===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
> Installing pkg-1.19.1_1...
> Extracting pkg-1.19.1_1: .......... done
> ===>   drm-kmod-20220907_1 depends on file: /usr/local/sbin/pkg - found
> ===>   Returning to build of drm-kmod-20220907_1
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: fetch-depends
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: fetch
> --------------------------------------------------------------------------------
> ===>  License NA accepted by the user
> ===> Fetching all distfiles required by drm-kmod-20220907_1 for building
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: checksum
> --------------------------------------------------------------------------------
> ===>  License NA accepted by the user
> ===> Fetching all distfiles required by drm-kmod-20220907_1 for building
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: extract-depends
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: extract
> --------------------------------------------------------------------------------
> ===>  License NA accepted by the user
> ===> Fetching all distfiles required by drm-kmod-20220907_1 for building
> ===>  Extracting for drm-kmod-20220907_1
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: patch-depends
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: patch
> --------------------------------------------------------------------------------
> ===>  Patching for drm-kmod-20220907_1
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: build-depends
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: lib-depends
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: configure
> --------------------------------------------------------------------------------
> ===>  Configuring for drm-kmod-20220907_1
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: build
> --------------------------------------------------------------------------------
> 
> 
> 
> --------------------------------------------------------------------------------
> --  Phase: run-depends
> --------------------------------------------------------------------------------
> ===>   drm-kmod-20220907_1 depends on package: 
> gpu-firmware-kmod>=20220511 - not found
> ===>   Installing existing package 
> /packages/All/gpu-firmware-kmod-20230210_1,1.pkg
> Installing gpu-firmware-kmod-20230210_1,1...
> `-- Installing gpu-firmware-amd-kmod-aldebaran-20230210...
> `-- Extracting gpu-firmware-amd-kmod-aldebaran-20230210: .......... done
> kldxref: can't create //boot/lhint.W6cZdM: Read-only file system
> pkg-static: POST-INSTALL script failed
> 
> <snip> removed many similar lines
> </snip>
> 
> Extracting gpu-firmware-kmod-20230210_1,1: ... done
> ===>   drm-kmod-20220907_1 depends on package: 
> gpu-firmware-kmod>=20220511 - found
> ===>   Returning to build of drm-kmod-20220907_1
> ===>   drm-kmod-20220907_1 depends on file: /boot/modules/drm.ko - not 
> found
> ===>   Installing existing package 
> /packages/All/drm-510-kmod-5.10.163_7.pkg
> Installing drm-510-kmod-5.10.163_7...
> Extracting drm-510-kmod-5.10.163_7: ........
> pkg-static: Fail to create temporary file for /boot/modules/ttm.ko:No 
> space left on device
> Extracting drm-510-kmod-5.10.163_7... done
> 
> Failed to install the following 1 package(s): 
> /packages/All/drm-510-kmod-5.10.163_7.pkg
> *** Error code 1
> 
> Stop.
> make: stopped in /xports/graphics/drm-kmod
> 
> 
> 
> --------------------------------------------------
> --  Termination
> --------------------------------------------------
> Finished: Sunday, 18 JUN 2023 at 19:10:39 UTC
> Duration: 00:00:06
> 
I'm still trying to work through this issue.  mount reveals:
/boot on /usr/obj/synth-live/SL02/boot (nullfs, local, noatime, 
read-only, nfsv4acls)
Note it says read-only.  I didn't do this, did synth?  How can I change it?
-- 
FreeBSD slimline.friedrich.org 13.2-RELEASE FreeBSD 13.2-RELEASE 
releng/13.2-n254617-525ecfdad597 SLIMLINE amd64
SLIMLINE is GENERIC with unnecessary drivers removed
/usr/ports/.git/HEAD
ref: refs/heads/2023Q2