Date: Wed, 18 Jan 2006 10:53:04 GMT From: jan grant <jan.grant@bristol.ac.uk> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/91955: kdemultimedia 3.5.0 picks up libgnugetopt Message-ID: <200601181053.k0IAr452082600@www.freebsd.org> Resent-Message-ID: <200601181130.k0IBU85f093170@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601181053.k0IAr452082600>