Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2008 17:56:10 GMT
From:      Petko Bordjukov <bordjukov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122540: throttled compilation failure
Message-ID:  <200804071756.m37HuAMI067539@www.freebsd.org>
Resent-Message-ID: <200804071800.m37I019V086840@freefall.freebsd.org>

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

>Number:         122540
>Category:       ports
>Synopsis:       throttled compilation failure
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 07 18:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Petko Bordjukov
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD gate.supranet.eu 7.0-STABLE FreeBSD 7.0-STABLE #1: Mon Mar  3 13:28:45 EET 2008     root@gate.supranet.eu:/var/src/sys/i386/compile/CUSTOM  i386
>Description:
root@gate[~]: cd /usr/ports/net/throttled/
root@gate[throttled]: make
===>  Extracting for throttled-0.4.1
=> MD5 Checksum OK for throttled-0.4.1.tgz.
=> SHA256 Checksum OK for throttled-0.4.1.tgz.
===>  Patching for throttled-0.4.1
===>   throttled-0.4.1 depends on executable: gmake - found
===>  Configuring for throttled-0.4.1
===>  Building for throttled-0.4.1
cd src; gmake throttled; mv throttled ..; cd ..
gmake[1]: Entering directory `/var/ports/net/throttled/work/throttled-0.4.1/src'
c++ -o throttled -O2 -fno-strict-aliasing -pipe throttled.cpp -pthread
throttled.cpp: In function 'int main(int, char**)':
throttled.cpp:45: error: 'SIGHUP' was not declared in this scope
throttled.cpp:45: error: 'signal' was not declared in this scope
throttled.cpp:46: error: 'SIGINT' was not declared in this scope
throttled.cpp:47: error: 'SIGKILL' was not declared in this scope
throttled.cpp:48: error: 'SIGTERM' was not declared in this scope
throttled.cpp:49: error: 'SIGQUIT' was not declared in this scope
throttled.cpp:50: error: 'SIGUSR1' was not declared in this scope
throttled.cpp:51: error: 'SIGUSR2' was not declared in this scope
throttled.cpp: In function 'void sigspeedchangeproc(int)':
throttled.cpp:359: error: 'SIGUSR1' was not declared in this scope
throttled.cpp:363: error: 'SIGUSR2' was not declared in this scope
gmake[1]: *** [throttled] Error 1
gmake[1]: Leaving directory `/var/ports/net/throttled/work/throttled-0.4.1/src'
mv: throttled: No such file or directory
root@gate[throttled]:

>How-To-Repeat:
cd /usr/ports/net/throttled
make
>Fix:
include signal.h

Patch attached with submission follows:

--- /usr/ports/net/throttled/work/throttled-0.4.1/src/throttled.cpp	2005-08-21 13:01:01.000000000 +0300
+++ /root/throttled.cpp	2008-04-07 20:31:07.000000000 +0300
@@ -18,6 +18,7 @@
 */
 
 #include "throttled.h"
+#include "signal.h"
 
 /*
  Main function - start program here.


>Release-Note:
>Audit-Trail:
>Unformatted:



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