Re: Code Search for Fedora

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

 



On Sat, 22 Nov 2014 21:51:37 +0100
Florian Weimer <fw@xxxxxxxxxxxxx> wrote:

> * Michael Stapelberg:
> 
> > Interesting. Do you have a pointer to an example (and/or more
> > documentation) for this happening in the wild?
> 
> glibc has architecture-specific build dependencies.
> 
> However, many packages use non-trivial things for unpacking the
> sources (the %prep stage), and you have to install the build depencies
> before you can complete the %prep stage.  I have written a mock
> wrapper to do this, but it's not completely reliable due to dangling
> symbolic links:
> 
>   <https://bugzilla.redhat.com/show_bug.cgi?id=966985>

A classic case is a package where some optional buildrequires isn't
available on some arch, like armv7. So, the spec conditionalizes this
buildrequires to not be there on armv7. Now if you make the src.rpm on
a armv7 platform that dep won't be there, but if you make it on x86 it
will. 

kevin

Attachment: pgpqR6sL1nT1U.pgp
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux