Your message dated Thu, 21 Jul 2022 21:49:03 +0000
with message-id <[email protected]>
and subject line Bug#1015311: fixed in gem2deb 2.0
has caused the Debian Bug report #1015311,
regarding gem2deb: loading metadata.yml fails on ruby3.1
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1015311: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015311
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ruby-vmstat
Version: 2.3.0-3
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ruby3.1
Hi,
We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-vmstat with ruby3.1 enabled, the build failed.
Relevant part of the build log (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>/ext/vmstat'
> /bin/mkdir -p . ./.gem.20220718-1866320-vf19la/vmstat
> exit > .sitearchdir.-.vmstat.time
> /usr/bin/install -c -m 0755 vmstat.so ./.gem.20220718-1866320-vf19la/vmstat
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/ext/vmstat'
> current directory: /<<PKGBUILDDIR>>/ext/vmstat
> /usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r
> ./siteconf20220718-1866320-lfy1qe.rb extconf.rb
> current directory: /<<PKGBUILDDIR>>/ext/vmstat
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= clean
> current directory: /<<PKGBUILDDIR>>/ext/vmstat
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\=
> current directory: /<<PKGBUILDDIR>>/ext/vmstat
> make V\=1 CC\=gcc\ -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. CXX\=g++\
> -fdebug-prefix-map\=/<<PKGBUILDDIR>>\=. DESTDIR\= install
> rm -f
> /<<PKGBUILDDIR>>/debian/ruby-vmstat/usr/lib/x86_64-linux-gnu/ruby/vendor_ruby/3.0.0/mkmf.log
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Build native extensions for ruby3.1
> │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> /usr/bin/ruby3.1 /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb
> /<<PKGBUILDDIR>> debian/ruby-vmstat
> /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find': Tried to load
> unspecified class: Gem::Specification (Psych::DisallowedClass)
> from /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:424:in
> `resolve_class'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:213:in
> `visit_Psych_Nodes_Mapping'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in
> `visit_Psych_Nodes_Document'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> from /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> from /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> from /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
> from /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
> from /usr/lib/ruby/3.1.0/psych.rb:671:in `block in load_file'
> from /usr/lib/ruby/3.1.0/psych.rb:670:in `open'
> from /usr/lib/ruby/3.1.0/psych.rb:670:in `load_file'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:123:in `load_gemspec'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:36:in `block in
> initialize'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `chdir'
> from /usr/lib/ruby/vendor_ruby/gem2deb/metadata.rb:35:in `initialize'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:120:in `new'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:120:in
> `all_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:112:in
> `build_all_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb:128:in
> `<main>'
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:54:in `run': /usr/bin/ruby3.1
> /usr/lib/ruby/vendor_ruby/gem2deb/extension_builder.rb /<<PKGBUILDDIR>>
> debian/ruby-vmstat (Gem2Deb::CommandFailed)
> from /usr/lib/ruby/vendor_ruby/gem2deb.rb:65:in `run_ruby'
> from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:54:in `block in
> install_files_and_build_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in `each'
> from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:51:in
> `install_files_and_build_extensions'
> from /usr/lib/ruby/vendor_ruby/gem2deb/installer.rb:28:in `install'
> from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:86:in `block in
> install'
> from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `each'
> from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:84:in `install'
> from /usr/bin/dh_ruby:89:in `<main>'
> dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-vmstat
> returned exit code 1
> make: *** [debian/rules:6: binary] Error 25
The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/ruby-vmstat_2.3.0-3+rebuild1658134753_amd64.log
To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in
experimental).
If you fail to reproduce, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: gem2deb
Source-Version: 2.0
Done: Antonio Terceiro <[email protected]>
We believe that the bug you reported is fixed in the latest version of
gem2deb, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Antonio Terceiro <[email protected]> (supplier of updated gem2deb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 21 Jul 2022 21:17:01 +0200
Source: gem2deb
Architecture: source
Version: 2.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team
<[email protected]>
Changed-By: Antonio Terceiro <[email protected]>
Closes: 982887 1015311
Changes:
gem2deb (2.0) unstable; urgency=medium
.
[ Daniel Leidert ]
* Use github tags instead of releases in watch file template
.
[ Antonio Terceiro ]
* dh_ruby: stop printing "dh_ruby --opt"
* source_test: replace mocking with temporary directory
* Gem2Deb::Source: improve reading of debian/control
* Gem2Deb::Source: detect debhelper compatibility level
* dh_ruby: build, test and install separately for debhelper compat 14+
* Add support for cross compilation of Ruby extensinons (Closes: #982887)
* activate.bash: also set PERL5LIB
* debian/tests/gem2deb: don't check build dependencies
* Gem2Deb::Metadata: fix loading medadata.yml with ruby3.1 (Closes: #1015311)
Checksums-Sha1:
84e05947c2f6522d1e7c1771a1d2e80c97b0fd7e 2283 gem2deb_2.0.dsc
de6bf2efa5193c7caae975ff281bc9c4399bbd61 74748 gem2deb_2.0.tar.xz
695c2f18c7c56948e2d881754a2be675b284be80 9744 gem2deb_2.0_amd64.buildinfo
Checksums-Sha256:
e9c366a6e18030ad6c9a8e0d6db240cc53d257c2cf125d6f2344c3dcf4ba4cf7 2283
gem2deb_2.0.dsc
db1ca50b928e7a91e9a5393a7d3f9a7676900f8a5e863675cc0b5c837ba7633d 74748
gem2deb_2.0.tar.xz
8f02521cd9dc9924804d917c1f409896a77ebc4649b7d08d9921dd8195827b78 9744
gem2deb_2.0_amd64.buildinfo
Files:
2cd39313a7d0b6d28c875e23e76e80ce 2283 ruby optional gem2deb_2.0.dsc
55eb7c2ee08c5e3ae5c586303f650509 74748 ruby optional gem2deb_2.0.tar.xz
e486c4674a9291133cc9174a75d70274 9744 ruby optional gem2deb_2.0_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmLZyB4ACgkQ/A2xu81G
C970VhAAtwWIvgop5skvcOATe89tCuD017as/Su0kPfpgVtW+53S4AFqZuwaqAZe
H8NQqCD/HVV5ZdEqUZCEfmjbjFYOsCr1pM9ekpaxM0vPAT4JkSikewxC0s5hJnPd
a6v7p159QQmiW0c3tdmAw0UrKq8CjUjw/4se4SlZjKxEwD+orJC94KFn/ZqXIypj
kcujFZkrZ/bmhkbTI2A3tuSH45//XC62i8KT1YEx9dFJVAXFsHwFHOhxHGWCamyd
ORu2xcUwlfV7WFMOuESpvADVOBOTcf/r+xL8cp6kZ+BvyeZB3ohmBcJj7DqZPZB0
l78uG8UZLAS2xUmtqFWK2Ge14hhtoMqPRMngRacBrgYLfcVsJTtCHkcGzc/EyVLs
NS9cuRLUYq6wKklcvYVRPYTwfZvRjZ1spZCJi27QlO0GOuBg1Mdbg9Kfv50QhptP
vIf09ZvHstjm04Ei+TO62EAOFK4UCO42zDVXuzqQJujCJC7jtItnY1eFpcOPIC77
eAGrBBf0rlXQ7eC56AOxVrh7R1SICzQT8aprcvbVzTN+6Wep1d73fMqC1KBjHubK
qe4QuIbpciR3QObyyqJmVywUQvmctiqsLG+8cjO6RSH4vzha2weU6nk9yci/R8ah
PKtahfiTKP2P2DicYUAHd3lyqU+/TzteIy2BCzwxGrfbNuRTOoA=
=/fPn
-----END PGP SIGNATURE-----
--- End Message ---