[package - 13stable-amd64-quarterly][graphics/drm-devel-kmod] Failed for drm-devel-kmod-5.4.62.g20201109 in build

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]>
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     [email protected]
Last committer: [email protected]
Ident:          $FreeBSD: branches/2021Q1/graphics/drm-devel-kmod/Makefile 554720 2020-11-09 13:37:12Z manu $
Log URL:        http://beefy14.nyi.freebsd.org/data/13stable-amd64-quarterly/562432/logs/drm-devel-kmod-5.4.62.g20201109.log
Build URL:      http://beefy14.nyi.freebsd.org/build.html?mastername=13stable-amd64-quarterly&build=562432
Log:

=>> Building graphics/drm-devel-kmod
build started at Mon Jan 25 10:50:50 UTC 2021
port directory: /usr/ports/graphics/drm-devel-kmod
package name: drm-devel-kmod-5.4.62.g20201109
building for: FreeBSD 13stable-amd64-quarterly-job-01 13.0-ALPHA2 FreeBSD 13.0-ALPHA2 1300136 amd64
maintained by: [email protected]
Makefile ident:      $FreeBSD: branches/2021Q1/graphics/drm-devel-kmod/Makefile 554720 2020-11-09 13:37:12Z manu $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400000
Jail OSVERSION: 1300136
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300136
UNAME_v=FreeBSD 13.0-ALPHA2 1300136
UNAME_r=13.0-ALPHA2
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/13stable-amd64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/13stable-amd64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13stable-amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/13stable-amd64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for drm-devel-kmod-5.4.62.g20201109:
     DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
[email protected]
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work  HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
KMODDIR="/boot/modules" SYSDIR="/usr/src/sys" NO_XREF=yes XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work  HOME=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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  -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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_INSTA
 LL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
AMDGPU="" AMDKFD="@comment " I915="" VMWGFX="" VBOXVIDEO="" KMODDIR="boot/modules" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/drm-devel-kmod"  EXAMPLESDIR="share/examples/drm-devel-kmod"  DATADIR="share/drm-devel-kmod"  WWWDIR="www/drm-devel-kmod"  ETCDIR="etc/drm-devel-kmod"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/drm-devel-kmod DOCSDIR=/usr/local/share/doc/drm-devel-kmod EXAMPLESDIR=/usr/local/share/examples/drm-devel-kmod  WWWDIR=/usr/local/www/drm-devel-kmod ETCDIR=/usr/local/etc/drm-devel-kmod
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 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"
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_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 ([email protected]:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-ALPHA2
OSREL=13.0
OSVERSION=1300136
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License BSD2CLAUSE MIT GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   drm-devel-kmod-5.4.62.g20201109 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.1.txz
[13stable-amd64-quarterly-job-01] Installing pkg-1.16.1...
[13stable-amd64-quarterly-job-01] Extracting pkg-1.16.1: .......... done
===>   drm-devel-kmod-5.4.62.g20201109 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of drm-devel-kmod-5.4.62.g20201109
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD2CLAUSE MIT GPLv2 accepted by the user
===> Fetching all distfiles required by drm-devel-kmod-5.4.62.g20201109 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD2CLAUSE MIT GPLv2 accepted by the user
===> Fetching all distfiles required by drm-devel-kmod-5.4.62.g20201109 for building
=> SHA256 Checksum OK for freebsd-drm-kmod-5.4.62.g20201109-drm_v5.4.62_4_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD2CLAUSE MIT GPLv2 accepted by the user
===> Fetching all distfiles required by drm-devel-kmod-5.4.62.g20201109 for building
===>  Extracting for drm-devel-kmod-5.4.62.g20201109
=> SHA256 Checksum OK for freebsd-drm-kmod-5.4.62.g20201109-drm_v5.4.62_4_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for drm-devel-kmod-5.4.62.g20201109
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for drm-devel-kmod-5.4.62.g20201109
===========================================================================
=======================<phase: build          >============================
===>  Building for drm-devel-kmod-5.4.62.g20201109
===> linuxkpi (all)
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
:> opt_acpi.h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/bus_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/kern/device_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_if.m -h
awk -f /usr/src/sys/tools/makeobjops.awk /usr/src/sys/dev/pci/pci_iov_if.m -h
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q
awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h
touch opt_global.h
Warning: Object directory not changed from original /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi
cc  -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"' -DLINUXKPI_VERSION=50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 -DCONFIG_DRM_LOAD_EDID_FIRMWARE -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -
 DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC
 _DSC_SUPPORT  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/dummy/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -include /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.linux_kmod_gplv2.o -MTlinux_kmod_gplv2.o -mcmodel=kernel -mno-red-zone -mno-m
 mx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -
 Wcast-qual -Wundef -Wno-pointer-sign -D__pri!
 ntf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith   -mno-aes -mno-avx  -std=iso9899:1999 -c /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_kmod_gplv2.c -o linux_kmod_gplv2.o
cc  -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"' -DLINUXKPI_VERSION=50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 -DCONFIG_DRM_LOAD_EDID_FIRMWARE -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -
 DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC
 _DSC_SUPPORT  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/dummy/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -include /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.linux_anon_inodefs.o -MTlinux_anon_inodefs.o -mcmodel=kernel -mno-red-zone -m
 no-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari
 th -Wcast-qual -Wundef -Wno-pointer-sign -D_!
 _printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith   -mno-aes -mno-avx  -std=iso9899:1999 -c /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_anon_inodefs.c -o linux_anon_inodefs.o
cc  -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"' -DLINUXKPI_VERSION=50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 -DCONFIG_DRM_LOAD_EDID_FIRMWARE -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -
 DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC
 _DSC_SUPPORT  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/dummy/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -include /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.linux_anon_inodes.o -MTlinux_anon_inodes.o -mcmodel=kernel -mno-red-zone -mno
 -mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
  -Wcast-qual -Wundef -Wno-pointer-sign -D__p!
 rintf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith   -mno-aes -mno-avx  -std=iso9899:1999 -c /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_anon_inodes.c -o linux_anon_inodes.o
cc  -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"' -DLINUXKPI_VERSION=50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=250 -DCONFIG_DRM_LOAD_EDID_FIRMWARE -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -
 DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC
 _DSC_SUPPORT  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/dummy/include -I/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include -I/usr/src/sys/compat/linuxkpi/common/include -include /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include     -MD  -MF.depend.linux_compat.o -MTlinux_compat.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-
 sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qu
 al -Wundef -Wno-pointer-sign -D__printf__=__!
 freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith   -mno-aes -mno-avx  -std=iso9899:1999 -c /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c -o linux_compat.o
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/llist.h:64:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/kernel.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/sched.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:41:
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:10: error: implicit declaration of function 'kmalloc_array' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        return (kmalloc_array(BITS_TO_LONGS(size),
                ^
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:10: note: did you mean 'mallocarray'?
/usr/src/sys/sys/malloc.h:245:7: note: 'mallocarray' declared here
void    *mallocarray(size_t nmemb, size_t size, struct malloc_type *type,
         ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/llist.h:64:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/kernel.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/sched.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:41:
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:9: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'unsigned long *' [-Werror,-Wint-conversion]
        return (kmalloc_array(BITS_TO_LONGS(size),
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:351:2: error: implicit declaration of function 'kfree' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        kfree(bitmap);
        ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/llist.h:64:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/kernel.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/sched.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:47:
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:64:23: error: use of undeclared identifier 'M_KMALLOC'
        retval = malloc(len, M_KMALLOC, M_WAITOK);
                             ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:64:23: error: use of undeclared identifier 'M_KMALLOC'
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:67:16: error: use of undeclared identifier 'M_KMALLOC'
                free(retval, M_KMALLOC);
                             ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:79:27: error: use of undeclared identifier 'M_KMALLOC'
        retval = malloc(len + 1, M_KMALLOC, M_WAITOK);
                                 ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:79:27: error: use of undeclared identifier 'M_KMALLOC'
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:82:16: error: use of undeclared identifier 'M_KMALLOC'
                free(retval, M_KMALLOC);
                             ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:94:8: error: implicit declaration of function 'kmalloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        dst = kmalloc(len, gfp);
              ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:94:8: note: did you mean 'malloc'?
/usr/src/sys/sys/malloc.h:190:7: note: 'malloc' declared here
void    *malloc(size_t size, struct malloc_type *type, int flags) __malloc_like
         ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:43:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/llist.h:64:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/kernel.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:49:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/sched.h:4:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:47:
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:94:6: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Werror,-Wint-conversion]
        dst = kmalloc(len, gfp);
            ^ ~~~~~~~~~~~~~~~~~
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:109:11: error: implicit declaration of function 'kmalloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        retval = kmalloc(len, gfp);
                 ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:109:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Werror,-Wint-conversion]
        retval = kmalloc(len, gfp);
               ^ ~~~~~~~~~~~~~~~~~
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:122:11: error: implicit declaration of function 'kmalloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
        retval = kmalloc(len + 1, gfp);
                 ^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:122:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Werror,-Wint-conversion]
        retval = kmalloc(len + 1, gfp);
               ^ ~~~~~~~~~~~~~~~~~~~~~
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
/usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:124:1: error: static declaration of 'kmalloc' follows non-static declaration
kmalloc(size_t size, gfp_t flags)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:94:8: note: previous implicit declaration is here
        dst = kmalloc(len, gfp);
              ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
/usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:149:1: error: static declaration of 'kmalloc_array' follows non-static declaration
kmalloc_array(size_t n, size_t size, gfp_t flags)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:338:10: note: previous implicit declaration is here
        return (kmalloc_array(BITS_TO_LONGS(size),
                ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:10:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:51:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/scatterlist.h:32:
In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:36:
/usr/src/sys/compat/linuxkpi/common/include/linux/slab.h:167:1: error: static declaration of 'kfree' follows non-static declaration
kfree(const void *ptr)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/bitmap.h:351:2: note: previous implicit declaration is here
        kfree(bitmap);
        ^
In file included from /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/src/linux_compat.c:10:
/wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi/gplv2/include/linux/pci.h:51:1: error: redefinition of 'pci_bus_read_config'
pci_bus_read_config(struct pci_bus *bus, unsigned int devfn,
^
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:1101:1: note: previous definition is here
pci_bus_read_config(struct pci_bus *bus, unsigned int devfn,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4/linuxkpi
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.4.62_4
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/drm-devel-kmod
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
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.