Package: src:ruby-rugged
Version: 0.26.0-2
Severity: normal
Tags: sid buster
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-8

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
severity of this report will be raised before the buster release.

The full build log can be found at:
http://aws-logs.debian.net/2018/05/01/gcc8/ruby-rugged_0.26.0-2_unstable_gcc8.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-8/porting_to.html

[...]
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
13: 
14: int t(void) { ; return 0; }
/* end */

--------------------

have_header: checking for git2.h... -------------------- yes

"gcc -E -I/usr/include/x86_64-linux-gnu/ruby-2.5.0 
-I/usr/include/ruby-2.5.0/ruby/backward -I/usr/include/ruby-2.5.0 -I.  
-Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
-fdebug-prefix-map=/build/ruby2.5-2HhZKW/ruby2.5-2.5.1=. 
-fstack-protector-strong -Wformat -Werror=format-security -fPIC -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -g -Wall -Wno-comment   conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <git2.h>
/* end */

--------------------

/usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:92:in `run': make failed, exit code 
2 (Gem::InstallError)
        from /usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:52:in `block in make'
        from /usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:44:in `each'
        from /usr/lib/ruby/2.5.0/rubygems/ext/builder.rb:44:in `make'
        from /usr/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:61:in `block 
in build'
        from /usr/lib/ruby/2.5.0/tempfile.rb:295:in `open'
        from /usr/lib/ruby/2.5.0/rubygems/ext/ext_conf_builder.rb:30:in `build'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:76:in 
`block in build_and_install'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in 
`chdir'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:70:in 
`build_and_install'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:108:in 
`block in build_all_extensions'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in 
`each'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:105:in 
`build_all_extensions'
        from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:121:in 
`<main>'
~~~~~~~~~~~~~~~~~~~~~ ↑ mkmf.log ~~~~~~~~~~~~~~~~~~~~~
/usr/lib/ruby/vendor_ruby/gem2deb.rb:56:in `run': /usr/bin/ruby2.5 
/usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>> 
debian/ruby-rugged (Gem2Deb::CommandFailed)
        from /usr/lib/ruby/vendor_ruby/gem2deb.rb:67:in `run_ruby'
        from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:37:in `block in 
install_files_and_build_extensions'
        from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in `each'
        from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:34:in 
`install_files_and_build_extensions'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `block in 
install'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `each'
        from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:82:in `install'
        from /usr/bin/dh_ruby:94:in `<main>'
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-rugged returned 
exit code 1
make: *** [debian/rules:7: binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned 
exit status 2

_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to