Task Todo List Remove usage of makepkg subroutines from PKGBUILDs

2020-01-17 - David Runge

The use of makepkg subroutines has been discussed in an old ticket [1].
In 2017 a warning about this was added to namcap and recently the wiki has been been updated to reflect this [2].
A list of packages (with false positives) can be found here [3].

Time for a cleanup!

As a sidenote: If you find, that you are shadowing a test run in check() (e.g. `test || warning "Test is broken"`) please consider *why* you are doing this and whether only a subset of the tests can be run instead (e.g. because parts of the tests are integration tests anyways, that can not be run in makechrootpkg).

EDIT:

After the creation of this TODO, all the functions in this list was made available through libmakepkg and can be considered fine to use inside PKGBUILDs.

[1] https://bugs.archlinux.org/task/43502
[2] https://wiki.archlinux.org/index.php/Arch_package_guidelines#Package_etiquette
[3] https://pkgbuild.vdwaa.nl/?q=(msg%20%7Cmsg2%20%7Cwarning%20%7Cerror%20%7Cplain%20)&i=nope&files=.*%2Ftrunk%2FPKGBUILD&repos=

Link to lists of pkgbase values:

Filter Todo List Packages

Select filter criteria
265 packages displayed out of 265 total packages.
Arch Repository Name Current Version Staging Version Maintainers Status Last Touched By
x86_64 Community afpfs-ng 0.8.2-2 idevolder Complete Foxboron
x86_64 Community aria2 1.36.0-1 felixonmars Complete Foxboron
any Community awstats 7.8-3 spupykin Complete spupykin
x86_64 Community backuppc 4.4.0-5 seblu Complete Foxboron
x86_64 Core bash 5.1.016-1 felixonmars, anthraxx, grazzolini Complete anthraxx
x86_64 Extra bind 9.18.7-1 seblu Complete heftig
x86_64 Extra bird 2.0.10-1 seblu Complete Foxboron
any Community blockdiag 3.0.0-1 felixonmars, dvzrv Complete dvzrv
x86_64 Community bmkdep 20140112-4 spupykin Complete spupykin
x86_64 Community box2d 2.4.1-1 svenstaro Complete svenstaro
x86_64 Core btrfs-progs 5.19.1-1 tpowa, seblu Complete tpowa
x86_64 Community ceph Complete Foxboron
x86_64 Community consul 1.13.1-1 foxxx0 Complete foxxx0
x86_64 Core coreutils 9.1-1 seblu Complete Foxboron
x86_64 Community deepin-qt5dxcb-plugin Complete FFY00
x86_64 Community deepin-system-monitor 5.9.28-1 felixonmars, FFY00 Complete FFY00
x86_64 Core diffutils 3.8-1 seblu Complete Foxboron
any Extra dkms 3.0.6-2 seblu Complete Foxboron
x86_64 Community docker 1:20.10.18-1 lfleischer, seblu, Foxboron Complete lfleischer
x86_64 Community dopewars 1.6.2-2 grawlinson Complete Foxboron
x86_64 Community doublecmd-gtk2 1.0.8-1 idevolder Complete idevolder
x86_64 Community doublecmd-qt5 1.0.8-1 idevolder Complete idevolder
x86_64 Community dovecot 2.3.19.1-1 demize, foxxx0 Complete foxxx0
x86_64 Community dsniff 2.4b1-28 anthraxx Complete zorun
x86_64 Community ext4magic 0.3.2-4 seblu Complete Foxboron
any Community fail2ban 1.0.1-1 felixonmars, polyzen Complete dvzrv
x86_64 Community fcitx-configtool 0.4.10-4 felixonmars Complete Foxboron
x86_64 Community fcitx-mozc 2.26.4360.102.gca82d39-2 felixonmars, farseerfc Complete Foxboron
x86_64 Core file 5.43-1 seblu Complete Foxboron
x86_64 Extra firefox 105.0.1-1 heftig Complete heftig
x86_64 Community firefox-developer-edition 106.0b7-1 andrewSC Complete Foxboron
any Extra geoip-database 20220823-1 foutrelis Complete foutrelis
x86_64 Core glibc 2.36-4 grazzolini, freswa Complete foutrelis
any Community golang-deepin-gir Complete Foxboron
x86_64 Community grafana 9.1.6-1 jelle, seblu Complete jelle
x86_64 Core grep 3.8-2 seblu Complete Foxboron
x86_64 Core gzip 1.12-1 seblu Complete Foxboron
x86_64 Community haskell-attoparsec 0.14.4-37 felixonmars Complete Foxboron
x86_64 Community haskell-aws 0.22.1-2 felixonmars Complete Foxboron
x86_64 Community haskell-clash-prelude 1.6.4-5 felixonmars Complete Foxboron
x86_64 Community haskell-dns 4.1.0-1 felixonmars Complete Foxboron
x86_64 Community haskell-doctest 0.20.0-44 felixonmars Complete Foxboron
x86_64 Community haskell-generic-lens 2.2.1.0-67 felixonmars Complete Foxboron
x86_64 Community haskell-hakyll 4.15.1.1-160 felixonmars, alerque Complete Foxboron
x86_64 Community haskell-hpack 0.35.0-8 felixonmars Complete Foxboron
x86_64 Community haskell-http-conduit 2.3.8-247 felixonmars Complete Foxboron
x86_64 Community haskell-network 3.1.2.7-41 felixonmars Complete Foxboron
x86_64 Community haskell-network2.8 Complete Foxboron
x86_64 Community haskell-servant-swagger 1.1.11-32 felixonmars Complete Foxboron
x86_64 Community haskell-singletons 3.0.2-1 felixonmars Complete Foxboron
x86_64 Community haskell-statistics 0.16.1.0-1 felixonmars Complete Foxboron
x86_64 Community haskell-system-filepath 0.4.14-211 felixonmars Complete Foxboron
x86_64 Community haskell-unicode-show 0.1.1.1-27 felixonmars Complete Foxboron
x86_64 Community haskell-wreq 0.5.3.3-263 felixonmars Complete Foxboron
x86_64 Community haskell-yaml 0.11.8.0-62 felixonmars, alerque Complete Foxboron
x86_64 Community hdf5-openmpi 1.12.2-3 Archange Complete Foxboron
x86_64 Community idris 1.3.4-41 felixonmars Complete Foxboron
any Community img2pdf 0.4.4-1 Archange Complete Foxboron
x86_64 Community iperf 2.1.8-1 seblu Complete Foxboron
x86_64 Extra ipset 7.15-1 seblu Complete anthraxx
x86_64 Community ipvsadm 1.31-1 seblu Complete Foxboron
x86_64 Extra jasper 3.0.6-1 anthraxx Complete anthraxx
x86_64 Extra jsoncpp 1.9.5-2 anthraxx Complete anthraxx
any Community khal 0.10.5-3 polyzen, dvzrv Complete dvzrv
x86_64 Community kodi 19.4-5 idevolder Complete idevolder
x86_64 Multilib lib32-gettext 0.21-1 felixonmars Complete Foxboron
x86_64 Multilib lib32-libappindicator-gtk2 12.10.0-13 anthraxx Complete Foxboron
x86_64 Multilib lib32-libappindicator-gtk3 12.10.0-13 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-glib 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-gtk2 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libdbusmenu-gtk3 16.04.0-5 anthraxx Complete Foxboron
x86_64 Multilib lib32-libindicator-gtk2 12.10.1-9 anthraxx Complete Foxboron
x86_64 Multilib lib32-libindicator-gtk3 12.10.1-9 anthraxx Complete Foxboron
x86_64 Multilib lib32-pcre 8.45-3 felixonmars Complete Foxboron
x86_64 Multilib lib32-readline 8.1.002-1 felixonmars, grazzolini Complete Foxboron
x86_64 Community libappindicator-gtk2 12.10.0.r296-2 anthraxx Complete Foxboron
x86_64 Community libappindicator-gtk3 12.10.0.r296-2 anthraxx Complete Foxboron
x86_64 Community libdbusmenu-glib 16.04.0-5 anthraxx Complete Foxboron
x86_64 Community libdbusmenu-gtk2 16.04.0-5 anthraxx Complete Foxboron
x86_64 Community libdbusmenu-gtk3 16.04.0-5 anthraxx Complete Foxboron
x86_64 Community libeatmydata 130-1 felixonmars Complete Foxboron
x86_64 Community libindicator-gtk2 12.10.1-10 anthraxx Complete Foxboron
x86_64 Community libindicator-gtk3 12.10.1-10 anthraxx Complete Foxboron
x86_64 Core libnftnl 1.2.3-1 seblu Complete Foxboron
x86_64 Community libsieve 2.3.1-5 spupykin Complete spupykin
x86_64 Community libvirt 1:8.7.0-1 svenstaro, freswa Complete shibumi
x86_64 Core linux 5.19.12.arch1-1 tpowa, heftig, dvzrv Complete heftig
x86_64 Extra linux-hardened 5.19.12.hardened1-1 anthraxx Complete anthraxx
x86_64 Core linux-lts 5.15.71-1 andyrtr Complete heftig
x86_64 Extra linux-zen 5.19.12.zen1-1 heftig, dvzrv Complete heftig
x86_64 Community lsp-plugins 1.2.3-1 dvzrv Complete dvzrv
x86_64 Extra lua-lpeg 1.0.2-4 eworm Complete eworm
x86_64 Core lz4 1:1.9.4-1 seblu Complete Foxboron
x86_64 Community mailman Complete Foxboron
x86_64 Community mcabber 1.1.2-2 spupykin Complete spupykin
x86_64 Community mgard 1.0.0-1 Archange Complete Foxboron
x86_64 Community mingw-w64-binutils 2.38-3 felixonmars Complete Foxboron
any Community mingw-w64-crt 10.0.0-1 felixonmars Complete Foxboron
any Community mingw-w64-headers 10.0.0-1 felixonmars Complete Foxboron
any Community mingw-w64-winpthreads 10.0.0-1 felixonmars Complete Foxboron
x86_64 Community mongo-c-driver 1.23.0-1 felixonmars Complete Foxboron
x86_64 Community moony.lv2 0.40.0-1 dvzrv Complete dvzrv
x86_64 Community ndisc6 1.0.5-1 seblu Complete Foxboron
x86_64 Community netcdf-fortran-openmpi 4.6.0-1 Archange Complete Foxboron
x86_64 Community netperf 2.7.0-6 seblu Complete Foxboron
x86_64 Extra nftables 1:1.0.5-1 seblu Complete Foxboron
x86_64 Community nim 1.6.6-1 anthraxx Complete Foxboron
x86_64 Community nodejs 18.10.0-1 felixonmars Complete Foxboron
x86_64 Community nodejs-lts-dubnium Complete Archange
x86_64 Community nodejs-lts-erbium Complete Archange
x86_64 Extra numactl 2.0.16-1 dvzrv Complete dvzrv
x86_64 Community openscad 2021.01-6 kkeen Complete Foxboron
any Extra ovmf Complete anatolik
x86_64 Community pandoc 2.19.2-7 felixonmars, alerque Complete Foxboron
x86_64 Community pandoc-citeproc Complete Foxboron
x86_64 Core patch 2.7.6-8 seblu Complete Foxboron
x86_64 Core pcre 8.45-3 seblu Complete Foxboron
any Community peda 1.2-2 anthraxx Complete Foxboron
any Community perl-gnupg-interface 1.02-3 Foxboron Complete Foxboron
any Extra perl-io-socket-ssl 2.075-1 felixonmars Complete Foxboron
any Community perl-term-table 0.016-3 felixonmars Complete Foxboron
any Extra perl-xml-twig 3.52-9 felixonmars Complete Foxboron
x86_64 Community pigeonhole 0.5.19-2 demize, foxxx0 Complete foxxx0
x86_64 Extra postgresql 14.5-1 anthraxx Complete anthraxx
x86_64 Community postgrest 10.0.0-3 felixonmars Complete Foxboron
x86_64 Community profanity 1:0.13.0-1 anthraxx, freswa Complete anthraxx
x86_64 Community python2-matplotlib Complete Archange
x86_64 Community python2-tornado Complete Foxboron
any Community python-alembic 1.7.5-1 felixonmars, anthraxx Complete anthraxx
any Community python-apispec-webframeworks 0.5.2-5 felixonmars Complete Foxboron
any Community python-aspectlib 1.5.2-3 felixonmars Complete Foxboron
any Community python-astor 0.8.1-5 felixonmars Complete Foxboron
any Community python-axolotl 0.2.3-5 anthraxx Complete Foxboron
x86_64 Community python-axolotl-curve25519 0.4.1.2-8 anthraxx Complete Foxboron
any Extra python-beaker 1.11.0-8 felixonmars Complete Foxboron
x86_64 Community python-bluepy 1.3.0-5 anthraxx Complete Foxboron
any Community python-bottle 0.12.23-1 felixonmars Complete Foxboron
any Community python-cached-property 1.5.2-5 felixonmars Complete Foxboron
any Community python-cairocffi 1.4.0-1 felixonmars, farseerfc Complete farseerfc
any Community python-cherrypy 18.8.0-1 foxxx0 Complete foxxx0
any Community python-colorama 0.4.5-1 felixonmars Complete Foxboron
any Community python-configargparse 1.5.2-1 felixonmars Complete Foxboron
any Community python-cookies 2.2.1-6 felixonmars Complete Foxboron
any Community python-couchdb Complete Foxboron
x86_64 Community python-coverage 6.2-1 felixonmars, FFY00 Complete dvzrv
x86_64 Community python-cx_freeze Complete Foxboron
any Community python-digitalocean 1.17.0-3 felixonmars Complete Foxboron
any Community python-elementpath 3.0.2-1 felixonmars Complete Foxboron
any Community python-flask-migrate 3.1.0-1 anthraxx Complete Foxboron
any Community python-flask-restful 0.3.9-3 felixonmars Complete Foxboron
any Community python-freezegun 1.2.1-1 Complete Foxboron
any Community python-future 0.18.2-7 felixonmars, FFY00 Complete Foxboron
any Community python-geocoder 1.38.1-4 felixonmars Complete Foxboron
x86_64 Community python-gevent 21.12.0-1 felixonmars Complete Foxboron
x86_64 Community python-h5py 3.7.0-1 Archange Complete Archange
x86_64 Community python-h5py-openmpi 3.7.0-1 Archange Complete Archange
any Community python-htmlmin 0.1.12-8 anthraxx Complete Foxboron
any Community python-httplib2 0.20.4-1 Complete Foxboron
any Community python-httpretty 1.1.4-3 felixonmars Complete Foxboron
x86_64 Community python-hunter 3.4.3-1 felixonmars Complete Foxboron
any Community python-ibm-db-sa 0.3.8-1 Complete Foxboron
any Community python-invoke 1.7.0-1 Complete Foxboron
any Extra python-isort 5.10.1-5 alerque Complete alerque
any Community python-js2py 0.71-4 felixonmars Complete Foxboron
any Community python-ldap3 2.9.1-3 felixonmars Complete Foxboron
any Community python-locket 1.0.0-1 Archange Complete Foxboron
any Community python-manhole 1.8.0-3 felixonmars Complete Foxboron
x86_64 Community python-matplotlib 3.5.2-1 felixonmars, Archange Complete Foxboron
any Community python-mongoengine 0.24.2-1 felixonmars Complete Foxboron
any Community python-nose-progressive Complete dvzrv
any Community python-novaclient 18.1.0-1 felixonmars Complete Foxboron
any Community python-openmdao 3.16.0-1 Complete Foxboron
any Community python-openstackclient 6.0.0-1 felixonmars Complete Foxboron
any Community python-openstacksdk 0.101.0-1 felixonmars Complete Foxboron
any Community python-oslo-concurrency 5.0.0-1 felixonmars Complete Foxboron
any Community python-oslo-log 5.0.0-1 felixonmars Complete Foxboron
any Community python-oslo-utils 6.0.1-1 felixonmars Complete Foxboron
any Community python-passlib 1.7.4-5 felixonmars Complete Foxboron
any Community python-pbkdf2 1.3-10 felixonmars, anthraxx Complete Foxboron
x86_64 Community python-pcapy 1.0.5-1 anthraxx Complete Foxboron
any Community python-periphery 2.3.0-2 felixonmars Complete Foxboron
any Extra python-pip 22.2.2-2 dvzrv Complete Foxboron
any Community python-pkginfo 1.8.3-1 grawlinson Complete Foxboron
x86_64 Community python-prctl 1.8.1-3 felixonmars, yan12125 Complete Foxboron
any Community python-ptrace 0.9.8-3 anthraxx Complete anthraxx
any Community python-py 1.11.0-1 felixonmars, FFY00 Complete Foxboron
any Community python-pyassert Complete felixonmars
x86_64 Community python-pybox2d 1:2.3.10-1 felixonmars Complete Foxboron
any Community python-pybuilder Complete felixonmars
x86_64 Extra python-pycurl 7.45.1-1 felixonmars Complete Foxboron
any Community python-pydot 1.4.2-3 felixonmars Complete Foxboron
any Extra python-pyelftools 0.29-1 remy, anthraxx Complete anthraxx
any Community python-pyfix Complete felixonmars
any Community python-pyftpdlib 1.5.6-5 felixonmars Complete Foxboron
any Community python-pyjwt 2.5.0-1 alucryd, sangy Complete Foxboron
any Community python-pynamecheap 0.0.3-8 felixonmars Complete Foxboron
any Extra python-pyopenssl 22.1.0-1 Complete Foxboron
any Community python-pypandoc 1.8.1-1 felixonmars, alerque Complete Foxboron
any Community python-pysimplesoap 1.16.2-6 felixonmars Complete Foxboron
any Community python-pytest-cache Complete Foxboron
any Community python-pytest-cov 4.0.0-1 felixonmars, FFY00 Complete Foxboron
any Community python-pyvirtualdisplay 3.0-1 Archange Complete Foxboron
any Community python-qiniu 7.9.0-2 felixonmars Complete Foxboron
any Community python-raven Complete Foxboron
any Community python-readme-renderer 37.2-1 Complete Foxboron
any Community python-recommonmark 0.7.1-5 foutrelis Complete Foxboron
any Community python-redis 4.3.4-1 Complete Foxboron
any Community python-requirementslib 2.0.3-1 Complete Foxboron
any Community python-secretstorage 3.3.3-1 felixonmars, FFY00 Complete FFY00
any Community python-sphinxcontrib-bibtex 2.5.0-1 kgizdov Complete kgizdov
any Community python-sphinxcontrib-seqdiag 3.0.0-1 Complete Foxboron
any Community python-spur 0.3.22-5 Archange Complete Foxboron
any Community python-sqlalchemy-migrate 0.13.0-8 Complete eschwartz
any Community python-stestr 4.0.1-1 felixonmars Complete Foxboron
any Community python-subunit 1.4.0-5 felixonmars Complete Foxboron
any Community python-sympy 1.11.1-1 felixonmars, arojas Complete arojas
any Community python-terminaltables 3.1.0-9 anthraxx Complete shibumi
any Community python-testrepository 0.0.20-10 felixonmars Complete Foxboron
x86_64 Community python-tornado 6.2.0-1 felixonmars, FFY00 Complete Foxboron
any Community python-ukpostcodeparser 1.1.2-10 felixonmars Complete Foxboron
any Community python-wand 0.6.10-1 felixonmars Complete Foxboron
any Community python-whoosh 2.7.4-9 felixonmars Complete Foxboron
any Community python-xarray 2022.06.0-1 Archange Complete Foxboron
x86_64 Community python-xattr 0.9.9-1 felixonmars Complete Foxboron
x86_64 Community python-xmlsec 1.3.13-1 felixonmars Complete Foxboron
x86_64 Community python-yaml 6.0-1 lfleischer, anthraxx, dvzrv Complete lfleischer
x86_64 Community python-yara 4.2.3-1 anthraxx Complete anthraxx
any Community python-zeep 4.1.0-3 felixonmars Complete Foxboron
any Community python-zope-configuration 4.4.1-1 felixonmars Complete Foxboron
any Community python-zope-copy 4.2-7 felixonmars Complete Foxboron
x86_64 Community python-zope-i18nmessageid 5.0.1-5 felixonmars Complete Foxboron
any Community python-zope-location 4.2-8 felixonmars Complete Foxboron
any Community python-zope-testing 4.10-1 felixonmars Complete Foxboron
x86_64 Extra quagga 1.2.4-6 seblu Complete Foxboron
x86_64 Community r8168 8.050.03-29 mtorromeo Complete mtorromeo
x86_64 Community r8168-lts 8.050.03-27 mtorromeo Complete mtorromeo
x86_64 Community rclone 1.59.2-1 felixonmars, shibumi, Foxboron Complete Foxboron
x86_64 Core readline 8.1.002-1 felixonmars, anthraxx, grazzolini Complete Foxboron
x86_64 Extra refind-efi Complete dvzrv
x86_64 Extra rust 1:1.64.0-1 heftig, demize Complete heftig
any Extra scons 4.4.0-1 dvzrv Complete dvzrv
x86_64 Core sed 4.8-1 seblu Complete Foxboron
any Community seqdiag 3.0.0-1 felixonmars, dvzrv Complete dvzrv
any Community shadowsocks 3.0.0a.20180219-5 felixonmars Complete Foxboron
x86_64 Extra spamassassin 3.4.6-3 bluewind Complete bluewind
any Community spyder 5.3.2-2 Archange Complete Foxboron
x86_64 Community sssd 2.7.4-2 mtorromeo Complete mtorromeo
x86_64 Community supercollider 3.12.2-3 dvzrv, ainola Complete dvzrv
x86_64 Extra swig 4.0.2-5 felixonmars Complete Foxboron
x86_64 Community swig3 Complete felixonmars
x86_64 Core tar 1.34-1 seblu Complete Foxboron
x86_64 Community ucarp 1.5.2-8 seblu Complete Foxboron
x86_64 Extra ulogd 2.0.7-3 seblu Complete Foxboron
x86_64 Community uwsgi 2.0.20-7 svenstaro, felixonmars, dvzrv Complete svenstaro
x86_64 Extra valgrind 3.19.0-5 anthraxx Complete anthraxx
x86_64 Community vigra 1.11.1.r67+g093d57d1-4 Archange Complete Foxboron
x86_64 Extra vim 9.0.0354-1 anthraxx, Foxboron Complete anthraxx
x86_64 Community virtualbox 6.1.38-1 eworm Complete eworm
x86_64 Extra vlc 3.0.17.4-8 anthraxx, dvzrv Complete anthraxx
x86_64 Community weston 10.0.2-1 lcarlier, seblu Complete Foxboron
x86_64 Multilib wine 7.18-1 felixonmars Complete Foxboron
x86_64 Multilib wine-staging 7.18-1 felixonmars Complete Foxboron
any Core wireless-regdb 2022.08.12-1 tpowa Complete Foxboron
x86_64 Core wpa_supplicant 2:2.10-5 Foxboron Complete Foxboron
any Community yapf 0.32.0-1 felixonmars, shibumi Complete felixonmars