Bug 2044889
| Summary: | annocheck FAIL: stack-prot test (qatzip) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Rui Ormonde <rlemosor> |
| Component: | qatzip | Assignee: | Vladislav Dronov <vdronov> |
| Status: | CLOSED ERRATA | QA Contact: | Vilém Maršík <vmarsik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | rvr, vdronov, zheng.ma |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qatzip-1.0.7-1.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-05-17 13:10:09 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: | |||
| Bug Blocks: | 2044387 | ||
|
Description
Rui Ormonde
2022-01-25 10:35:46 UTC
the test action plan: just run the annocheck test and ensure '-fstack-protector-strong' error is missing. the other annocheck warnings can be ignored here. [OLDER VERSION WITH THE ERROR] mkdir qatzip-stack-prot cd qatzip-stack-prot/ wget http://download.eng.brq.redhat.com/rhel-9/nightly/RHEL-9/latest-RHEL-9/compose/AppStream/x86_64/os/Packages/qatzip{,-libs}-1.0.6-5.el9.x86_64.rpm rpm2cpio < qatzip-1.0.6-5.el9.x86_64.rpm | cpio -icdumv rpm2cpio < qatzip-libs-1.0.6-5.el9.x86_64.rpm | cpio -icdumv annocheck usr/ annocheck: Version 9.27. Hardened: qzip: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: qzip: FAIL: The binary was compiled without -fstack-protector-strong. <<< THIS Hardened: qzip: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. Hardened: libqatzip.so.1.0.6: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: libqatzip.so.1.0.6: MAYB: The -fstack-protector setting was not recorded. <<< THIS Hardened: libqatzip.so.1.0.6: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. [FIXED C9S BUILD, no "compiled without -fstack-protector-strong" error] rm -rf *.rpm usr/ *.rpm.1 wget https://kojihub.stream.rdu2.redhat.com/kojifiles/work/tasks/6817/946817/qatzip{,-libs}-1.0.7-1.el9.x86_64.rpm rpm2cpio < qatzip-1.0.7-1.el9.x86_64.rpm | cpio -icdumv rpm2cpio < qatzip-libs-1.0.7-1.el9.x86_64.rpm | cpio -icdumv annocheck usr/ annocheck: Version 9.27. Hardened: qzip: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: qzip: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. Hardened: libqatzip.so.1.0.7: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: libqatzip.so.1.0.7: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. [FIXED RHEL9 BUILD, no "compiled without -fstack-protector-strong" error] rm -rf *.rpm usr/ *.rpm.1 wget http://download.eng.bos.redhat.com/brewroot/work/tasks/603/42930603/qatzip{,-libs}-1.0.7-1.el9.x86_64.rpm rpm2cpio < qatzip-1.0.7-1.el9.x86_64.rpm | cpio -icdumv rpm2cpio < qatzip-libs-1.0.7-1.el9.x86_64.rpm | cpio -icdumv annocheck usr/ annocheck: Version 9.27. Hardened: qzip: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: qzip: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. Hardened: libqatzip.so.1.0.7: FAIL: The binary was compiled without -DFORTIFY_SOURCE=2 but with -D_GLIBCXX_ASSERTIONS. Hardened: libqatzip.so.1.0.7: FAIL: Compiled without using either the -Wall or -Wformat-security options. Run with -v to see where. this build issue required qatzip rebuild. the new build is: [CI] [GATING] [DONE] qatzip-1.0.7-1.el9 passed gating because all required tests passed C9S build: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=946815 RHEL9 Task: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=42930591 RHEL9 Build: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1881651 CI Dashboard: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/42930591 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (new packages: qatzip), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2022:2468 |