Bug 64977 - [Update Port] devel/freelibiberty: mark it conflicting with libgnugetopt
Summary: [Update Port] devel/freelibiberty: mark it conflicting with libgnugetopt
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-31 09:20 UTC by Kay Lehmann
Modified: 2004-04-06 09:20 UTC (History)
0 users

See Also:


Attachments
freelibiberty-Makefile.diff-conflict_libgnugetopt (246 bytes, text/plain)
2004-03-31 09:20 UTC, Kay Lehmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kay Lehmann 2004-03-31 09:20:01 UTC

devel/libgnugetopt and devel/freelibiberty are in conflict
both install include/getopt.h
(the error came up because of update to ddd which now 
depends on freelibiberty and other ports, like id3v2, defining
USE_GETOPT_LONG=yes get linking error, but not every port,
e.g. prokyon3 compiles without problems).
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-03-31 09:37:25 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 2 Andrew Reilly 2004-04-06 05:10:47 UTC
Hi there,

This makes ddd incompatible with about a zillion other ports
that depend on libgnugetopt.  Any suggestions on how to resolve
this, other than just de-install ddd?

Presumably ddd uses frelibiberty for a reason.  That reason
justifies a change of signature for the header.  So why not have
devel/freelibiberty install getopt.h as getopt-free.h, and have
ddd #include that, instead of getopt.h.  Then you can remove the
conflict notice.

Cheers,

-- 
Andrew
Comment 3 Kay Lehmann 2004-04-06 07:46:20 UTC
Hello,

Andrew Reilly wrote:
> Hi there,
> 
> This makes ddd incompatible with about a zillion other ports
> that depend on libgnugetopt.  Any suggestions on how to resolve
> this, other than just de-install ddd?

I am aware of this problem, but I am not the maintainer of these ports, 
so I do not know what would be best to solve this. I had a look at ddd 
and I think it brings it's own freelibiberty-lib and the only reason why 
the dependency was added I think was that there are some problems with 
configure to get it to work. Since this seems to be just the quick 
solution (and I don't know much other ports depending on frelib...) it 
may be better to try to solve these configure-problems than depending on 
freelibbiberty (if it is possible).

> 
> Presumably ddd uses frelibiberty for a reason.  That reason
> justifies a change of signature for the header.  So why not have
> devel/freelibiberty install getopt.h as getopt-free.h, and have
> ddd #include that, instead of getopt.h.  Then you can remove the
> conflict notice.
> 
> Cheers,
> 

Maybe you could contact the maintainer. I did tell him about the 
problem, but got no answer from him till now. So if he isn't responding, 
you can give it a try and solve the conflict.

Greetings,
Kay

Btw.: ddd wasn't compiling for me before this conflict was introduced, 
see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64969. This guy has 
the same problem. So ddd seems to need some work anyway.
Comment 4 Andrew Reilly 2004-04-06 09:10:21 UTC
Hi Kay,

On Tue, Apr 06, 2004 at 08:46:20AM +0200, Kay Lehmann wrote:
> Maybe you could contact the maintainer. I did tell him about the 
> problem, but got no answer from him till now. So if he isn't responding, 
> you can give it a try and solve the conflict.

Sorry, insufficent interest here.  Just thought that I'd
point out the problem and a possible solution.  I've opted to
pkg_delete ddd, myself.

Cheers,

-- 
Andrew