srm-ifce failed to build from source in Fedora rawhide/f33 https://koji.fedoraproject.org/koji/taskinfo?taskID=48360130 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Please fix srm-ifce at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, srm-ifce will be orphaned. Before branching of Fedora 34, srm-ifce will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1709690 [details] build.log
Created attachment 1709691 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1709692 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.
The package failed to build during the F33 mass rebuild, because its spec file was not adapted to the new %cmake macros in Fedora 33+.
This version works for Fedora 31+ and EPEL 8: diff --git a/srm-ifce.spec b/srm-ifce.spec index 3a1c479..2a70acd 100644 --- a/srm-ifce.spec +++ b/srm-ifce.spec @@ -1,5 +1,4 @@ -# unversionned doc dir F20 change https://fedoraproject.org/wiki/Changes/UnversionedDocdirs -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} +%undefine __cmake_in_source_build Name: srm-ifce Version: 1.24.3 @@ -44,12 +43,11 @@ the srm-ifce. %setup -q %build -%cmake -D DOC_INSTALL_DIR=%{_pkgdocdir} . -make %{?_smp_mflags} +%cmake -D DOC_INSTALL_DIR=%{_pkgdocdir} +%cmake_build %install -rm -rf $RPM_BUILD_ROOT -make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install +%cmake_install %ldconfig_scriptlets This version works for Fedora 31+, EPEL 7 and EPEL 8: diff --git a/srm-ifce.spec b/srm-ifce.spec index 3a1c479..93d5712 100644 --- a/srm-ifce.spec +++ b/srm-ifce.spec @@ -1,5 +1,5 @@ -# unversionned doc dir F20 change https://fedoraproject.org/wiki/Changes/UnversionedDocdirs -%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} +%undefine __cmake_in_source_build +%undefine __cmake3_in_source_build Name: srm-ifce Version: 1.24.3 @@ -16,7 +16,7 @@ Source0: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: cmake +BuildRequires: cmake3 BuildRequires: CGSI-gSOAP-devel >= 1.3.6 BuildRequires: glib2-devel BuildRequires: globus-ftp-client-devel @@ -44,12 +44,11 @@ the srm-ifce. %setup -q %build -%cmake -D DOC_INSTALL_DIR=%{_pkgdocdir} . -make %{?_smp_mflags} +%cmake3 -D DOC_INSTALL_DIR=%{_pkgdocdir} +%cmake3_build %install -rm -rf $RPM_BUILD_ROOT -make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install +%cmake3_install %ldconfig_scriptlets
new build pushed to testing https://bodhi.fedoraproject.org/updates/FEDORA-2020-5148a1aa49