Bug 1313494 - gecode-4.4.0 on EPEL6
Summary: gecode-4.4.0 on EPEL6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: gecode
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Julian C. Dunn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-01 17:23 UTC by Antonio
Modified: 2016-06-21 03:18 UTC (History)
1 user (show)

Fixed In Version: gecode-4.4.0-12.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-21 03:18:31 UTC


Attachments (Terms of Use)
gecode spec file (7.07 KB, text/plain)
2016-05-30 16:12 UTC, Antonio
no flags Details

Description Antonio 2016-03-01 17:23:06 UTC
Description of problem:

Is it possible rebuild gecode-4.4.0 on EPEL6?

Comment 1 Julian C. Dunn 2016-03-02 15:59:48 UTC
It's somewhat risky because the C++ compiler (GCC/G++ 4.4.7) on EL6 doesn't officially support the C++ standard level that gecode needs, but I'm willing to give it a shot with -std=c++0x

Comment 2 Antonio 2016-03-08 22:33:17 UTC
This spec file is ready to build gecode on epel6:
https://sagitter.fedorapeople.org/gecode.spec

Unfortunately, tests are failed both fedora and epel.

Comment 3 Antonio 2016-03-09 11:30:24 UTC
Attempt to contact mantainer again.

Comment 4 Julian C. Dunn 2016-05-30 01:57:51 UTC
Hi, sorry for the delay in getting to this. I was able to incorporate your patch onto EPEL6 x86_64 and i686 but ppc64 won't build. https://kojipkgs.fedoraproject.org//work/tasks/5724/14305724/build.log

Comment 5 Antonio 2016-05-30 15:40:36 UTC
./gecode/third-party/boost/...

Gecode provides its own Boost header files. I tried to unbundle Boost but does not compile neither on Fedora and EPEL.
--with-boost-include options look useless too.

http://koji.fedoraproject.org/koji/taskinfo?taskID=14313662

Comment 7 Julian C. Dunn 2016-05-30 18:51:09 UTC
If I understand what you are doing here, you are vendoring Boost? (or at least not overriding upstream's vendoring of Boost?) Won't we need a FPC exception for that?

Comment 8 Antonio 2016-05-30 19:44:10 UTC
(In reply to Julian C. Dunn from comment #7)
> If I understand what you are doing here, you are vendoring Boost? (or at
> least not overriding upstream's vendoring of Boost?)

I tried to not use ./gecode/third-party/boost/* files during build without success. I don't know, maybe gecode works with its own boost files only.

(In reply to Julian C. Dunn from comment #7)
> Won't we need a FPC exception for that?

Well, I do not guess. 
http://fedoraproject.org/wiki/Packaging:Guidelines#Bundling_and_Duplication_of_system_libraries

Comment 9 Antonio 2016-05-30 19:50:19 UTC
(In reply to Julian C. Dunn from comment #4)
> Hi, sorry for the delay in getting to this. I was able to incorporate your
> patch onto EPEL6 x86_64 and i686 but ppc64 won't build.
> https://kojipkgs.fedoraproject.org//work/tasks/5724/14305724/build.log

About this, you are patching on el6 too, where GCC6 is not used:

Patch #1 (gecode-4.4.0-gcc6.patch):
+ echo 'Patch #1 (gecode-4.4.0-gcc6.patch):'
+ /bin/cat /builddir/build/SOURCES/gecode-4.4.0-gcc6.patch
+ /usr/bin/patch -p1 -b --suffix .gcc6 --fuzz=0
patching file gecode/third-party/boost/numeric/interval/detail/ppc_rounding_control.hpp

Comment 10 Julian C. Dunn 2016-05-30 22:55:54 UTC
(In reply to Antonio Trande from comment #9)
> (In reply to Julian C. Dunn from comment #4)
> > Hi, sorry for the delay in getting to this. I was able to incorporate your
> > patch onto EPEL6 x86_64 and i686 but ppc64 won't build.
> > https://kojipkgs.fedoraproject.org//work/tasks/5724/14305724/build.log
> 
> About this, you are patching on el6 too, where GCC6 is not used:
> 
> Patch #1 (gecode-4.4.0-gcc6.patch):
> + echo 'Patch #1 (gecode-4.4.0-gcc6.patch):'
> + /bin/cat /builddir/build/SOURCES/gecode-4.4.0-gcc6.patch
> + /usr/bin/patch -p1 -b --suffix .gcc6 --fuzz=0
> patching file
> gecode/third-party/boost/numeric/interval/detail/ppc_rounding_control.hpp

Alright, yes, that was it. We are good to go now. https://koji.fedoraproject.org/koji/taskinfo?taskID=14319134

Comment 11 Fedora Update System 2016-05-30 23:00:11 UTC
gecode-4.4.0-12.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-cbac532e3e

Comment 12 Fedora Update System 2016-05-31 20:17:26 UTC
gecode-4.4.0-12.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-cbac532e3e

Comment 13 Fedora Update System 2016-06-21 03:18:29 UTC
gecode-4.4.0-12.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.