[MacPorts] #52911: rev-upgrade -v should be more verbose about missing architecture
MacPorts
noreply at macports.org
Fri Nov 18 01:21:15 CET 2016
#52911: rev-upgrade -v should be more verbose about missing architecture
--------------------------+--------------------------------
Reporter: mojca | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: base | Version: 2.3.99
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Comment (by mojca):
The relevant part of the code from `src/macports1.0/macports.tcl`:
{{{
#!tcl
if {!$libarch_found} {
ui_debug "Missing architecture [machista::get_arch_name [$architecture
cget -mat_arch]] in file $filepath"
if {[path_is_in_prefix $filepath]} {
ui_debug "Marking $bpath as broken"
lappend broken_files $bpath
} else {
ui_debug "Missing architecture [machista::get_arch_name
[$architecture cget -mat_arch]] in file outside prefix referenced from
$bpath"
# ui_debug " How did you get that compiled anyway?"
}
}
}}}
Can we change `ui_debug` into `ui_info` (to make the message print in
verbose mode) or do some other change with a similar effect?
Sadly one side effect of directly replacing `ui_debug` with `ui_info` is
that I end up with junk output:
{{{
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 82.5 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 82.5 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 82.5 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 82.6 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 82.6 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgio-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgmodule-2.0.0.dylib
[ ] 98.7 %Missing
architecture i386 in file /opt/local/lib/libglib-2.0.0.dylib
Missing architecture i386 in file /opt/local/lib/libgobject-2.0.0.dylib
}}}
so most likely some further changes are needed.
--
Ticket URL: <https://trac.macports.org/ticket/52911#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list