makerepropkg: -d does not check if diffoscope is installed and crashes later, extra parameters are either unhandled or passed to pacman by accident
It should check if the binary is available first and error out immediately.
: ~/AUR/http-server-upload
[0] % makerepropkg -d http-server-upload-3.0.0-2-any.pkg.tar.zst
...
==> WARNING: Package 'http-server-upload-3.0.0-2-any.pkg.tar.zst' is not reproducible. :(
57021c0811ed9a994c523d4cb938d7a6886eb89eda1d6a0484eb9f11b7411a1a http-server-upload-3.0.0-2-any.pkg.tar.zst
3b1d28dce9bd22064f029ea0f0261adb68583f7abdad5c7aefbc730ffd1cc2e0 /var/lib/archbuild/reproducible/c0rn3j/build/pkgdest/http-server-upload-3.0.0-2-any.pkg.tar.zst
/usr/bin/makerepropkg: line 276: diffoscope: command not found
Parameters are handled poorly in general -
Specifying parameters after package name makes them be ignored in the better case:
% makerepropkg foo -h
==> ERROR: package name 'foo' not in repos
Or passed on to pacman in the worse case:
[1] % makerepropkg http-server-upload-3.0.0-2-any.pkg.tar.zst --help
==> Downloading package 'usage: pacman {-S --sync} [options] [package(s)]