[opensuse-packaging] Automatically install a specific package for build
Hello, Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory). Is there an easy way to tell OBS to automatically install this package during build for a specific project? Thanks, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Magnus Boman [2008-10-25 19:59]:
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory). Is there an easy way to tell OBS to automatically install this package during build for a specific project?
What is the advantage compared with BuildRequires? Regards, Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Sat, Oct 25, 2008 at 12:09:02PM +0200, Bernhard Walle wrote:
* Magnus Boman [2008-10-25 19:59]:
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory). Is there an easy way to tell OBS to automatically install this package during build for a specific project?
What is the advantage compared with BuildRequires?
And perhaps the -devel package that requires pcre-devel should require it. (gtk2-devel? or glib2-devel? was the culprit I think). Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Marcus, On Sat, 2008-10-25 at 12:12 +0200, Marcus Meissner wrote:
On Sat, Oct 25, 2008 at 12:09:02PM +0200, Bernhard Walle wrote:
* Magnus Boman [2008-10-25 19:59]:
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory). Is there an easy way to tell OBS to automatically install this package during build for a specific project?
What is the advantage compared with BuildRequires?
And perhaps the -devel package that requires pcre-devel should require it. (gtk2-devel? or glib2-devel? was the culprit I think).
I was just going to reply, saying that I added that, but having a second look, I only added it to the main package. I'll change that. Thanks! Regards, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Bernard, On Sat, 2008-10-25 at 12:09 +0200, Bernhard Walle wrote:
* Magnus Boman [2008-10-25 19:59]:
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory). Is there an easy way to tell OBS to automatically install this package during build for a specific project?
What is the advantage compared with BuildRequires?
Well, it's a 150 packages failing, built straight from G:F (ie, not copied since we want them to build automatically when G:F is updated) so thought if there was a way that didn't take a weeks effort, it'd be nice. Regards, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Magnus Boman escribió:
Hello,
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory).
What is the error message ? lack of "la" files maybe ?
Is there an easy way to tell OBS to automatically install this package during build for a specific project?
osc meta -e prjconf your:project add Support: pcre-devel But try to fix the real bug instead, it most likely dont need to fix 150 packages ;-) most likely your problem is about glib2-devel dependencies that were corrected a while ago. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Christian, On Sat, 2008-10-25 at 15:07 -0300, Cristian Rodríguez wrote:
Magnus Boman escribió:
Hello,
Trying to build the latest GNOME for openSUSE 11.0. A fair amount of those packages (~150) seem to require pcre-devel to be able to build (which is not the case on Factory).
What is the error message ? lack of "la" files maybe ?
No, when I get an error about missing .la files, I add a condition to only remove them for openSUSE > 11.0
Is there an easy way to tell OBS to automatically install this package during build for a specific project?
osc meta -e prjconf your:project
add
Support: pcre-devel
But try to fix the real bug instead, it most likely dont need to fix 150 packages ;-) most likely your problem is about glib2-devel dependencies that were corrected a while ago.
Yeah, Marcus was correct. I added pcre-devel to the main section of gtk2 only, not to the -devel section. Cheers, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Magnus Boman escribió:
Yeah, Marcus was correct. I added pcre-devel to the main section of gtk2 only, not to the -devel section.
huh ? If I understand you correctly, you added pcre-devel to the requires of package "gtk2" ? that looks wrong. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
On Sat, 2008-10-25 at 18:03 -0300, Cristian Rodríguez wrote:
Magnus Boman escribió:
Yeah, Marcus was correct. I added pcre-devel to the main section of gtk2 only, not to the -devel section.
huh ? If I understand you correctly, you added pcre-devel to the requires of package "gtk2" ? that looks wrong.
gtk2 would not build without it. What do you suggest I should do instead? Cheers, Magnus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Magnus Boman escribió:
gtk2 would not build without it.
So, yoy did not placed it in Requires but on BuildRequires.. ;-) that' correct, then. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
* Magnus Boman [2008-10-26 08:19]:
On Sat, 2008-10-25 at 18:03 -0300, Cristian Rodríguez wrote:
Magnus Boman escribió:
Yeah, Marcus was correct. I added pcre-devel to the main section of gtk2 only, not to the -devel section.
huh ? If I understand you correctly, you added pcre-devel to the requires of package "gtk2" ? that looks wrong.
gtk2 would not build without it. What do you suggest I should do instead?
Add pcre-devel to BuildRequires of gtk2-devel. Regards, Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Bernhard Walle
-
Cristian Rodríguez
-
Magnus Boman
-
Marcus Meissner