[opensuse-buildservice] how to use extra none obs repository
I need to build PHP extensions against a newer PHP version from an external repository, because PHP version in RHEL 5 is to old. How can I add this extra repository to a project or all projects build for target RHEL_5 on a local obs? The repository in question IUS (http://iuscommunity.org/). I basically need to install 2 rpm's before the spec get's build: rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/ius-release-1-4.ius... rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/epel-release-1-1.iu... Thanks for helping :-) Ralf -- Ralf Becker Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Got a little further: Darix pointed me to ./bs_admin --help So I copied the needed packages (php52, php52-devel, php52-pear) to /srv/obs/build/RedHat:RHEL-5/standard/i586/:full and executed: obs:/usr/lib/obs/server # ./bs_admin --rescan-repository RedHat:RHEL-5 standard i586 The packages are now visibile in :full.cache, but I still get an expansion error: "nothing provides php52, nothing provides php52-devel, nothing provides php52-pear" (after triggering a rebuild) Any ideas what's necessary to make the three packages known to (a local) obs instance? Darix mentioned, Adrian might know ;-) Ralf Am 13.05.2010 08:49, schrieb Ralf Becker:
I need to build PHP extensions against a newer PHP version from an external repository, because PHP version in RHEL 5 is to old.
How can I add this extra repository to a project or all projects build for target RHEL_5 on a local obs?
The repository in question IUS (http://iuscommunity.org/).
I basically need to install 2 rpm's before the spec get's build: rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/ius-release-1-4.ius...
rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/epel-release-1-1.iu...
Thanks for helping :-)
Ralf
-- Ralf Becker Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 18. Mai 2010, 21:43:14 schrieb Ralf Becker:
Got a little further: Darix pointed me to ./bs_admin --help
So I copied the needed packages (php52, php52-devel, php52-pear) to /srv/obs/build/RedHat:RHEL-5/standard/i586/:full and executed:
obs:/usr/lib/obs/server # ./bs_admin --rescan-repository RedHat:RHEL-5 standard i586
The packages are now visibile in :full.cache, but I still get an expansion error: "nothing provides php52, nothing provides php52-devel, nothing provides php52-pear" (after triggering a rebuild)
Any ideas what's necessary to make the three packages known to (a local) obs instance?
Darix mentioned, Adrian might know ;-)
Actually no ... Are you sure that you build against this other repository where the packages are inside ? And are they really providing these strings ? rpm -qp --provides $your_rpm to check that. bye adrian
Ralf
Am 13.05.2010 08:49, schrieb Ralf Becker:
I need to build PHP extensions against a newer PHP version from an external repository, because PHP version in RHEL 5 is to old.
How can I add this extra repository to a project or all projects build for target RHEL_5 on a local obs?
The repository in question IUS (http://iuscommunity.org/).
I basically need to install 2 rpm's before the spec get's build: rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/ius-release-1-4.ius...
rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/epel-release-1-1.iu...
Thanks for helping :-)
Ralf
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am 19.05.2010 09:22, schrieb Adrian Schröter:
Am Dienstag, 18. Mai 2010, 21:43:14 schrieb Ralf Becker:
Got a little further: Darix pointed me to ./bs_admin --help
So I copied the needed packages (php52, php52-devel, php52-pear) to /srv/obs/build/RedHat:RHEL-5/standard/i586/:full and executed:
obs:/usr/lib/obs/server # ./bs_admin --rescan-repository RedHat:RHEL-5 standard i586
The packages are now visibile in :full.cache, but I still get an expansion error: "nothing provides php52, nothing provides php52-devel, nothing provides php52-pear" (after triggering a rebuild)
Any ideas what's necessary to make the three packages known to (a local) obs instance?
Darix mentioned, Adrian might know ;-)
Actually no ...
Are you sure that you build against this other repository where the packages are inside ?
I copied the rpms into /srv/obs/build/RedHat:RHEL-5/standard/i586/:full nd executed obs:/usr/lib/obs/server # ./bs_admin --rescan-repository RedHat:RHEL-5 standard i586 After that I can verify the rpms are in the cache: obs:/srv/obs/build/RedHat:RHEL-5/standard/i586 # grep php52 \:full.cache Übereinstimmungen in Binärdatei :full.cache. I build for RHEL5 i586, so I would say yes I build against that repo.
And are they really providing these strings ?
rpm -qp --provides $your_rpm
to check that.
obs:/srv/obs/build/RedHat:RHEL-5/standard/i586/:full # rpm -qp --provides php52-5.2.13-3.ius.el5.i386.rpm warning: php52-5.2.13-3.ius.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 9cd4953f config(php52) = 5.2.13-3.ius.el5 libphp5.so mod_php = 5.2.13-3.ius.el5 mod_php52 = 5.2.13-3.ius.el5 php = 5.2.13-3.ius.el5 php52 = 5.2.13-3.ius.el5 ^--- that's the one Could the warning be the problem? Do I have to import the IUS repository key into obs, to get obs to use it? Ralf
Am 13.05.2010 08:49, schrieb Ralf Becker:
I need to build PHP extensions against a newer PHP version from an external repository, because PHP version in RHEL 5 is to old.
How can I add this extra repository to a project or all projects build for target RHEL_5 on a local obs?
The repository in question IUS (http://iuscommunity.org/).
I basically need to install 2 rpm's before the spec get's build: rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/ius-release-1-4.ius...
rpm -i http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/$ARCH/epel-release-1-1.iu...
Thanks for helping :-)
Ralf
-- Ralf Becker Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, May 18, 2010 at 09:43:14PM +0200, Ralf Becker wrote:
Got a little further: Darix pointed me to ./bs_admin --help
So I copied the needed packages (php52, php52-devel, php52-pear) to /srv/obs/build/RedHat:RHEL-5/standard/i586/:full and executed:
obs:/usr/lib/obs/server # ./bs_admin --rescan-repository RedHat:RHEL-5 standard i586
The packages are now visibile in :full.cache, [...]
full.cache? Is that an old 1.6 OBS? Newer versions do not use full.cache, but full.solv. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Michael Schroeder
-
Ralf Becker