[Bug 280616] x11-drivers/xorgxrdp fails to build with 'drm.h' file not found error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 04 Aug 2024 18:20:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280616

            Bug ID: 280616
           Summary: x11-drivers/xorgxrdp fails to build with 'drm.h' file
                    not found error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: meta@FreeBSD.org
          Reporter: ddrinnon@cdor.net
          Assignee: meta@FreeBSD.org
             Flags: maintainer-feedback?(meta@FreeBSD.org)

When building x11-drivers/xorgxrdp in Poudriere, the build fails with 'drm.h'
file not found error:

...
Making all in xrdpdev
/bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I..  
-isystem /usr/local/include  -I/usr/local/include/xorg -fvisibility=hidden
-I/usr/local/include/pixman-1 
-I/wrkdirs/usr/ports/x11-drivers/xorgxrdp/work/xrdp-0.10.1/common 
-DPACKAGE_VERSION_MAJOR=0  -DPACKAGE_VERSION_MINOR=10 
-DPACKAGE_VERSION_PATCHLEVEL=2  -I../module   -O2 -pipe 
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing 
-Wall -Wwrite-strings -MT xrdpdev.lo -MD -MP -MF .deps/xrdpdev.Tpo -c -o
xrdpdev.lo xrdpdev.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -isystem /usr/local/include
-I/usr/local/include/xorg -fvisibility=hidden -I/usr/local/include/pixman-1
-I/wrkdirs/usr/ports/x11-drivers/xorgxrdp/work/xrdp-0.10.1/common
-DPACKAGE_VERSION_MAJOR=0 -DPACKAGE_VERSION_MINOR=10
-DPACKAGE_VERSION_PATCHLEVEL=2 -I../module -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -Wall -Wwrite-strings -MT
xrdpdev.lo -MD -MP -MF .deps/xrdpdev.Tpo -c xrdpdev.c  -fPIC -DPIC -o
.libs/xrdpdev.o
xrdpdev.c:49:10: fatal error: 'drm.h' file not found
   49 | #include <drm.h>
      |          ^~~~~~~
1 error generated.
*** Error code 1

...

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