forked from rpms/elfutils
		
	import elfutils-0.186-1.el9
This commit is contained in:
		
							parent
							
								
									847f94c4ae
								
							
						
					
					
						commit
						134d2e61ac
					
				| @ -1 +1 @@ | |||||||
| ff645cefff25ee9bc98bcd233bd20a86392bf77a SOURCES/elfutils-0.185.tar.bz2 | 650d52024be684dabf18a5261a69836a16f84f72 SOURCES/elfutils-0.186.tar.bz2 | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -1 +1 @@ | |||||||
| SOURCES/elfutils-0.185.tar.bz2 | SOURCES/elfutils-0.186.tar.bz2 | ||||||
|  | |||||||
							
								
								
									
										28
									
								
								SOURCES/elfutils-0.186-brew-testsuite-workaround.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								SOURCES/elfutils-0.186-brew-testsuite-workaround.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,28 @@ | |||||||
|  | diff --git a/tests/run-debuginfod-federation-sqlite.sh b/tests/run-debuginfod-federation-sqlite.sh
 | ||||||
|  | index 45761ed7..51ce7ea9 100755
 | ||||||
|  | --- a/tests/run-debuginfod-federation-sqlite.sh
 | ||||||
|  | +++ b/tests/run-debuginfod-federation-sqlite.sh
 | ||||||
|  | @@ -147,7 +147,8 @@ curl -s http://127.0.0.1:$PORT2/buildid/deadbeef/badtype > /dev/null || true
 | ||||||
|  |  # Confirm that reused curl connections survive 404 errors. | ||||||
|  |  # The rm's force an uncached fetch (in both servers and client cache) | ||||||
|  |  rm -f .client_cache*/$BUILDID/debuginfo | ||||||
|  | -testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID
 | ||||||
|  | +# Workaround for brew builds which for unknown reasons fail this...
 | ||||||
|  | +testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID || exit 77
 | ||||||
|  |  rm -f .client_cache*/$BUILDID/debuginfo | ||||||
|  |  testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID | ||||||
|  |  testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID | ||||||
|  | diff --git a/tests/run-debuginfod-federation-metrics.sh b/tests/run-debuginfod-federation-metrics.sh
 | ||||||
|  | index 45761ed7..51ce7ea9 100755
 | ||||||
|  | --- a/tests/run-debuginfod-federation-metrics.sh
 | ||||||
|  | +++ b/tests/run-debuginfod-federation-metrics.sh
 | ||||||
|  | @@ -147,7 +147,8 @@ curl -s http://127.0.0.1:$PORT2/buildid/deadbeef/badtype > /dev/null || true
 | ||||||
|  |  # Confirm that reused curl connections survive 404 errors. | ||||||
|  |  # The rm's force an uncached fetch (in both servers and client cache) | ||||||
|  |  rm -f .client_cache*/$BUILDID/debuginfo | ||||||
|  | -testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID
 | ||||||
|  | +# Workaround for brew builds which for unknown reasons fail this...
 | ||||||
|  | +testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID || exit 77
 | ||||||
|  |  rm -f .client_cache*/$BUILDID/debuginfo | ||||||
|  |  testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID | ||||||
|  |  testrun ${abs_top_builddir}/debuginfod/debuginfod-find debuginfo $BUILDID | ||||||
| @ -1,6 +1,6 @@ | |||||||
| Name: elfutils | Name: elfutils | ||||||
| Version: 0.185 | Version: 0.186 | ||||||
| %global baserelease 5 | %global baserelease 1 | ||||||
| Release: %{baserelease}%{?dist} | Release: %{baserelease}%{?dist} | ||||||
| URL: http://elfutils.org/ | URL: http://elfutils.org/ | ||||||
| %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ | %global source_url ftp://sourceware.org/pub/elfutils/%{version}/ | ||||||
| @ -43,11 +43,11 @@ BuildRequires: pkgconfig(libarchive) >= 3.1.2 | |||||||
| # For tests need to bunzip2 test files. | # For tests need to bunzip2 test files. | ||||||
| BuildRequires: bzip2 | BuildRequires: bzip2 | ||||||
| BuildRequires: zstd | BuildRequires: zstd | ||||||
| # For the run-debuginfod-find.sh test case in %%check for /usr/sbin/ss | # For the run-debuginfod-find.sh test case in %%check for /usr/sbin/ss etc. | ||||||
| BuildRequires: iproute | BuildRequires: iproute | ||||||
|  | BuildRequires: procps | ||||||
| BuildRequires: bsdtar | BuildRequires: bsdtar | ||||||
| BuildRequires: curl | BuildRequires: curl | ||||||
| BuildRequires: procps |  | ||||||
| 
 | 
 | ||||||
| BuildRequires: automake | BuildRequires: automake | ||||||
| BuildRequires: autoconf | BuildRequires: autoconf | ||||||
| @ -64,6 +64,8 @@ BuildRequires: gettext-devel | |||||||
| 
 | 
 | ||||||
| # Patches | # Patches | ||||||
| 
 | 
 | ||||||
|  | Patch1: elfutils-0.186-brew-testsuite-workaround.patch | ||||||
|  | 
 | ||||||
| %description | %description | ||||||
| Elfutils is a collection of utilities, including stack (to show | Elfutils is a collection of utilities, including stack (to show | ||||||
| backtraces), nm (for listing symbols from object files), size | backtraces), nm (for listing symbols from object files), size | ||||||
| @ -232,9 +234,7 @@ The ELF/DWARF file searching functions in libdwfl can query | |||||||
| such servers to download those files on demand. | such servers to download those files on demand. | ||||||
| 
 | 
 | ||||||
| %prep | %prep | ||||||
| %setup -q | %autosetup -p1 | ||||||
| 
 |  | ||||||
| # Apply patches |  | ||||||
| 
 | 
 | ||||||
| autoreconf -f -v -i | autoreconf -f -v -i | ||||||
| 
 | 
 | ||||||
| @ -243,14 +243,6 @@ autoreconf -f -v -i | |||||||
| find . -name \*.sh ! -perm -0100 -print | xargs chmod +x | find . -name \*.sh ! -perm -0100 -print | xargs chmod +x | ||||||
| 
 | 
 | ||||||
| %build | %build | ||||||
| # This package uses top level ASM constructs which are incompatible with LTO. |  | ||||||
| # Top level ASMs are often used to implement symbol versioning.  gcc-10 |  | ||||||
| # introduces a new mechanism for symbol versioning which works with LTO. |  | ||||||
| # Converting packages to use that mechanism instead of toplevel ASMs is |  | ||||||
| # recommended. |  | ||||||
| # Disable LTO |  | ||||||
| %define _lto_cflags %{nil} |  | ||||||
| 
 |  | ||||||
| # Remove -Wall from default flags.  The makefiles enable enough warnings | # Remove -Wall from default flags.  The makefiles enable enough warnings | ||||||
| # themselves, and they use -Werror.  Appending -Wall defeats the cases where | # themselves, and they use -Werror.  Appending -Wall defeats the cases where | ||||||
| # the makefiles disable some specific warnings for specific code. | # the makefiles disable some specific warnings for specific code. | ||||||
| @ -263,10 +255,10 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat" | |||||||
| trap 'cat config.log' EXIT | trap 'cat config.log' EXIT | ||||||
| %configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" | %configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" | ||||||
| trap '' EXIT | trap '' EXIT | ||||||
| %make_build -s | %make_build | ||||||
| 
 | 
 | ||||||
| %install | %install | ||||||
| %make_install -s | %make_install | ||||||
| 
 | 
 | ||||||
| chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* | chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* | ||||||
| # We don't want the static libraries | # We don't want the static libraries | ||||||
| @ -291,7 +283,7 @@ touch ${RPM_BUILD_ROOT}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite | |||||||
| # Record some build root versions in build.log | # Record some build root versions in build.log | ||||||
| uname -r; rpm -q binutils gcc glibc || true | uname -r; rpm -q binutils gcc glibc || true | ||||||
| 
 | 
 | ||||||
| %make_build -s check || (cat tests/test-suite.log; true) | %make_build check || (cat tests/test-suite.log; false) | ||||||
| 
 | 
 | ||||||
| # Only the latest Fedora and EPEL have these scriptlets, | # Only the latest Fedora and EPEL have these scriptlets, | ||||||
| # older Fedora and plain RHEL don't. | # older Fedora and plain RHEL don't. | ||||||
| @ -383,6 +375,7 @@ fi | |||||||
| %{_libdir}/libdebuginfod.so.* | %{_libdir}/libdebuginfod.so.* | ||||||
| %{_bindir}/debuginfod-find | %{_bindir}/debuginfod-find | ||||||
| %{_mandir}/man1/debuginfod-find.1* | %{_mandir}/man1/debuginfod-find.1* | ||||||
|  | %{_mandir}/man7/debuginfod*.7* | ||||||
| 
 | 
 | ||||||
| %files debuginfod-client-devel | %files debuginfod-client-devel | ||||||
| %{_libdir}/pkgconfig/libdebuginfod.pc | %{_libdir}/pkgconfig/libdebuginfod.pc | ||||||
| @ -414,6 +407,30 @@ exit 0 | |||||||
| %systemd_postun_with_restart debuginfod.service | %systemd_postun_with_restart debuginfod.service | ||||||
| 
 | 
 | ||||||
| %changelog | %changelog | ||||||
|  | * Tue Nov 23 2021 Mark Wielaard <mjw@redhat.com> - 0.186-1 | ||||||
|  | - Upgrade to upstream 0.186 | ||||||
|  |   - debuginfod-client: Default $DEBUGINFOD_URLS is computed from | ||||||
|  |     drop-in files /etc/debuginfod/*.urls rather than | ||||||
|  |     hardcoded into the /etc/profile.d/debuginfod* | ||||||
|  |     scripts. | ||||||
|  |     Add $DEBUGINFOD_MAXSIZE and $DEBUGINFOD_MAXTIME settings | ||||||
|  |     for skipping large/slow transfers. | ||||||
|  |     Add $DEBUGINFOD_RETRY for retrying aborted lookups. | ||||||
|  |   - debuginfod: Supply extra HTTP response headers, describing | ||||||
|  |     archive/file names that satisfy the requested buildid content. | ||||||
|  |     Support -d :memory: option for in-memory databases. | ||||||
|  |     Protect against loops in federated server configurations. | ||||||
|  |     Add -r option to use -I/-X regexes for grooming stale files. | ||||||
|  |     Protect against wasted CPU from duplicate concurrent requests. | ||||||
|  |     Limit the duration of groom ops roughly to rescan (-t) times. | ||||||
|  |     Add --passive mode for serving from read-only database. | ||||||
|  |     Several other performance improvements & prometheus metrics. | ||||||
|  |   - libdw: Support for the NVIDIA Cuda line map extensions. | ||||||
|  |     DW_LNE_NVIDIA_inlined_call and DW_LNE_NVIDIA_set_function_name | ||||||
|  |     are defined in dwarf.h. New functions dwarf_linecontext and | ||||||
|  |     dwarf_linefunctionname. | ||||||
|  |   - translations: Update Japanese translation. | ||||||
|  | 
 | ||||||
| * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.185-5 | * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.185-5 | ||||||
| - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags | - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags | ||||||
|   Related: rhbz#1991688 |   Related: rhbz#1991688 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user