<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I figured out what might have been the issue here. geoclue2 is not currently installed and so rdeps are not available (geoclue2 is only installed as a new dependency of gimp2 on gvfs). If I add “not gimp and not gimp2” to my command line, I can get other ports to upgrade.</div><div class=""><br class=""></div><div class="">So - workaround found.</div><div class=""><br class=""></div><div class="">Peter</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 6 Jun 2018, at 11:48, Peter Brommer <<a href="mailto:p.brommer@warwick.ac.uk" class="">p.brommer@warwick.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">I want to prevent macports from trying to upgrade geoclue2 (due to the bug #56548 it won’t currently build). <br class=""><br class="">I tried sudo port -bd upgrade outdated and not geoclue2 and not rdependentof:geoclue2 - but it still finds a way to try and upgrade it.<br class=""><br class="">This is the debug log from the first appearance of geoclue2 onwards:<br class=""><br class="">DEBUG: geoclue2 is *not* installed by MacPorts<br class="">DEBUG: Searching for dependency: geoclue2<br class="">DEBUG: Didn't find receipt, going to depspec regex for: geoclue2<br class="">DEBUG: Changing to port directory: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/release/tarballs/ports/devel/geoclue2" class="">rsync.macports.org/release/tarballs/ports/devel/geoclue2</a><br class="">DEBUG: OS darwin/17.5.0 (Mac OS X 10.13) arch i386<br class="">DEBUG: adding the default universal variant<br class="">DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/<a href="http://rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf" class="">rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf</a><br class="">DEBUG: Requested variant -gvfs is not provided by port geoclue2.<br class="">DEBUG: Requested variant +python27 is not provided by port geoclue2.<br class="">DEBUG: Requested variant +quartz is not provided by port geoclue2.<br class="">DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies<br class="">DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies<br class="">DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies<br class="">DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies<br class="">DEBUG: Running callback portstartupitem::add_notes<br class="">DEBUG: Finished running callback portstartupitem::add_notes<br class="">DEBUG: epoch: in tree: 0 installed: 0<br class="">DEBUG: libnotify 0.7.7_0 exists in the ports tree<br class="">DEBUG: libnotify 0.7.7_0  is the latest installed<br class="">DEBUG: libnotify 0.7.7_0  is active<br class="">DEBUG: Merging existing variants '' into variants<br class="">DEBUG: new fully merged portvariants: quartz +<br class="">DEBUG: Changing to port directory: /opt/local/var/macports/sources/<a href="http://rsync.macports.org/release/tarballs/ports/devel/libnotify" class="">rsync.macports.org/release/tarballs/ports/devel/libnotify</a><br class="">DEBUG: OS darwin/17.5.0 (Mac OS X 10.13) arch i386<br class="">DEBUG: Sourcing PortGroup gobject_introspection 1.0 from /opt/local/var/macports/sources/<a href="http://rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/gobject_introspection-1.0.tcl" class="">rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/gobject_introspection-1.0.tcl</a><br class="">DEBUG: adding the default universal variant<br class="">DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/<a href="http://rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf" class="">rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf</a><br class="">DEBUG: Requested variant +quartz is not provided by port libnotify.<br class="">DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies<br class="">DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies<br class="">DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies<br class="">DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies<br class="">DEBUG: Running callback portstartupitem::add_notes<br class="">DEBUG: Finished running callback portstartupitem::add_notes<br class="">DEBUG: No need to upgrade! libnotify 0.7.7_0 >= libnotify 0.7.7_0<br class="">DEBUG: dropping privileges: euid changed to 503, egid changed to 501.<br class="">DEBUG: Starting logging for geoclue2<br class="">DEBUG: macOS 10.13 (darwin/17.5.0) arch i386<br class="">DEBUG: MacPorts 2.5.2<br class="">DEBUG: Xcode none<br class="">DEBUG: SDK 10.13<br class="">DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.13<br class="">Warning: Xcode does not appear to be installed; most ports will likely fail to build.<br class="">--->  Computing dependencies for geoclue2<br class="">...<br class=""><br class="">Any idea how I can prevent this? Any nuclear option to exclude a package and its dependents from being upgraded?<br class=""><br class="">Thanks,<br class=""><br class="">Peter</div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">--  <br class="">Dr Peter Brommer<br class="">Assistant Professor  |  Warwick Centre for Predictive Modelling  |  School of Engineering  |  University of Warwick<br class=""><a href="mailto:pbrommer@warwick.ac.uk" class="">p.brommer@warwick.ac.uk</a>  |  <a href="http://www.warwick.ac.uk/pbrommer" class="">www.warwick.ac.uk/pbrommer</a>  |  External: +44 (0) 24 7652 8613  |  Internal: 28613  <br class=""><br class="">D2.08  |  School of Engineering  | Library Road | Coventry  |  CV4 7AL  |  United Kingdom<br class=""><br class="">PGP Key: 2048R/B6DEA483 | Fingerprint: 5B6F F30A 9999 79C0 16CD 939E B406 9D2A B6DE A483</div></div>
</div>
<br class=""></div></body></html>