From nobody Thu Mar 14 13:49:18 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TwTJQ4M0Qz5D2qp for ; Thu, 14 Mar 2024 13:49:26 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TwTJP2lP8z4m2n for ; Thu, 14 Mar 2024 13:49:25 +0000 (UTC) (envelope-from david@catwhisker.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.18.1/8.18.1) with ESMTP id 42EDnIAh075101 for ; Thu, 14 Mar 2024 13:49:18 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.18.1/8.18.1/Submit) id 42EDnIGj075100 for freebsd-ports@freebsd.org; Thu, 14 Mar 2024 06:49:18 -0700 (PDT) (envelope-from david) Date: Thu, 14 Mar 2024 06:49:18 -0700 From: David Wolfskill To: freebsd-ports@freebsd.org Subject: Build failure for graphics/drm-515-kmod in CURRENT Message-ID: Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oBBvma5vNSD0UaaK" Content-Disposition: inline X-Spamd-Bar: / X-Spamd-Result: default: False [-0.19 / 15.00]; REPLYTO_EQ_TO_ADDR(5.00)[]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.79)[-0.791]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; FREEFALL_USER(0.00)[david]; RCPT_COUNT_ONE(0.00)[1]; MISSING_XM_UA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DMARC_NA(0.00)[catwhisker.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; HAS_REPLYTO(0.00)[freebsd-ports@freebsd.org] X-Rspamd-Queue-Id: 4TwTJP2lP8z4m2n --oBBvma5vNSD0UaaK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is on my laptop, during a source-based update from main-n268772-906521f8176b to main-n268800-6a6ec90681cf, in the "make buildkernel" phase, as a result of: g1-70(15.0-C)[3] grep PORT /etc/src.conf PORTS_MODULES+=3Dx11/nvidia-driver-390 PORTS_MODULES+=3Dgraphics/drm-515-kmod (which has been there at least since 06 December, while tracking head daily). My ports tree is at main-n655899-de3ac29011f1; all installed ports were previously updated to that point (while the laptop was running stable/14-n266980-9a2b4665958e, from a different slice). /usr/local is the same file system regardless of which slice gets booted. The complete build typescript may be found at=20 https://www.catwhisker.org/~david/FreeBSD/ports/drm-515-kmod/ The fatal whine appears (to me) to be: =2E.. --- i915_irq.o --- cc -O2 -pipe -fno-strict-aliasing -DLINUXKPI_VERSION=3D51501 '-DKBUILD_MOD= NAME=3D"i915kms"' '-DLINUXKPI_PARAM_PREFIX=3Di915_' -DDRM_SYSCTL_PARAM_PREF= IX=3D_i915kms -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_A= MD_DC -DCONFIG_DRM_AMD_DC_SI -DCONFIG_AMD_PMC -DCONFIG_DRM_I915_FORCE_PROBE= =3D'"*"' -DCONFIG_DRM_I915_REQUEST_TIMEOUT=3D20000 -DCONFIG_DRM_I915_CAPTUR= E_ERROR -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=3D250 -DCONFIG_DRM_I915_STO= P_TIMEOUT=3D100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=3D640 -DCONFIG_DRM_I915_H= EARTBEAT_INTERVAL=3D2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=3D1 -DCONFIG_= DRM_I915_MAX_REQUEST_BUSYWAIT=3D8000 -DCONFIG_DRM_I915_FENCE_TIMEOUT=3D1000= 0 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_= FBDEV_EMULATION -DCONFIG_DRM_FBDEV_OVERALLOC=3D100 -DCONFIG_ARCH_HAVE_NMI_S= AFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DEBUG_FS -DCONFIG_DMI = -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_PM_SLEEP -DCONF= IG_SMP -DCONFIG_SUSPEND -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_X86 -DCO= NFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X= 86_64 -DCONFIG_DRM_AMD_DC_DCN -DCONFIG_DRM_AMD_DC_DCN3_0 -DCONFIG_DRM_AMD_D= C_DCN3_01 -DCONFIG_DRM_AMD_DC_DCN3_02 -DCONFIG_DRM_AMD_DC_DCN3_1 -Werror -= D_KERNEL -DKLD_MODULE -nostdinc -I/common/S4/obj/usr/src/amd64.amd64/sys/C= ANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/linu= xkpi/gplv2/include -I/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/p= orts/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/linuxkpi/bsd/inclu= de -I/usr/src/sys/compat/linuxkpi/common/include -I/common/S4/obj/usr/src/a= md64.amd64/sys/CANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-drm_= v5.15.118_4/linuxkpi/dummy/include -I/usr/src/sys/compat/linuxkpi/dummy/inc= lude -I/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/= drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/include -I/common/S4/obj/usr/src= /amd64.amd64/sys/CANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-dr= m_v5.15.118_4/include/drm -I/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/c= ommon/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/include/uap= i -I/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm= -515-kmod/work/drm-kmod-drm_v5.15.118_4/drivers/gpu -I/common/S4/obj/usr/sr= c/amd64.amd64/sys/CANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-d= rm_v5.15.118_4/drivers/gpu/drm/i915 -I/common/S4/obj/usr/src/amd64.amd64/sy= s/CANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/d= rivers/gpu/drm/i915/display -include /common/S4/obj/usr/src/amd64.amd64/sys= /CANARY/common/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/ob= j/common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-51= 5-kmod/work/drm-kmod-drm_v5.15.118_4/i915/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=3D./machine=3D/usr/src/sys/amd64= /include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -fdebug-pref= ix-map=3D./i386=3D/usr/src/sys/i386/include -MD -MF.depend.i915_irq.o = -MTi915_irq.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-floa= t -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual= -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-inc= lude-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtauto= logical-compare -Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality -= Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-ne= gative-value -Wno-address-of-packed-member -Wno-format-zero-length -Wno-poi= nter-arith -Wno-format -Wno-cast-qual -Wno-unused-but-set-variable -mno-ae= s -mno-avx -std=3Dgnu99 -c /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/c= ommon/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/drivers/gpu= /drm/i915/i915_irq.c -o i915_irq.o --- i915_drv.o --- /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-515= -kmod/work/drm-kmod-drm_v5.15.118_4/drivers/gpu/drm/i915/i915_drv.c:238:50:= error: too many arguments to function call, expected 3, have 5 237 | BUS_DEACTIVATE_RESOURCE(device_get_parent(vga), | ~~~~~~~~~~~~~~~~~~~~~~~ 238 | dev_priv->drm.dev->bsddev, SYS_RES_MEMORY, dev_= priv->mch_res_rid, | ^~~~= ~~~~~~~~~~~~~~~~~~ 239 | dev_priv->mch_res.bsd_res); | ~~~~~~~~~~~~~~~~~~~~~~~~~ =2E/bus_if.h:432:21: note: 'BUS_DEACTIVATE_RESOURCE' declared here 432 | static __inline int BUS_DEACTIVATE_RESOURCE(device_t _dev, device_t= _child, | ^ ~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~ 433 | struct resource *_r) | ~~~~~~~~~~~~~~~~~~~ /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-515= -kmod/work/drm-kmod-drm_v5.15.118_4/drivers/gpu/drm/i915/i915_drv.c:241:50:= error: too many arguments to function call, expected 3, have 5 240 | BUS_RELEASE_RESOURCE(device_get_parent(vga), | ~~~~~~~~~~~~~~~~~~~~ 241 | dev_priv->drm.dev->bsddev, SYS_RES_MEMORY, dev_= priv->mch_res_rid, | ^~~~= ~~~~~~~~~~~~~~~~~~ 242 | dev_priv->mch_res.bsd_res); | ~~~~~~~~~~~~~~~~~~~~~~~~~ =2E/bus_if.h:520:21: note: 'BUS_RELEASE_RESOURCE' declared here 520 | static __inline int BUS_RELEASE_RESOURCE(device_t _dev, device_t _c= hild, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~ 521 | struct resource *_res) | ~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. *** [i915_drv.o] Error code 1 make[1]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/po= rts/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/i915 make[1]: 1 error make[1]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/po= rts/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4/i915 make: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY/common/ports= /graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.118_4 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[4]: stopped in /common/ports/graphics/drm-515-kmod *** Error code 1 Stop. make[3]: stopped in /common/ports/graphics/drm-515-kmod *** [all] Error code 1 make[2]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY =2EERROR_TARGET=3D'all' =2EERROR_META_FILE=3D'' =2EMAKE.LEVEL=3D'2' MAKEFILE=3D'' =2EMAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose curdirOk=3Dyes' _ERROR_CMD=3D'.PHONY' =2ECURDIR=3D'/common/S4/obj/usr/src/amd64.amd64/sys/CANARY' =2EMAKE=3D'make' =2EOBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/sys/CANARY' =2ETARGETS=3D'all' CPUTYPE=3D'' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MACHINE_CPUARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20240108' make[2]: stopped in /common/S4/obj/usr/src/amd64.amd64/sys/CANARY =2EERROR_TARGET=3D'all' =2EERROR_META_FILE=3D'' =2EMAKE.LEVEL=3D'2' MAKEFILE=3D'' =2EMAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose curdirOk=3Dyes' _ERROR_CMD=3D'.PHONY' =2ECURDIR=3D'/common/S4/obj/usr/src/amd64.amd64/sys/CANARY' =2EMAKE=3D'make' =2EOBJDIR=3D'/common/S4/obj/usr/src/amd64.amd64/sys/CANARY' =2ETARGETS=3D'all' CPUTYPE=3D'' DESTDIR=3D'' LD_LIBRARY_PATH=3D'' MACHINE=3D'amd64' MACHINE_ARCH=3D'amd64' MACHINE_CPUARCH=3D'amd64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20240108' PATH=3D'/common/S4/obj/usr/src/amd64.amd64/tmp/bin:/common/S4/obj/usr/src/a= md64.amd64/tmp/usr/sbin:/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin:/com= mon/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/common/S4/obj/usr/src/a= md64.amd64/tmp/legacy/usr/bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy= /bin:/common/S4/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:= /usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/src' =2EMAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.e= nv.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/share/mk/= bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/local.sys.m= achine.mk /usr/src/share/mk/meta.sys.mk /usr/src/share/mk/local.meta.sys.en= v.mk /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/m= ake.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/s= rc.conf Makefile /usr/src/sys/conf/kern.pre.mk /usr/src/share/mk/bsd.own.mk= /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/= mk/bsd.compiler.mk /usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/bsd.li= nker.mk /usr/src/sys/conf/kern.opts.mk /usr/src/sys/conf/kern.post.mk /usr/= src/sys/conf/kern.mk /dev/null' =2EPATH=3D'. /common/S4/obj/usr/src/amd64.amd64/sys/CANARY' 808.12 real 5840.78 user 315.27 sys make[1]: stopped in /usr/src Any suggestions? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Alexey Navalny was a courageous man; Putin has made him a martyr. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --oBBvma5vNSD0UaaK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSTLzOSbomIK53fjFliipiWhXYx5QUCZfMAXl8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0OTMy RjMzOTI2RTg5ODgyQjlEREY4QzU5NjI4QTk4OTY4NTc2MzFFNQAKCRBiipiWhXYx 5TpbAQCpKv5ebTA4Lz01XOTG6sa+RwS5rQeorAcCtfg0hbgAzgD/dBFoFWiUEnX2 KpwrZRQ1F5J9lkTkE6U20DYes7n0UAE= =tx3C -----END PGP SIGNATURE----- --oBBvma5vNSD0UaaK--