[SRU] ruby2.5 FTBFS in Bionic

Bug #1903902 reported by Lucas Kanashiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby2.5 (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

The ruby2.5 source package FTBFS in Bionic, therefore, it is not possible to perform any update to benefit our users.

It is failing to build due to a missing build dependency on tzdata.

[Test Case]

Try to build the package in a sbuild Bionic chroot:

$ dget -u https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ruby2.5/2.5.1-1ubuntu1.6/ruby2.5_2.5.1-1ubuntu1.6.dsc
$ cd ruby2.5-2.5.1
$ sbuild -d bionic

Those are the test failures: https://pastebin.ubuntu.com/p/Vhcm35TgzJ/

To fix the FTBFS add tzdata as build dependency.

[Regression Potential]

In case there is a regression it could be on a timezone related feature. However, it is very unlikely. The tzdata is not added as a runtime dependency that will be installed in the users' system.

Related branches

summary: - ruby2.5 FTBFS in Bionic
+ [SRU] ruby2.5 FTBFS in Bionic
Changed in ruby2.5 (Ubuntu):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Lucas, or anyone else affected,

Accepted ruby2.5 into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ruby2.5/2.5.1-1ubuntu1.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ruby2.5 (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ruby2.5/2.5.1-1ubuntu1.7)

All autopkgtests for the newly accepted ruby2.5 (2.5.1-1ubuntu1.7) for bionic have finished running.
The following regressions have been reported in tests triggered by the package:

ruby-gnome2/3.2.4-1 (arm64, armhf)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/bionic/update_excuses.html#ruby2.5

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

The package in bionic-proposed correctly builds from source now. I did the following to confirm that:

$ dget -u https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/ruby2.5/2.5.1-1ubuntu1.7/ruby2.5_2.5.1-1ubuntu1.7.dsc
$ sbuild -d bionic ruby2.5_2.5.1-1ubuntu1.7.dsc

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for ruby2.5 has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby2.5 - 2.5.1-1ubuntu1.7

---------------
ruby2.5 (2.5.1-1ubuntu1.7) bionic; urgency=medium

  * d/p/arm64-optimizations.patch: enable arm64 optimizations that exist
    for power/x86. It includes enabling unaligned memory access, gc and
    vm_exec.c optimizations (LP: #1901074).
  * Fix FTBFS, many tests were failing during the build (LP: #1903902).
    - Add missing b-d on tzdata.
  * Fix DEP-8 tests (LP: #1903905).
    - Backport patches to fix Kiritimati TZ tests:
      + 0029-Backport-upstream-patch-to-fix-Kiritimati-TZ-test-1-.patch
      + 0030-Backport-upstream-patch-to-fix-Kiritimati-TZ-test-2-.patch
    - d/t/control: add restriction to allow-stderr. The rubyconfig test calls
      dpkg-architecture which is returning a warning in Bionic.
    - d/t/bundled-gems: skip gems which do not match upstream expectations.
      Some gems listed as bundled by upstream are not satisfied by the Ubuntu
      Bionic archive.

 -- Lucas Kanashiro <email address hidden> Thu, 05 Nov 2020 10:30:22 -0300

Changed in ruby2.5 (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.