Your message dated Thu, 10 Oct 2024 17:50:48 +0000
with message-id <e1syxji-001jos...@fasolo.debian.org>
and subject line Bug#1078501: fixed in ruby-stackprof 0.2.26-2
has caused the Debian Bug report #1078501,
regarding ruby-stackprof:FTBFS:build failure(test failed)
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 ow...@bugs.debian.org
immediately.)


-- 
1078501: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078501
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-stackprof
Version: 0.2.26-1
Severity: serious
Tags: FTBFS, patch
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-ri...@lists.debian.org

Dear ruby-stackprof Maintainer,
The package ruby-stackprof build failed on arch riscv64. The crucial
buildd log below:
```

Finished in 1.580198s, 19.6178 runs/s, 88.5965 assertions/s.

  1) Failure:
StackProfTest#test_gc [/<<PKGBUILDDIR>>/test/test_stackprof.rb:252]:
Expected |2551 - 2546| (5) to be <= 2.

31 runs, 140 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"test"
/usr/share/rubygems-integration/all/gems/rake-13.2.1/lib/rake/rake_test_loader.rb
"test/test_middleware.rb" "test/test_report.rb"
"test/test_stackprof.rb" "test/test_truffleruby.rb"  -v]
/usr/share/rubygems-integration/all/gems/rake-13.2.1/exe/rake:27:in
`<top (required)>'
Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install
/<<PKGBUILDDIR>>/debian/ruby-stackprof returned exit code 1
make: *** [debian/rules:7: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-09T12:35:03Z

Finished

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=ruby-stackprof&arch=riscv64&ver=0.2.26-1&stamp=1723206910&raw=0

My solution to this issue:
Judging from the logs, test failures during the build process caused the
build to fail. Specifically, the StackProfTest#test_gc test failed at
/<<PKGBUILDDIR>>/test/test_stackprof.rb:252. The test expected that the
result of |2551 - 2546| (i.e. 5) should be less than or equal to 2, but the
actual value was outside this range.I don't think this test works on
RISC-V,I hope to skip this test on riscv64.After I skip this test, the
package build successfully on my machine.Please let me know wheather this
solution can be accepted.The patch is in the attachment.
Gui-Yue
Best Regards

Attachment: skip_failed_test.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: ruby-stackprof
Source-Version: 0.2.26-2
Done: Antonio Terceiro <terce...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-stackprof, 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 1078...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Terceiro <terce...@debian.org> (supplier of updated ruby-stackprof 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Oct 2024 14:15:27 -0300
Source: ruby-stackprof
Architecture: source
Version: 0.2.26-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Antonio Terceiro <terce...@debian.org>
Closes: 1078501
Changes:
 ruby-stackprof (0.2.26-2) unstable; urgency=medium
 .
   * Team upload
   * debian/ruby-tests.rake: exclude tests that frequently fail
     (Closes: #1078501)
   * debian/ruby-tests.rake: cleanup lib/*/stackprof.so
Checksums-Sha1:
 289951349b13cba1a88b18521b1385819db9185a 2071 ruby-stackprof_0.2.26-2.dsc
 1eaceaed6026dd771222050f186751d5eead65db 8408 
ruby-stackprof_0.2.26-2.debian.tar.xz
 7bdf7e4722917e082b230ebf065017f5bd52c28a 13836 
ruby-stackprof_0.2.26-2_source.buildinfo
Checksums-Sha256:
 908d416b61ee87fbf14e76183bf6b80886381f138b75f283d43c3c998deca7ea 2071 
ruby-stackprof_0.2.26-2.dsc
 34b0eeaec083dfe6c14d3e5e461474f07c9d55fd340de011c40f3562c20eb0dc 8408 
ruby-stackprof_0.2.26-2.debian.tar.xz
 8d403f714369d7f1f9e8160853cfefb9e7f830a648ba6aa8b50d8fa1539cb0e5 13836 
ruby-stackprof_0.2.26-2_source.buildinfo
Files:
 829cbf332463d4f5c13e30d4adefbe9e 2071 ruby optional ruby-stackprof_0.2.26-2.dsc
 8f320f95ae45f00c1cd04103c11a1140 8408 ruby optional 
ruby-stackprof_0.2.26-2.debian.tar.xz
 f9156b43fad84783ce8c96a899dfbf95 13836 ruby optional 
ruby-stackprof_0.2.26-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmcID04ACgkQ/A2xu81G
C94XsQ/7BzSciQJfAAgisyKU5+Krlf2klMDOitPWBKLDqZ7+3qjbQwBLOe9U51yq
Dr3g5n7AZFOofyTJnbWPCRmRjht0RkWq+scJ4MdMKR0Fv1HrJn5H2DTEw0hMk9ZJ
ojRYQge4aIq5vCaJRi05WLqVWj6KmadtaXQZC4NJOz3YVB4GnFUn/O7VilJgAC4z
+wXiQAeDkY8HjNjFEFFWny5muGrXQ8Zn5O+/QYa7ocGRqqppeBBqtaJ2XsrTTDbL
gFsv8soffjJAOA2skfY0RKkBonYzvKbSSSOyypMooT9WlDam7oL4XChLeGQIMoRc
hzbM3GqVuTTLacU5wtAgu5yr6Ex+AsWnKTwEGDYt3JOXBI3QxIBgvLZwV1IBl2Wq
BhJ9VW1zNQ4nKxqtiFcy+ibc3UKOg/bc1bJO2BBBkUz35OrwHogOgmnEEphVC1jy
GmXNMaQlQqBSqDFyQz76JLO6Vnk0sZy9w0wjhOkHUVZZU5JRDWV5O16BUHy5CRtG
VHvBHL0axLBu97n5lnHhtWezd6723jhwCnfb44YynALVZA6SWIiCFsCes4pMYDT0
RRPx2FKzulsx3e6+Wxlyqe0RArB3ZsQd1ixH3MundVuKo/mSjUb0xz78eKvyxtgQ
qHD8Ef/6UEl2jIxmII/uvBBdu+6/fwqnWZ22Y3JzgWD6BFV85/Q=
=gy9P
-----END PGP SIGNATURE-----

Attachment: pgpcjdbOEwZm7.pgp
Description: PGP signature


--- End Message ---

Reply via email to