Your message dated Mon, 16 Dec 2024 12:03:00 +0530
with message-id <[email protected]>
and subject line ruby-terser: FTBFS: 5 out of 8 hunks FAILED -- saving rejects 
to file terser.js.rej
has caused the Debian Bug report #1078316,
regarding ruby-terser: FTBFS: 5 out of 8 hunks FAILED -- saving rejects to file 
terser.js.rej
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.)


-- 
1078316: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078316
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ruby-terser
Version: 1.1.12+dfsg-2
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
        dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
        dh_ruby --build
   dh_auto_test -O--buildsystem=ruby
        dh_ruby --test
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=ruby
   dh_prep -O--buildsystem=ruby
   dh_auto_install --destdir=debian/ruby-terser/ -O--buildsystem=ruby
        dh_ruby --install 
/<<BUILDDIR>>/ruby-terser-1.1.12\+dfsg/debian/ruby-terser
/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose 
/tmp/d20240809-107569-3n6xcu/gemspec
Failed to load /dev/null because it doesn't contain valid YAML hash
WARNING:  open-ended dependency on bundler (>= 1.3, development) is not 
recommended
  if bundler is semantically versioned, use:
    add_development_dependency 'bundler', '~> 1.3'
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: terser
  Version: 1.1.12
  File: terser-1.1.12.gem
/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local 
--verbose --no-document --ignore-dependencies --install-dir 
debian/ruby-terser/usr/share/rubygems-integration/all 
/tmp/d20240809-107569-3n6xcu/terser-1.1.12.gem
Failed to load /dev/null because it doesn't contain valid YAML hash
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/es5.js
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/split.js
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser.rb
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser/compressor.rb
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser/railtie.rb
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser/version.rb
/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser_wrapper.js
Successfully installed terser-1.1.12
1 gem installed
cd debian/ruby-terser/usr/share/rubygems-integration/all
rm -rf bin
rm -rf build_info
rm -rf cache
rm -rf doc
rm -rf extensions
rmdir plugins
cd gems/terser-1.1.12
rm -f
chmod 644 lib/terser/compressor.rb lib/terser/railtie.rb lib/terser/version.rb 
lib/terser.rb
find lib/ -type d -empty -delete
cd -
cd -
dh_installchangelogs -pruby-terser /<<PKGBUILDDIR>>/CHANGELOG.md upstream
/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Checking Rubygems dependency resolution on ruby3.1                           │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=. 
GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-terser/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
 ruby3.1 -e gem\ \"terser\"

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.1: no test suite!                                        │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ dh_ruby --install finished                                                   │
└──────────────────────────────────────────────────────────────────────────────┘

   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
cp /usr/share/nodejs/terser/dist/bundle.min.cjs \
        
debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/terser.js
cat debian/patches/terser-sync.patch | \
        (cd 
debian/ruby-terser/usr/share/rubygems-integration/all/gems/terser-1.1.12/lib/ 
&& \
        patch -p1 && \
        rm -f terser.js.orig)
patching file terser.js
Hunk #1 FAILED at 21517.
Hunk #2 FAILED at 21525.
Hunk #3 succeeded at 22570 (offset 964 lines).
Hunk #4 FAILED at 29823.
Hunk #5 succeeded at 31956 (offset 1962 lines).
Hunk #6 FAILED at 30014.
Hunk #7 succeeded at 32022 (offset 1962 lines).
Hunk #8 FAILED at 30575.
5 out of 8 hunks FAILED -- saving rejects to file terser.js.rej
make[1]: *** [debian/rules:13: override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Package: src:ruby-terser
Source-Version: 1.2.4+dfsg-1
Done: Vivek K J <[email protected]>

Fixed in ruby-terser | 1.2.4+dfsg-1

--- End Message ---

Reply via email to