The package rpms/criu.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/criu.git/commit/?id=c84a7ab6b62a4850....
Change: -ExclusiveArch: x86_64 ppc64le
Thanks.
Full change: ============
commit 2ec40be859a588a7b14de9a58f0a0e9b297a9d0f Author: Adrian Reber adrian@lisas.de Date: Thu Sep 28 11:23:27 2017 +0200
Update to 3.5 (#1496614)
diff --git a/0001-fix-building-on-newest-glibc-and-kernel.patch b/0001-fix-building-on-newest-glibc-and-kernel.patch new file mode 100644 index 0000000..4a4beb4 --- /dev/null +++ b/0001-fix-building-on-newest-glibc-and-kernel.patch @@ -0,0 +1,41 @@ +From cb21b73e859de77804dde8579c6d1d1f84eec3a6 Mon Sep 17 00:00:00 2001 +From: Adrian Reber areber@redhat.com +Date: Thu, 28 Sep 2017 09:13:33 +0000 +Subject: [PATCH] fix building on newest glibc and kernel + +On Fedora rawhide with kernel-headers-4.14.0-0.rc2.git0.1.fc28.x86_64 +glibc-devel-2.26.90-15.fc28.x86_64 criu does not build any more: + +In file included from /usr/include/linux/aio_abi.h:31:0, + from criu/cr-check.c:24: +/usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant + MS_RDONLY = 1, /* Mount read-only. */ + ^ +make[2]: *** [/builddir/build/BUILD/criu-3.5/scripts/nmk/scripts/build.mk:111: criu/cr-check.o] Error 1 +make[1]: *** [criu/Makefile:73: criu/built-in.o] Error 2 +make: *** [Makefile:233: criu] Error 2 + +This simple re-ordering of includes fixes it for me. + +Signed-off-by: Adrian Reber areber@redhat.com +--- + criu/cr-check.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/criu/cr-check.c b/criu/cr-check.c +index 5dd448b..8986ec4 100644 +--- a/criu/cr-check.c ++++ b/criu/cr-check.c +@@ -21,8 +21,8 @@ + #include <netinet/in.h> + #include <sys/prctl.h> + #include <sched.h> +-#include <linux/aio_abi.h> + #include <sys/mount.h> ++#include <linux/aio_abi.h> + + #include "../soccr/soccr.h" + +-- +1.8.3.1 + diff --git a/criu.spec b/criu.spec index 843e26d..16928b6 100644 --- a/criu.spec +++ b/criu.spec @@ -14,6 +14,7 @@ Group: System Environment/Base License: GPLv2 URL: http://criu.org/ Source0: http://download.openvz.org/criu/criu-%%7Bversion%7D.tar.bz2 +Patch0: 0001-fix-building-on-newest-glibc-and-kernel.patch
%if 0%{?rhel} # RHEL has no asciidoc; take man-page from Fedora 24 @@ -72,6 +73,7 @@ their content in human-readable form.
%prep %setup -q +%patch0 -p1
%build # %{?_smp_mflags} does not work
commit c84a7ab6b62a4850c4a57ebeab79969a98a24a55 Author: Adrian Reber adrian@lisas.de Date: Thu Sep 28 10:21:00 2017 +0200
Update to 3.5 (#1496614)
diff --git a/.gitignore b/.gitignore index e36cac5..ef77a54 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,4 @@ /criu-3.2.1.tar.bz2 /criu-3.3.tar.bz2 /criu-3.4.tar.bz2 +/criu-3.5.tar.bz2 diff --git a/criu.spec b/criu.spec index aa1d236..843e26d 100644 --- a/criu.spec +++ b/criu.spec @@ -5,7 +5,7 @@ %endif
Name: criu -Version: 3.4 +Version: 3.5 Release: 1%{?dist} Provides: crtools = %{version}-%{release} Obsoletes: crtools <= 1.0-2 @@ -34,14 +34,8 @@ BuildRequires: asciidoc xmlto
# user-space and kernel changes are only available for x86_64, arm, # ppc64le, aarch64 and s390x -# the code is very architecture specific # https://bugzilla.redhat.com/show_bug.cgi?id=902875 -%if 0%{?fedora} ExclusiveArch: x86_64 %{arm} ppc64le aarch64 s390x -%else -ExclusiveArch: x86_64 ppc64le -%endif -
%description criu is the user-space part of Checkpoint/Restore in User-space @@ -142,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
%changelog +* Thu Sep 28 2017 Adrian Reber adrian@lisas.de - 3.5-1 +- Update to 3.5 (#1496614) + * Sun Aug 27 2017 Adrian Reber adrian@lisas.de - 3.4-1 - Update to 3.4 (#1483774) - Removed upstreamed patches diff --git a/sources b/sources index 8ae0cc0..92de5fa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (criu-3.4.tar.bz2) = 71fc700d19b46381873b2d0fa90e7fa253b00beb5e4e6065bbf510766acbcc14b35d58fa8073801112f897d2320b7decca1115fb6853d5fe64f3c52aa40a9f32 +SHA512 (criu-3.5.tar.bz2) = 2f2bd3e04ba3412fdfa215c8ac4d47f286f07b45f8ef7b609ce8ca8953036fcc6bfac3a5c68cdde9190723c35005bbf1bf4e67742f628917b766d4cb13cd29b0
arch-excludes@lists.fedoraproject.org