Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32930 - whois ebuild and bwwhois ebuild have files that overwrite each other.
Summary: whois ebuild and bwwhois ebuild have files that overwrite each other.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandy Westcott (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 21:57 UTC by Chris Case
Modified: 2003-11-17 22:36 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 Chris Case 2003-11-06 21:57:56 UTC
Emerging /usr/portage/net-misc/whois/whois-4.6.6-r2.ebuild, then
/usr/portage/net-misc/bwwhois/bwwhois-3.4.ebuild, overwrites files from whois. 
Specifically /usr/bin/whois and /usr/share/man/man1/whois.1.gz

Which breaks either one or the other depending on which order you emerge them, 
consequently unemerging the broken whois, will break the existing one too, (so
that you have to re-emerge it again to work.

It seems to me that bwwhois should be named bwwhois and not whois, or there
should be some kind of block so that you cannot emerge both whois and bwwhois on
the same system.

Reproducible: Always
Steps to Reproduce:
1.  emerge whois
2.  emerge bwwhois
3.  

Actual Results:  
whois binary and man page were overwritten by bwwhois

Expected Results:  
bwwhois should not have overwritten the files of whois.

A quick qpkg -l verifies this:

ccase@coke etc $ qpkg -l whois
net-misc/whois-4.6.6-r2 *
CONTENTS:
/usr
/usr/bin
/usr/bin/whois
/usr/bin/mkpasswd
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/whois.1.gz
/usr/share/man/man1/mkpasswd.1.gz
/usr/share/locale
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/whois.mo
/usr/share/locale/el
/usr/share/locale/el/LC_MESSAGES
/usr/share/locale/el/LC_MESSAGES/whois.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/whois.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/whois.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/whois.mo
/usr/share/locale/no
/usr/share/locale/no/LC_MESSAGES
/usr/share/locale/no/LC_MESSAGES/whois.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/whois.mo
/usr/share/doc
/usr/share/doc/whois-4.6.6-r2
/usr/share/doc/whois-4.6.6-r2/README.gz
/usr/share/doc/whois-4.6.6-r2/whois.conf.gz
/usr/share/doc/whois-4.6.6-r2/changelog.gz
/usr/share/doc/whois-4.6.6-r2/copyright.gz


net-misc/bwwhois-3.4 *
CONTENTS:
/usr
/usr/bin
/usr/bin/bwwhois
/usr/bin/whois -> bwwhois
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/whois.1.gz
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i686-linux
/usr/lib/perl5/site_perl/5.8.0/i686-linux/bwInclude.pm
/etc
/etc/whois
/etc/whois/whois.conf
/etc/whois/tld.conf
/etc/whois/sd.conf
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-13 08:11:05 UTC
how about just remove
 dosym bwwhois /usr/bin/whois
 ?
Comment 2 Brandy Westcott (RETIRED) gentoo-dev 2003-11-16 03:04:38 UTC
Thanks for the bug report Chris. I've removed the binary symlink and changed the name of the bwwhois manpage. :)
Comment 3 Chris Case 2003-11-17 22:36:56 UTC
Brandy,

Wonderful, it looks good.

Thanks for taking the time and listening to me =)