I am trying to run the tests included in the BuildBot package during the RPM build, and one of the tests requires darcs, which is built in Fedora ExclusiveArch %{ix86} x86_64 ppc alpha. Now, I'm adding to buildbot's spec[1] file an ifarch like:
%ifarch %{ix86} x86_64 ppc alpha # darcs ExclusiveArchs BuildRequires: darcs %endif
but it seems darcs is never installed in the buildroot [2]
am I just doing something stupid or there's a bug somewhere?
[1] http://cvs.fedoraproject.org/viewvc/rpms/buildbot/devel/buildbot.spec?view=l... [2] http://koji.fedoraproject.org/koji/getfile?taskID=1470380&name=root.log
Em Domingo 12 Julho 2009, às 06:38:31 pm, Gianluca Sforna escreveu:
I am trying to run the tests included in the BuildBot package during the RPM build, and one of the tests requires darcs, which is built in Fedora ExclusiveArch %{ix86} x86_64 ppc alpha. Now, I'm adding to buildbot's spec[1] file an ifarch like:
%ifarch %{ix86} x86_64 ppc alpha # darcs ExclusiveArchs BuildRequires: darcs %endif
but it seems darcs is never installed in the buildroot [2]
am I just doing something stupid or there's a bug somewhere?
[1] http://cvs.fedoraproject.org/viewvc/rpms/buildbot/devel/buildbot.spec?view= log [2] http://koji.fedoraproject.org/koji/getfile?taskID=1470380&name=root.log
What arech are you building the srpm on? if its not one of the ifarch'd arches it wont be in the BR's for the srpm. thats part of why we create the sroms on th ebuild arch in koji.
Dennis
On Mon, Jul 13, 2009 at 5:44 AM, Dennis Gilmoredennis@ausil.us wrote:
What arech are you building the srpm on? if its not one of the ifarch'd arches it wont be in the BR's for the srpm. thats part of why we create the sroms on th ebuild arch in koji.
I'm on x86_64, but i'm not usre I understand how what you stated above can affect me.
On Fri, 17 Jul 2009 16:32:40 +0200, Gianluca wrote:
On Mon, Jul 13, 2009 at 5:44 AM, Dennis Gilmore wrote:
What arech are you building the srpm on? if its not one of the ifarch'd arches it wont be in the BR's for the srpm. thats part of why we create the sroms on th ebuild arch in koji.
I'm on x86_64, but i'm not usre I understand how what you stated above can affect me.
PEBKAC
Theory: A spec file's BuildRequires become the src.rpm's Requires. So, typically, one rebuilds the src.rpm from the spec file per target build architecture prior to resolving the build deps for that target-specific src.rpm.
However, your package is "BuildArch: noarch", so the %ifarch never holds true when processing the src.rpm's Requires for target "noarch".
On Wed, Jul 22, 2009 at 10:28 PM, Michael Schwendtbugs.michael@gmx.net wrote:
Theory: A spec file's BuildRequires become the src.rpm's Requires. So, typically, one rebuilds the src.rpm from the spec file per target build architecture prior to resolving the build deps for that target-specific src.rpm.
However, your package is "BuildArch: noarch", so the %ifarch never holds true when processing the src.rpm's Requires for target "noarch".
much clearer now... thank you very much
buildsys@lists.fedoraproject.org