Opened 9 years ago

Last modified 9 years ago

#45674 new defect

Misleading logging

Reported by: mp@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: base Version: 2.3.99
Keywords: Cc:
Port:

Description

When upgrading with port -p upgrade outdated, some lines are missed when errors occur. For example in the following partial message:

--->  Fetching archive for exact-image
--->  Attempting to fetch exact-image-0.8.7_1.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/exact-image
--->  Attempting to fetch exact-image-0.8.7_1.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/exact-image
--->  Attempting to fetch exact-image-0.8.7_1.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/exact-image
--->  Computing dependencies for exact-image
--->  Fetching distfiles for exact-image
Error: exact-image does not build on Mavericks or later.
Error: Failed to fetch exact-image: unsupported platform
Error: See /opt/local/var/macports/logs/_Users_yan_src_scm_osx_macports-git_dports_graphics_exact-image/exact-image/main.log for details.
Error: Requested variants "" do not match original selection "+universal".
Error: Please use the same variants again, perform 'port clean gcc47' or specify the force option (-f).
--->  Computing dependencies for glfw

Between exact-image and glfw, macports tries to build gcc47, but fails, and the line

Error: Requested variants "" do not match original selection "+universal".

refers to gcc47, but no info about what is happening is shown before the error. At first glance, it looks as if the error belongs to exact-image.

Just a minor annoyance, but something might be lurking there...

Change History (1)

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

Please don't use "sudo port -p upgrade".

Note: See TracTickets for help on using tickets.