Date: Wed, 22 May 2019 15:16:30 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238051] graphics/drm-current-kmod ${OSVERSION} gets wrong __FreeBSD_version (does not use param.h from ${SRC_BASE}) Message-ID: <bug-238051-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238051 Bug ID: 238051 Summary: graphics/drm-current-kmod ${OSVERSION} gets wrong __FreeBSD_version (does not use param.h from ${SRC_BASE}) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: jmd@freebsd.org Reporter: emaste@freebsd.org Assignee: jmd@freebsd.org Flags: maintainer-feedback?(jmd@freebsd.org) I tried building drm-current-kmod with SRC_BASE=3D/home/emaste/src/freebsd = (which is the kernel I installed and am running); the rest of my userland has not = yet been updated (and so /usr/include/sys/param.h has an older __FreeBSD_versio= n). The kmod build failed with the "not supported on older CURRENT" error. I commented out the check: .if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1300029 IGNORE=3D not supported on older CURRENT (${OSVERSION}), no = kernel support .endif built the module, and it works correctly. % sysctl kern.osreldate kern.osreldate: 1300029 % grep 'propagated to newvers' /home/emaste/src/freebsd/sys/sys/param.h /usr/include/sys/param.h=20 /home/emaste/src/freebsd/sys/sys/param.h:#define __FreeBSD_version 1300029= =20=20=20=20 /* Master, propagated to newvers */ /usr/include/sys/param.h:#define __FreeBSD_version 1300003 /* Master, propagated to newvers */ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238051-7788>