Subject: Re: another wm/awesome patch
To: tech-pkg@NetBSD.org <tech-pkg@netbsd.org>
From: Justin C. Sherrill <justin@shiningsilence.com>
List: tech-pkg
Date: 11/14/2007 19:02:19
I'm getting the error below building wm/awesome on DragonFly 1.10.1.
It's complaining about some types in /usr/include/regex.h, which I think
means there's another header file somewhere that has those things defined
which isn't getting included.
Based on my limited knowledge, it could be that DragonFly is defining
those types in a separate file, and those values (at least on Linux or
other BSDs) are normally included in another file. If I'm right, someone
can hopefully point out the proper include.
Error follows, for completeness:
# bmake
WARNING: [depends.mk] Unknown object format for installed package
digest-20050731
=> Bootstrap dependency digest>=20010302: found digest-20050731
===> Skipping vulnerability checks.
WARNING: No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found.
WARNING: To fix, install the pkgsrc/security/audit-packages
WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
=> Checksum SHA1 OK for awesome-1.3.tar.gz
=> Checksum RMD160 OK for awesome-1.3.tar.gz
===> Installing dependencies for awesome-1.3nb3
=> Build dependency pkg-config>=0.19: found pkg-config-0.21nb2
=> Build dependency renderproto>=0.9.1: found renderproto-0.9.2
=> Build dependency randrproto>=1.2.0: found randrproto-1.2.1
=> Build dependency xextproto>=7.0: found xextproto-7.0.2
=> Build dependency inputproto>=1.4: found inputproto-1.4.2.1
=> Build dependency xineramaproto>=1.1.1: found xineramaproto-1.1.2
=> Build dependency kbproto>=1.0.2: found kbproto-1.0.3
=> Build dependency xproto>=7.0.9: found xproto-7.0.10
=> Full dependency libXft>=2.1.10: found libXft-2.1.12
=> Full dependency libXrandr>=1.1.2: found libXrandr-1.2.2
=> Full dependency libXinerama>=1.0.1: found libXinerama-1.0.2
=> Full dependency libconfig>=1.1.3: found libconfig-1.1.3
===> Overriding tools for awesome-1.3nb3
===> Extracting for awesome-1.3nb3
===> Patching for awesome-1.3nb3
=> Applying pkgsrc patches for awesome-1.3nb3
===> Creating toolchain wrappers for awesome-1.3nb3
===> Configuring for awesome-1.3nb3
===> Building for awesome-1.3nb3
awesome build options:
LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
CFLAGS = -O2 -I/usr/pkg/include -I/usr/include
-I/usr/pkg/include/freetype2 -Wall -I. -I/usr/include
-I/usr/pkg/include/X11 -I/usr/pkg/include -I/usr/pkg/include/freetype2
-DVERSION="1.3"
LDFLAGS = -L/usr/lib -lc -L/usr/pkg/lib/X11 -lX11 -Wl,-R/usr/pkg/lib
-L/usr/pkg/lib -lconfig -lXft -lXrender -lfontconfig -lfreetype -lz -lX11
-lXext -lXrandr -lXinerama
CC = cc
(CC) client.c
(CC) draw.c
(CC) event.c
(CC) layout.c
(CC) awesome.c
(CC) tag.c
(CC) util.c
(CC) config.c
(CC) screen.c
(CC) statusbar.c
(CC) layouts/tile.c
(CC) layouts/floating.c
In file included from ./tag.h:25,
from layouts/floating.c:22:
/usr/include/regex.h:47: error: syntax error before "regoff_t"
/usr/include/regex.h:51: error: syntax error before "size_t"
/usr/include/regex.h:57: error: syntax error before "regoff_t"
/usr/include/regex.h:101: error: syntax error before "regerror"
/usr/include/regex.h:101: error: syntax error before "size_t"
/usr/include/regex.h:103: error: syntax error before "size_t"
*** Error code 1
Stop.
bmake: stopped in /usr/obj/pkgsrc/wm/awesome/work/awesome-1.3
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/wm/awesome
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/wm/awesome