Bug 2045831
Summary: | libsafec: FTBFS in Fedora rawhide/f36: misc/qsort_s.c:181:11: error: storing the address of local variable 'tmp' in '*_3' [-Werror=dangling-pointer=] | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
Component: | libsafec | Assignee: | Ali Erdinc Koroglu <aekoroglu> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | unspecified | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 36 | CC: | aekoroglu, ppisar | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | libsafec-3.7.1-1.fc36 libsafec-3.7.1-1.fc37 | Doc Type: | If docs needed, set a value | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2023-02-05 01:46:24 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: | 2117176, 1992484, 2045102 | ||||||||||
Attachments: |
|
Description
Fedora Release Engineering
2022-01-25 18:38:43 UTC
Created attachment 1855314 [details]
build.log
file build.log too big, will only attach last 32768 bytes
Created attachment 1855315 [details]
root.log
file root.log too big, will only attach last 32768 bytes
Created attachment 1855316 [details]
state.log
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I. -pedantic -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wcast-align -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c misc/qsort_s.c -fPIC -DPIC -o misc/.libs/qsort_s.o [...] misc/qsort_s.c: In function 'cycle': misc/qsort_s.c:181:11: error: storing the address of local variable 'tmp' in '*_3' [-Werror=dangling-pointer=] 181 | ar[n] = tmp; | ~~~~~~^~~~~ misc/qsort_s.c:173:19: note: 'tmp' declared here 173 | unsigned char tmp[256]; | ^~~ misc/qsort_s.c:173:19: note: 'ar_32(D)' declared here cc1: all warnings being treated as errors make[2]: *** [Makefile:1443: misc/qsort_s.lo] Error 1 FEDORA-2023-c707e1ffe3 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c707e1ffe3 FEDORA-2023-8db8eb8a6b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8db8eb8a6b FEDORA-2023-c707e1ffe3 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-8db8eb8a6b has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. |