• Dave Reisner's avatar
    makepkg: drop duplicate reporting of missing dependencies · 4246a4cc
    Dave Reisner authored and Allan McRae's avatar Allan McRae committed
    When pacman fails to satisfy deps, we might see output like the
    ==> Making package: spiderfoot 3.0-1 (Thu 06 Feb 2020 12:45:10 PM CET)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    error: target not found: python-pygexf
    ==> ERROR: 'pacman' failed to install missing dependencies.
    ==> Missing dependencies:
      -> python-dnspython
      -> python-exifread
      -> python-cherrypy
      -> python-beautifulsoup4
      -> python-netaddr
      -> python-pysocks
      -> python-ipwhois
      -> python-ipaddress
      -> python-phonenumbers
      -> python-pypdf2
      -> python-stem
      -> python-whois
      -> python-future
      -> python-pyopenssl
      -> python-docx
      -> python-pptx
      -> python-networkx
      -> python-cryptography
      -> python-secure
      -> python-pygexf
      -> python-adblockparser
    ==> Checking buildtime dependencies...
    ==> ERROR: Could not resolve all dependencies.
    This is misleading -- the only truly missing package is python-pygexf,
    but we fail to remove sync-able deps from our deplist and report
    everything as if it were missing. Simply drop this extra reporting
    because pacman already tells us exactly what couldn't be resolved.
    Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>