Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105454 - qmail causes collision errors
Summary: qmail causes collision errors
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-09 22:13 UTC by Georgi Georgiev
Modified: 2005-09-12 17:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgi Georgiev 2005-09-09 22:13:22 UTC
all versions of qmail cause collisions on the following files:

/usr/share/man/man5/tcp-environ.5.gz
owned by ucspi-tcp

/usr/share/man/man5/mbox.5.gz
owned by mutt

tcp-environ.5.gz is identical to the onw of ucspi-tcp, mutt depends on
ucspi-tcp, so doing this

src_compile() {
Comment 1 Georgi Georgiev 2005-09-09 22:13:22 UTC
all versions of qmail cause collisions on the following files:

/usr/share/man/man5/tcp-environ.5.gz
owned by ucspi-tcp

/usr/share/man/man5/mbox.5.gz
owned by mutt

tcp-environ.5.gz is identical to the onw of ucspi-tcp, mutt depends on
ucspi-tcp, so doing this

src_compile() {
»···emake it man || die

»···# Collision with ucspi-tcp
»···rm -fv tcp-environ.5

}

is not much of a problem. The problem with mutt is different, but either qmail
or mutt would have to give up mbox.5, or install it in a different location or
under a different name.
Comment 2 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-09-11 15:10:45 UTC
Fixed in CVS, can you test it, please?
Comment 3 Georgi Georgiev 2005-09-11 20:17:47 UTC
It merged just fine.

Only one really minor thing. The "mv" part would fail if someone is doing
"ebuild compile" twice in a row (it won't kill the whole process, but still).
However, if you remove the files before the compile (e.g.  if the "rm" and "mv"
are moved to src_unpack()) then "make man" would fail instead. That's one of the
reasons why I submitted Bug #105457.

Anyway, why not move the "rm" and "mv" to src_unpack() and also change "emake it
man" to "emake it dot-qmail.5 qmail-control.5 qmail-getpw.8 qmail-limits.7
qmail-newmrh.8 qmail-newbrt.8 qmail-newu.8 qmail-pw2u.8 qmail-send.8
qmail-start.8 qmail-users.5" (you can get a list of the 10 man-pages that need
to be generated with "awk -F: '/^[^ ]*\.[1-8]:/ { print $1}' Makefile")?
No unnecessary man page parsing this way.

Just a suggestion. The current ebuild seems to be fine.
Comment 4 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-09-12 14:51:44 UTC
I've now added a patch for Makefile and the other manpages. Can you check it
again, please? If it's ok, please close this bug.
Comment 5 Georgi Georgiev 2005-09-12 17:00:14 UTC
(In reply to comment #3)
> I've now added a patch for Makefile and the other manpages. Can you check it
> again, please? If it's ok, please close this bug.

No collisions here. Good call on patching the man page content as well.