Bug 1192886

Summary: FTBFS with gcc-5.0.0
Product: [Fedora] Fedora Reporter: Ralf Corsepius <rc040203>
Component: vxlAssignee: Ralf Corsepius <rc040203>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: lemenkov, mrceresa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-16 04:02:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to address this issue none

Description Ralf Corsepius 2015-02-16 04:40:28 UTC
Description of problem:

The vxl package fails to build from source with GCC-5.0.0.

Apparently, vxl actively rejects gcc-5.0.0 and needs to be extended for gcc-5

From
https://kojipkgs.fedoraproject.org//work/tasks/6055/8946055/build.log

...
CMakeFiles/openjpeg2.dir/mqc.o   -c /builddir/build/BUILD/vxl-git4e07960/v3p/openjpeg2/mqc.c
In file included from /builddir/build/BUILD/vxl-git4e07960/vcl/vcl_iosfwd.h:8:0,
                 from /builddir/build/BUILD/vxl-git4e07960/vcl/vcl_iostream.h:27,
                 from /builddir/build/BUILD/vxl-git4e07960/vcl/vcl_deprecated.cxx:4:
/builddir/build/BUILD/vxl-git4e07960/vcl/vcl_compiler.h:123:4: error: #error "Dunno about this gcc"
 #  error "Dunno about this gcc"
    ^
...


Version-Release number of selected component (if applicable):
vxl-1.17.0-15.fc22 on f23 and rawhide.


How reproducible:
Always.

Steps to Reproduce:
1. rebuild the package either for f22 or rawhide (f23)

Additional info:
- This package apparently applies a detailed compiler check, based on compiler version checks and refuses to build with unknown compiler versions.
- This compiler version check limitation is propagated into other packages through exporting /usr/include/vxl/vcl/vcl_compiler.h and thus causes FTBFSes of other packages (E.g. nifti2dicom)

Comment 1 Ralf Corsepius 2015-02-16 07:10:18 UTC
Created attachment 992061 [details]
Patch to address this issue

I am going to apply this patch using my provenpackager privileges to dampen the impact this FTBFS has.

I am well aware this is not a proper fix but more a band-aid work-around.

Comment 2 Ralf Corsepius 2016-02-16 04:02:23 UTC
This BZ should have been close long time ago