Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2003 14:03:10 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60091: libgnugetopt breaks ttmkfdir
Message-ID:  <200312092203.hB9M3A7h020976@mousie.catspoiler.org>
Resent-Message-ID: <200312092210.hB9MAI8Z013057@freefall.freebsd.org>

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

>Number:         60091
>Category:       ports
>Synopsis:       libgnugetopt breaks ttmkfdir
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 09 14:10:18 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Don Lewis
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD mousie.catspoiler.org 4.9-STABLE FreeBSD 4.9-STABLE #20: Mon Nov 17 18:23:06 PST 2003 dl@mousie.catspoiler.org:/usr/obj/usr/src/sys/GENERICDDB i386

If the libgnugetopt port is installed, the ttkmkfdir 20021109 port build
fails.

g++ -O -pipe -mcpu=pentiumpro -I/usr/local/include/freetype2 -I/usr/local/includ
e -c commandline.cpp  -fPIC -DPIC -o .libs/commandline.lo^M
In file included from /usr/include/c++/3.3/bits/gthr-default.h:38,^M
                 from /usr/include/c++/3.3/bits/gthr.h:98,^M
                 from /usr/include/c++/3.3/bits/c++io.h:37,^M
                 from /usr/include/c++/3.3/bits/fpos.h:44,^M
                 from /usr/include/c++/3.3/bits/char_traits.h:46,^M
                 from /usr/include/c++/3.3/string:47,^M
                 from commandline.h:5,^M
                 from commandline.cpp:6:^M
/usr/include/unistd.h:374: error: declaration of C function `int getopt(int, ^M 
   char* const*, const char*)' conflicts with^M
/usr/local/include/getopt.h:115: error: previous declaration `int getopt()' ^M
   here^M
gmake: *** [commandline.o] Error 1^M
*** Error code 2^M
^M
Stop in /usr/ports/x11-fonts/ttmkfdir.^M


#pkg_info | grep libgnugetopt
libgnugetopt-1.2    GNU getopt library

See also <http://www.freebsd.org/cgi/query-pr.cgi?pr=54037>; and
<http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/54866>.
	
>Description:
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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