Source: ruby-ntlm Version: 0.6.1-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-ntlm was found to fail to build in that situation. To reproduce this locally, you need to install ruby-all-dev from experimental on an unstable system or build chroot. Relevant part (hopefully): > Failure/Error: dec.encrypt.update(plain) + dec.final > > OpenSSL::Cipher::CipherError: > key not set > # ./lib/net/ntlm.rb:130:in `update' > # ./lib/net/ntlm.rb:130:in `block in apply_des' > # ./lib/net/ntlm.rb:128:in `map' > # ./lib/net/ntlm.rb:128:in `apply_des' > # ./lib/net/ntlm.rb:260:in `ntlm2_session' > # ./spec/lib/net/ntlm_spec.rb:117:in `block (2 levels) in <top > (required)>' > > Finished in 1.86 seconds (files took 2.26 seconds to load) > 741 examples, 7 failures > > Failed examples: > > rspec ./spec/lib/net/ntlm/message/type3_spec.rb:154 # > Net::NTLM::Message::Type3.parse NTLM2 Session Response Authentication; NTLM2 > Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key > With Key Exchange Negotiated #password? should be true for "test1234" > rspec ./spec/lib/net/ntlm/message/type3_spec.rb:159 # > Net::NTLM::Message::Type3.parse NTLM2 Session Response Authentication; NTLM2 > Signing and Sealing Using the 128-bit NTLM2 Session Response User Session Key > With Key Exchange Negotiated #blank_password? should be false > rspec ./spec/lib/net/ntlm_spec.rb:36 # Net::NTLM should encrypt the string > with DES for each key supplied > rspec ./spec/lib/net/ntlm_spec.rb:42 # Net::NTLM should generate an lm_hash > rspec ./spec/lib/net/ntlm_spec.rb:62 # Net::NTLM should generate an > lm_response > rspec ./spec/lib/net/ntlm_spec.rb:71 # Net::NTLM should generate an > ntlm_response > rspec ./spec/lib/net/ntlm_spec.rb:116 # Net::NTLM should generate a > ntlm2_session > > /usr/bin/ruby3.0 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec > --pattern ./spec/\*\*/\*.rb --format documentation failed > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-ntlm/ruby-ntlm_0.6.1-2+rebuild1633389093_amd64.build.txt
signature.asc
Description: PGP signature

