<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">On Feb 15, 2020, at 00:22, Jeff Greenberg wrote:</div><div dir="ltr"><br></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""></div></div></blockquote><blockquote type="cite"><div dir="ltr"><main.log></div></blockquote><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi. After restarting my mac, localhost is refusing connections, and attempting to restart apachectl results in this error message:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">httpd: Syntax error on line 168 of /opt/local/etc/apache2/httpd.conf: Cannot load lib/apache2/modules/mod_php72.so into server: dlopen(/opt/local/lib/apache2/modules/mod_php72.so, 10): Library not loaded: /opt/local/lib/libicui18n.58.dylib\n  Referenced from: /opt/local/lib/apache2/modules/mod_php72.so\n  Reason: image not found</span></div></div></div></div></blockquote><div><br></div>This is <a href="https://trac.macports.org/ticket/59439">https://trac.macports.org/ticket/59439</a><div><br></div><div>I guess you had not updated your ports in awhile, and just now updated from icu 58 to 65. <br><div><br></div><div>Below we see that rev-upgrade has correctly detected the problem and would rebuild the affected port, were it not for the problem rebuilding gtk-doc that interrupted it. </div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Having had this error after upgrading gimp, I tried doing what I had to do then:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/opt/local/bin$ sudo port upgrade icu -Rf</span></div></div></div></div></blockquote><div><br></div><div>You should not be attempting to force things unnecessarily. And I don't believe you're successfully forcing anything, since single-dash flags like -f and -R must be placed between the word "port" and the command verb that follows it in order to have any effect. </div><div><br></div><br><blockquote type="cite"><div dir="ltr"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">which yields the following:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--->  Updating database of binaries</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--->  Scanning binaries for linking errors</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--->  Found 27 broken files, matching files to ports     </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--->  Found 6 broken ports, determining rebuild order</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">You can always run 'port rev-upgrade' again to fix errors.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The following ports will be rebuilt:</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> avahi @0.7+gtk+gtk3+x11</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> graphviz @2.40.1+pangocairo+x11</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> php72-apache2handler @7.2.16</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> gimp2 @2.8.22+python27</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> boost @1.66.0+no_single+no_static+python27</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""> sane-backends @1.0.27+avahi</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Continue? [Y/n]: Y</span></div></span></div></div></div></div></blockquote><div><br></div><br><blockquote type="cite"><div dir="ltr"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">--->  Building gtk-doc</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Failed to build gtk-doc: command execution failed</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk-doc/gtk-doc/main.log for details.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Problem while installing gtk-doc</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: rev-upgrade failed: Error rebuilding avahi</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Error: Follow <a href="https://guide.macports.org/#project.tickets" class="">https://guide.macports.org/#project.tickets</a> to report a bug.</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">The log file is attached.</span></div></span></div></div></div></div></blockquote><br></div><div>The log says the problem is:</div><div><br></div><div><p style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Helvetica;"><span style="font-size: 12pt;">:info:build /opt/local/bin/ranlib: object: .libs/libtester.a(tester.o) malformed object (unknown load command 1)</span></p></div><div><br></div><div>But I don't know why. Maybe you need a newer cctools and/or ld64, possibly using the xcode/ld64_xcode variant. Or maybe those ports just need to be upgraded first; I think they were just updated to new versions a few days ago. </div></body></html>