Commit Graph

436 Commits

Author SHA1 Message Date
Amit Shah
17c16efeeb Use distro-configured debuginfod server
Fedora and CentOS configure a debuginfod server by default, whereas RHEL
and Amazon Linux do not.  The new `dist_debuginfod_url` macro sets the
server URL in a central place.  Use that value, if defined, to configure
with a default server.  If unset, do not configure one.

This ensures we have a unified spec file for all distro variants, and
distro-specific config resides in the macros.dist file.

With this change, we do not need the recently-added bcond for
with_debuginfo_url, so drop it.

Signed-off-by: Amit Shah <amitshah@fedoraproject.org>
2022-10-05 15:50:10 +02:00
Debarshi Ray
3e1f9c3f60 Silence mixed-use-of-spaces-and-tabs 2022-08-24 17:46:20 +02:00
Debarshi Ray
21528c8512 Use %sysusers_requires_compat to match %sysusers_create_compat
Fallout from 8675595d8f
2022-08-24 17:40:43 +02:00
Amit Shah
4f559f2740 Allow building without default debuginfod_url
Building with `--without=with_debuginfod_url` will not
configure a debuginfod_url by default.  This is useful
for downstreams like Amazon Linux that do not (yet)
provide a debuginfod server.
2022-07-27 12:44:36 +00:00
Fedora Release Engineering
794d243754 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 01:49:45 +00:00
Mark Wielaard
8675595d8f 0.187-5 - Add sysuser support for creating the debuginfod user
Resolves: #2096358
[RFE] elfutils use systemd-sysusers
2022-06-14 18:58:21 +02:00
Mark Wielaard
0ccdef5280 0.187-4
- Add elfutils-0.187-mhd_no_dual_stack.patch
- Add elfutils-0.187-mhd_epoll.patch
2022-05-06 16:29:46 +02:00
Mark Wielaard
58242698fa 0.187-3 - Add elfutils-0.187-debuginfod-client-fd-leak.patch 2022-05-05 17:39:38 +02:00
Mark Wielaard
6a6ddccfb4 0.187-2 - Add elfutils-0.187-csh-profile.patch
Resolves: #2080957
"Ambiguous output redirect" warning with csh or tcsh
2022-05-03 18:49:38 +02:00
Mark Wielaard
5323c422e7 0.187-1 - Upgrade to elfutils 0.187 2022-04-26 14:25:14 +02:00
Mark Wielaard
d00affffb1 0.186-5 - Add another explicit versioned requires 2022-04-12 15:58:14 +02:00
Mark Wielaard
c4a576eb45 0.186-4 - Add an explicit versioned requires 2022-04-07 15:02:13 +02:00
Mark Wielaard
4a3ca6544c 0.186-3 - Add support for FDO packaging metadata
Also add s390x big endian workaround for broken FDO ELF note.
And a workaround for ppc64le -Werror=null-dereference
2022-03-25 18:53:55 +01:00
Fedora Release Engineering
ebdf87f265 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 01:47:46 +00:00
Martin Cermak
bf0787573d GI Gating: set fedora-ci.koji-build.rpminspect.static-analysis mandatory 2021-12-02 14:05:28 +01:00
Martin Cermak
47f425708e CI Gating: Add tests for debuginfod and yama 2021-11-16 19:43:53 +01:00
Martin Cermak
8a282727be CI Gating: Use Regression and Sanity tests in automated runs 2021-11-16 11:49:50 +01:00
Mark Wielaard
fff536c2af 0.186-1 - Upgrade to upstream 0.186 2021-11-11 00:40:26 +01:00
Mark Wielaard
18d7a42230 0.185-5 - Add elfutils-0.185-raise-pthread_kill-backtrace.patch
- Use autosetup
2021-08-06 16:03:17 +02:00
Fedora Release Engineering
972afdb189 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 21:48:43 +00:00
Mark Wielaard
9244921367 Workaround bad test in make check 2021-07-16 00:03:58 +02:00
Mark Wielaard
aaf68e897a 0.185-3
- Update version to 0.185-3 for rawhide/f35 upgrade from f34
  This build enables debuginfod client by default
2021-07-15 23:47:48 +02:00
Mark Wielaard
f61a67cdd5 0.185-1 - Upgrade to upstream 0.185 2021-05-26 18:27:57 +02:00
Frank Ch. Eigler
8beea897ae elfutils: respin with 404-latch fix for reused debuginfod_client objects 2021-05-16 18:32:38 -04:00
Frank Ch. Eigler
b603536212 also ship the profile.d files 2021-05-12 08:02:55 -04:00
Frank Ch. Eigler
916a67ddba Activate debuginfod-client by default toward fedora server redux
Resolves: rhbz1956952
2021-05-12 00:46:42 -04:00
Frank Ch. Eigler
2643387fe4 Activate debuginfod-client by default toward fedora server.
Resolves: rhbz1956952
2021-05-11 17:22:56 -04:00
Mark Wielaard
19136803c5 Add BuildRequires: procps for run-debuginfod-find.sh testcase 2021-05-11 00:03:25 +02:00
Mark Wielaard
880d3e8f1b Upgrade to upstream 0.184 2021-05-10 23:36:16 +02:00
Martin Cermak
178121d8af Introduce CI gating setup for elfutils
Set up CI gating.  This will introduce new testcase called
fedora-ci.koji-build.tier0.functional and will configure it
as a mandatory CI gating testcase for elfutils fedora builds.

The provided test coverage comes from RHEL. This commit
"upstreams" it and makes it public.

The test cases are executed by running ./runtest.sh.
The main.fmf file keeps the testcase metadata.  Makefiles
and PURPOSE files are legacy and could be dropped.  We keep
them for backward compatibility though.  The plans and .fmf
folders contain configuration files needed for execution of
provided testcases within the Fedora CI infrastructure.
Rest of the provided files are reproducer or helper files.

Provided tests use Flexible Metadata Format, as documented in
https://fmf.readthedocs.io/ .

plans/ci.fmf: Change how from beakerlib to tmt

Removed tests that didn't run unprivileged with
tmt run --all provision --how=local

- tests/Regression/GNU-Property-notes-not-recognized
  Tries to install extra pacakger with yum.

- tests/Regression/bz447416-segfaults
  Tries to do eu-stack -p 1

- tests/Regression/elfutils-default-yama-scope-scriptlet-failed
  Does not have permission to do:
  grep /var/log/anaconda/packaging.log

- tests/Sanity/yama-scope
  su: user ptrace_scope_testuser does not exist or the user entry does not
      contain all the required fields

- tests/testsuite
  yum-builddep -y /tmp/tmp.7gnbiIzrYg/SPECS/elfutils.spec

- tests/Regression/rpmtests
  Tries to download and builddep src.rpm package from koji.

Removed not enabled tests:
- tests/Regression/bz652858-elfutils-prelink-stap-interaction
- tests/Sanity/elfutils-debuginfod

CVE reproducers are now public, so no longer confidential.

Remove unused tests/Sanity/elfutils-debuginfod/typescript
2021-04-19 10:42:42 +02:00
Zbigniew Jędrzejewski-Szmek
8cda32be22 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:53 +01:00
Mark Wielaard
639afad405 0.183-1 - Upgrade to upstream 0.183 2021-02-07 21:14:48 +01:00
Fedora Release Engineering
ceb631d7b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 04:26:50 +00:00
Robert Scheck
27c1c2759c Spec file cleanup
Remove old stuff no longer needed on all active branches
2020-12-24 09:56:13 +00:00
Mark Wielaard
29b93eed48 0.182-2 - Add elfutils-0.182-s390-pid_memory_read.patch 2020-12-17 13:06:25 +01:00
Tom Stellard
a9f71f97e5 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 04:59:39 +00:00
Mark Wielaard
cc0257826c elfutils 0.182 2020-10-31 23:59:15 +01:00
Mark Wielaard
6f09752649 0.181-3 - Add elfutils-0.181-array-param.patch. 2020-10-19 11:31:04 +02:00
Mark Wielaard
2b7d5a5e49 0.181-2 - Add ZSTD support elfutils-0.181-zstd.patch. 2020-09-18 14:43:48 +02:00
Mark Wielaard
3c07e25076 0.181-1 - Upgrade to upstream 0.181 2020-09-08 15:14:00 +02:00
Mark Wielaard
98c6807f3d 0.180-7 - Add elfutils-0.180-shf-compressed.patch 2020-08-26 00:13:59 +02:00
Fedora Release Engineering
29f2206fd8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 16:26:20 +00:00
Mark Wielaard
5638cbe410 Obsoletes shouldn't include depsuffix. 2020-07-24 16:35:35 +02:00
Mark Wielaard
e7591c0f5d Remove duplicate listing of sysconfig/debuginfod (config) file. 2020-07-23 01:17:05 +02:00
Mark Wielaard
ec548c1605 Remove elfutils-libelf-devel-static and elfutils-devel-static 2020-07-23 01:16:46 +02:00
Mark Wielaard
bd8bb34af8 Merge #4 Use make macros 2020-07-22 11:54:13 +00:00
Mark Wielaard
dd2bf6899d Properly escape %%check in spec comment. 2020-07-18 01:41:00 +02:00
Tom Stellard
da1e3f3ac3 Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
2020-07-13 19:22:41 +00:00
Mark Wielaard
170c3e44ea 0.180-3 - Add elfutils-0.180-mhd-result.patch 2020-07-03 23:50:32 +02:00
Jeff Law
ab00a462ae Disable LTO 2020-07-01 12:22:05 -06:00