From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Apr 1 16:40:04 2005 Return-Path: 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 8695316A4CE for ; Fri, 1 Apr 2005 16:40:04 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3779C43D48 for ; Fri, 1 Apr 2005 16:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j31Ge4tt039513 for ; Fri, 1 Apr 2005 16:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j31Ge4pN039512; Fri, 1 Apr 2005 16:40:04 GMT (envelope-from gnats) Resent-Date: Fri, 1 Apr 2005 16:40:04 GMT Resent-Message-Id: <200504011640.j31Ge4pN039512@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, Kai Grossjohann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9E2316A4CE for ; Fri, 1 Apr 2005 16:37:37 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A551E43D41 for ; Fri, 1 Apr 2005 16:37:37 +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 j31Gbbbh010064 for ; Fri, 1 Apr 2005 16:37:37 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j31GbbeO010063; Fri, 1 Apr 2005 16:37:37 GMT (envelope-from nobody) Message-Id: <200504011637.j31GbbeO010063@www.freebsd.org> Date: Fri, 1 Apr 2005 16:37:37 GMT From: Kai Grossjohann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/79430: libgnugetopt-1.2 conflicts with port x11-fonts/ttmkfdir X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 16:40:04 -0000 >Number: 79430 >Category: ports >Synopsis: libgnugetopt-1.2 conflicts with port x11-fonts/ttmkfdir >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: Fri Apr 01 16:40:03 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Kai Grossjohann >Release: 5-STABLE >Organization: >Environment: FreeBSD slowfox.dyndns.org 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #17: Sat Mar 19 00:14:56 CET 2005 root@slowfox.dyndns.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: I had the package libgnugetopt-1.2 installed and tried to install the port x11-fonts/ttmkfdir. The build barfed with: root@slowfox# make ===> Building for ttmkfdir-20021109_1 libtool13 --mode=compile g++ -O -pipe `freetype-config --cflags` -o commandline.o -c commandline.cpp rm -f .libs/commandline.lo g++ -O -pipe -I/usr/local/include/freetype2 -I/usr/local/include -c commandline.cpp -fPIC -DPIC -o .libs/commandline.lo In file included from commandline.cpp:6: /usr/local/include/getopt.h:115: error: declaration of C function `int getopt()' conflicts with /usr/include/unistd.h:376: error: previous declaration `int getopt(int, char* const*, const char*)' here gmake: *** [commandline.o] Error 1 *** Error code 2 >How-To-Repeat: >Fix: I removed the package libgnugetopt-1.2, as it was not needed by any other package. Then the build (of ttmkfdir) went fine. >Release-Note: >Audit-Trail: >Unformatted: