Hide Forgot
Description of problem: Is it possible rebuild gecode-4.4.0 on EPEL6?
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
This spec file is ready to build gecode on epel6: https://sagitter.fedorapeople.org/gecode.spec Unfortunately, tests are failed both fedora and epel.
Attempt to contact mantainer again.
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
./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
Created attachment 1162911 [details] gecode spec file http://koji.fedoraproject.org/koji/taskinfo?taskID=14314029
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?
(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
(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
(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
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
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
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.