|
|
|
@ -1,17 +1,20 @@
|
|
|
|
|
Summary: An API for Run-time Code Generation
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
License: LGPL-2.1-or-later AND GPL-3.0-or-later WITH Bison-exception-2.2 AND LicenseRef-Fedora-Public-Domain AND BSD-3-Clause
|
|
|
|
|
Name: dyninst
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
URL: http://www.dyninst.org
|
|
|
|
|
Version: 12.1.0
|
|
|
|
|
Version: 12.3.0
|
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ppc64le aarch64
|
|
|
|
|
|
|
|
|
|
%define __testsuite_version 12.1.0
|
|
|
|
|
%define __testsuite_version 12.3.0
|
|
|
|
|
Source0: https://github.com/dyninst/dyninst/archive/v%{version}/dyninst-%{version}.tar.gz
|
|
|
|
|
Source1: https://github.com/dyninst/testsuite/archive/%{__testsuite_version}/testsuite-%{__testsuite_version}.tar.gz
|
|
|
|
|
Source1: https://github.com/dyninst/testsuite/archive/v%{__testsuite_version}/testsuite-%{__testsuite_version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch1: dyninst-12.1.0-dwarf.patch
|
|
|
|
|
Patch1: dwarf-error.patch
|
|
|
|
|
Patch2: onetbb.patch
|
|
|
|
|
# Support cmake 3.27 - https://github.com/dyninst/dyninst/pull/1438
|
|
|
|
|
Patch3: dyninst-cmake3.27.patch
|
|
|
|
|
|
|
|
|
|
%global dyninst_base dyninst-%{version}
|
|
|
|
|
%global testsuite_base testsuite-%{__testsuite_version}
|
|
|
|
@ -26,10 +29,10 @@ BuildRequires: cmake
|
|
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
|
BuildRequires: tbb tbb-devel
|
|
|
|
|
BuildRequires: tex-latex
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
# Extra requires just for the testsuite
|
|
|
|
|
BuildRequires: gcc-gfortran libxml2-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
# Testsuite files should not provide/require anything
|
|
|
|
|
%{?filter_setup:
|
|
|
|
@ -53,6 +56,7 @@ Summary: Documentation for using the Dyninst API
|
|
|
|
|
Group: Documentation
|
|
|
|
|
%description doc
|
|
|
|
|
dyninst-doc contains API documentation for the Dyninst libraries.
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Header files for compiling programs with Dyninst
|
|
|
|
@ -60,6 +64,8 @@ Group: Development/System
|
|
|
|
|
Requires: dyninst = %{version}-%{release}
|
|
|
|
|
Requires: boost-devel
|
|
|
|
|
Requires: tbb-devel
|
|
|
|
|
License: LGPL-2.1-or-later AND BSD-3-Clause AND MIT
|
|
|
|
|
# FindTBB.cmake: presumed MIT, removed in next version of dyninst
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
dyninst-devel includes the C header files that specify the Dyninst user-space
|
|
|
|
@ -71,6 +77,9 @@ Summary: Programs for testing Dyninst
|
|
|
|
|
Group: Development/System
|
|
|
|
|
Requires: dyninst = %{version}-%{release}
|
|
|
|
|
Requires: dyninst-devel = %{version}-%{release}
|
|
|
|
|
License: BSD-3-Clause AND LGPL-2.1-or-later
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description testsuite
|
|
|
|
|
dyninst-testsuite includes the test harness and target programs for
|
|
|
|
|
making sure that dyninst works properly.
|
|
|
|
@ -79,11 +88,10 @@ making sure that dyninst works properly.
|
|
|
|
|
%setup -q -n %{name}-%{version} -c
|
|
|
|
|
%setup -q -T -D -a 1
|
|
|
|
|
|
|
|
|
|
pushd %{testsuite_base}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
pushd %{dyninst_base}
|
|
|
|
|
%patch1 -p1 -b .dwarf
|
|
|
|
|
%patch -P1 -p1 -b .dwerr
|
|
|
|
|
%patch -P2 -p1 -b .onetbb
|
|
|
|
|
%patch -P3 -p1 -b .cmake3.27
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# cotire seems to cause non-deterministic gcc errors
|
|
|
|
@ -110,14 +118,13 @@ export CFLAGS CXXFLAGS LDFLAGS
|
|
|
|
|
-DINSTALL_INCLUDE_DIR:PATH=%{_includedir}/dyninst \
|
|
|
|
|
-DINSTALL_CMAKE_DIR:PATH=%{_libdir}/cmake/Dyninst \
|
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=YES \
|
|
|
|
|
.
|
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=YES
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
# Hack to install dyninst nearby, so the testsuite can use it
|
|
|
|
|
DESTDIR="../install" %__cmake --install "%{__cmake_builddir}"
|
|
|
|
|
find ../install -name '*.cmake' -execdir \
|
|
|
|
|
sed -i -e "s!%{_prefix}!$PWD/../install&!" '{}' '+'
|
|
|
|
|
sed -i -e "s!%{_prefix}!$PWD/../install&!" '{}' '+'
|
|
|
|
|
# cmake mistakenly looks for libtbb.so in the dyninst install dir
|
|
|
|
|
sed -i '/libtbb.so/ s/".*usr/"\/usr/' $PWD/../install%{_libdir}/cmake/Dyninst/commonTargets.cmake
|
|
|
|
|
|
|
|
|
@ -128,8 +135,7 @@ cd ../%{testsuite_base}
|
|
|
|
|
-DDyninst_DIR:PATH=$PWD/../install%{_libdir}/cmake/Dyninst \
|
|
|
|
|
-DINSTALL_DIR:PATH=%{_libdir}/dyninst/testsuite \
|
|
|
|
|
-DCMAKE_BUILD_TYPE:STRING=Debug \
|
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=YES \
|
|
|
|
|
.
|
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=YES
|
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -137,10 +143,6 @@ cd ../%{testsuite_base}
|
|
|
|
|
cd %{dyninst_base}
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
# It doesn't install docs the way we want, so remove them.
|
|
|
|
|
# We'll just grab the pdfs later, directly from the build dir.
|
|
|
|
|
rm -v %{buildroot}%{_docdir}/*-%{version}.pdf
|
|
|
|
|
|
|
|
|
|
cd ../%{testsuite_base}
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
@ -192,27 +194,88 @@ find %{buildroot}%{_libdir}/dyninst/testsuite/ \
|
|
|
|
|
%attr(644,root,root) %{_libdir}/dyninst/testsuite/*.a
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Apr 21 2022 Stan Cox <scox@redhat.com> - 12.1.0-1
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 12.3.0-8
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 12.3.0-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 17 2024 Jonathan Wakely <jwakely@redhat.com> - 12.3.0-4
|
|
|
|
|
- Rebuilt for Boost 1.83
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 12.3.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Frank Ch. Eigler <fche@redhat.com> - 12.3.0-2
|
|
|
|
|
- side-tag respin
|
|
|
|
|
|
|
|
|
|
* Tue Jul 04 2023 Frank Ch. Eigler <fche@redhat.com> - 12.3.0-1
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Tue Jul 04 2023 Orion Poplawski <orion@nwra.com> - 12.3.0-1
|
|
|
|
|
- Update to 12.3.0
|
|
|
|
|
- Add patch for cmake 3.27 support
|
|
|
|
|
|
|
|
|
|
* Tue Jun 27 2023 Jonathan Wakely <jwakely@fedoraproject.org> - 12.2.0-5
|
|
|
|
|
- Patch for oneTBB (#2036372)
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Frank Ch. Eigler <fche@redhat.com> - 12.2.0-4
|
|
|
|
|
- rhbz2173030: ftbfs with gcc 13
|
|
|
|
|
|
|
|
|
|
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 12.2.0-3
|
|
|
|
|
- Rebuilt for Boost 1.81
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 12.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 4 2022 William Cohen <wcohen@redhat.com> - 12.2.0-1
|
|
|
|
|
- Update to 12.2.0
|
|
|
|
|
|
|
|
|
|
* Wed Aug 03 2022 Stan Cox <scox@redhat.com> - 12.1.0-4
|
|
|
|
|
- Explicitly include time.h as <string> no longer pulls it in
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 12.1.0-2
|
|
|
|
|
- Rebuilt for Boost 1.78
|
|
|
|
|
|
|
|
|
|
* Thu Mar 10 2022 William Cohen <wcohen@redhat.com> - 12.1.0-1
|
|
|
|
|
- Update to 12.1.0
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Stan Cox <scox@redhat.com> - 11.0.0-5
|
|
|
|
|
- Related: rhbz1993578
|
|
|
|
|
* Sat Mar 05 2022 Orion Poplawski <orion@nwra.com> - 12.0.1-4
|
|
|
|
|
- Fix cmake build dir
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Stan Cox <scox@redhat.com> - 11.0.0-4
|
|
|
|
|
- Related: rhbz1991997
|
|
|
|
|
* Mon Feb 07 2022 Stan Cox <scox@redhat.com> - 12.0.1-3
|
|
|
|
|
- Quiesce dwarf 5 warnings
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 11.0.0-3
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 30 2021 Stan Cox <scox@redhat.com> - 11.0.1-2
|
|
|
|
|
- Related: rhbz1973038
|
|
|
|
|
* Mon Jan 10 2022 Stan Cox <scox@redhat.com> - 12.0.1-1
|
|
|
|
|
- Update to 12.0.1
|
|
|
|
|
|
|
|
|
|
* Fri Apr 30 2021 Stan Cox <scox@redhat.com> - 11.0.0-1
|
|
|
|
|
- Update to 11.0.0
|
|
|
|
|
* Tue Nov 09 2021 Stan Cox <scox@redhat.com> - 11.0.1-4
|
|
|
|
|
- Do not create reloc for aarch64 static calls
|
|
|
|
|
|
|
|
|
|
* Fri Aug 06 2021 Jonathan Wakely <jwakely@redhat.com> - 11.0.1-3
|
|
|
|
|
- Rebuilt for Boost 1.76
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 10.2.1-7
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.0.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 08 2021 Stan Cox <scox@redhat.com> - 11.0.1
|
|
|
|
|
- Update to 11.0.1
|
|
|
|
|
|
|
|
|
|
* Fri Apr 30 2021 Stan Cox <scox@redhat.com> - 11.0.0
|
|
|
|
|
- Update to 11.0.0
|
|
|
|
|
|
|
|
|
|
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 10.2.1-6
|
|
|
|
|
- Rebuilt for removed libstdc++ symbol (#1937698)
|
|
|
|
|