Prevent upgrade from upgrading geoclue2
Peter Brommer
p.brommer at warwick.ac.uk
Wed Jun 6 10:48:12 UTC 2018
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
More information about the macports-users
mailing list