[Bug 2080244] Re: Rebuilding results in unusable OpenSBI binary

Launchpad Bug Tracker 2080244 at bugs.launchpad.net
Fri Nov 1 14:01:04 UTC 2024


This bug was fixed in the package opensbi - 1.5.1-1

---------------
opensbi (1.5.1-1) unstable; urgency=medium

  * New upstream point release.

  [ Heinrich Schuchardt ]
  * debian/rules: do not use package notes (Closes: #1081291)
    (LP: #2080244)

  [ Vagrant Cascadian ]
  * Add riscv32 variant.
  * Update lintian overrides.
  * Use debian/build32 and debian/build64 instead of debian/build/XX.
    Thanks to Heinrich Schuchardt!
  * debian/rules: Drop dh_install override. Thanks to Heinrich Schuchardt.

 -- Vagrant Cascadian <vagrant at debian.org>  Tue, 10 Sep 2024 15:00:33
-0700

** Changed in: opensbi (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to opensbi in Ubuntu.
https://bugs.launchpad.net/bugs/2080244

Title:
  Rebuilding results in unusable OpenSBI binary

Status in opensbi package in Ubuntu:
  Fix Released
Status in opensbi package in Debian:
  Fix Released

Bug description:
  debian/rules only strips the .note section but not .note.package.

  We need a change like:

  diff --git a/debian/rules b/debian/rules
  index d9562be..2a5a7a5 100755
  --- a/debian/rules
  +++ b/debian/rules
  @@ -19,7 +19,7 @@ override_dh_auto_build:
                  PLATFORM=generic ; \
          for elffile in build/platform/generic/firmware/fw_*.elf ; do \
                  riscv64-linux-gnu-strip --remove-section=.comment \
  -                       --remove-section=.note \
  +                       --remove-section=.note* \
                          $${elffile} ; \
          done

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/2080244/+subscriptions




More information about the foundations-bugs mailing list