These failures of the mocked tests have been reported upstream at
https://github.com/flashrom/flashrom/issues/186 by others but no
response - however I am pretty sure this is due to the use of LTO in
impish - cmocka is known to fail with LTO due to the use of --wrap which
doesn't play nicely with LTO - so in this case, the original functions
get called, not the wrapped ones -
https://bugzilla.redhat.com/show_bug.cgi?id=1693831

I can't find an easy way to only disable LTO for these tests so perhaps
just best to set DEB_BUILD_MAINT_OPTIONS = optimize=-lto in debian/rules
for now.

As such, I will proceed with the security audit based on this for now.

** Bug watch added: github.com/flashrom/flashrom/issues #186
   https://github.com/flashrom/flashrom/issues/186

** Bug watch added: Red Hat Bugzilla #1693831
   https://bugzilla.redhat.com/show_bug.cgi?id=1693831

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to libftdi in Ubuntu.
https://bugs.launchpad.net/bugs/1912371

Title:
  [MIR] flashrom + libftdi

Status in flashrom package in Ubuntu:
  New
Status in libftdi package in Ubuntu:
  New

Bug description:
  [Summary]
  Further review will be needed. The Package does not have a test suite that 
runs as autopkgtest.

  [Availability]
  Currently in universe.

  [Duplication]
  There is no other package in main providing the same functionality.

  [Rationale]
  fwupd depends on libflashrom1 for its flashrom plugin, something that's 
required to update Coreboot firmware.

  [Security]
  No CVE's, but due to the nature of the package security should review.

  [Quality Assurance]
  Package builds and runs easily

  [Dependencies]
  N/A

  [Standards Compliance]
  Complies with FHS, though the organization of files in the source package 
could be organized better.

  [Common blockers]
  flashrom does NOT have a test suite that runs at build time.
  flashrom does NOT have a test suite that runs as autopkgtest.

  [Maintenance]
  Actively maintained - https://github.com/flashrom/flashrom
  Packaging - https://salsa.debian.org/myczko-guest/flashrom.git

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to