From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Apr 7 18:00:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ABB41065670 for ; Mon, 7 Apr 2008 18:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 769058FC24 for ; Mon, 7 Apr 2008 18:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m37I01WP086841 for ; Mon, 7 Apr 2008 18:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m37I019V086840; Mon, 7 Apr 2008 18:00:01 GMT (envelope-from gnats) Resent-Date: Mon, 7 Apr 2008 18:00:01 GMT Resent-Message-Id: <200804071800.m37I019V086840@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Petko Bordjukov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6541065671 for ; Mon, 7 Apr 2008 17:56:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B4188FC16 for ; Mon, 7 Apr 2008 17:56:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m37HuA5J067540 for ; Mon, 7 Apr 2008 17:56:10 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m37HuAMI067539; Mon, 7 Apr 2008 17:56:10 GMT (envelope-from nobody) Message-Id: <200804071756.m37HuAMI067539@www.freebsd.org> Date: Mon, 7 Apr 2008 17:56:10 GMT From: Petko Bordjukov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/122540: throttled compilation failure X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2008 18:00:01 -0000 >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: