[opensuse-buildservice] downgrading GCC ?
Greetings all, I am facing a problem regarding an OBS package and current version of gcc in openSUSE 12.1. There is a software project called OTB that is built upon ITK. Current version of ITK (4.0) supports gcc 4.6 but OTB is still based on ITK 3.0, and will not upgrade for another year or so. The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that... My only solution left is to use GCC4.5 in openSUSE12.1. Can this happen in OBS? Any ideas? Regards, Angelos -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Wed, Feb 22, 2012 at 9:10 AM, Angelos Tzotsos
The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that...
My only solution left is to use GCC4.5 in openSUSE12.1. Can this happen in OBS? Any ideas?
Grab (branch) the 4.5 package from some other repo, and use it as build dependency. I don't think you need it as runtime dependency, but I'm unsure. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2012 05:31 PM, Claudio Freire wrote:
On Wed, Feb 22, 2012 at 9:10 AM, Angelos Tzotsos
wrote: The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that...
My only solution left is to use GCC4.5 in openSUSE12.1. Can this happen in OBS? Any ideas? Grab (branch) the 4.5 package from some other repo, and use it as build dependency. I don't think you need it as runtime dependency, but I'm unsure.
Thanks Claudio for the suggestion. Will look into this. Regards, Angelos -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2012 05:31 PM, Claudio Freire wrote:
On Wed, Feb 22, 2012 at 9:10 AM, Angelos Tzotsos
wrote: The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that...
My only solution left is to use GCC4.5 in openSUSE12.1. Can this happen in OBS? Any ideas? Grab (branch) the 4.5 package from some other repo, and use it as build dependency. I don't think you need it as runtime dependency, but I'm unsure.
Unfortunately I was not able to find a working gcc45 package for 12.1... -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2012 05:44 PM, Angelos Tzotsos wrote:
On 02/22/2012 05:31 PM, Claudio Freire wrote:
Grab (branch) the 4.5 package from some other repo, and use it as build dependency. I don't think you need it as runtime dependency, but I'm unsure.
Unfortunately I was not able to find a working gcc45 package for 12.1...
Can't you use the one at "devel:gcc"? That project provides GCC 3.3, 4.1, 4.3, 4.4, 4.5, 4.6 and 4.7 for several (open)SUSE versions, including 12.1. https://build.opensuse.org/package/files?package=gcc45&project=devel%3Agcc Tobias -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2012 06:51 PM, Tobias Burnus wrote:
On 02/22/2012 05:44 PM, Angelos Tzotsos wrote:
On 02/22/2012 05:31 PM, Claudio Freire wrote:
Grab (branch) the 4.5 package from some other repo, and use it as build dependency. I don't think you need it as runtime dependency, but I'm unsure.
Unfortunately I was not able to find a working gcc45 package for 12.1...
Can't you use the one at "devel:gcc"? That project provides GCC 3.3, 4.1, 4.3, 4.4, 4.5, 4.6 and 4.7 for several (open)SUSE versions, including 12.1.
https://build.opensuse.org/package/files?package=gcc45&project=devel%3Agcc
Tobias
Hi Tobias, it seems that the package is unresolvable for 12.1 Thanks, Angelos -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 22 February 2012 19:24, Angelos Tzotsos wrote:
Can't you use the one at "devel:gcc"? That project provides GCC 3.3, 4.1, 4.3, 4.4, 4.5, 4.6 and 4.7 for several (open)SUSE versions, including 12.1.
https://build.opensuse.org/package/files?package=gcc45&project=devel%3Agcc
Tobias
Hi Tobias, it seems that the package is unresolvable for 12.1
You can find out the reason for being unresolvable either by hovering over "unresolvable" in the web interface or by using osc command line client: $ osc buildinfo devel:gcc gcc45 openSUSE_12.1 x86_64 ... <error>unresolvable: nothing provides gcc45-ada</error> ... I know nothing about building gcc and nothing about the packages you want to build, but I could guess that you don't need Ada support. Just copy the package and try to comment out this dependency. Regards, Uwe Geuder Nomovok Ltd. Tampere, Finland uwe.gxuder@nomovok.com (bot check: humans correct 1 obvious spelling error) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 22/02/12 09:10, Angelos Tzotsos wrote:
Greetings all,
I am facing a problem regarding an OBS package and current version of gcc in openSUSE 12.1.
There is a software project called OTB that is built upon ITK. Current version of ITK (4.0) supports gcc 4.6 but OTB is still based on ITK 3.0, and will not upgrade for another year or so.
The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that...
What kind of failures does it have with gcc 4.6 ? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 02/22/2012 11:10 PM, Cristian Rodríguez wrote:
On 22/02/12 09:10, Angelos Tzotsos wrote:
Greetings all,
I am facing a problem regarding an OBS package and current version of gcc in openSUSE 12.1.
There is a software project called OTB that is built upon ITK. Current version of ITK (4.0) supports gcc 4.6 but OTB is still based on ITK 3.0, and will not upgrade for another year or so.
The problem: ITK 3.0 is not compatible with gcc4.6 when creating python wrappings. So while I try to build OTB-python in OBS I get errors. ITK will not backport fixes to 3.0, I 've tried that...
What kind of failures does it have with gcc 4.6 ?
Hi, After some long e-mails with the maintainer, we managed to create a patch for GCC46. Thanks all for your help Regards, Angelos -- Angelos Tzotsos Remote Sensing Laboratory National Technical University of Athens http://users.ntua.gr/tzotsos -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Angelos Tzotsos
-
Claudio Freire
-
Cristian Rodríguez
-
Tobias Burnus
-
Uwe Geuder