Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1865658

Summary: yubihsm-shell: FTBFS in Fedora rawhide/f33
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: yubihsm-shellAssignee: Jakub Jelen <jjelen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: c72578, jjelen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-06 13:07:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1863368    
Bug Blocks: 1803234    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-08-03 21:32:56 UTC
yubihsm-shell failed to build from source in Fedora rawhide/f33

https://koji.fedoraproject.org/koji/taskinfo?taskID=48363537


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Please fix yubihsm-shell at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
yubihsm-shell will be orphaned. Before branching of Fedora 34,
yubihsm-shell will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-08-03 21:32:58 UTC
Created attachment 1710124 [details]
build.log

Comment 2 Fedora Release Engineering 2020-08-03 21:32:59 UTC
Created attachment 1710125 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-08-03 21:33:00 UTC
Created attachment 1710126 [details]
state.log

Comment 4 Jakub Jelen 2020-08-04 07:56:59 UTC
If I read it right, this is blocked on rebuild of cppcheck, which is a dependency of this package, but it is not installable:

Error: 
 Problem: conflicting requests
  - nothing provides libz3.so.0()(64bit) needed by cppcheck-2.1-3.fc33.x86_64

Comment 5 c72578 2020-08-04 19:40:14 UTC
cppcheck has just been rebuilt:
cppcheck-2.1-6.fc33
https://koji.fedoraproject.org/koji/taskinfo?taskID=48648878

There had been a soname bump in z3 from libz3.so.0 to libz3.so.4.8

Time to rebuild yubihsm-shell ...

Comment 6 Jakub Jelen 2020-08-06 12:14:22 UTC
Thanks. It builds now on normal architectures, but fails on s390x:

In file included from /usr/include/stdio.h:866,
                 from /builddir/build/BUILD/yubihsm-shell-2.0.2/src/cmdline.c:16:
In function 'fprintf',
    inlined from 'update_arg' at /builddir/build/BUILD/yubihsm-shell-2.0.2/src/cmdline.c:896:9,
    inlined from 'update_multiple_arg_temp.part.0.constprop.0' at /builddir/build/BUILD/yubihsm-shell-2.0.2/src/cmdline.c:996:11:
/usr/include/bits/stdio2.h:103:10: error: '%s' directive argument is null [-Werror=format-overflow=]
  103 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  104 |    __va_arg_pack ());
      |    ~~~~~~~~~~~~~~~~~

I will probably disable this particular check on s390x, as this is generated code.