ports/99957: libgnugetopt incompatibility
Steinar Børmer
steinar at gmx.net
Sun Jul 9 11:30:16 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list