When trying to build drm-next-kmod-g20170829 in poudriere on FreeBSD 12-current r322723 I get the following error: --- drm_debugfs.o --- drm_debugfs.c:57:38: error: no member named 'i_private' in 'struct vnode' struct drm_info_node *node = inode->i_private; ~~~~~ ^ drm_debugfs.c:279:37: error: no member named 'i_private' in 'struct vnode' struct drm_connector *dev = inode->i_private; ~~~~~ ^ drm_debugfs.c:326:37: error: no member named 'i_private' in 'struct vnode' struct drm_connector *dev = inode->i_private; ~~~~~ ^ 3 errors generated. *** [drm_debugfs.o] Error code 1 The full poudriere build log is attached for reference. Any ideas what is causing this?
Created attachment 185918 [details] Poudriere build log for graphics/drm-next-kmod-g20170829
I've never seen this. This may be one of the 12-CURRENT versions that is of the right OSVERSION but still missing a few commits. Could you upgrade to recent HEAD and check again?
I can try this weekend, but r322723 is from 20th August 2017 (11 days ago) - that's pretty recent :)
Well, the last necessary change went into base just before the port got committed. Port was committed on Aug 29. :-)
I just updated my box to 12-CURRENT r323124M and it is working now (this build error no longer occurs). Perhaps the following line in the port should be modified to only allow newer FreeBSD 12-CURRENT versions? .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200039 My OSVERSION before (broken) was: 1200040 My OSVERSION after (working) is: 1200043
I've changed the FreeBSD version check to the one suggested by you. Thanks!
A commit references this bug: Author: jmd Date: Thu Sep 14 02:02:25 UTC 2017 New revision: 449819 URL: https://svnweb.freebsd.org/changeset/ports/449819 Log: graphics/drm-next-kmod: update to later github snapshot which includes improvements made in response to bug reports and removes the collision of the port's drm.ko with base drm.ko. Also increase the FreeBSD version check in response to PR 221937. Additionally, improve pkg-message and note that radeonkms is also available in this port. PR: 221937 Reviewed by: swills (mentor) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D12348 Changes: head/graphics/drm-next-kmod/Makefile head/graphics/drm-next-kmod/distinfo head/graphics/drm-next-kmod/pkg-descr head/graphics/drm-next-kmod/pkg-message