Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2013 12:39:08 +0200
From:      Oliver Lehmann <lehmann@ans-netz.de>
To:        ports@freebsd.org
Subject:   Fwd: [RELEASE - head-amd64-default][devel/libwfut] Build failed for libwfut-0.2.2_1 during build
Message-ID:  <20130913123908.Horde.ewel7xLT9UKUjtc8afUmfQ8@avocado.salatschuessel.net>

next in thread | raw e-mail | index | archive | help

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@freebsd.org -----
   Datum: Thu, 12 Sep 2013 05:35:27 GMT
     Von: pkg-fallout@freebsd.org
Betreff: [RELEASE - head-amd64-default][devel/libwfut] Build failed  
for libwfut-0.2.2_1 during build
      An: oliver@freebsd.org
      Cc: pkg-fallout@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@FreeBSD.org
Last committer: sunpoet@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 -----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130913123908.Horde.ewel7xLT9UKUjtc8afUmfQ8>