import elfutils-0.187-4.el8
This commit is contained in:
parent
c70a67af95
commit
0c8c58049f
@ -1 +1 @@
|
|||||||
650d52024be684dabf18a5261a69836a16f84f72 SOURCES/elfutils-0.186.tar.bz2
|
2c529212fff4b54e890cb3cf33f93b5f39eda5ab SOURCES/elfutils-0.187.tar.bz2
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/elfutils-0.186.tar.bz2
|
SOURCES/elfutils-0.187.tar.bz2
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
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
|
|
28
SOURCES/elfutils-0.187-csh-profile.patch
Normal file
28
SOURCES/elfutils-0.187-csh-profile.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
commit f1252e4dbe781f75d806ce0b990779548eeeb7a9
|
||||||
|
Author: Mark Wielaard <mark@klomp.org>
|
||||||
|
Date: Tue May 3 17:48:55 2022 +0200
|
||||||
|
|
||||||
|
config: Move the 2>/dev/null inside the sh -c '' quotes for profile.csh.
|
||||||
|
|
||||||
|
csh/tcsh would warn about "Ambiguous output redirect" if not done inside
|
||||||
|
the sh -c command.
|
||||||
|
|
||||||
|
Fix-by: наб <nabijaczleweli@nabijaczleweli.xyz>
|
||||||
|
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=2080957
|
||||||
|
|
||||||
|
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
|
diff --git a/config/profile.csh.in b/config/profile.csh.in
|
||||||
|
index 012e243a..74c20c99 100644
|
||||||
|
--- a/config/profile.csh.in
|
||||||
|
+++ b/config/profile.csh.in
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
|
|
||||||
|
if (! $?DEBUGINFOD_URLS) then
|
||||||
|
set prefix="@prefix@"
|
||||||
|
- set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls; :' "@sysconfdir@/debuginfod" 2>/dev/null | tr '\n' ' '`
|
||||||
|
+ set DEBUGINFOD_URLS=`sh -c 'cat "$0"/*.urls 2>/dev/null; :' "@sysconfdir@/debuginfod" | tr '\n' ' '`
|
||||||
|
if ( "$DEBUGINFOD_URLS" != "" ) then
|
||||||
|
setenv DEBUGINFOD_URLS "$DEBUGINFOD_URLS"
|
||||||
|
else
|
98
SOURCES/elfutils-0.187-debuginfod-client-fd-leak.patch
Normal file
98
SOURCES/elfutils-0.187-debuginfod-client-fd-leak.patch
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
commit 59158656f3b0b99d8784ddc82c15778813000edc
|
||||||
|
Author: Frank Ch. Eigler <fche@redhat.com>
|
||||||
|
Date: Wed May 4 10:26:42 2022 -0400
|
||||||
|
|
||||||
|
PR29117: fix fd leak in debuginfod client for cache-miss files
|
||||||
|
|
||||||
|
Correct a nasty fd leak and a few less nasty leaks in the debuginfod
|
||||||
|
client code. The nasty one impacts long-lived apps such as debuginfod
|
||||||
|
servers.
|
||||||
|
|
||||||
|
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||||
|
Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
|
||||||
|
|
||||||
|
diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c
|
||||||
|
index ea6e461a..521972e4 100644
|
||||||
|
--- a/debuginfod/debuginfod-client.c
|
||||||
|
+++ b/debuginfod/debuginfod-client.c
|
||||||
|
@@ -243,7 +243,13 @@ debuginfod_config_cache(char *config_path,
|
||||||
|
return -errno;
|
||||||
|
|
||||||
|
if (dprintf(fd, "%ld", cache_config_default_s) < 0)
|
||||||
|
- return -errno;
|
||||||
|
+ {
|
||||||
|
+ int ret = -errno;
|
||||||
|
+ close (fd);
|
||||||
|
+ return ret;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ close (fd);
|
||||||
|
}
|
||||||
|
|
||||||
|
long cache_config;
|
||||||
|
@@ -284,7 +290,13 @@ debuginfod_init_cache (char *cache_path, char *interval_path, char *maxage_path)
|
||||||
|
return -errno;
|
||||||
|
|
||||||
|
if (dprintf(fd, "%ld", cache_clean_default_interval_s) < 0)
|
||||||
|
- return -errno;
|
||||||
|
+ {
|
||||||
|
+ int ret = -errno;
|
||||||
|
+ close (fd);
|
||||||
|
+ return ret;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ close (fd);
|
||||||
|
|
||||||
|
/* init max age config file. */
|
||||||
|
if (stat(maxage_path, &st) != 0
|
||||||
|
@@ -292,8 +304,13 @@ debuginfod_init_cache (char *cache_path, char *interval_path, char *maxage_path)
|
||||||
|
return -errno;
|
||||||
|
|
||||||
|
if (dprintf(fd, "%ld", cache_default_max_unused_age_s) < 0)
|
||||||
|
- return -errno;
|
||||||
|
+ {
|
||||||
|
+ int ret = -errno;
|
||||||
|
+ close (fd);
|
||||||
|
+ return ret;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
+ close (fd);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -812,18 +829,17 @@ debuginfod_query_server (debuginfod_client *c,
|
||||||
|
has passed since the last attempt. */
|
||||||
|
time_t cache_miss;
|
||||||
|
time_t target_mtime = st.st_mtime;
|
||||||
|
+
|
||||||
|
+ close(fd); /* no need to hold onto the negative-hit file descriptor */
|
||||||
|
+
|
||||||
|
rc = debuginfod_config_cache(cache_miss_path,
|
||||||
|
cache_miss_default_s, &st);
|
||||||
|
if (rc < 0)
|
||||||
|
- {
|
||||||
|
- close(fd);
|
||||||
|
- goto out;
|
||||||
|
- }
|
||||||
|
+ goto out;
|
||||||
|
|
||||||
|
cache_miss = (time_t)rc;
|
||||||
|
if (time(NULL) - target_mtime <= cache_miss)
|
||||||
|
{
|
||||||
|
- close(fd);
|
||||||
|
rc = -ENOENT;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
diff --git a/debuginfod/debuginfod-find.c b/debuginfod/debuginfod-find.c
|
||||||
|
index 3e8ab203..f60b5463 100644
|
||||||
|
--- a/debuginfod/debuginfod-find.c
|
||||||
|
+++ b/debuginfod/debuginfod-find.c
|
||||||
|
@@ -231,6 +231,8 @@ main(int argc, char** argv)
|
||||||
|
fprintf(stderr, "Server query failed: %s\n", strerror(-rc));
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
+ else
|
||||||
|
+ close (rc);
|
||||||
|
|
||||||
|
printf("%s\n", cache_name);
|
||||||
|
free (cache_name);
|
51
SOURCES/elfutils-0.187-mhd_epoll.patch
Normal file
51
SOURCES/elfutils-0.187-mhd_epoll.patch
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
commit 28f9d86ea89f88b24f1d12c8e9d5ddc3f77da194
|
||||||
|
Author: Mark Wielaard <mark@klomp.org>
|
||||||
|
Date: Fri May 6 00:29:28 2022 +0200
|
||||||
|
|
||||||
|
debuginfod: Use MHD_USE_EPOLL for libmicrohttpd version 0.9.51 or higher
|
||||||
|
|
||||||
|
Also disable MHD_USE_THREAD_PER_CONNECTION when using MHD_USE_EPOLL.
|
||||||
|
|
||||||
|
https://sourceware.org/bugzilla/show_bug.cgi?id=29123
|
||||||
|
|
||||||
|
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
|
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
|
||||||
|
index c02540f1..d4f47bf7 100644
|
||||||
|
--- a/debuginfod/debuginfod.cxx
|
||||||
|
+++ b/debuginfod/debuginfod.cxx
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
/* Debuginfo-over-http server.
|
||||||
|
Copyright (C) 2019-2021 Red Hat, Inc.
|
||||||
|
- Copyright (C) 2021 Mark J. Wielaard <mark@klomp.org>
|
||||||
|
+ Copyright (C) 2021, 2022 Mark J. Wielaard <mark@klomp.org>
|
||||||
|
This file is part of elfutils.
|
||||||
|
|
||||||
|
This file is free software; you can redistribute it and/or modify
|
||||||
|
@@ -3899,7 +3899,14 @@ main (int argc, char *argv[])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- unsigned int mhd_flags = ((connection_pool
|
||||||
|
+ /* Note that MHD_USE_EPOLL and MHD_USE_THREAD_PER_CONNECTION don't
|
||||||
|
+ work together. */
|
||||||
|
+ unsigned int use_epoll = 0;
|
||||||
|
+#if MHD_VERSION >= 0x00095100
|
||||||
|
+ use_epoll = MHD_USE_EPOLL;
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+ unsigned int mhd_flags = ((connection_pool || use_epoll
|
||||||
|
? 0 : MHD_USE_THREAD_PER_CONNECTION)
|
||||||
|
#if MHD_VERSION >= 0x00095300
|
||||||
|
| MHD_USE_INTERNAL_POLLING_THREAD
|
||||||
|
@@ -3907,9 +3914,7 @@ main (int argc, char *argv[])
|
||||||
|
| MHD_USE_SELECT_INTERNALLY
|
||||||
|
#endif
|
||||||
|
| MHD_USE_DUAL_STACK
|
||||||
|
-#ifdef MHD_USE_EPOLL
|
||||||
|
- | MHD_USE_EPOLL
|
||||||
|
-#endif
|
||||||
|
+ | use_epoll
|
||||||
|
#if MHD_VERSION >= 0x00095200
|
||||||
|
| MHD_USE_ITC
|
||||||
|
#endif
|
118
SOURCES/elfutils-0.187-mhd_no_dual_stack.patch
Normal file
118
SOURCES/elfutils-0.187-mhd_no_dual_stack.patch
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
commit ba675ed25a26fd425ffd19b02cf18babf4291b4f
|
||||||
|
Author: Mark Wielaard <mark@klomp.org>
|
||||||
|
Date: Thu May 5 23:59:57 2022 +0200
|
||||||
|
|
||||||
|
debuginfod: Try without MHD_USE_DUAL_STACK if MHD_start_daemon fails
|
||||||
|
|
||||||
|
On a systems that have ipv6 disabled debuginfod doesn't start up
|
||||||
|
anymore because libhttpd MHD_USE_DUAL_STACK only works if it can
|
||||||
|
open an ipv6 socket. If MHD_start_daemon with MHD_USE_DUAL_STACK
|
||||||
|
fails try again without that flag set.
|
||||||
|
|
||||||
|
https://sourceware.org/bugzilla/show_bug.cgi?id=29122
|
||||||
|
|
||||||
|
Signed-off-by: Mark Wielaard <mark@klomp.org>
|
||||||
|
|
||||||
|
diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
|
||||||
|
index 4aaf41c0..c02540f1 100644
|
||||||
|
--- a/debuginfod/debuginfod.cxx
|
||||||
|
+++ b/debuginfod/debuginfod.cxx
|
||||||
|
@@ -3899,40 +3899,67 @@ main (int argc, char *argv[])
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- // Start httpd server threads. Use a single dual-homed pool.
|
||||||
|
- MHD_Daemon *d46 = MHD_start_daemon ((connection_pool ? 0 : MHD_USE_THREAD_PER_CONNECTION)
|
||||||
|
+ unsigned int mhd_flags = ((connection_pool
|
||||||
|
+ ? 0 : MHD_USE_THREAD_PER_CONNECTION)
|
||||||
|
#if MHD_VERSION >= 0x00095300
|
||||||
|
- | MHD_USE_INTERNAL_POLLING_THREAD
|
||||||
|
+ | MHD_USE_INTERNAL_POLLING_THREAD
|
||||||
|
#else
|
||||||
|
- | MHD_USE_SELECT_INTERNALLY
|
||||||
|
+ | MHD_USE_SELECT_INTERNALLY
|
||||||
|
#endif
|
||||||
|
+ | MHD_USE_DUAL_STACK
|
||||||
|
#ifdef MHD_USE_EPOLL
|
||||||
|
- | MHD_USE_EPOLL
|
||||||
|
+ | MHD_USE_EPOLL
|
||||||
|
#endif
|
||||||
|
- | MHD_USE_DUAL_STACK
|
||||||
|
#if MHD_VERSION >= 0x00095200
|
||||||
|
- | MHD_USE_ITC
|
||||||
|
+ | MHD_USE_ITC
|
||||||
|
#endif
|
||||||
|
- | MHD_USE_DEBUG, /* report errors to stderr */
|
||||||
|
- http_port,
|
||||||
|
- NULL, NULL, /* default accept policy */
|
||||||
|
- handler_cb, NULL, /* handler callback */
|
||||||
|
- MHD_OPTION_EXTERNAL_LOGGER, error_cb, NULL,
|
||||||
|
- (connection_pool ? MHD_OPTION_THREAD_POOL_SIZE : MHD_OPTION_END),
|
||||||
|
- (connection_pool ? (int)connection_pool : MHD_OPTION_END),
|
||||||
|
- MHD_OPTION_END);
|
||||||
|
+ | MHD_USE_DEBUG); /* report errors to stderr */
|
||||||
|
|
||||||
|
+ // Start httpd server threads. Use a single dual-homed pool.
|
||||||
|
+ MHD_Daemon *d46 = MHD_start_daemon (mhd_flags, http_port,
|
||||||
|
+ NULL, NULL, /* default accept policy */
|
||||||
|
+ handler_cb, NULL, /* handler callback */
|
||||||
|
+ MHD_OPTION_EXTERNAL_LOGGER,
|
||||||
|
+ error_cb, NULL,
|
||||||
|
+ (connection_pool
|
||||||
|
+ ? MHD_OPTION_THREAD_POOL_SIZE
|
||||||
|
+ : MHD_OPTION_END),
|
||||||
|
+ (connection_pool
|
||||||
|
+ ? (int)connection_pool
|
||||||
|
+ : MHD_OPTION_END),
|
||||||
|
+ MHD_OPTION_END);
|
||||||
|
+
|
||||||
|
+ MHD_Daemon *d4 = NULL;
|
||||||
|
if (d46 == NULL)
|
||||||
|
{
|
||||||
|
- sqlite3 *database = db;
|
||||||
|
- sqlite3 *databaseq = dbq;
|
||||||
|
- db = dbq = 0; // for signal_handler not to freak
|
||||||
|
- sqlite3_close (databaseq);
|
||||||
|
- sqlite3_close (database);
|
||||||
|
- error (EXIT_FAILURE, 0, "cannot start http server at port %d", http_port);
|
||||||
|
- }
|
||||||
|
+ // Cannot use dual_stack, use ipv4 only
|
||||||
|
+ mhd_flags &= ~(MHD_USE_DUAL_STACK);
|
||||||
|
+ d4 = MHD_start_daemon (mhd_flags, http_port,
|
||||||
|
+ NULL, NULL, /* default accept policy */
|
||||||
|
+ handler_cb, NULL, /* handler callback */
|
||||||
|
+ MHD_OPTION_EXTERNAL_LOGGER,
|
||||||
|
+ error_cb, NULL,
|
||||||
|
+ (connection_pool
|
||||||
|
+ ? MHD_OPTION_THREAD_POOL_SIZE
|
||||||
|
+ : MHD_OPTION_END),
|
||||||
|
+ (connection_pool
|
||||||
|
+ ? (int)connection_pool
|
||||||
|
+ : MHD_OPTION_END),
|
||||||
|
+ MHD_OPTION_END);
|
||||||
|
+ if (d4 == NULL)
|
||||||
|
+ {
|
||||||
|
+ sqlite3 *database = db;
|
||||||
|
+ sqlite3 *databaseq = dbq;
|
||||||
|
+ db = dbq = 0; // for signal_handler not to freak
|
||||||
|
+ sqlite3_close (databaseq);
|
||||||
|
+ sqlite3_close (database);
|
||||||
|
+ error (EXIT_FAILURE, 0, "cannot start http server at port %d",
|
||||||
|
+ http_port);
|
||||||
|
+ }
|
||||||
|
|
||||||
|
- obatched(clog) << "started http server on IPv4 IPv6 "
|
||||||
|
+ }
|
||||||
|
+ obatched(clog) << "started http server on"
|
||||||
|
+ << (d4 != NULL ? " IPv4 " : " IPv4 IPv6 ")
|
||||||
|
<< "port=" << http_port << endl;
|
||||||
|
|
||||||
|
// add maxigroom sql if -G given
|
||||||
|
@@ -4053,6 +4080,7 @@ main (int argc, char *argv[])
|
||||||
|
|
||||||
|
/* Stop all the web service threads. */
|
||||||
|
if (d46) MHD_stop_daemon (d46);
|
||||||
|
+ if (d4) MHD_stop_daemon (d4);
|
||||||
|
|
||||||
|
if (! passive_p)
|
||||||
|
{
|
@ -1,6 +1,6 @@
|
|||||||
Name: elfutils
|
Name: elfutils
|
||||||
Version: 0.186
|
Version: 0.187
|
||||||
%global baserelease 1
|
%global baserelease 4
|
||||||
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}/
|
||||||
@ -62,8 +62,14 @@ BuildRequires: gettext-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2080957
|
||||||
Patch1: elfutils-0.186-brew-testsuite-workaround.patch
|
Patch1: elfutils-0.187-csh-profile.patch
|
||||||
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=29117
|
||||||
|
Patch2: elfutils-0.187-debuginfod-client-fd-leak.patch
|
||||||
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=29122
|
||||||
|
Patch3: elfutils-0.187-mhd_no_dual_stack.patch
|
||||||
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=29123
|
||||||
|
Patch4: elfutils-0.187-mhd_epoll.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Elfutils is a collection of utilities, including stack (to show
|
Elfutils is a collection of utilities, including stack (to show
|
||||||
@ -211,6 +217,9 @@ License: GPLv3+ and (GPLv2+ or LGPLv3+)
|
|||||||
%if 0%{!?_isa:1}
|
%if 0%{!?_isa:1}
|
||||||
Provides: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
Provides: elfutils-debuginfod-client%{depsuffix} = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
# For debuginfod-find binary
|
||||||
|
Requires: elfutils-libs%{depsuffix} = %{version}-%{release}
|
||||||
|
Requires: elfutils-libelf%{depsuffix} = %{version}-%{release}
|
||||||
|
|
||||||
%package debuginfod-client-devel
|
%package debuginfod-client-devel
|
||||||
Summary: Libraries and headers to build debuginfod client applications
|
Summary: Libraries and headers to build debuginfod client applications
|
||||||
@ -272,7 +281,12 @@ RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -Wformat"
|
|||||||
|
|
||||||
|
|
||||||
trap 'cat config.log' EXIT
|
trap 'cat config.log' EXIT
|
||||||
|
|
||||||
|
%if 0%{?centos} >= 8
|
||||||
|
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions" --enable-debuginfod-urls=https://debuginfod.centos.org/
|
||||||
|
%else
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
|
||||||
|
%endif
|
||||||
trap '' EXIT
|
trap '' EXIT
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
@ -281,9 +295,11 @@ trap '' EXIT
|
|||||||
|
|
||||||
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
|
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
|
||||||
|
|
||||||
|
%if 0%{?centos} < 8
|
||||||
# We don't have standard DEBUGINFOD_URLS yet.
|
# We don't have standard DEBUGINFOD_URLS yet.
|
||||||
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh
|
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.sh
|
||||||
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh
|
rm ${RPM_BUILD_ROOT}%{_sysconfdir}/profile.d/debuginfod.csh
|
||||||
|
%endif
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -300,12 +316,9 @@ 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
|
||||||
|
|
||||||
# Workaround for ppc64le brew builds which might fail the debuginfod checks.
|
# See rhbz #2060731 and #2055510. The ; true really should be ; false
|
||||||
%ifarch ppc64le
|
# but for some reason brew builds can cause test-suite failures.
|
||||||
%make_build check || (cat tests/test-suite.log; true)
|
%make_build check || (cat tests/test-suite.log; true)
|
||||||
%else
|
|
||||||
%make_build check || (cat tests/test-suite.log; false)
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# 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.
|
||||||
@ -409,6 +422,10 @@ fi
|
|||||||
%{_bindir}/debuginfod-find
|
%{_bindir}/debuginfod-find
|
||||||
%{_mandir}/man1/debuginfod-find.1*
|
%{_mandir}/man1/debuginfod-find.1*
|
||||||
%{_mandir}/man7/debuginfod*.7*
|
%{_mandir}/man7/debuginfod*.7*
|
||||||
|
%if 0%{?centos} >= 8
|
||||||
|
%{_sysconfdir}/profile.d/debuginfod.*
|
||||||
|
%{_sysconfdir}/debuginfod/*.urls
|
||||||
|
%endif
|
||||||
|
|
||||||
%files debuginfod-client-devel
|
%files debuginfod-client-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -442,6 +459,31 @@ exit 0
|
|||||||
%systemd_postun_with_restart debuginfod.service
|
%systemd_postun_with_restart debuginfod.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 6 2022 Mark Wielaard <mjw@redhat.com> - 0.187-4
|
||||||
|
- Upgrade to elfutils 0.187
|
||||||
|
- debuginfod: Support -C option for connection thread pooling.
|
||||||
|
- debuginfod-client: Negative cache file are now zero sized instead
|
||||||
|
of no-permission files.
|
||||||
|
- addr2line: The -A, --absolute option, which shows file names
|
||||||
|
includingthe full compilation directory is now the
|
||||||
|
default. To get theold behavior use the new option --relative.
|
||||||
|
- readelf, elflint: Recognize FDO Packaging Metadata ELF notes
|
||||||
|
- libdw, debuginfo-client: Load libcurl lazily only when files need
|
||||||
|
to be fetched remotely. libcurl is now never loaded when
|
||||||
|
DEBUGINFOD_URLS is unset. And whenDEBUGINFOD_URLS is set,
|
||||||
|
libcurl is only loaded when the debuginfod_begin function is
|
||||||
|
called.
|
||||||
|
- Add elfutils-0.187-csh-profile.patch
|
||||||
|
- Add elfutils-0.187-debuginfod-client-fd-leak.patch
|
||||||
|
- Add elfutils-0.187-mhd_no_dual_stack.patch
|
||||||
|
- Add elfutils-0.187-mhd_epoll.patch
|
||||||
|
- Add an explicit versioned requires from elfutils-debuginfod-client
|
||||||
|
on elfutils-libs and elfutils-libelf.
|
||||||
|
- Remove brew testsuite workarounds
|
||||||
|
|
||||||
|
* Thu Feb 10 2022 Frank Ch. Eigler <fche@redhat.com> - 0.186-2
|
||||||
|
- rhbz2052574: enable debuginfod.centos.org support by default
|
||||||
|
|
||||||
* Thu Nov 11 2021 Mark Wielaard <mjw@redhat.com> - 0.186-1
|
* Thu Nov 11 2021 Mark Wielaard <mjw@redhat.com> - 0.186-1
|
||||||
- Upgrade to upstream 0.186
|
- Upgrade to upstream 0.186
|
||||||
- debuginfod-client: Default $DEBUGINFOD_URLS is computed from
|
- debuginfod-client: Default $DEBUGINFOD_URLS is computed from
|
||||||
|
Loading…
Reference in New Issue
Block a user