On Sun, 14 Apr 2019 at 15:10, Nicolas Mailhot <nicolas.mail...@laposte.net>
wrote:

> Le dimanche 14 avril 2019 à 19:52 +0200, Robert-André Mauchin a écrit :
> > Hello,
> >
> > I'd like to bootstrap all Golang packages to be able to detect
> > whatever cyclic
> > dependencies we have introduced over the years.
> > Basically what I need is to be able to build from the base rawhide
> > (or Koji
> > latest) without any preexisting Go package, and slowly build the
> > packages
> > iteratively, starting from a clean slate.
> > How can I achieve this? Is there a way to blacklist a set of packages
> > from a
> > repo? There's the "custom" target in COPR but it has nothing
> > available at all
> > and I don't know how to start from scratch.
>
> What will work is:
> 1. a local mock,
>
> 2. with an
> exclude=golang-*-devel
> directive on the rawhide repo
>
> 3. and a local repo of build results
>
>
You will need to look also in each of the packages if they have any
specific bootstrap configs in their src spec files. Various packaging
sections do this differently but they generally have some sort of
definition set so that the packages are built with minimal buildreqs. Once
the initial set of packages are done, then you redo the packages without
the bootstrap or other flags needed.



> 4. and a script that copies mock build results to this repo and
> craterepo_c's it
>
> Rawhide x86_64 is good enoufh to detect cycles, you do not need to
> rebuild every single bit of it.
>
> Alternatively, EL7 used to be in such a sad state for golang, that
> doing anything with it pretty much required a full bootstrap. But I
> haven't published by latest rebuild of go-rpm-macros for EL7. Il will
> do that soon, if nothing else eats my time
>
>
> Regards,
>
> --
> Nicolas Mailhot
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
>


-- 
Stephen J Smoogen.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to