[Bug 294870] graphics/drm-66-kmod, graphics/drm-61-kmod: Fails to build on stable/15 after commit ports d94082fc799f

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294870

--- Comment #16 from [email protected] ---
(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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.