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.
State Changed From-To: open->feedback Awaiting maintainers feedback
State Changed From-To: feedback->open Feedback received.
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
State Changed From-To: open->closed Committed, thanks!