[opensuse-packaging] Problem related to dependencies
Hello! On https://build.opensuse.org/package/show?package=php5-pear-sabre_caldav&project=home%3Aweberho%3AUNSTABLE%3Aphp I'm building a package that requires php 5.3+ The spec has the following line added: BuildRequires: php-pear >= 5.3.0 The strange thing is, that the build-service is trying to build packages for SLE_11 with php5-pear-5.2.6-50.23.15 and fails, of course. Shouldn't the obs tell me, that the dependency can not be fullfilled? Best regards, Johannes -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.03.2012 09:46, schrieb Johannes Weberhofer:
Hello!
I'm building a package that requires php 5.3+ The spec has the following
line added:
BuildRequires: php-pear >= 5.3.0
The strange thing is, that the build-service is trying to build packages for SLE_11 with php5-pear-5.2.6-50.23.15 and fails, of course. Shouldn't the obs tell me, that the dependency can not be fullfilled?
Best regards, Johannes
No, because SLE ships in SP2 the php53-pear package. - -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xc1IACgkQCs1dsHJ/X7A2hQCgltyR4VvSyY/BKAkAI2uxiJHz gnoAoKI7/0kLbEO8JaSHAumgORooQFVT =yL5/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.03.12 09:59, schrieb Ralf Lang:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 27.03.2012 09:46, schrieb Johannes Weberhofer:
Hello!
I'm building a package that requires php 5.3+ The spec has the following
line added:
BuildRequires: php-pear>= 5.3.0
The strange thing is, that the build-service is trying to build packages for SLE_11 with php5-pear-5.2.6-50.23.15 and fails, of course. Shouldn't the obs tell me, that the dependency can not be fullfilled?
Best regards, Johannes
No, because SLE ships in SP2 the php53-pear package.
- -- Ralf Lang
But how can I then force the obs to install the php53 packages instead of php 5.2? -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
No, because SLE ships in SP2 the php53-pear package.
- -- Ralf Lang
But how can I then force the obs to install the php53 packages instead of php 5.2?
if %{suseversion} >= $number* BuildRequires php53 BuildRequires php53-pear endif Cannot remember exact $number and syntax off hand now. - -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xfnsACgkQCs1dsHJ/X7D6bwCgl4E4TkfMy2E+dmgEoJyTTJAX SPYAn3chka2nwdqA/e0l6b/cTyBC1/IX =SWfs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
if %{suseversion} >= $number* BuildRequires php53 BuildRequires php53-pear endif
Cannot remember exact $number and syntax off hand now.
There is no diversification between SLE_11 for SP1 or SP2 if %{?sles_version} >= 11 BuildRequires php53 BuildRequires php53-pear endif @ Ralf then we should switch SLE_11 to (SUSE:SLE-11:SP2/standard). Cheers -- Christian ---------------------------------------------------- - Please do not 'CC' me on list mails. Just reply to the list :) ---------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de ---------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.03.2012 11:16, schrieb Christian:
if %{suseversion} >= $number* BuildRequires php53 BuildRequires php53-pear endif
Cannot remember exact $number and syntax off hand now.
There is no diversification between SLE_11 for SP1 or SP2
if %{?sles_version} >= 11 BuildRequires php53 BuildRequires php53-pear endif
@ Ralf then we should switch SLE_11 to (SUSE:SLE-11:SP2/standard).
Cheers
Done. Does this include update repos or do we need to add a second path -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Done. Does this include update repos or do we need to add a second path
ATM there is no "Update" repo for SLE SP2. because it is not yet needed. I will take care about this. Cheers -- Christian ---------------------------------------------------- - Please do not 'CC' me on list mails. Just reply to the list :) ---------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de ---------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
With those settings it builds on SLE_11_SP2; it does not build on SLE_11. What I do not understand is, why using "php >= 5.3.1" only does not work... %if 0%{?sles_version} >= 10 BuildRequires: php53 BuildRequires: php53-pear Requires: php53 Requires: php53-pear %else BuildRequires: php-pear >= 5.3.1 BuildRequires: php >= 5.3.1 Requires: php-pear >= 5.3.1 Requires: php >= 5.3.1 %endif Best regards, Johannes Am 27.03.12 13:11, schrieb Christian:
Done. Does this include update repos or do we need to add a second path
ATM there is no "Update" repo for SLE SP2. because it is not yet needed. I will take care about this.
Cheers
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Mar 27, 2012 at 03:14:59PM +0200, Johannes Weberhofer wrote:
With those settings it builds on SLE_11_SP2; it does not build on SLE_11. What I do not understand is, why using "php >= 5.3.1" only does not work...
%if 0%{?sles_version} >= 10 BuildRequires: php53 BuildRequires: php53-pear Requires: php53 Requires: php53-pear %else BuildRequires: php-pear >= 5.3.1 BuildRequires: php >= 5.3.1 Requires: php-pear >= 5.3.1 Requires: php >= 5.3.1 %endif
php53 is only on SLES 11 SP2, not on the earlier ones. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.03.12 15:23, schrieb Marcus Meissner:
php53 is only on SLES 11 SP2, not on the earlier ones.
But why does "BuildRequires: php >= 5.3.1" install php 5.2.x on SLE11 and tell me that php is having choices (5.2 and 5.3) on SLE_11_SP2? Isn't that strict enough to say "php >= 5.3.1"? -- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
But why does "BuildRequires: php >= 5.3.1" install php 5.2.x on SLE11 and tell me that php is having choices (5.2 and 5.3) on SLE_11_SP2? Isn't that strict enough to say "php >= 5.3.1"?
I am wondering too. I haven't looked at the SLE specs but I guess both php5-pear and php53-pear provide "php-pear". Probably the version checking is done at another part of the code than the selection in the choice. Currently the SLE11 repo is rebuilding and will probably take a few hours until everything is built against SLE11 (sp2). After this we can examine and fix what packages failed in the migration. - -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xwM8ACgkQCs1dsHJ/X7AL7gCdFZXkLruRgaKoGDCeeylyDTki zkcAnR1rVPbP8Mu0EpZ02aG2r6gPJ4R3 =CA8N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
I am wondering too. I haven't looked at the SLE specs but I guess both php5-pear and php53-pear provide "php-pear". Probably the version checking is done at another part of the code than the selection in the choice.
sounds like we need to adapt "prjconf" and set a "Prefer".
Currently the SLE11 repo is rebuilding and will probably take a few hours until everything is built against SLE11 (sp2). After this we can examine and fix what packages failed in the migration.
Yes. Let's wait and see :) -- Christian ---------------------------------------------------- - Please do not 'CC' me on list mails. Just reply to the list :) ---------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de ---------------------------------------------------- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Am 27.03.12 15:34, schrieb Christian:
I am wondering too. I haven't looked at the SLE specs but I guess both php5-pear and php53-pear provide "php-pear". Probably the version checking is done at another part of the code than the selection in the choice.
sounds like we need to adapt "prjconf" and set a "Prefer".
"BuildRequires: php >= 5.3.1" declares exactly one version, there is no need for a "prefer" here; But for other packages (which does not have a specific requirement) it would simplify packaging a lot!
Currently the SLE11 repo is rebuilding and will probably take a few hours until everything is built against SLE11 (sp2). After this we can examine and fix what packages failed in the migration.
Yes. Let's wait and see :)
-- Johannes Weberhofer Weberhofer GmbH, Austria, Vienna -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, Mar 27, 2012 at 03:26:41PM +0200, Johannes Weberhofer wrote:
Am 27.03.12 15:23, schrieb Marcus Meissner:
php53 is only on SLES 11 SP2, not on the earlier ones.
But why does "BuildRequires: php >= 5.3.1" install php 5.2.x on SLE11 and tell me that php is having choices (5.2 and 5.3) on SLE_11_SP2? Isn't that strict enough to say "php >= 5.3.1"?
I do not know. It probably just looks at the "php" provides that both php5 and php53 have and not at the versions. Might be more a buildservice issue. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 27.03.2012 15:14, schrieb Johannes Weberhofer:
With those settings it builds on SLE_11_SP2; it does not build on SLE_11. What I do not understand is, why using "php >= 5.3.1" only does not work...
Did you update your branch's SLE_11 to the new repo? We only switched today. Of course, if SLE_11 points to the old SP1 sources it won't work as there is no PHP > 5.2 in SLES11SP1. We will probably remove the SP* targets and only provide the SLE11 target (pointing to most current SP+updates) in the near future. - -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xv5MACgkQCs1dsHJ/X7BycwCfZJh1IGn1EdcDReeectypFCwN 7tAAoIyTw0HHI41jDcqcweXY/uprNktm =96mL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Of course, if SLE_11 points to the old SP1 sources it won't work as there is no PHP > 5.2 in SLES11SP1.
We will probably remove the SP* targets and only provide the SLE11 target (pointing to most current SP+updates) in the near future.
I see we already announced and did this. - -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk9xv88ACgkQCs1dsHJ/X7CSNgCgoS3tFdi4ve6U5OGx9P2txQv4 pMgAn0G6+wlnVQKiTgJ5rFcfRzEWfbhp =+CVX -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Christian
-
Johannes Weberhofer
-
Marcus Meissner
-
Ralf Lang