Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

invalid built-in macro "__DATE__" ?



Moi,

Netra 20 fails building packages (perl5, apache etc) with:

/bin/sh /home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/build/libtool
--silent --mode=compile cc  -pthread  -O2 -I/usr/pkg/include
-I/usr/pkg/include/apr-0 -I/usr/include -I/usr/X11R7/include  -DNETBSD
-DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/pkg/include
-I/usr/pkg/include/apr-0 -I/usr/include -I/usr/X11R7/include
-I/usr/pkg/include/apr-0 -I/usr/X11R7/include -I.
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/os/unix
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/server/mpm/prefork
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/modules/http
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/modules/filters
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/modules/proxy
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/include
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/modules/generators
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/server
-I/usr/include/openssl
-I/home/pkgsrc/pkgsrc/www/apache2/work/httpd-2.0.64/modules/dav/main
-c buildmark.c && touch buildmark.lo
buildmark.c:21:1: internal error: invalid built-in macro "__DATE__"

From buildmark.c:

#if defined(__DATE__) && defined(__TIME__)
static const char server_built[] = __DATE__ " " __TIME__;
#else
static const char server_built[] = "unknown";
#endif

NetBSD kameli.test.local 5.99.51 NetBSD 5.99.51 (GENERIC) #0: Sat May
14 08:01:47 UTC 2011
builds%b8.netbsd.org@localhost:/home/builds/ab/HEAD/sparc64/201105132300Z-obj/home/builds/ab/HEAD/src/sys/arch/sparc64/compile/GENERIC
sparc64

pkgsrc is something fresh(ish) grabbed recently, pkgsrc-2011Q1 (??).
Quick google turned up nothing obvious.

pkgsrc, current or thing-between-keyboard-chair issue ?

Thanks,
-- 
jht


Home | Main Index | Thread Index | Old Index