ports/79430: libgnugetopt-1.2 conflicts with port x11-fonts/ttmkfdir

Kai Grossjohann kai at emptydomain.de
Fri Apr 1 16:40:04 UTC 2005


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



More information about the freebsd-ports-bugs mailing list