Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xlint: check if nocross or broken have value of 'yes' #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JamiKettunen
Copy link
Contributor

@JamiKettunen JamiKettunen commented Sep 12, 2022

This started when I saw this output trying to cross-build some software after adding a new build-time dependency:

=> ERROR: rrdtool-devel-1.7.2_11: cannot be cross compiled...
=> ERROR: rrdtool-devel-1.7.2_11: yes

Both nocross and broken should give some hint or buildlog link as to why they're not being built as per https://github.com/void-linux/void-packages/blob/master/Manual.md#optional-variables.

There's also >150 packages currently just setting it to yes as per my test run of xlint $(find srcpkgs -name template) | grep 'nocross should briefly describe the build failure or link to a buildlog' in an up-to-date void-packages clone:

Clock to show/hide the 155 package results
srcpkgs/bacon/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/crawl/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/argyllcms/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/amdvlk/template:43: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-x86_64-w64-mingw32/template:39: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc64-linux-musl/template:31: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc-linux-gnu/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/bk/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-mipsel-linux-musl/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/0ad-data/template:12: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/coccinelle/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/clisp/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-none-eabi-binutils/template:34: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-linux-gnueabi/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc64le-linux-gnu/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc64le-linux-musl/template:31: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/bup/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/c-client/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/crimson/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-x86_64-linux-gnu/template:26: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-armv7l-linux-gnueabihf/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-none-eabi-libstdc++/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-or1k-none-elf-binutils/template:34: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-linux-musleabihf/template:30: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/debug-me/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/FreeRADIUS/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cabal-install/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cgrep/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/camlp5/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/calibre/template:33: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/MoarVM/template:19: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/R/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/apache-ant/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/crawl-tiles/template:20: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-linux-gnueabihf/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-linux-musleabi/template:30: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-arm-none-eabi-gcc/template:22: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-i686-pc-linux-gnu/template:26: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc64-linux-gnu/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/bglibs/template:12: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/coq/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/crash/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-aarch64-linux-gnu/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-aarch64-linux-musl/template:30: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-armv7l-linux-musleabihf/template:30: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-i686-linux-musl/template:29: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-mips-linux-musl/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-mips-linux-muslhf/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-mipsel-linux-muslhf/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-or1k-none-elf-gcc/template:22: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpc-linux-musl/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpcle-linux-gnu/template:27: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-powerpcle-linux-musl/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/cross-x86_64-linux-musl/template:29: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/darcs/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/fpc/template:40: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gscan2pdf/template:20: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gerbil/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/hivex/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ghc/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/go1.12-bootstrap/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/givaro/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/handbrake/template:26: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/hoogle/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ftjam/template:5: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gcc6/template:28: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ghc-bin/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gnugo/template:12: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/dev86/template:11: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/emacs/template:30: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/es/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ghdl/template:20: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ghidra/template:69: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/git-mediate/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/hlint/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/dmd2.091/template:26: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/firejail/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/fvwm3/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gnushogi/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gprolog/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/fvwm/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/git-annex/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/gzdoom/template:21: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/juCi++/template:22: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/fflas-ffpack/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/mupen64plus/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/linbox/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml-findlib/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ispc/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/libguestfs/template:29: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/mandrel/template:24: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/linux-tools/template:43: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/mplayer/template:26: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/nethack/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/kmonad/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/kubernetes/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/hledger/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/msrc_base/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ksh/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/dsda-doom/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/libreoffice/template:7: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/nqp/template:19: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml-zarith/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/sympow/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/pingus/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/schilytools/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/supermin/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/vagrant/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk16-bootstrap/template:48: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/xcolorsel/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/pcc/template:21: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/utox/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/perl-DBD-Pg/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/sbcl/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk13-bootstrap/template:46: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/polyml/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/sam2p/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/webkit2gtk/template:86: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/plan9port/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/rox/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/telepathy-gabble/template:20: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml-num/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/tracebox/template:24: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/xf86-video-mach64/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk7-bootstrap/template:84: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/stack/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk12-bootstrap/template:46: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/splint/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/urbanterror/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/xonotic/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/tcc/template:18: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/vscode/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocamlbuild/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/rrdtool/template:23: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk15-bootstrap/template:48: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml-camlp-streams/template:13: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/pandoc/template:35: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/pdftk/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/rtags/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ocaml-stdcompat/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/rakudo/template:36: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/shellcheck/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/msp430-toolchain/template:17: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/zig/template:16: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk10-bootstrap/template:55: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/ntl/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/xmobar/template:23: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/xvkbd/template:14: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk9-bootstrap/template:71: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/python3-cysignals/template:15: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/sysdig/template:25: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/openjdk14-bootstrap/template:45: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/schroot/template:57: nocross should briefly describe the build failure or link to a buildlog
srcpkgs/opam/template:18: nocross should briefly describe the build failure or link to a buildlog

Similarly for broken should briefly describe the build failure or link to a buildlog there only was a single result:

srcpkgs/mac-fdisk/template:17: broken should briefly describe the build failure or link to a buildlog

@classabbyamp
Copy link
Contributor

would be nice to have broken be checked for the same thing

@JamiKettunen JamiKettunen changed the title xlint: check if nocross has value "yes" xlint: check if nocross or broken have value of 'yes' Sep 12, 2022
They should give some hint or buildlog link as to why they're not being
built.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants