ports/60091: libgnugetopt breaks ttmkfdir
Don Lewis
truckman at FreeBSD.org
Tue Dec 9 22:10:37 UTC 2003
>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 at 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:
More information about the freebsd-ports-bugs
mailing list