yayahjb / cbflib

CBFlib repository cloned from SF CBFlib repository as of 1 Dec 15
8 stars 20 forks source link

cbflib fails to build with gcc9 #13

Open rosset opened 5 years ago

rosset commented 5 years ago

[filiperosset@raw ~]$ cd rpmbuild/my/CBFlib/ [filiperosset@raw CBFlib]$ fedpkg local warning: Macro expanded in comment on line 110: %{_bindir}/convert_image

warning: Macro expanded in comment on line 110: %{_bindir}/convert_image

setting SOURCE_DATE_EPOCH=1562112000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A4lFSS

RPM build errors: Could not execute local: rpmbuild --define '_sourcedir /home/filiperosset/rpmbuild/my/CBFlib' --define '_specdir /home/filiperosset/rpmbuild/my/CBFlib' --define '_builddir /home/filiperosset/rpmbuild/my/CBFlib' --define '_srcrpmdir /home/filiperosset/rpmbuild/my/CBFlib' --define '_rpmdir /home/filiperosset/rpmbuild/my/CBFlib' --define 'dist %{?distprefix}.fc31' --define 'fedora 31' --eval '%undefine rhel' --define 'fc31 1' -ba /home/filiperosset/rpmbuild/my/CBFlib/CBFlib.spec | tee .build-0.9.6-1.fc31.log [filiperosset@raw CBFlib]$

[filiperosset@raw CBFlib]$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 9.1.1 20190605 (Red Hat 9.1.1-2) (GCC) [filiperosset@raw CBFlib]$