Bug 1865509
Summary: | srm-ifce: FTBFS in Fedora rawhide/f33 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | srm-ifce | Assignee: | Andrea <andrea.manzi> | ||||||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 33 | CC: | adev88, andrea.manzi, georgios.bitzes, mattias.ellert | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2020-08-25 16:29:49 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Bug Depends On: | |||||||||||
Bug Blocks: | 1803234, 1852036, 1859821 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2020-08-03 21:12:05 UTC
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 |