diff --git a/elfutils.changes b/elfutils.changes index ee3dc5c..428aac4 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -28,6 +28,12 @@ Fri Nov 29 16:01:36 UTC 2019 - Martin Liška - main package binaries are explicitely listed and man pages for the binaries are included +------------------------------------------------------------------- +Wed Nov 27 10:07:05 UTC 2019 - Martin Liška + +- Add remove-run-large-elf-file.sh.patch in order to remove + running run-large-elf-file.sh (it hit OOM). + ------------------------------------------------------------------- Thu Nov 14 15:19:43 UTC 2019 - Andreas Schwab diff --git a/elfutils.spec b/elfutils.spec index bcc0383..9a9fdf3 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -32,6 +32,7 @@ Source2: baselibs.conf Source3: %{name}.changes Source5: %{name}.keyring Patch2: cfi-fix.patch +Patch3: remove-run-large-elf-file.sh.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -147,6 +148,7 @@ such servers to download those files on demand. %prep %setup -q %patch2 -p1 +%patch3 -p1 %build %define _lto_cflags %{nil} diff --git a/remove-run-large-elf-file.sh.patch b/remove-run-large-elf-file.sh.patch new file mode 100644 index 0000000..140928e --- /dev/null +++ b/remove-run-large-elf-file.sh.patch @@ -0,0 +1,68 @@ +From e2b5eedefa1ed6a713a08e683eaaa5ae004492c3 Mon Sep 17 00:00:00 2001 +From: Martin Liska +Date: Wed, 27 Nov 2019 10:30:58 +0100 +Subject: [PATCH] Remove run-large-elf-file.sh test as it fails due to OOM. + +--- + tests/Makefile.am | 2 -- + tests/Makefile.in | 10 +--------- + 2 files changed, 1 insertion(+), 11 deletions(-) + +diff --git a/tests/Makefile.am b/tests/Makefile.am +index 2ff7dfc..7cdbafc 100644 +--- a/tests/Makefile.am ++++ b/tests/Makefile.am +@@ -84,7 +84,6 @@ TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile test-nlist \ + run-next-files.sh run-next-lines.sh \ + run-get-pubnames.sh run-get-aranges.sh run-allfcts.sh \ + run-show-abbrev.sh run-line2addr.sh hash \ +- run-large-elf-file.sh \ + newscn run-strip-test.sh run-strip-test2.sh \ + run-strip-test3.sh run-strip-test4.sh run-strip-test5.sh \ + run-strip-test6.sh run-strip-test7.sh run-strip-test8.sh \ +@@ -427,7 +426,6 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \ + testfile-riscv64-core.bz2 \ + run-reverse-sections.sh run-reverse-sections-self.sh \ + run-copyadd-sections.sh run-copymany-sections.sh \ +- run-large-elf-file.sh \ + run-typeiter-many.sh run-strip-test-many.sh \ + testfile-debug-rel-ppc64-g.o.bz2 \ + testfile-debug-rel-ppc64-z.o.bz2 \ +diff --git a/tests/Makefile.in b/tests/Makefile.in +index 258dd64..fe9641f 100644 +--- a/tests/Makefile.in ++++ b/tests/Makefile.in +@@ -141,7 +141,7 @@ TESTS = run-arextract.sh run-arsymtest.sh run-ar.sh newfile$(EXEEXT) \ + run-get-files.sh run-get-lines.sh run-next-files.sh \ + run-next-lines.sh run-get-pubnames.sh run-get-aranges.sh \ + run-allfcts.sh run-show-abbrev.sh run-line2addr.sh \ +- hash$(EXEEXT) run-large-elf-file.sh newscn$(EXEEXT) \ ++ hash$(EXEEXT) newscn$(EXEEXT) \ + run-strip-test.sh run-strip-test2.sh run-strip-test3.sh \ + run-strip-test4.sh run-strip-test5.sh run-strip-test6.sh \ + run-strip-test7.sh run-strip-test8.sh run-strip-test9.sh \ +@@ -1423,7 +1423,6 @@ EXTRA_DIST = run-arextract.sh run-arsymtest.sh run-ar.sh \ + testfile-riscv64-core.bz2 \ + run-reverse-sections.sh run-reverse-sections-self.sh \ + run-copyadd-sections.sh run-copymany-sections.sh \ +- run-large-elf-file.sh \ + run-typeiter-many.sh run-strip-test-many.sh \ + testfile-debug-rel-ppc64-g.o.bz2 \ + testfile-debug-rel-ppc64-z.o.bz2 \ +@@ -2581,13 +2580,6 @@ hash.log: hash$(EXEEXT) + --log-file $$b.log --trs-file $$b.trs \ + $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ + "$$tst" $(AM_TESTS_FD_REDIRECT) +-run-large-elf-file.sh.log: run-large-elf-file.sh +- @p='run-large-elf-file.sh'; \ +- b='run-large-elf-file.sh'; \ +- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ +- --log-file $$b.log --trs-file $$b.trs \ +- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ +- "$$tst" $(AM_TESTS_FD_REDIRECT) + newscn.log: newscn$(EXEEXT) + @p='newscn$(EXEEXT)'; \ + b='newscn'; \ +-- +2.24.0 +