zfs-linux FTBFS for riscv64 on Focal

Bug #2016881 reported by Heinrich Schuchardt
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Won't Fix
Undecided
Unassigned
Focal
Won't Fix
Low
Heitor Alves de Siqueira

Bug Description

[Impact]
 * riscv64 builds fail completely, so users on that architecture can't use ZFS.

[Test Plan]
 * Build zfs-linux on target architecture. No test failure is expected.

[Where problems could occur]
 * Test failures and bugs that are exclusive to RISCV64 might show up

[Other Info]
 * Upstream introduced support riscv64 with 4254e407294b
 * Builds succeed on Jammy and newer, Focal is missing the enablement patch

--
[Original Description]
Building zfs-linux for riscv64 fails on Ubuntu 18.04. There is a single patch missing: https://github.com/openzfs/zfs/commit/4254e407294b211f3399da2ee131b45fe9f4ac80

Revision history for this message
Heinrich Schuchardt (xypron) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "zfs-linux-0.8.3-1ubuntu12.15..0.8.3-1ubuntu12.16.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

Note that the riscv64 patch is also missing from Focal (20.04), and the package also fails to build there. Upstream included initial support in zfs-2.0.0, so newer Ubuntu releases should have it by default:

$ git describe --contains 4254e407294b211f3399da2ee131b45fe9f4ac80
zfs-2.0.0-rc1~665

Changed in zfs-linux (Ubuntu):
status: New → Fix Released
Changed in zfs-linux (Ubuntu Bionic):
status: New → Confirmed
Changed in zfs-linux (Ubuntu Focal):
status: New → Confirmed
Changed in zfs-linux (Ubuntu Bionic):
importance: Undecided → Medium
Changed in zfs-linux (Ubuntu Focal):
importance: Undecided → Medium
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

We don't support any RISC-V boards on Bionic.

Changed in zfs-linux (Ubuntu Bionic):
status: Confirmed → Invalid
tags: added: se-sponsor-halves
Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

Thank you for the patch, xypron! A few comments on your debdiff:

I don't see the Bug-Ubuntu: tag in the patch, could you please add it so it's DEP-3 compliant?
Looking at the Origin: tag, it's also not clear whether the patch is a clean cherry-pick or needed to be backported with some changes. Could you please add the "upstream" or "backport" tag before the URL there? Thanks!

Changed in zfs-linux (Ubuntu Focal):
status: Confirmed → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

Unsubscribing ubuntu-sponsors, please subscribe them back once the requested changes are made. Also if you want that uploaded to focal the bug description needs to be compliant with what is described on https://wiki.ubuntu.com/StableReleaseUpdates#Procedure

Changed in zfs-linux (Ubuntu Focal):
importance: Medium → Low
assignee: nobody → Heitor Alves de Siqueira (halves)
status: Incomplete → In Progress
Revision history for this message
Heitor Alves de Siqueira (halves) wrote :

Bionic is EoL, if RISC-V support is needed there we'll need to target Pro 18.04.

tags: removed: patch se-sponsor-halves
description: updated
Changed in zfs-linux (Ubuntu Bionic):
status: Invalid → Won't Fix
summary: - Building for Focal fails on riscv64
+ zfs-linux FTBFS for riscv64 on Focal
Changed in zfs-linux (Ubuntu Bionic):
importance: Medium → Undecided
Revision history for this message
Heinrich Schuchardt (xypron) wrote :

I would suggest not to invest in enabling a new feature in Focal now that we have two newer LTS releases. Setting to won't fix.

Changed in zfs-linux (Ubuntu Focal):
status: In Progress → Won't Fix
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.