Fwd: [RELEASE - head-amd64-default][devel/libwfut] Build failed for libwfut-0.2.2_1 during build

Oliver Lehmann lehmann at ans-netz.de
Fri Sep 13 10:39:18 UTC 2013


Hi,

has someone an idea what could cause this error?
I'm not able to reproduce it with clang on FreeBSD 9

It looks like stdlib.h is not included by it is via libwfut/platform.cpp

   Greetings


----- Weitergeleitete Nachricht von pkg-fallout at freebsd.org -----
   Datum: Thu, 12 Sep 2013 05:35:27 GMT
     Von: pkg-fallout at freebsd.org
Betreff: [RELEASE - head-amd64-default][devel/libwfut] Build failed  
for libwfut-0.2.2_1 during build
      An: oliver at freebsd.org
      Cc: pkg-fallout at freebsd.org

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     oliver at FreeBSD.org
Last committer: sunpoet at FreeBSD.org
Ident:          $FreeBSD: head/devel/libwfut/Makefile 322783  
2013-07-11 16:26:26Z sunpoet $
Log URL:         
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/libwfut-0.2.2_1.log
Build URL:       
http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s
Log:

====>> Building devel/libwfut
[...]
Making all in tools
c++ -DHAVE_CONFIG_H  -I.. -I..     -O2 -pipe -fno-strict-aliasing  
-Wall -O3 -DNDEBUG -DTIXML_USE_STL=1 -I/usr/local/include/sigc++-2.0  
-I/usr/local/lib/sigc++-2.0/include   -I/usr/local/include -MT wfut.o  
-MD -MP -MF .deps/wfut.Tpo -c -o wfut.o wfut.cpp
wfut.cpp:193:5: error: use of undeclared identifier 'srand'
     srand((unsigned)time(NULL));
     ^
wfut.cpp:196:5: error: use of undeclared identifier 'srand48'
     srand48((unsigned)time(NULL));
     ^
wfut.cpp:306:28: error: use of undeclared identifier 'unlink'; did you  
mean 'inline'?
   if (os_exists(tmp_wfut)) unlink(tmp_wfut.c_str());
                            ^
3 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/libwfut/work/libwfut-0.2.2/tools
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/libwfut/work/libwfut-0.2.2
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/libwfut/work/libwfut-0.2.2
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libwfut
===>  Cleaning for libwfut-0.2.2_1

----- Ende der weitergeleiteten Nachricht -----



More information about the freebsd-ports mailing list