Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 06:12:45 GMT
From:      Ross <basarevych@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174604: collectd-4.10.8_1 build error
Message-ID:  <201212210612.qBL6CjPD046151@red.freebsd.org>
Resent-Message-ID: <201212210620.qBL6K0rr023854@freefall.freebsd.org>

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

>Number:         174604
>Category:       ports
>Synopsis:       collectd-4.10.8_1 build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 21 06:20:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Ross
>Release:        FreeBSD 9.1-RELEASE
>Organization:
>Environment:
FreeBSD coffin.local 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r244030: Sat Dec  8 16:11:39 EET 2012     root@coffin.local:/usr/obj/share/freebsd/releng-9.1/src/sys/COFFIN  amd64
>Description:
# cd /usr/ports/net-mgmt/collectd
# make
..
cc1: warnings being treated as errors
In file included from network.c:69:
/usr/local/include/gcrypt.h:1336: warning: 'gcry_ac_io_mode_t' is deprecated
/usr/local/include/gcrypt.h:1337: warning: 'gcry_ac_io_type_t' is deprecated
/usr/local/include/gcrypt.h:1344: warning: 'gcry_ac_data_read_cb_t' is deprecated
/usr/local/include/gcrypt.h:1358: warning: 'gcry_ac_data_write_cb_t' is deprecated
/usr/local/include/gcrypt.h:1393: warning: 'gcry_md_algo_t' is deprecated
/usr/local/include/gcrypt.h:1401: warning: 'gcry_md_algo_t' is deprecated
/usr/local/include/gcrypt.h:1408: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1412: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1416: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1417: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1422: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1426: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1434: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1441: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1449: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1457: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1464: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1471: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1471: warning: 'gcry_ac_io_mode_t' is deprecated
/usr/local/include/gcrypt.h:1472: warning: 'gcry_ac_io_type_t' is deprecated
/usr/local/include/gcrypt.h:1478: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1478: warning: 'gcry_ac_io_mode_t' is deprecated
/usr/local/include/gcrypt.h:1479: warning: 'gcry_ac_io_type_t' is deprecated
/usr/local/include/gcrypt.h:1483: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1484: warning: 'gcry_ac_id_t' is deprecated
/usr/local/include/gcrypt.h:1488: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1492: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1492: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1493: warning: 'gcry_ac_key_type_t' is deprecated
/usr/local/include/gcrypt.h:1493: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1501: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1503: warning: 'gcry_ac_key_pair_t' is deprecated
/usr/local/include/gcrypt.h:1508: warning: 'gcry_ac_key_pair_t' is deprecated
/usr/local/include/gcrypt.h:1509: warning: 'gcry_ac_key_type_t' is deprecated
/usr/local/include/gcrypt.h:1513: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1517: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1517: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1521: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1522: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1527: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1527: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1532: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1536: warning: 'gcry_ac_key_pair_t' is deprecated
/usr/local/include/gcrypt.h:1542: warning: 'gcry_ac_em_t' is deprecated
/usr/local/include/gcrypt.h:1544: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1545: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1551: warning: 'gcry_ac_em_t' is deprecated
/usr/local/include/gcrypt.h:1553: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1554: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1560: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1562: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1564: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1570: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1572: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1574: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1579: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1580: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1582: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1588: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1589: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1591: warning: 'gcry_ac_data_t' is deprecated
/usr/local/include/gcrypt.h:1599: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1600: warning: 'gcry_ac_scheme_t' is deprecated
/usr/local/include/gcrypt.h:1602: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1603: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1604: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1612: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1613: warning: 'gcry_ac_scheme_t' is deprecated
/usr/local/include/gcrypt.h:1615: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1616: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1617: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1625: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1626: warning: 'gcry_ac_scheme_t' is deprecated
/usr/local/include/gcrypt.h:1628: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1629: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1630: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1639: warning: 'gcry_ac_handle_t' is deprecated
/usr/local/include/gcrypt.h:1640: warning: 'gcry_ac_scheme_t' is deprecated
/usr/local/include/gcrypt.h:1642: warning: 'gcry_ac_key_t' is deprecated
/usr/local/include/gcrypt.h:1643: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1644: warning: 'gcry_ac_io_t' is deprecated
/usr/local/include/gcrypt.h:1650: warning: 'gcry_ac_id_t' is deprecated
/usr/local/include/gcrypt.h:1657: warning: 'gcry_ac_id_t' is deprecated
gmake[3]: *** [network_la-network.lo] Error 1
gmake[3]: Leaving directory `/share/freebsd/ports/net-mgmt/collectd/work/collectd-4.10.8/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/share/freebsd/ports/net-mgmt/collectd/work/collectd-4.10.8/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/share/freebsd/ports/net-mgmt/collectd/work/collectd-4.10.8/src'
gmake: *** [all-recursive] Error 1
*** [do-build] Error code 1

Stop in /share/freebsd/ports/net-mgmt/collectd.
*** [build] Error code 1

Stop in /share/freebsd/ports/net-mgmt/collectd.
>How-To-Repeat:

>Fix:
# make clean
# make extract
- Apply the patch
# make

Patch attached with submission follows:

--- work/collectd-4.10.8/src/Makefile.am.orig	2012-12-21 08:11:13.614878247 +0200
+++ work/collectd-4.10.8/src/Makefile.am	2012-12-21 08:11:22.715880751 +0200
@@ -7,7 +7,7 @@
 endif
 
 if COMPILER_IS_GCC
-AM_CFLAGS = -Wall -Werror
+AM_CFLAGS = -Wall
 endif
 
 AM_CPPFLAGS = -DPREFIX='"${prefix}"'


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



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