[opensuse-buildservice] buildconfig problem for SLES 9 with libmysqlclient-devel from server:database
Release: 10.1 22c22 < BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel
Hi all, I'm trying to build packages for SLES 9 and want to use the libmysqlclient- devel package from the server:database project by adding <path project="server:database" repository="SLES_9"/> to the meta prj data. When building, I see that libmysqlclient-devel is removed: I have the following modifications for zabbix.spec: 11c11 < Release: 1.0 --- libmysqlclient-devel ---
BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel
----- building zabbix.spec (user abuild) ----------------------------------------------------------------- The result of osc buildconfig SLES_9 i586 contains: ### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel ### from SUSE:SLES-9 ... ### compatibility mappings for 9.2 or later ... Substitute: libmysqlclient-devel mysql-devel I already tried to add meta prjconf: %if 0%{?sles_version} == 9 Required: libmysqlclient-devel %endif But that did not help, neither did Keep nor Prefer. Any idea how I can get libmysqlclient-devel installed? Regards -- Stephan Dühr stephan.duehr@dass-it.de dass IT GmbH Phone: +49.221.3565666-90 http://www.dass-IT.de Fax: +49.221.3565666-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Stephan Dühr napsal(a):
< BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel libmysqlclient-devel ---
BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel
The result of osc buildconfig SLES_9 i586 contains:
### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel
### from SUSE:SLES-9 ... ### compatibility mappings for 9.2 or later ... Substitute: libmysqlclient-devel mysql-devel
Hmm, did the order of precedence change in the buildservice? :-( IIRC it used to be that base repositories come before derived repositories, so that the derived repositories can override. I now added Substitute: libmysqlclient-devel libmysqlclient-devel to the config of server:database, but I'm not sure if it's going to help.
I already tried to add meta prjconf:
%if 0%{?sles_version} == 9 Required: libmysqlclient-devel %endif
But that did not help, neither did Keep nor Prefer.
I think these packages are also subject to substitutions, just as are buildrequires in spec files. Michal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Thursday 06 November 2008 15:00:26 Michal Marek wrote:
Stephan Dühr napsal(a):
< BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel libmysqlclient-devel ---
BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel
The result of osc buildconfig SLES_9 i586 contains:
### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel
### from SUSE:SLES-9 ... ### compatibility mappings for 9.2 or later ... Substitute: libmysqlclient-devel mysql-devel
Hmm, did the order of precedence change in the buildservice? :-( IIRC it used to be that base repositories come before derived repositories, so that the derived repositories can override. I now added
Substitute: libmysqlclient-devel libmysqlclient-devel
to the config of server:database, but I'm not sure if it's going to help.
Hmm, no that didn't help. Now osc buildconfig SLES_9 i586|head says: ### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel Substitute: libmysqlclient-devel libmysqlclient-devel
I already tried to add meta prjconf:
%if 0%{?sles_version} == 9 Required: libmysqlclient-devel %endif
But that did not help, neither did Keep nor Prefer.
I think these packages are also subject to substitutions, just as are buildrequires in spec files.
Michal
-- Stephan Dühr stephan.duehr@dass-it.de dass IT GmbH Phone: +49.221.3565666-90 http://www.dass-IT.de Fax: +49.221.3565666-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, it looks like the order of repositories in the meta prj data is relevant, when I put server:database befor SLES9 like this: <path project="server:database" repository="SLES_9"/> <path project="SUSE:SLES-9" repository="standard"/> it works. I did not try that before, so I don't know if your change was necesary or not. Thanks anyway. Stephan On Thursday 06 November 2008 16:14:48 Stephan Dühr wrote:
On Thursday 06 November 2008 15:00:26 Michal Marek wrote:
Stephan Dühr napsal(a):
< BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel libmysqlclient-devel ---
BuildRequires: net-snmp-5.3-snapshot-devel openssl-devel libcurl-devel
The result of osc buildconfig SLES_9 i586 contains:
### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel
### from SUSE:SLES-9 ... ### compatibility mappings for 9.2 or later ... Substitute: libmysqlclient-devel mysql-devel
Hmm, did the order of precedence change in the buildservice? :-( IIRC it used to be that base repositories come before derived repositories, so that the derived repositories can override. I now added
Substitute: libmysqlclient-devel libmysqlclient-devel
to the config of server:database, but I'm not sure if it's going to help.
Hmm, no that didn't help. Now osc buildconfig SLES_9 i586|head says:
### from server:database %define _repository SLES_9 Substitute: mysql-devel libmysqlclient-devel Substitute: libmysqlclient-devel libmysqlclient-devel
I already tried to add meta prjconf:
%if 0%{?sles_version} == 9 Required: libmysqlclient-devel %endif
But that did not help, neither did Keep nor Prefer.
I think these packages are also subject to substitutions, just as are buildrequires in spec files.
Michal
-- Stephan Dühr stephan.duehr@dass-it.de dass IT GmbH Phone: +49.221.3565666-90 http://www.dass-IT.de Fax: +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz
-- Stephan Dühr stephan.duehr@dass-it.de dass IT GmbH Phone: +49.221.3565666-90 http://www.dass-IT.de Fax: +49.221.3565666-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500 Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Stephan Dühr napsal(a):
Hi,
it looks like the order of repositories in the meta prj data is relevant, when I put server:database befor SLES9 like this:
<path project="server:database" repository="SLES_9"/> <path project="SUSE:SLES-9" repository="standard"/>
Argh, you didn't tell that in your original mail. Adding SUSE:SLES-9 is not needed here, because that's already imported by the server:database/SLES_9 repository. Michal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Michal Marek
-
Stephan Dühr