You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bf5d32af2a
When a package declares a PKG_BUILD_DEPENDENCY or HOST_BUILD_DEPENDENCY on a not existing build type, the metadata script will emit a reference to an unresolvable build target in tmp/.packagedeps, causing the make process to fail hard in a way not catchable by the IGNORE_ERRORS mechanism. In a situation where a package "test-a" declares a build dependency "PKG_BUILD_DEPENDS:=test-b/host" while the Makefile of "test-b" does not implement a HostBuild, make fails with an unrecoverable error in the form: make[1]: Entering directory '...' make[1]: *** No rule to make target 'package/test-b/host/compile', needed by 'package/test-a/compile'. Stop. make[1]: Leaving directory '...' .../toplevel.mk:200: recipe for target 'package/test-a/compile' failed make: *** [package/test-a/compile] Error 2 Extend the metadata generation script to catch such unresolved references and emit a visable warning upon detection. After this change, the script will emit a warning similar to: WARNING: Makefile "package/test-a/Makefile" has a build dependency on "test-b/host" but "package/test-b/Makefile" does not implement a "host" build type Fixes a global build cluster outage which occured after the "python-cffi" feed package removed its HostBuild which the "python-cryptography" package build-depended on. Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
7 years ago | |
---|---|---|
.. | ||
config | 8 years ago | |
flashing | 7 years ago | |
arm-magic.sh | 9 years ago | |
brcmImage.pl | 8 years ago | |
bundle-libraries.sh | 7 years ago | |
checkpatch.pl | 7 years ago | |
clang-gcc-wrapper | 11 years ago | |
clean-package.sh | 11 years ago | |
cleanfile | 7 years ago | |
cleanpatch | 7 years ago | |
combined-ext-image.sh | 7 years ago | |
combined-image.sh | 7 years ago | |
config.guess | 9 years ago | |
config.rpath | 13 years ago | |
config.sub | 9 years ago | |
deptest.sh | 8 years ago | |
diffconfig.sh | 8 years ago | |
dl_cleanup.py | 9 years ago | |
download.pl | 7 years ago | |
env | 9 years ago | |
ext-toolchain.sh | 7 years ago | |
feeds | 7 years ago | |
fixup-makefile.pl | 8 years ago | |
gen-dependencies.sh | 7 years ago | |
gen_image_generic.sh | 7 years ago | |
get_source_date_epoch.sh | 7 years ago | |
getver.sh | 7 years ago | |
ipkg-build | 8 years ago | |
ipkg-make-index.sh | 7 years ago | |
kconfig.pl | 8 years ago | |
make-ipkg-dir.sh | 8 years ago | |
md5sum | 16 years ago | |
metadata.pm | 7 years ago | |
mkhash.c | 7 years ago | |
mkits.sh | 8 years ago | |
om-fwupgradecfg-gen.sh | 7 years ago | |
package-metadata.pl | 7 years ago | |
pad_image | 8 years ago | |
patch-kernel.sh | 9 years ago | |
patch-specs.sh | 12 years ago | |
portable_date.sh | 8 years ago | |
qemustart | 7 years ago | |
redboot-script.pl | 8 years ago | |
relink-lib.sh | 13 years ago | |
remote-gdb | 7 years ago | |
rstrip.sh | 7 years ago | |
slugimage.pl | 16 years ago | |
srecimage.pl | 8 years ago | |
strip-kmod.sh | 8 years ago | |
symlink-tree.sh | 8 years ago | |
sysupgrade-tar.sh | 8 years ago | |
target-metadata.pl | 7 years ago | |
timestamp.pl | 14 years ago | |
ubinize-image.sh | 8 years ago |