Date: Sun, 9 Jul 2006 11:23:37 GMT From: Steinar Børmer <steinar@gmx.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/99957: libgnugetopt incompatibility Message-ID: <200607091123.k69BNbNk003345@www.freebsd.org> Resent-Message-ID: <200607091130.k69BUFNC061043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99957 >Category: ports >Synopsis: libgnugetopt incompatibility >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: Sun Jul 09 11:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Steinar Børmer >Release: FreeBSD 6.1-RELEASE-p3 i386 >Organization: >Environment: FreeBSD pallotta.studby.uio.no 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Sat Jul 8 12:12:34 CEST 2006 root@pallotta.studby.uio.no:/usr/obj/usr/src/sys/PALLOTTA i386 >Description: devel/libgnugetopt causes problems when compiling print/hplip. In file included from /usr/local/include/net-snmp/utilities.h:31, from /usr/local/include/net-snmp/net-snmp-includes.h:75, from io/hpiod/system.cpp:30: /usr/local/include/getopt.h:115: error: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:377: error: previous declaration `int getopt(int, char* const*, const char*)' here *** Error code 1 Stop in /usr/ports/print/hplip/work/hplip-0.9.11. *** Error code 1 Stop in /usr/ports/print/hplip/work/hplip-0.9.11. *** Error code 1 Stop in /usr/ports/print/hplip. This seems to be the same problem as in http://www.freebsd.org/cgi/query-pr.cgi?pr=54866 and http://www.freebsd.org/cgi/query-pr.cgi?pr=54037 The oldest of these PRs is now three years old, and the problem persists. Please note that print/hplip installs fine without devel/libgnugetopt installed. >How-To-Repeat: Install devel/libgnugetopt, then install print/hplip. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607091123.k69BNbNk003345>