Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 07:10:32 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        x11@freebsd.org
Subject:   Build failure for graphics/drm-fbsd13-kmod during stable/13 update
Message-ID:  <Ypy5WFThjj0QdAD9@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--ueAxGdxBYHcXtaE8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On the laptop where I track stable/13 daily that uses
graphics/drm-fbsd13-kmod, I have

PORTS_MODULES+=3Dgraphics/drm-fbsd13-kmod

in /etc/src.conf.  Today, it was running:
g1-48(13.1-S)[2] uname -aUK
FreeBSD g1-48.catwhisker.org 13.1-STABLE FreeBSD 13.1-STABLE #495 stable/13=
-n250980-2699604d8eae: Sat Jun  4 05:14:24 PDT 2022     root@g1-48.catwhisk=
er.org:/common/S3/obj/usr/src/amd64.amd64/sys/CANARY amd64 1301503 1301503

and after updating sources to stable/13-n251011-2b005e89681b and
ports to main-n585690-75fc11eb3dbe, the kernel build failed:

=2E..
cc  -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME=3D"i915kms"' '-DLINUXK=
PI_PARAM_PREFIX=3Di915_' -DDRM_SYSCTL_PARAM_PREFIX=3D_i915kms -DLINUXKPI_VE=
RSION=3D50000 -DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_A=
MD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFIG_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_=
ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE=3D'"*"' -DCONFIG_DRM_I915_CAPTU=
RE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=3D5 -DCONFIG_DRM_I915_USERFAULT_AUT=
OSUSPEND=3D250 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS =
-DCONFIG_DRM_VMWGFX_FBCON -DCONFIG_DRM_FBDEV_EMULATION -DCONFIG_DRM_FBDEV_O=
VERALLOC=3D100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_S=
AFE_CMPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONF=
IG_MTRR -DCONFIG_PCI -DCONFIG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_S=
LEEP -DCONFIG_AGP -DCONFIG_X86 -DCONFIG_X86_PAT -DCONFIG_64BIT -DCONFIG_AS_=
MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X64_64 -DCONFIG_DRM_AMD_DC_DCN1_0 -DCONFI=
G_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC_DSC_SUP=
PORT  -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/common/S3/obj/usr/src/am=
d64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-dr=
m_v5.4.144_7/linuxkpi/gplv2/include -I/common/S3/obj/usr/src/amd64.amd64/sy=
s/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7=
/linuxkpi/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include -I/comm=
on/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-k=
mod/work/drm-kmod-drm_v5.4.144_7/linuxkpi/dummy/include -I/common/S3/obj/us=
r/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm=
-kmod-drm_v5.4.144_7/include -I/common/S3/obj/usr/src/amd64.amd64/sys/CANAR=
Y/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/includ=
e/drm -I/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics=
/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/include/uapi -I/common/S3/obj=
/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/=
drm-kmod-drm_v5.4.144_7/drivers/gpu -I/common/S3/obj/usr/src/amd64.amd64/sy=
s/CANARY/common/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7=
/drivers/gpu/drm/i915 -I/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/commo=
n/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/d=
rm/i915/display -include /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/comm=
on/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/obj/common/S=
3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbsd13-kmod/=
work/drm-kmod-drm_v5.4.144_7/i915/opt_global.h -I. -I/usr/src/sys -I/usr/sr=
c/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer -mno-omit-lea=
f-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include=
 -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include     -MD  -MF.depend.=
intel_pm.o -MTintel_pm.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse =
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstac=
k-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W=
missing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D=
__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-=
option -Wno-unknown-pragmas -Wno-error=3Dtautological-compare -Wno-error=3D=
empty-body -Wno-error=3Dparentheses-equality -Wno-error=3Dunused-function -=
Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-=
packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length =
-Wno-pointer-arith -Wno-format -Wno-cast-qual -Wno-error=3Dunused-but-set-v=
ariable -Wno-incompatible-pointer-types-discards-qualifiers  -mno-aes -mno-=
avx  -std=3Diso9899:1999 -c /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/c=
ommon/ports/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/g=
pu/drm/i915/intel_pm.c -o intel_pm.o
/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbs=
d13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:=
12: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-inst=
ead-of-logical]
        changed =3D ilk_increase_wm_latency(dev_priv, dev_priv->wm.pri_late=
ncy, 12) |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~
/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbs=
d13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:=
12: note: cast one or both operands to int to silence this warning
/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbs=
d13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:=
12: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-inst=
ead-of-logical]
        changed =3D ilk_increase_wm_latency(dev_priv, dev_priv->wm.pri_late=
ncy, 12) |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~~~
                                                                           =
       ||
/common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/ports/graphics/drm-fbs=
d13-kmod/work/drm-kmod-drm_v5.4.144_7/drivers/gpu/drm/i915/intel_pm.c:3028:=
12: note: cast one or both operands to int to silence this warning
2 errors generated.
*** Error code 1

Stop.
make[6]: stopped in /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/po=
rts/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7/i915
*** Error code 1

Stop.
make[5]: stopped in /common/S3/obj/usr/src/amd64.amd64/sys/CANARY/common/po=
rts/graphics/drm-fbsd13-kmod/work/drm-kmod-drm_v5.4.144_7
=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-fbsd13-kmod
*** Error code 1

Stop.
make[3]: stopped in /common/ports/graphics/drm-fbsd13-kmod
*** [all] Error code 1

make[2]: stopped in /common/S3/obj/usr/src/amd64.amd64/sys/CANARY


My (headless) build machine successfully updated to
freebeast(13.1-S)[5] uname -aUK
FreeBSD freebeast.catwhisker.org 13.1-STABLE FreeBSD 13.1-STABLE #110 stabl=
e/13-n251011-2b005e89681: Sun Jun  5 06:19:00 PDT 2022     root@freebeast.c=
atwhisker.org:/common/S3/obj/usr/src/amd64.amd64/sys/GENERIC amd64 1301504 =
1301504

and is presently running poudriere, building packages; if it builds
graphics/drm-fbsd13-kmod successfully, I will follow-up with that
information.

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
"Putin is a paranoid dictator.  Putin must go. He started a senseless war
and is leading Russia into a ditch." - Egor Polyakov & Alexandra Miroshniko=
va

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--ueAxGdxBYHcXtaE8
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYpy5WF8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE
MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix
1MCvAP9Baq3VFZeORNzGoBKmsqa6MH5wRiPBa2Nwxj+ahLM2kAD+KP8y52re66mW
AN/jgOhhcLjJmGyrNcEUM/ETB+5vsQI=
=0O8y
-----END PGP SIGNATURE-----

--ueAxGdxBYHcXtaE8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Ypy5WFThjj0QdAD9>