Discussion:
[fedora-arm] Koji for F24 aarch64
Eric Smith
2016-09-23 21:42:00 UTC
Permalink
I'm able to build aarch64 packages for Rawhide using Koji in the usual
way, but what do I need to do to build aarch64 packages for F24 using
Koji?

Thanks!
Eric
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email
Yaakov Selkowitz
2016-09-23 23:08:34 UTC
Permalink
Post by Eric Smith
I'm able to build aarch64 packages for Rawhide using Koji in the usual
way, but what do I need to do to build aarch64 packages for F24 using
Koji?
A scratch build can be started with:

arm-koji build --scratch f24 ....

Normal builds are not launched manually specifically for AArch64; just
launch the normal build and koji-shadow will handle the rest.
--
Yaakov Selkowitz
Software Engineer - Platform Enablement Group
Red Hat, Inc.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.f
Eric Smith
2016-09-24 02:30:29 UTC
Permalink
The usual way being just koji, or arm-koji? To use the secondary builders I
think you need arm-koji. Maybe there is more to it..
Normal builds are not launched manually specifically for AArch64; just
launch the normal build and koji-shadow will handle the rest.
It appears that 'arm-koji' is what I needed. For rawhide, just using
normal koji will build for aarch64, but for f24, it doesn't build for
aarch64, even if --arch-override=aarch64 is given.

Thanks!
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe se
Eric Smith
2016-09-24 02:49:25 UTC
Permalink
Normally I build release packages and push updates using "fedpkg
build" and "fedpkg update". I've already done that for a few packages
for f24, but those didn't get aarch64. Is there a simple way to build
them and push updates for aarch64 as well?

Thanks!
Eric
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-leave
Dan Horák
2016-09-24 06:54:53 UTC
Permalink
On Fri, 23 Sep 2016 20:49:25 -0600
Post by Eric Smith
Normally I build release packages and push updates using "fedpkg
build" and "fedpkg update". I've already done that for a few packages
for f24, but those didn't get aarch64. Is there a simple way to build
them and push updates for aarch64 as well?
it's a semi-automatic process that follows the exact build order in
primary koji and no action is needed from the maintainer. Which
packages/builds should be missing in aarch64?


Dan
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscrib
Eric Smith
2016-09-24 08:01:11 UTC
Permalink
Post by Eric Smith
Normally I build release packages and push updates using "fedpkg
build" and "fedpkg update". I've already done that for a few packages
for f24, but those didn't get aarch64. Is there a simple way to build
them and push updates for aarch64 as well?
it's a semi-automatic process that follows the exact build order in
primary koji and no action is needed from the maintainer. Which
packages/builds should be missing in aarch64?
For instance, I recently pushed an update for abc,
abc-1.01-9.hg20160905, to f24, f25, and epel7. While "fedpkg build" in
the rawhide branch built it just fine for aarch64, running "fedpkg
build" in the f24 and f25 branches only built packages for i686,
x86_64, and armv7hl, so only those architectures got the update.

I wouldn't normally worry about getting an update to abc into existing
Fedora branches, but in this case it's necessary to build the yosys
Verilog synthesizer (pending package review #1375765), and I'd like to
push yosys and related FPGA tools to f24 and f25 (obviously depending
on when the package review happens).

Thanks,
Eric
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@list
Dan Horák
2016-09-24 08:14:43 UTC
Permalink
On Sat, 24 Sep 2016 02:01:11 -0600
Post by Eric Smith
Post by Eric Smith
Normally I build release packages and push updates using "fedpkg
build" and "fedpkg update". I've already done that for a few
packages for f24, but those didn't get aarch64. Is there a simple
way to build them and push updates for aarch64 as well?
it's a semi-automatic process that follows the exact build order in
primary koji and no action is needed from the maintainer. Which
packages/builds should be missing in aarch64?
For instance, I recently pushed an update for abc,
abc-1.01-9.hg20160905, to f24, f25, and epel7. While "fedpkg build" in
the rawhide branch built it just fine for aarch64, running "fedpkg
build" in the f24 and f25 branches only built packages for i686,
x86_64, and armv7hl, so only those architectures got the update.
I wouldn't normally worry about getting an update to abc into existing
Fedora branches, but in this case it's necessary to build the yosys
Verilog synthesizer (pending package review #1375765), and I'd like to
push yosys and related FPGA tools to f24 and f25 (obviously depending
on when the package review happens).
that's correct, only F-26/rawhide has aarch64 as part of primary koji
instance, F<=25 are still built in http://arm.koji.fedoraproject.org

for abc builds see
http://arm.koji.fedoraproject.org/koji/packageinfo?packageID=19281


Dan
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.
Eric Smith
2016-09-24 08:35:56 UTC
Permalink
Post by Dan Horák
that's correct, only F-26/rawhide has aarch64 as part of primary koji
instance, F<=25 are still built in http://arm.koji.fedoraproject.org
That's my point exactly. Now that I know to use arm-koji I can do an
aarch64 scratch build for f24 or f25, but despite reading a lot of
documentation, I haven't a clue as to how to start a non-scratch
f2[45] aarch64 build or push an f2[45] aarch64 update. I suppose this
must be documented somewhere, but I haven't been able to find it.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-leave
Dan Horák
2016-09-24 08:50:21 UTC
Permalink
On Sat, 24 Sep 2016 02:35:56 -0600
Post by Eric Smith
Post by Dan Horák
that's correct, only F-26/rawhide has aarch64 as part of primary
koji instance, F<=25 are still built in
http://arm.koji.fedoraproject.org
That's my point exactly. Now that I know to use arm-koji I can do an
aarch64 scratch build for f24 or f25, but despite reading a lot of
documentation, I haven't a clue as to how to start a non-scratch
f2[45] aarch64 build or push an f2[45] aarch64 update. I suppose this
must be documented somewhere, but I haven't been able to find it.
As I wrote earlier package maintainers shouldn't (must not) initiate
any non-scratch builds in the secondary build systems, the koji-shadow
semi-automated system (and other tools) managed by release engineering
take care of that.


Dan
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists
Eric Smith
2016-09-24 08:58:45 UTC
Permalink
Post by Dan Horák
As I wrote earlier package maintainers shouldn't (must not) initiate
any non-scratch builds in the secondary build systems, the koji-shadow
semi-automated system (and other tools) managed by release engineering
take care of that.
Sorry, but that just leaves me even more baffled. How does koji-shadow
know whether and when it should package up an f2[45] aarch64 package
update? Are you saying that the abc package update I already pushed
to f2[45] for the primary arches is going to at some mysterious point
in the future get built and pushed to aarch64 f2[45]? How long does
that take?

With a primary arch, I can set up a buildroot override once a package
is built, so that I can then build a dependent package. Is that
possible for a secondary arch?
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@li
Dan Horák
2016-09-24 09:10:04 UTC
Permalink
On Sat, 24 Sep 2016 02:58:45 -0600
Post by Eric Smith
Post by Dan Horák
As I wrote earlier package maintainers shouldn't (must not) initiate
any non-scratch builds in the secondary build systems, the
koji-shadow semi-automated system (and other tools) managed by
release engineering take care of that.
Sorry, but that just leaves me even more baffled. How does koji-shadow
know whether and when it should package up an f2[45] aarch64 package
update? Are you saying that the abc package update I already pushed
to f2[45] for the primary arches is going to at some mysterious point
in the future get built and pushed to aarch64 f2[45]? How long does
that take?
With a primary arch, I can set up a buildroot override once a package
is built, so that I can then build a dependent package. Is that
possible for a secondary arch?
the maintainer doesn't need to care about builds in secondary kojis,
the koji-shadow script (started periodically from cron or manually)
takes a list of finished builds from primary koji and builds them in
the same order using the same buildroots as were used in primary koji.
Using recursion it first builds any of the missing builds in
buildroots. The delay is between couple minutes and lets say a day when
no breakage occurs in the buildroot chain.


Dan
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lis
Peter Robinson
2016-09-24 14:06:46 UTC
Permalink
Post by Eric Smith
Post by Dan Horák
As I wrote earlier package maintainers shouldn't (must not) initiate
any non-scratch builds in the secondary build systems, the koji-shadow
semi-automated system (and other tools) managed by release engineering
take care of that.
Sorry, but that just leaves me even more baffled. How does koji-shadow
know whether and when it should package up an f2[45] aarch64 package
update? Are you saying that the abc package update I already pushed
to f2[45] for the primary arches is going to at some mysterious point
in the future get built and pushed to aarch64 f2[45]? How long does
that take?
It takes the information from the primary koji instance and sorts it
out based on information from the API
Post by Eric Smith
With a primary arch, I can set up a buildroot override once a package
is built, so that I can then build a dependent package. Is that
possible for a secondary arch?
No, it's not for an end user, but the shadow process already mentioned
recreates the details of those overrides based on the information
about the build stored in the primary database so the shadow process
will automatically generate the overrides and all needed bits when it
mirrors the builds over.

Basically just leave anything to do with < F-26 alone and it'll be sorted out.

Peter
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send
Eric Smith
2016-09-26 19:56:44 UTC
Permalink
Post by Dan Horák
the maintainer doesn't need to care about builds in secondary kojis,
the koji-shadow script (started periodically from cron or manually)
takes a list of finished builds from primary koji and builds them in
the same order using the same buildroots as were used in primary koji.
No, it's not for an end user, but the shadow process already mentioned
recreates the details of those overrides based on the information
about the build stored in the primary database so the shadow process
will automatically generate the overrides and all needed bits when it
mirrors the builds over.
Basically just leave anything to do with < F-26 alone and it'll be sorted out.
Thanks to both of you for explaining. It looks like what you described
happened fine for my packages, but dnf in my F24 aarch64 install isn't
finding the package updates. Must be a local configuration problem.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubs
Peter Robinson
2016-09-27 18:51:40 UTC
Permalink
Post by Eric Smith
Post by Dan Horák
the maintainer doesn't need to care about builds in secondary kojis,
the koji-shadow script (started periodically from cron or manually)
takes a list of finished builds from primary koji and builds them in
the same order using the same buildroots as were used in primary koji.
No, it's not for an end user, but the shadow process already mentioned
recreates the details of those overrides based on the information
about the build stored in the primary database so the shadow process
will automatically generate the overrides and all needed bits when it
mirrors the builds over.
Basically just leave anything to do with < F-26 alone and it'll be sorted out.
Thanks to both of you for explaining. It looks like what you described
happened fine for my packages, but dnf in my F24 aarch64 install isn't
finding the package updates. Must be a local configuration problem.
The updates do come a little later, if you mention the actual package
with an issue I can see where in the pipeline it is.

Peter
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscr

Loading...