Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#37949 closed defect (wontfix)

rev-upgrade report does not explain missing slices

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.99
Keywords: rev-upgrade Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description

rev-upgrade found that w3m was broken, but it didn't explain why:

$ sudo port -v rev-upgrade
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 9.7%
Warning: Error parsing file /opt/local/lib/apple-gcc40/lib/gcc/i686-apple-darwin10.8.0/4.0.1/kext/crt3.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 9.8%
Warning: Error parsing file /opt/local/lib/apple-gcc40/lib/gcc/i686-apple-darwin10.8.0/4.0.1/static/crt3.o: Premature end of data, possibly corrupt file
--->  Scanning binaries for linking errors: 100.0%
--->  Found 3 broken file(s), matching files to ports
--->  Found 1 broken port(s):
     w3m @0.5.3 +universal
         /opt/local/bin/w3m
         /opt/local/libexec/w3m/cgi-bin/w3mbookmark
         /opt/local/libexec/w3m/cgi-bin/w3mhelperpanel

The reason was that one of its dependencies is not correctly +universal:

$ arch -i386 /opt/local/bin/w3m
dyld: Library not loaded: /opt/local/lib/libgc.1.dylib
  Referenced from: /opt/local/bin/w3m
  Reason: no suitable image found.  Did find:
	/opt/local/lib/libgc.1.dylib: mach-o, but wrong architecture
Trace/BPT trap

Change History (5)

comment:1 Changed 12 years ago by neverpanic (Clemens Lang)

If you ran port rev-upgrade with the debug flag, you'd see the reasons.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Component: portsbase
Owner: changed from jmr@… to macports-tickets@…

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: wontfix
Status: newclosed

This works as intended. Run rev-upgrade with -v to see the reasons. The "premature end of data" messages have meanwhile been fixed aswell.

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.