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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1912371

Title:
  [MIR] flashrom + libftdi

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to