Bug 174604 - net-mgmt/collectd 4.10.8_1 build error
Summary: net-mgmt/collectd 4.10.8_1 build error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-21 06:20 UTC by basarevych
Modified: 2012-12-21 15:53 UTC (History)
0 users

See Also:


Attachments
file.diff (296 bytes, patch)
2012-12-21 06:20 UTC, basarevych
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description basarevych 2012-12-21 06:20:00 UTC
# 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.

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

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-21 13:13:48 UTC
Maintainer of net-mgmt/collectd,

Please note that PR ports/174604 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174604

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-12-21 13:13:49 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Krzysztof 2012-12-21 14:30:16 UTC
Hello,

On Fri, Dec 21, 2012 at 01:13:48PM +0000, Edwin Groothuis wrote:
> Maintainer of net-mgmt/collectd,
> 
> Please note that PR ports/174604 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174604
> 
Yes, I approve this patch. Thanks a lot for help to maintain collectd
port.

Greetings,
-- 
Krzysztof Stryjek
UNIX administrator/Juniper Networks Specialist
email: wtp (at) bsdserwis (dot) com
http://www.linkedin.com/in/KrzysztofStryjek
GPG fingerprint: 8BD7 40CE 8994 0BBE CE6C  91CD 1292 8959 DC61 0E76

In theory, there is no difference between theory and practice.
In practice, there is.
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2012-12-21 15:53:24 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!