ports/91955: kdemultimedia 3.5.0 picks up libgnugetopt
jan grant
jan.grant at bristol.ac.uk
Wed Jan 18 11:30:09 UTC 2006
>Number: 91955
>Category: ports
>Synopsis: kdemultimedia 3.5.0 picks up libgnugetopt
>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: Wed Jan 18 11:30:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: jan grant
>Release: 6-STABLE
>Organization:
university of bristol
>Environment:
FreeBSD tribble.ilrt.bris.ac.uk 6.0-STABLE FreeBSD 6.0-STABLE #0: Tue Jan 10 13:57:52 GMT 2006 jan at tribble:/external/usr.obj/usr/src/sys/JAN i386
(this is essentially GENERIC)
>Description:
I have ttmkfdir installed from ports, which depends on devel/libgnugetopt. During a recent update of my installed ports, the general kde update (as detailed in /usr/ports/UPDATING) failed for kdemultimedia. On inspection this appears to be because kdemultimedia's "configure" finds and attempts to use libgnugetopt.
This causes a compiler error, because libgnugetopt supplies a /usr/include/getopt.h with the declaration
extern int getopt ();
which is in conflict with /usr/include/unistd.h's rather more explicit:
int getopt(int, char * const [], const char *);
(at least as far as C++ is concerned).
>How-To-Repeat:
portinstall devel/libgnugetopt; portupgrade -f kdemultimedia
>Fix:
I worked around this by briefly removing libgnugetopt for the build. A fix would probably be to teach kdemultimedia that it should ignore the gnu getopt declaration.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list