Bug 1185218

Summary: GCC 11: exiv2 build fails on i586
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Dirk Mueller <dmueller>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://github.com/Exiv2/exiv2/pull/1271
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-04-23 07:31:10 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/exiv2/standard/i586

with:
[   17s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/exiv2-0.27.3/build'
[   17s] [  9%] Building CXX object src/CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o
[   17s] cd /home/abuild/rpmbuild/BUILD/exiv2-0.27.3/build/src && /usr/bin/c++ -Dexiv2lib_EXPORTS -I/home/abuild/rpmbuild/BUILD/exiv2-0.27.3/build -I/home/abuild/rpmbuild/BUILD/exiv2-0.27.3/build/src -I/home/abuild/rpmbuild/BUILD/exiv2-0.27.3/include/exiv2 -fomit-frame-pointer -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -O2 -g -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fstack-clash-protection -fcf-protection -fstack-protector-strong -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wcast-align -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Woverloaded-virtual -W -o CMakeFiles/exiv2lib_int.dir/canonmn_int.cpp.o -c /home/abuild/rpmbuild/BUILD/exiv2-0.27.3/src/canonmn_int.cpp
[   17s] cc1plus: error: '-fcf-protection' is not compatible with this target

which is an upstream bug:
https://github.com/Exiv2/exiv2/issues/1352
Comment 1 Martin Liška 2021-04-23 07:32:50 UTC
Sorry, it's this one:
https://github.com/Exiv2/exiv2/pull/1271
Comment 2 Dominique Leuenberger 2021-05-12 15:29:33 UTC
(In reply to Martin Liška from comment #1)
> Sorry, it's this one:
> https://github.com/Exiv2/exiv2/pull/1271

sr#892535 en route to the devel prj
Comment 3 Dirk Mueller 2021-05-12 16:14:10 UTC
thanks to all !
Comment 6 Swamp Workflow Management 2022-11-07 20:22:12 UTC
SUSE-SU-2022:3889-1: An update that solves 15 vulnerabilities, contains one feature and has one errata is now available.

Category: security (important)
Bug References: 1068871,1142675,1142679,1185002,1185218,1185447,1185913,1186053,1186192,1188645,1188733,1189332,1189333,1189334,1189335,1189338
CVE References: CVE-2017-1000128,CVE-2019-13108,CVE-2019-13111,CVE-2020-19716,CVE-2021-29457,CVE-2021-29463,CVE-2021-29470,CVE-2021-29623,CVE-2021-31291,CVE-2021-32617,CVE-2021-34334,CVE-2021-37620,CVE-2021-37621,CVE-2021-37622,CVE-2021-37623
JIRA References: PED-1393
Sources used:
openSUSE Leap 15.4 (src):    exiv2-0.27.5-150400.15.4.1, exiv2-0_26-0.26-150400.9.16.1
SUSE Linux Enterprise Module for Desktop Applications 15-SP4 (src):    exiv2-0.27.5-150400.15.4.1, exiv2-0_26-0.26-150400.9.16.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.