Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jun 2026 11:42:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 295976] graphics/drm-515-kmod: compilation fails on stable/15 f77062f506f7
Message-ID:  <bug-295976-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295976

            Bug ID: 295976
           Summary: graphics/drm-515-kmod: compilation fails on stable/15
                    f77062f506f7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Scenario:
- bhyve VM just upgraded to stable/15 f77062f506f7
- recompiling ports (latest)
- graphics/drm-515-kmod gets recompiled due to FreeBSD version change (1501500
-> 1501501)

Result:
- The compilation fails with multiple errors in multiple files, all of the form
(copied from the full build log):

--- intel_context_sseu.o ---
In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_context_sseu.c:12:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:64:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe]          
   64 |         typecheck(typeof(ring->size), prev);
      |         ^                     
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({      type __var1; \                                                  
      |              ^   
--- i915_request.o ---              
2 errors generated.
--- intel_renderstate.o ---                                                     
In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_renderstate.c:10:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:63:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe]          
   63 |         typecheck(typeof(ring->size), next);
      |         ^                                                               
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({      type __var1; \
      |              ^                         
In file included from
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_renderstate.c:10:
/usr/tmp/net/orion/z/SRC/FreeBSD/ports/MBi/main/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.160_6/drivers/gpu/drm/i915/gt/intel_ring.h:64:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object 
uninitialized [-Werror,-Wdefault-const-init-var-unsafe]          
   64 |         typecheck(typeof(ring->size), prev);
      |         ^                                                               
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
   31 | ({      type __var1; \                                                  
      |              ^               

Expected result:
- Should compile successfully as it did on May 1, with stable/15 at
0baae6223a63 and latest ports at that time.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

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