rpm-build/scripts
Vitaly Chikunov b9ea232966 debuginfo: Fix adding non-existent files into debuginfo package
Do not add (uncompressed) module (or vmlinux) into debuginfo package if
it does not actually exists.

Due to other bugs there could be compressed kernel module, (which
implies adding uncompressed module into debuginfo), but, uncompressed
version (which brp-debuginfo should create) does not exist, making
build errors such as:

  error: No such file or directory: /usr/src/tmp/kernel-image-std-def-buildroot/usr/lib/debug/lib/modules/5.8.0-std-def-alt1/kernel/fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko

Reported-by: Anton V. Boyarshinov <boyarsh@altlinux.org>
Fixes: 7aa048df ("Generate debuginfo for kernel packages")
2020-08-28 03:09:00 +03:00
..
.provides.sh find-package: renamed FindByPath -> FindByFile 2010-04-08 11:24:55 +04:00
0common-files.req.list 0common-files.req.list: remove /etc/syslog.d 2018-08-28 18:05:40 +00:00
0ldconfig.filetrigger 0ldconfig.filetrigger: execute telinit if appropriate 2012-08-30 23:05:00 +00:00
brp-adjust_libraries.in Removed cvsid tags. 2006-05-14 17:05:34 +04:00
brp-alt.in %%distribution: ALT Linux --> ALT (ALT#32707) and some minor corrections of old @altlinux.ru addresses 2016-11-29 15:12:34 +03:00
brp-bytecompile_python.in brp-bytecompile_python: exclude paths listed in $RPM_PYTHON3_COMPILE_INCLUDE (ALT#28606) 2016-03-09 15:02:22 +00:00
brp-check_contents.in brp-check_contents: do not suppress normal grep output 2017-10-26 14:23:23 +00:00
brp-cleanup.in brp-cleanup: perl cleanup routines moved to rpm-build-perl 2011-10-21 01:27:51 +04:00
brp-compress.in scripts/brp-compress.in: Avoid non-standard info directories (ALT#19993) 2009-05-20 21:51:11 +00:00
brp-debuginfo.in debuginfo: Implement %_stripped_files_terminate_build 2020-08-23 17:01:20 +03:00
brp-fix-perms.in brp-fix-perms: fix "find -perm" syntax 2012-08-08 13:15:41 +00:00
brp-fixup.in fixup-desktop: new file that does trivial fixes in desktop files 2011-05-13 21:43:39 +00:00
brp-hardlink_pyo_pyc.in introduce brp-hardlink_pyo_pyc (splitted from brp-bytecompile_python) 2012-01-25 14:23:12 +00:00
brp-verify_elf.in Disable stack verification and elflint on RISC-V 2018-12-20 11:46:01 +00:00
brp-verify-info.in Implement info files verification 2009-05-20 23:25:58 +00:00
compress_files.in compress_files: change default method to xz 2015-12-02 21:46:44 +03:00
cpp.req.files cpp.req: new dependency generator for header files 2011-02-27 03:51:26 +03:00
cpp.req.in cpp.req: skip cpp checks for llvm 2019-01-13 22:39:58 +00:00
debuginfo.prov.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
debuginfo.prov.in implemented debuginfo.req and debuginfo.prov 2011-02-04 02:55:25 +03:00
debuginfo.req.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
debuginfo.req.in debuginfo.req: Fix 'vmlinux' processing error on ppc64le 2020-07-09 19:23:18 +03:00
files.req.files.in files.req: reserve second field in *-files.req.list for owner package name 2008-06-17 08:05:10 +04:00
files.req.in files.req: added description and copyright 2008-06-22 11:52:53 +04:00
find-debuginfo-files.in debuginfo: Fix adding non-existent files into debuginfo package 2020-08-28 03:09:00 +03:00
find-lang.in find-lang: update copyright information 2013-03-11 23:15:51 +00:00
find-package.in find-package, shebang.req: introduced RPM_FINDPACKAGE_MANDATORY=1 2020-04-07 11:05:34 +03:00
find-scriptlet-requires.in find-requires, find-scriptlet-requires: enabled FINDPACKAGE-COMMANDS output 2010-04-08 11:24:58 +04:00
fixup-binconfig.in scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
fixup-desktop.awk scripts/fixup-desktop.awk: fix regexp 2013-01-11 22:36:49 +00:00
fixup-desktop.in scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
fixup-libraries.in scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
fixup-libtool.in fixup-libtool, fixup-pkgconfig: Quote substitution text (ALT#11437) 2008-07-07 22:07:40 +00:00
fixup-pkgconfig.in fixup-binconfig: strip rpaths 2014-02-25 12:25:51 +00:00
functions scripts/functions: export LC_ALL=C 2013-01-10 22:38:52 +00:00
is_elf_so_executable Move "is this ELF shared object an executable" check to a separate script 2016-12-07 11:30:42 +00:00
ldd.in ldd.in: make preloading of PIE objects work again 2020-04-21 17:37:55 +00:00
lib.prov.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
lib.prov.in lib.prov: print the number of provided symbols and the bpp value for each library 2019-01-14 20:56:55 +00:00
lib.req.files scripts: ignore ELF shared objects with "no" machine type 2017-04-18 16:42:41 +00:00
lib.req.in lib.req: update the list of standard libraries with guaranteed versioning 2019-01-14 20:56:55 +00:00
Makefile.am Process debuginfo in parallel 2020-07-05 01:06:16 +03:00
pam.prov.files scripts/pam.*.files: Optimize filename check 2007-11-10 20:47:03 +00:00
pam.prov.in adapted pam.req and pam.prov 2007-03-12 15:06:07 +03:00
pam.req.files scripts/pam.*.files: Optimize filename check 2007-11-10 20:47:03 +00:00
pam.req.in pam.req.in: Handle lines with conditional controls 2009-06-26 00:17:19 +00:00
percolate.in percolate: removed loop optimization (for code clarity), result won't change 2016-04-06 03:26:17 +03:00
pkgconfig.req.files pkgconfig.req.files: ignore file type, treat all non-symlinks the same way 2012-12-22 14:41:22 +00:00
pkgconfig.req.in pkgconfig.req.in: allow pkgconfig names to start with + (ALT#29737) 2014-02-25 12:22:12 +00:00
pkgconfiglib.req.in Relax check for gcc package name in {cpp,pkgconfiglib}.req generators 2016-12-20 17:49:07 +03:00
posttrans-filetriggers.in posttrans-filetriggers: minor changes 2008-11-12 05:10:51 +03:00
process-debuginfo.in debuginfo: Try to uncompress if debugedit failed to extract sources list 2020-08-23 17:02:20 +03:00
provided_symbols scripts: move ProvidedSymbols() and SuggestBPP() to separate files 2019-01-14 20:56:55 +00:00
rpm2cpio.sh rpm2cpio.sh: output raw/compressed cpio stream 2009-09-24 12:35:42 +04:00
rpmlib.req.files.in Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger" 2008-11-25 15:37:14 +00:00
rpmlib.req.in Revert "rpmlib.req: generate rpmlib(PosttransFiletriggers) dependency for /usr/lib/rpm/*.filetrigger" 2008-11-25 15:37:14 +00:00
shebang.req.files scripts/*.req.files: Fix "not executable" wording 2007-11-10 20:47:02 +00:00
shebang.req.in find-package, shebang.req: introduced RPM_FINDPACKAGE_MANDATORY=1 2020-04-07 11:05:34 +03:00
shell.prov.files adapted shell.req and shell.prov 2007-03-11 15:00:23 +03:00
shell.prov.in adapted shell.req and shell.prov 2007-03-11 15:00:23 +03:00
shell.req.files shell.req.files: include #!/usr/bin/env sh 2018-05-23 17:00:54 +03:00
shell.req.in shell.req: correctly detect #!/bin/env bash (ALT#35376) 2019-01-31 21:58:32 +03:00
shlib.req.awk Add shlib.req.awk 2006-01-11 00:39:39 +00:00
static.req.files factored static.req 2007-03-11 15:00:35 +03:00
static.req.in factored static.req 2007-03-11 15:00:35 +03:00
symlinks.req.files symlinks.req.files: do all symbolic links (will emit file-level dependencies for targets under RPM_BUILD_ROOT) 2007-12-03 14:22:54 +03:00
symlinks.req.in symlinks.req: do only one single step of symlink resolution 2007-11-17 10:52:57 +03:00
systemd-services.req.files Auto-requies on binaries used in systemd .service files added 2019-12-26 14:09:03 +00:00
systemd-services.req.in Auto-requies on binaries used in systemd .service files added 2019-12-26 14:09:03 +00:00
tmpdir.sh scripts: introduced tmpdir.sh 2011-09-22 02:58:59 +04:00
verify-elf.in verify-elf: bypass lint checks by request 2019-01-13 22:39:58 +00:00