Re: Koji build failure: noarch vs. arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jerry James wrote on 02/14/2015 12:23 AM:
On Thu, Feb 12, 2015 at 9:28 AM, gil <puntogil@xxxxxxxxx> wrote:
as i wrote in my e-mail titled "jni libraries fails in koji"
i have the same problem
i haven't done any changes in koji client config

I tried the csdp build again this morning to see if perhaps the
problem is nondeterministic.  It failed again:

http://koji.fedoraproject.org/koji/taskinfo?taskID=8921616

Does anybody have any idea at all why some archful packages are being
treated as if they were noarch?  It doesn't affect mock builds, just
koji builds.


Note that this fails on "buildSRPMFromSCM", i.e. when creating srpm,
and not on "buildArch" (armv7hl, i686, x86_64), where rpmbuild the newly
created srpm is executed.

So when using mock, usually srpm is already there on your local disc.
But on koji, first koji tries to "create srpm" from SCM (git repository),
and when creating srpm, koji uses:

/usr/bin/rpmbuild -bs --target noarch --nodeps foo.spec

i.e. creating srpm is always done as noarch. Then after creating srpm,
arch-dependent (sometimes independent) rpmbuild foo.src.rpm is executed.

Regards,
Mamoru
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux