davidmalcolm / libgccjit-srpm

RPM packaging of libgccjit
0 stars 0 forks source link

Build failures of 0.1-1 in copr (COPR build ID 12013) #1

Open davidmalcolm opened 10 years ago

davidmalcolm commented 10 years ago

Status of: http://copr-be.cloud.fedoraproject.org/results/dmalcolm/libgccjit/

Successful:

In root.log:

error: unpacking of archive failed on file /builddir/build/SOURCES/cloog-0.18.0.tar.gz;5369968b: cpio: MD5 sum mismatch

Failed: epel-6-i386 and epel-6-x86_64

In root.log:

Error: No Package found for binutils >= 2.20.51.0.2-12

binutils in repos were:

    binutils-0:2.20.51.0.2-5.36.el6.i686     binutils-0:2.20.51.0.2-5.36.el6.x86_64

This appears to be due to:

# Need binutils which support --no-add-needed >= 2.20.51.0.2-12

Failed: epel-7-x86_64, fedora-19-x86_64, fedora-20-x86_64, fedora-rawhide-x86_64

In build.log:

checking for the correct version of mpc.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.

epel-7-x86_64: seems to have installed libmpc.x86_64 0:1.0.1-1.el7 but not libmpc-devel fedora-19-x86_64: seems to have installed libmpc-0:1.0.1-1.fc19.x86_64 but not libmpc-devel fedora-20-x86_64: has installed libmpc.x86_64 0:1.0.1-2.fc20 but not libmpc-devel fedora-rawhide-x86_64: has installed libmpc.x86_64 0:1.0.2-1.fc21 but not libmpc-devel

(all on x86_64)

Failed: fedora-rawhide-i386

build.log:

make: *** [all] Error 2

for reasons that aren't immediately clear

davidmalcolm commented 10 years ago

The EPEL 5 errors appear to be due to https://bugzilla.redhat.com/show_bug.cgi?id=490613 (aka "No support for SHA-256: cpio: MD5 sum mismatch").

A workaround would be to build the SRPM using:

    --define "_source_filedigest_algorithm md5" \
    --define "_binary_filedigest_algorithm md5"

But it's simplest to drop EPEL 5 support.