Subject: Several packages build fail under 1.6
To: None <tech-pkg@netbsd.org>
From: Florence Henry <flo@kiwi.obspm.fr>
List: tech-pkg
Date: 10/11/2002 10:18:41
Hello,

I noticed several failure of package building under 1.6.
All are related with the X11/Xarch.h file.

I first saw this problem with the gv-3.5.8nb2 package and I thought it was
this package's fault. But the same errors appeared at the building of
windowmaker-0.80.1. The same version of this package was built
successfully a few weeks ago under NetBSD 1.5Y.

Buildings fail with this error :

[...]
cc -DHAVE_CONFIG_H -I. -I. -I../src -I../WINGs/WINGs -I../wrlib -I../src
-DRESOURCE_PATH=\"/usr/X11R6/share/WINGs\"
-I/usr/pkgsrc/wm/windowmaker/work/.buildlink/include
-I/usr/pkg/share/x11-links/include -DDEBUG
-I/usr/pkg/include
-I/usr/X11R6/include
-DLOCALEDIR=\"/usr/X11R6/share/locale\"
-I/usr/pkg/include
-I/usr/X11R6/include -O2 -c handlers.c
In file included from handlers.c:13:
/usr/pkg/share/x11-links/include/X11/Xos.h:284: X11/Xarch.h: No such file
or directory
*** Error code 1

Note that Xarch.h does exit on my system :

root@kiwi[/root]#locate Xarch.h
/usr/X11R6/include/X11/Xarch.h
root@kiwi[/root]#ll /usr/X11R6/include/X11/Xarch.h
-r--r--r--  1 root  wheel  3511 Sep  8 14:57 /usr/X11R6/include/X11/Xarch.h

and the flag -I/usr/X11R6/include is present on the compilation line

However on both packages, building can be finished by entering the
"work/<package_dir>" directory, and typing make in it.

returning back in the "normal" directory, it is then possible to finish
installation by a "make install".

I sent a bug report yesterday for the gv package (pkg/18607: building of
gv-3.5.8nb2 fails), but as it finally seems wider, I write it here.


---
Florence HENRY