From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jul 9 11:30:16 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14AF916A4DA for ; Sun, 9 Jul 2006 11:30:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8928143D4C for ; Sun, 9 Jul 2006 11:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k69BUFCw061044 for ; Sun, 9 Jul 2006 11:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k69BUFNC061043; Sun, 9 Jul 2006 11:30:15 GMT (envelope-from gnats) Resent-Date: Sun, 9 Jul 2006 11:30:15 GMT Resent-Message-Id: <200607091130.k69BUFNC061043@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Steinar Børmer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D9AC16A4DA for ; Sun, 9 Jul 2006 11:23:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B3D343D45 for ; Sun, 9 Jul 2006 11:23:38 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k69BNbKm003346 for ; Sun, 9 Jul 2006 11:23:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k69BNbNk003345; Sun, 9 Jul 2006 11:23:37 GMT (envelope-from nobody) Message-Id: <200607091123.k69BNbNk003345@www.freebsd.org> Date: Sun, 9 Jul 2006 11:23:37 GMT From: Steinar Børmer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/99957: libgnugetopt incompatibility X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jul 2006 11:30:16 -0000 >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: