Opened 13 years ago

Closed 13 years ago

#28425 closed defect (duplicate)

port says that ports depend only on themselves

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version: 1.9.2
Keywords: Cc: zappaisgod@…
Port:

Description

I have the following problem:

$ sudo port -v uninstall atlas @3.8.3_4+gcc44
--->  Unable to uninstall/deactivate atlas @3.8.3_4+gcc44, the following ports depend on it:
--->    atlas @3.8.3_4+gcc44
--->    atlas @3.8.3_4+gcc44
Error: Target org.macports.uninstall returned: Please uninstall the ports that depend on atlas first.
Warning: the following items did not execute (for atlas): org.macports.uninstall
Log for atlas is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_atlas_3.8.3_4+gcc44/main.log
Warning: Failed to execute portfile from registry for atlas @3.8.3_4+gcc44
--->  Unable to uninstall/deactivate atlas @3.8.3_4+gcc44, the following ports depend on it:
--->    atlas @3.8.3_4+gcc44
--->    atlas @3.8.3_4+gcc44
Error: port uninstall failed: Please uninstall the ports that depend on atlas first.

i.e. atlas depend on itself! The Portfile seems correct, so I assume that it's a bug in base.

Change History (8)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I've never seen anything like that. Are you sure you did not locally modify your atlas port, either now or previously, to include a dependency on itself?

comment:2 Changed 13 years ago by vinc17@…

No, I've never modified the atlas port. I don't even use atlas. It was installed automatically due to the dependency in py26-numpy, but now I use its no_atlas variant.

comment:3 Changed 13 years ago by vinc17@…

Priority: NormalHigh
Summary: A port shouldn't depend on itselfport says that ports depend only of themselves

It seems to be a problem for all ports. Something is very broken. For instance:

$ port echo dependentof:libpng
libpng
$ sudo port -v uninstall libpng @1.4.5_0
--->  Unable to uninstall/deactivate libpng @1.4.5_0, the following ports depend on it:
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
Error: Target org.macports.uninstall returned: Please uninstall the ports that depend on libpng first.
Warning: the following items did not execute (for libpng): org.macports.uninstall
Log for libpng is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_libpng_1.4.5_0/main.log
Warning: Failed to execute portfile from registry for libpng @1.4.5_0
--->  Unable to uninstall/deactivate libpng @1.4.5_0, the following ports depend on it:
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
--->    libpng @1.4.5_0
Error: port uninstall failed: Please uninstall the ports that depend on libpng first.

comment:4 Changed 13 years ago by vinc17@…

Summary: port says that ports depend only of themselvesport says that ports depend only on themselves

comment:5 Changed 13 years ago by zappaisgod@…

Cc: zappaisgod@… added

Cc Me!

comment:6 Changed 13 years ago by zappaisgod@…

same thing happens to me with perl5.8.9_3 saying that is depending on perl5. currently I have perl5.12 installed and active, and perl5.8.9_3 inactive. doing a port uninstall inactive:

MisterX-a-k-a-PowerBook-G4:~$ sudo port -v uninstall inactive
--->  Unable to uninstall perl5.8 5.8.9_3, the following ports depend on it:
--->      perl5
Error: port uninstall failed: Please uninstall the ports that depend on perl5.8 first.
MisterX-a-k-a-PowerBook-G4:~$ sudo port -v uninstall perl5.8
--->  Unable to uninstall perl5.8 5.8.9_3, the following ports depend on it:
--->      perl5
Error: port uninstall failed: Please uninstall the ports that depend on perl5.8 first.
MisterX-a-k-a-PowerBook-G4:~$ sudo port -v uninstall perl5
--->  Unable to uninstall perl5 5.12.3_1+perl5_12, the following ports depend on it:
--->      p5-locale-gettext
--->      help2man
--->      autoconf
--->      automake
--->      glib2
--->      p5-xml-parser
--->      p5-getopt-long
--->      p5-pathtools
--->      p5-scalar-list-utils
--->      intltool
--->      gtk-doc
--->      ghostscript
--->      p5-xml-namespacesupport
--->      p5-xml-sax
--->      p5-xml-sax-expat
--->      p5-xml-simple
--->      icon-naming-utils
--->      p5-xml-parser
--->      p5-getopt-long
--->      p5-pathtools
--->      p5-scalar-list-utils
--->      p5-locale-gettext
--->      autoconf
Error: port uninstall failed: Please uninstall the ports that depend on perl5 first.

comment:7 in reply to:  6 Changed 13 years ago by vinc17@…

Replying to zappaisgod@…:

same thing happens to me with perl5.8.9_3 saying that is depending on perl5.

No, this is not the same bug. perl5.8 and perl5 are two different ports.

comment:8 Changed 13 years ago by vinc17@…

Resolution: duplicate
Status: newclosed

The problem no longer occurs after upgrading MacPorts. It seems to be a duplicate of #27506, which was fixed in r76827.

Note: See TracTickets for help on using tickets.