[Bug 295284] devel/libgtop: 'offset.inc' file not found
[email protected] Thu, 14 May 2026 15:03:03 +0000
| Newsgroups | gmane.os.freebsd.devel.gnome |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295284
Bug ID: 295284
Summary: devel/libgtop: 'offset.inc' file not found
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Attachment #270724 text/plain
mime type:
Created attachment 270724
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270724&action=edit
poudriere bulk -j FreeBSD:16:amd64
The build error:
/bin/sh ../../libtool --tag=CC --mode=link cc -Winline -Wall
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -version-info 12:0:1 -o
libgtop_sysdeps-2.0.la nosuid.lo siglist.lo sysinfo.lo shm_limits.lo cpu.lo
msg_limits.lo sem_limits.lo loadavg.lo uptime.lo netlist.lo fsusage.lo mem.lo
disk.lo mountlist.lo procopenfiles.lo procwd.lo procaffinity.lo
glibtop_private.lo open.lo -lutil
In file included from procmap.c:54:
In file included from /usr/include/sys/mount.h:39:
In file included from /usr/include/sys/systm.h:100:
/usr/include/sys/kpilite.h:31:10: fatal error: 'offset.inc' file not found
31 | #include "offset.inc"
| ^~~~~~~~~~~~
Bug was introduced in freebsd-src@32cf4514cad66ff69ffc96ede20d8debc9b96790
which added `#include <sys/systm.h>` to `mount.h`
`systm.h` in turn includes `kpilite.h` which has the following ifdef that seems
to return true when building this port:
#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || defined(KLD_TIED)) &&
defined(_KERNEL)
#include "offset.inc"
--
You are receiving this mail because:
You are the assignee for the bug.