Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2005 16:37:37 GMT
From:      Kai Grossjohann <kai@emptydomain.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:    ports/79430: libgnugetopt-1.2 conflicts with port x11-fonts/ttmkfdir
Message-ID:  <200504011637.j31GbbeO010063@www.freebsd.org>
Resent-Message-ID: <200504011640.j31Ge4pN039512@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504011637.j31GbbeO010063>