Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278542 - perl-core/IO-Compress replaces perl-core/Compress-Zlib, perl-core/IO-Compress-Zlib, perl-core/IO-Compress-Bzip2, perl-core/IO-Compress-Base
Summary: perl-core/IO-Compress replaces perl-core/Compress-Zlib, perl-core/IO-Compress...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 05:35 UTC by Torsten Veller (RETIRED)
Modified: 2009-08-30 17:00 UTC (History)
3 users (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 Torsten Veller (RETIRED) gentoo-dev 2009-07-21 05:35:38 UTC
IO-Compress combines
- Compress-Zlib,
- IO-Compress-Zlib,
- IO-Compress-Bzip2,
- IO-Compress-Base.

* Ebuild maintainers have to replace the dependencies:
sed -i 's:virtual/perl-\(IO-Compress-Base\|Compress-Zlib\|IO-Compress-Zlib\|IO-Compress-Bzip2\):virtual/perl-IO-Compress:' *.ebuild

* Portage users read bug 274443#c1

* Paludis users go to bug 275892

* Complains can be added here

History
#268615 - Keyword ={virtual/perl-IO-Compress,perl-core/IO-Compress}-2.019 
#273141 - <perl-core/Compress-Raw-Zlib-2.020: Off-by-one (CVE-2009-1391)
Comment 1 tanstaafl@libertytrek.org 2009-07-21 21:18:30 UTC
Found this bug after posting to the forums...

So, I'm confused about what to do... will this eventually be resolved by portage? Or do *I* need to run that sed command <shudder>?
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2009-07-21 21:45:01 UTC
(In reply to comment #1)
> Found this bug after posting to the forums...
> 
> So, I'm confused about what to do... will this eventually be resolved by
> portage? Or do *I* need to run that sed command <shudder>?

What's the problem? What do you do? What do you see? What do you expect?

Comment 3 tanstaafl@libertytrek.org 2009-07-22 10:00:58 UTC
Sorry... guess I could have been a little more specific, but I kind of figured that a lot of people were getting this error, which directly references this bug.

I'm now getting this error when doing an emerge -pvuDN world:

!!! The following installed packages are masked:
- virtual/perl-Compress-Zlib-2.020 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Torsten Veller <tove@gentoo.org> (19 Jul 2009)
# Fix your dependencies:
# IO-Compress replaces
# - Compress-Zlib
# - IO-Compress-Zlib
# - IO-Compress-Bzip2
# - IO-Compress-Base
# bug #278542

The first comment in this bug report says what an *ebuild maintainer* needs to do, as does the error itself ('Fix your dependencies') - but not what a simple user needs to do to resolve the above warning.

I'm *guessing* that I simply need to uninstall the 4 packages that are replaced by 'IO-Compress'... but I don't like guessing... :)
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2009-07-22 10:41:24 UTC
(In reply to comment #3)
> I'm now getting this error when doing an emerge -pvuDN world:
> 
> !!! The following installed packages are masked:
> - virtual/perl-Compress-Zlib-2.020 (masked by: package.mask)

No ebuild in the tree depends on virtual/perl-Compress-Zlib.
So where does this dependency come from?

One reason is explained in the link for portage users in comment 0.
It might be that you have one of the replaced dependencies listed in your world file.
Another reason might be that an overlay was not updated.

> I'm *guessing* that I simply need to uninstall the 4 packages that are replaced
> by 'IO-Compress'... but I don't like guessing... :)

In *this* case it is safe to remove the 8 packages (4 in perl-core and 4 virtuals) and update world afterwards.
Comment 5 tanstaafl@libertytrek.org 2009-07-22 12:18:38 UTC
Thanks Torsten...

I did have two of the dependencies listed in my world file:

# - Compress-Zlib
# - IO-Compress-Bzip2

Simply removing them did the trick...
Comment 6 Richard Scott 2009-07-26 14:28:16 UTC
Running this fixed my problem:

# emerge --unmerge virtual/perl-IO-Compress-Base virtual/perl-IO-Compress-Zlib virtual/perl-Compress-Zlib

It may help others too.
Comment 7 Torsten Veller (RETIRED) gentoo-dev 2009-08-30 17:00:18 UTC
I close the bug now.