Re: Found CONFLICTS: ...

2008-10-06 Thread Michel Talon
On Mon, Oct 06, 2008 at 02:17:43AM +0400, Boris Samorodov wrote:
 Michel Talon [EMAIL PROTECTED] writes:
 
  I think that CONFLICTS is a cure with worse effects than
  the disease.
 
 Well, then you may cut off this cure by defining DISABLE_CONFLICTS.

This is indeed the solution i came to in:
http://www.lpthe.jussieu.fr/~talon/freebsdports.html


-- 

Michel TALON

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Found CONFLICTS: teTeX-base/texinfo emacs/texinfo open-motif/tcl84 coreutils/firebird2-server

2008-10-05 Thread Jan Henrik Sylvester
Playing a little with /var/db/pkg/*/+CONTENTS, I found some CONFLICTS, 
for example:


pkg_info: both coreutils-6.9_3 and firebird-server-2.0.3_2 claim to have 
installed /usr/local/bin/gstat
pkg_info: both teTeX-base-3.0_14 and texinfo-4.11 claim to have 
installed /usr/local/bin/texi2dvi
pkg_info: both teTeX-base-3.0_14 and texinfo-4.11 claim to have 
installed /usr/local/bin/texi2pdf
pkg_info: both emacs-22.2_1 and texinfo-4.11 claim to have installed 
/usr/local/info/info.info
pkg_info: both open-motif-2.2.3_5 and tcl-8.4.19,1 claim to have 
installed /usr/local/man/man3/Object.3.gz


CONFLICTS could be introduced for:
sysutils/coreutils and databases/firebird2-server
print/teTeX-base and print/texinfo
editors/emacs and print/texinfo
x11-toolkits/open-motif and lang/tcl84

Anyhow, this would break a few things -- at least:
math/maxima depends on x11-toolkits/open-motif and lang/tcl84
print/lilypond builddepends on print/teTeX-base and print/texinfo

I think I have found more in my installed packages, especially with 
links. Before I investigate them, I wonder if it is worse it:


Should all CONFLICTS be documented?

Should I report my findings to the maintainers (directly)?

Cheers,
Jan Henrik
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Found CONFLICTS: ...

2008-10-05 Thread Michel Talon
Jan Henrik Sylvester wrote:

 Should all CONFLICTS be documented?

I think CONFLICTS should be treated by ignoring them completely.
They cause no end of troubles in Debian, for very little if any
usefulness.

What is the problem if you install texi2dvi one way or another?


-- 

Michel TALON

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Found CONFLICTS: ...

2008-10-05 Thread Scot Hetzel
On Sun, Oct 5, 2008 at 3:25 PM, Michel Talon [EMAIL PROTECTED] wrote:
 Jan Henrik Sylvester wrote:

 Should all CONFLICTS be documented?

 I think CONFLICTS should be treated by ignoring them completely.
 They cause no end of troubles in Debian, for very little if any
 usefulness.

 What is the problem if you install texi2dvi one way or another?


There are several problems:

1. These two texi2dvi programs might have a different set of
arguments, that other programs rely on.

2. When upgrading the ports, which port is the one that installed
texi2dvi, as the last port upgraded has it's texi2dvi installed.

3. When removing either teTeX-base-3.0_14 or texinfo-4.11, it has the
unwanted side effect of also removing /usr/local/bin/texi2dvi from the
system, which may affect the operation of one of the other programs
that relies on texi2dvi.

These same problems also applies to libraries, config files, man
pages, and other documentation.

Scot
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Found CONFLICTS: ...

2008-10-05 Thread Michel Talon
On Sun, Oct 05, 2008 at 04:24:46PM -0500, Scot Hetzel wrote:
 On Sun, Oct 5, 2008 at 3:25 PM, Michel Talon [EMAIL PROTECTED] wrote:
  Jan Henrik Sylvester wrote:
 
  Should all CONFLICTS be documented?
 
  I think CONFLICTS should be treated by ignoring them completely.
  They cause no end of troubles in Debian, for very little if any
  usefulness.
 
  What is the problem if you install texi2dvi one way or another?
 
 
 There are several problems:
 
 1. These two texi2dvi programs might have a different set of
 arguments, that other programs rely on.
 
 2. When upgrading the ports, which port is the one that installed
 texi2dvi, as the last port upgraded has it's texi2dvi installed.
 
 3. When removing either teTeX-base-3.0_14 or texinfo-4.11, it has the
 unwanted side effect of also removing /usr/local/bin/texi2dvi from the
 system, which may affect the operation of one of the other programs
 that relies on texi2dvi.
 
 These same problems also applies to libraries, config files, man
 pages, and other documentation.
 
 Scot

Of course, but all these problems are far less annoying than the
problems coming from overzealous CONFLICTS notifications, which can
completely ruin your mental health. After all, if some program goes
astray after having removed some apparently unrelated port, the simple
solution is to reinstall this program, and its dependencies. Problem is
almost a non problem. Of course the good solution is that ports
developers try to avoid conflicts by choosing appropriate names, but in
general this would require considerable work, or install everything in
its own directory and use symlinks in public directories
(/usr/local/bin,etc.) like Debian does, which promptly creates a
terrible mess. I think that CONFLICTS is a cure with worse effects than
the disease.


-- 

Michel TALON

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Found CONFLICTS: ...

2008-10-05 Thread Boris Samorodov
Michel Talon [EMAIL PROTECTED] writes:

 I think that CONFLICTS is a cure with worse effects than
 the disease.

Well, then you may cut off this cure by defining DISABLE_CONFLICTS.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]