Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2026 12:57:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 294870] graphics/drm-66-kmod, graphics/drm-61-kmod: Fails to build on stable/15 after commit ports d94082fc799f
Message-ID:  <bug-294870-7141-3xzSkERn5M@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294870-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294870

--- Comment #16 from david@catwhisker.org ---
(In reply to david from comment #15)
Well...  After updating:
* ports to main-n745073-4adc937f6066
* stable/15 to stable/15-n283508-2157c0e19672
* head to main-n285692-7b5a23b12451

I note:
* stable/15 is fine.
* The update of installed ports is fine.
* head is NOT fine.  The attempted rebuild of drm-66-kmod in head (courtesy of

PORTS_MODULES+=graphics/drm-66-kmod

  in /etc/src.conf) fails:

...
===>  Cleaning for drm-66-kmod-6.6.25.1600018_9
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap
-f" recommended
===>  License BSD2CLAUSE MIT GPLv2 accepted by the user
===>   drm-66-kmod-6.6.25.1600018_9 depends on file: /usr/local/sbin/pkg -
found
===> Fetching all distfiles required by drm-66-kmod-6.6.25.1600018_9 for
building
===>  Extracting for drm-66-kmod-6.6.25.1600018_9
=> SHA256 Checksum OK for freebsd-drm-kmod-6.6.25-drm_v6.6.25_10_GH0.tar.gz.
===>  Patching for drm-66-kmod-6.6.25.1600018_9
===>  Applying FreeBSD patches for drm-66-kmod-6.6.25.1600018_9 from
/usr/ports/graphics/drm-66-kmod/files
===>  Configuring for drm-66-kmod-6.6.25.1600018_9
===>  Building for drm-66-kmod-6.6.25.1600018_9
/bin/mkdir -p
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10/obj
(cd
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10
; /usr/bin/env
MAKEOBJDIRPREFIX=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10/obj
KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes
XDG_DATA_HOME=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work

XDG_CONFIG_HOME=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work

XDG_CACHE_HOME=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/.cache

HOME=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work
TMPDIR="/tmp"
PATH=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/.bin:/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbsbin
PKG_CONFIG_LIBDIR=/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-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 
-Wno-default-const-init-var-unsafe -fno-strict-aliasing "  CPP="cpp"
CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe
-Wno-default-const-init-var-unsafe -fno-strict-aliasing   "
BSD_INSTALL_PROGRAM="install -U  -s -m 555"  BSD_INSTALL_LIB="install -U  -s -m
0644"  BSD_INSTALL_SCRIPT="install -U  -m 555"  BSD_INSTALL_DATA="install -U 
-m 0644"  BSD_INSTALL_MAN="install -U  -m 444" make obj)
make[5]: /usr/share/mk/bsd.endian.mk:25: Unknown modifier ":aarch64  amd64 
armv7  i386  powerpc64le  riscv*"
        while evaluating indirect modifiers "aarch64  amd64  armv7  i386 
powerpc64le  riscv*"
        while evaluating variable "_ENDIAN_ARCH" with value "amd64"
        in /usr/share/mk/bsd.endian.mk:25
        in .for loop from /usr/share/mk/bsd.compiler.mk:160 with cc = CC, X_ =
${_empty_var_}
        in /usr/share/mk/bsd.own.mk:297
        in /usr/share/mk/bsd.init.mk:21
        in /usr/src/sys/conf/kern.opts.mk:21
        in
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10/Makefile:4
        in make[5] in directory
"/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10"
make[5]: /usr/share/mk/bsd.endian.mk:53: Don't know the endianness of this
architecture
        in .for loop from /usr/share/mk/bsd.compiler.mk:160 with cc = CC, X_ =
${_empty_var_}
        in /usr/share/mk/bsd.own.mk:297
        in /usr/share/mk/bsd.init.mk:21
        in /usr/src/sys/conf/kern.opts.mk:21
        in
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10/Makefile:4
        in make[5] in directory
"/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10"

make[5]: stopped making "obj" in
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_10
*** Error code 1

Stop.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294870-7141-3xzSkERn5M>