#21167 closed defect (fixed)
p5-io-compress conflicts with p5-compress-zlib
Reported by: | vinc17@… | Owned by: | narf_tm@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | michael.paesold@…, skymoo (Adam Mercer), hahn.seb@…, jdfrens@…, kenyon@…, p.ixiemotion@… | |
Port: | p5-io-compress p5-compress-zlib |
Description
When I wanted to upgrade p5-libwww-perl, p5-io-compress was installed but couldn't be activated:
---> Activating p5-io-compress @2.021_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/perl5/vendor_perl/5.8.9/auto/Compress/Zlib/autosplit.ix is being used by the active p5-compress-zlib port. Please deactivate this port first, or use 'port -f activate p5-io-compress' to force the activation.
and p5-compress-zlib mustn't be removed due to its various dependencies.
Change History (22)
comment:1 Changed 15 years ago by michael.paesold@…
Cc: | michael.paesold@… added |
---|
comment:5 follow-up: 9 Changed 15 years ago by narf_tm@…
p5-compress-zlib no longer has the files that are conflicting with this new port. They have been moved to p5-io-compress. I fixed the dependency of all the ports that use p5-compress-zlib. Please update p5-compress-zlib before installing the new p5-io-compress and it will install fine.
comment:6 Changed 15 years ago by skymoo (Adam Mercer)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
I am still getting this issue. I updated my ports tree, removed all *compress* ports, and then reinstall git-core and I get the same conflict.
comment:8 Changed 15 years ago by blair (Blair Zajac)
I also did a fresh rebuild of my tree tonight and see the same conflict.
$ port -v installed |grep p5-compress-zlib p5-compress-zlib @2.015_0 (active)
$ port -v contents p5-compress-zlib Port p5-compress-zlib contains: /opt/local-development/lib/perl5/vendor_perl/5.8.9/auto/Compress/Zlib/autosplit.ix /opt/local-development/lib/perl5/vendor_perl/5.8.9/Compress/Zlib.pm /opt/local-development/lib/perl5/vendor_perl/5.8.9/darwin-thread-multi-2level/auto/Compress/Zlib/.packlist /opt/local-development/share/man/man3/Compress::Zlib.3pm.gz
$ port -v install p5-io-compress ---> Computing dependencies for p5-io-compress. ---> Activating p5-io-compress @2.021_2 Error: Unable to execute port: Image error: /opt/local-development/lib/perl5/vendor_perl/5.8.9/auto/Compress/Zlib/autosplit.ix is being used by the active p5-compress-zlib port. Please deactivate this port first, or use 'port -f activate p5-io-compress' to force the activation.
comment:9 Changed 15 years ago by michael.paesold@…
Replying to narf_tm@…:
... Please update p5-compress-zlib before installing the new p5-io-compress and it will install fine.
I don't see any updated to p5-compress-zlib in a year...
comment:10 Changed 15 years ago by mf2k (Frank Schima)
Cc: | hahn.seb@… added |
---|
Cc reporter of dup #21205.
comment:11 Changed 15 years ago by hahn.seb@…
doing a "port selfupdate" followed by "port upgrade p5-compress-zlib" doesn't do anything, and sure enough, the error happens again when I try to upgrade all outdated packages
comment:12 Changed 15 years ago by narf_tm@…
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I do apologize. When I reverted the changes someone made. I missed that the dependencies were also changed. Any of the compress ports that aren't 2.021 are no longer used... including p5-compress-zlib. The author of these perl modules restructured his packages making this a difficult transition.
comment:13 Changed 15 years ago by hahn.seb@…
Sorry if this is a stupid question, but how am I supposed to get stuff working again?
I've tried:
port selfupdate port uninstall p5-io-compress port clean p5-io-compress port upgrade outdated
and
port selfupdate port upgrade upgrade p5-compress-zlib port upgrade outdated
- none of that seems to work, unfortunately. I keep getting the same error...
comment:14 Changed 15 years ago by michael.paesold@…
So just to make sure we all understand this correctly... given this list of packages matching "compress":
sudo port installed and \( p5-\*compress\* \) The following ports are currently installed: p5-compress-raw-bzip2 @2.021_0 (active) p5-compress-raw-zlib @2.021_0 (active) p5-compress-zlib @2.015_0 (active) p5-io-compress @2.021_2 (active) p5-io-compress-base @2.015_0 (active) p5-io-compress-zlib @2.015_0 (active)
... we should remove all those ports that have version 2.015_0, i.e. p5-compress-zlib, p5-io-compress-base, and p5-io-compress-zlib.
Right now it seems the deps have not yet been changed, or the changes are not yet public, because after a port -v sync
I cannot remove the packages yet:
sudo port uninstall -y p5-compress-zlib p5-io-compress-base p5-io-compress-zlib ---> Unable to uninstall p5-compress-zlib 2.015_0, the following ports depend on it: ---> p5-libwww-perl ---> p5-io-zlib ---> p5-archive-tar ---> p5-io-compress Error: port uninstall failed: Please uninstall the ports that depend on p5-compress-zlib first.
comment:16 Changed 15 years ago by narf_tm@…
The changes will not be public until the port index is updated later today. I have updated all the ports (i.e. p5-libwww-perl, p5-io-zlib, p5-archive-tar) to use p5-io-compress instead of p5-io-compress-zlib. I really wish I new of a way to make this smother.
comment:17 Changed 15 years ago by hahn.seb@…
So this is all more than 5 hours ago, and in #macports I was told that the new port index should be available after max 2 hours. I am, however, still seeing the same failures. Could you maybe explicitly give the commands we have to run to resolve the issues? It's pretty frustrating to not know if the bug is really fixed and I'm running the wrong command, or if the bug is still there.
comment:18 Changed 15 years ago by jowens (John Owens)
The only reason I had all these packages was because of p5-mail-spamassassin. I was able to get everything to work after the latest port index by uninstalling "all those ports that have version 2.015_0" (which made me remove a few others that were dependencies) and then reinstalling spamassassin, which reinstalled all the new dependent packages. Problem solved.
Here's actually what I ran (FYI).
9288 sudo port uninstall p5-compress-zlib 9289 sudo port uninstall p5-archive-tar 9290 sudo port uninstall p5-mail-spamassassin p5-io-zlib p5-libwww-perl p5-archive-tar 9291 sudo port uninstall p5-io-compress-bzip2 p5-io-compress-zlib 9292 sudo port uninstall p5-compress-zlib p5-io-compress-bzip2 p5-io-compress-zlib 9293 sudo port uninstall p5-io-compress-base p5-io-compress-bzip2 p5-io-compress-zlib 9294 port installed | grep compress 9295 sudo port install p5-mail-spamassassin
comment:19 Changed 15 years ago by hahn.seb@…
ah, yes, that worked. git-core with svn variant was the issue for me, so I uninstalled that and reinstalled. It's sad to see that there seems to be no other way out of this than to recompile
comment:20 Changed 15 years ago by blb@…
Note that due to a bug in port (ticket #13054), ports which were depending on p5-io-compress-zlib should be completely uninstalled instead of simply upgraded; otherwise, they will remember the dependency on p5-io-compress-zlib.
Cc Me!