Hi, 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.
So - workaround found. Peter > On 6 Jun 2018, at 11:48, Peter Brommer <[email protected]> wrote: > > Hi, > > I want to prevent macports from trying to upgrade geoclue2 (due to the bug > #56548 it won’t currently build). > > 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. > > This is the debug log from the first appearance of geoclue2 onwards: > > DEBUG: geoclue2 is *not* installed by MacPorts > DEBUG: Searching for dependency: geoclue2 > DEBUG: Didn't find receipt, going to depspec regex for: geoclue2 > DEBUG: Changing to port directory: > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/geoclue2 > DEBUG: OS darwin/17.5.0 (Mac OS X 10.13) arch i386 > DEBUG: adding the default universal variant > DEBUG: Reading variant descriptions from > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf > DEBUG: Requested variant -gvfs is not provided by port geoclue2. > DEBUG: Requested variant +python27 is not provided by port geoclue2. > DEBUG: Requested variant +quartz is not provided by port geoclue2. > DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies > DEBUG: Finished running callback > portconfigure::add_automatic_compiler_dependencies > DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies > DEBUG: Finished running callback > portbuild::add_automatic_buildsystem_dependencies > DEBUG: Running callback portstartupitem::add_notes > DEBUG: Finished running callback portstartupitem::add_notes > DEBUG: epoch: in tree: 0 installed: 0 > DEBUG: libnotify 0.7.7_0 exists in the ports tree > DEBUG: libnotify 0.7.7_0 is the latest installed > DEBUG: libnotify 0.7.7_0 is active > DEBUG: Merging existing variants '' into variants > DEBUG: new fully merged portvariants: quartz + > DEBUG: Changing to port directory: > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libnotify > DEBUG: OS darwin/17.5.0 (Mac OS X 10.13) arch i386 > DEBUG: Sourcing PortGroup gobject_introspection 1.0 from > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/gobject_introspection-1.0.tcl > DEBUG: adding the default universal variant > DEBUG: Reading variant descriptions from > /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf > DEBUG: Requested variant +quartz is not provided by port libnotify. > DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies > DEBUG: Finished running callback > portconfigure::add_automatic_compiler_dependencies > DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies > DEBUG: Finished running callback > portbuild::add_automatic_buildsystem_dependencies > DEBUG: Running callback portstartupitem::add_notes > DEBUG: Finished running callback portstartupitem::add_notes > DEBUG: No need to upgrade! libnotify 0.7.7_0 >= libnotify 0.7.7_0 > DEBUG: dropping privileges: euid changed to 503, egid changed to 501. > DEBUG: Starting logging for geoclue2 > DEBUG: macOS 10.13 (darwin/17.5.0) arch i386 > DEBUG: MacPorts 2.5.2 > DEBUG: Xcode none > DEBUG: SDK 10.13 > DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.13 > Warning: Xcode does not appear to be installed; most ports will likely fail > to build. > ---> Computing dependencies for geoclue2 > ... > > Any idea how I can prevent this? Any nuclear option to exclude a package and > its dependents from being upgraded? > > Thanks, > > Peter -- Dr Peter Brommer Assistant Professor | Warwick Centre for Predictive Modelling | School of Engineering | University of Warwick [email protected] <mailto:[email protected]> | www.warwick.ac.uk/pbrommer <http://www.warwick.ac.uk/pbrommer> | External: +44 (0) 24 7652 8613 | Internal: 28613 D2.08 | School of Engineering | Library Road | Coventry | CV4 7AL | United Kingdom PGP Key: 2048R/B6DEA483 | Fingerprint: 5B6F F30A 9999 79C0 16CD 939E B406 9D2A B6DE A483
