* bug#35529: libdrm fails to build on armhf-linux
@ 2019-05-01 21:41 Mark H Weaver
2019-05-03 5:29 ` Ricardo Wurmus
0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2019-05-01 21:41 UTC (permalink / raw)
To: 35529
Hydra failed two consecutive attempts to build libdrm on armhf-linux:
https://hydra.gnu.org/build/3481547#tabs-summary
Both build attempts were made on hydra-slave2, which is a Wandboard Quad
based on the Freescale i.MX6 SOC.
Collateral damage includes several hundred dependency failures,
including emacs-26.
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-01 21:41 bug#35529: libdrm fails to build on armhf-linux Mark H Weaver
@ 2019-05-03 5:29 ` Ricardo Wurmus
2019-05-05 17:42 ` Andreas Enge
2019-05-05 22:41 ` Mark H Weaver
0 siblings, 2 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2019-05-03 5:29 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 35529
Mark H Weaver <mhw@netris.org> writes:
> Hydra failed two consecutive attempts to build libdrm on armhf-linux:
>
> https://hydra.gnu.org/build/3481547#tabs-summary
>
> Both build attempts were made on hydra-slave2, which is a Wandboard Quad
> based on the Freescale i.MX6 SOC.
This has built fine on berlin. We have a completed build for
/gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
--
Ricardo
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-03 5:29 ` Ricardo Wurmus
@ 2019-05-05 17:42 ` Andreas Enge
2019-05-05 22:41 ` Mark H Weaver
1 sibling, 0 replies; 9+ messages in thread
From: Andreas Enge @ 2019-05-05 17:42 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 35529
On Fri, May 03, 2019 at 07:29:03AM +0200, Ricardo Wurmus wrote:
> > Both build attempts were made on hydra-slave2, which is a Wandboard Quad
> > based on the Freescale i.MX6 SOC.
> This has built fine on berlin. We have a completed build for
> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
And I confirm it fails to build on redhill (a Novena machine) as well
(I have tried it only once, though).
Andreas
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-03 5:29 ` Ricardo Wurmus
2019-05-05 17:42 ` Andreas Enge
@ 2019-05-05 22:41 ` Mark H Weaver
2019-05-06 7:15 ` Ricardo Wurmus
1 sibling, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2019-05-05 22:41 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 35529
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> writes:
> Mark H Weaver <mhw@netris.org> writes:
>
>> Hydra failed two consecutive attempts to build libdrm on armhf-linux:
>>
>> https://hydra.gnu.org/build/3481547#tabs-summary
>>
>> Both build attempts were made on hydra-slave2, which is a Wandboard Quad
>> based on the Freescale i.MX6 SOC.
>
> This has built fine on berlin. We have a completed build for
> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
What kind of hardware was it built on?
Note that the failure on Hydra was due to a timeout in the test suite:
https://hydra.gnu.org/build/3481547/nixlog/6/tail-reload
All of the other tests completed within a few seconds, but the timeout
tripped after 1200 seconds. So, I'm not sure if it's simply that the
build hardware is too slow. It might have actually gotten stuck.
Perhaps the test uses /dev/random (as opposed to /dev/urandom) and
there's not enough entropy available on the build machine.
Thanks,
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-05 22:41 ` Mark H Weaver
@ 2019-05-06 7:15 ` Ricardo Wurmus
2019-05-06 8:22 ` Mark H Weaver
0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2019-05-06 7:15 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 35529
Hi Mark,
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> Mark H Weaver <mhw@netris.org> writes:
>>
>>> Hydra failed two consecutive attempts to build libdrm on armhf-linux:
>>>
>>> https://hydra.gnu.org/build/3481547#tabs-summary
>>>
>>> Both build attempts were made on hydra-slave2, which is a Wandboard Quad
>>> based on the Freescale i.MX6 SOC.
>>
>> This has built fine on berlin. We have a completed build for
>> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
>
> What kind of hardware was it built on?
I’m not sure. We’re using a few Overdrive 1000 machines that have quite
a bit more RAM than the other armhf nodes.
> Note that the failure on Hydra was due to a timeout in the test suite:
>
> https://hydra.gnu.org/build/3481547/nixlog/6/tail-reload
>
> All of the other tests completed within a few seconds, but the timeout
> tripped after 1200 seconds. So, I'm not sure if it's simply that the
> build hardware is too slow. It might have actually gotten stuck.
> Perhaps the test uses /dev/random (as opposed to /dev/urandom) and
> there's not enough entropy available on the build machine.
My guess is that it ran out of RAM and began trashing. We’ve had at
least another build (nss) that worked fine on the Overdrive but failed
on other armhf machines.
--
Ricardo
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-06 7:15 ` Ricardo Wurmus
@ 2019-05-06 8:22 ` Mark H Weaver
2019-05-06 11:06 ` Ricardo Wurmus
0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2019-05-06 8:22 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 35529
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> writes:
>> Ricardo Wurmus <rekado@elephly.net> writes:
>>
>>> Mark H Weaver <mhw@netris.org> writes:
>>>
>>>> Hydra failed two consecutive attempts to build libdrm on armhf-linux:
>>>>
>>>> https://hydra.gnu.org/build/3481547#tabs-summary
>>>>
>>>> Both build attempts were made on hydra-slave2, which is a Wandboard Quad
>>>> based on the Freescale i.MX6 SOC.
>>>
>>> This has built fine on berlin. We have a completed build for
>>> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
>>
>> What kind of hardware was it built on?
>
> I’m not sure. We’re using a few Overdrive 1000 machines that have quite
> a bit more RAM than the other armhf nodes.
Are there any other kinds of build slaves that build armhf binaries for
Berlin?
>> Note that the failure on Hydra was due to a timeout in the test suite:
>>
>> https://hydra.gnu.org/build/3481547/nixlog/6/tail-reload
>>
>> All of the other tests completed within a few seconds, but the timeout
>> tripped after 1200 seconds. So, I'm not sure if it's simply that the
>> build hardware is too slow. It might have actually gotten stuck.
>> Perhaps the test uses /dev/random (as opposed to /dev/urandom) and
>> there's not enough entropy available on the build machine.
>
> My guess is that it ran out of RAM and began trashing. We’ve had at
> least another build (nss) that worked fine on the Overdrive but failed
> on other armhf machines.
All of the armhf build slaves on hydra.gnu.org have 4 gigabytes of RAM.
So does redhill, the armhf slave hosted by Andreas.
My Thinkpad X200 only has 4 gigabytes, and that's enough to build my
entire GNOME system from source code, including webkitgtk, icecat, rust,
nss, etc.
FWIW, I'd be very surprised if these libdrm test failures are due to
running out of memory.
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-06 8:22 ` Mark H Weaver
@ 2019-05-06 11:06 ` Ricardo Wurmus
2019-05-06 16:40 ` Mark H Weaver
0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2019-05-06 11:06 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 35529
Mark H Weaver <mhw@netris.org> writes:
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>>> Ricardo Wurmus <rekado@elephly.net> writes:
>>>
>>>> Mark H Weaver <mhw@netris.org> writes:
>>>>
>>>>> Hydra failed two consecutive attempts to build libdrm on armhf-linux:
>>>>>
>>>>> https://hydra.gnu.org/build/3481547#tabs-summary
>>>>>
>>>>> Both build attempts were made on hydra-slave2, which is a Wandboard Quad
>>>>> based on the Freescale i.MX6 SOC.
>>>>
>>>> This has built fine on berlin. We have a completed build for
>>>> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
>>>
>>> What kind of hardware was it built on?
>>
>> I’m not sure. We’re using a few Overdrive 1000 machines that have quite
>> a bit more RAM than the other armhf nodes.
>
> Are there any other kinds of build slaves that build armhf binaries for
> Berlin?
Yes. We have a Beagleboard (x15.sjd.se), which is set up for 2 parallel
builds and we use the Qemu service on 5 of our x86_64 machines to build
for armhf. (We do the same for aarch64, but using 5 different nodes.)
“nss” failed its tests when built on x15.sjd.se, but it worked fine when
building on one of the Overdrives.
--
Ricardo
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-06 11:06 ` Ricardo Wurmus
@ 2019-05-06 16:40 ` Mark H Weaver
2019-05-06 17:00 ` Ricardo Wurmus
0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2019-05-06 16:40 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 35529
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> writes:
>>>>> This has built fine on berlin. We have a completed build for
>>>>> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
>>>>
>>>> What kind of hardware was it built on?
>>>
>>> I’m not sure. We’re using a few Overdrive 1000 machines that have quite
>>> a bit more RAM than the other armhf nodes.
>>
>> Are there any other kinds of build slaves that build armhf binaries for
>> Berlin?
>
> Yes. We have a Beagleboard (x15.sjd.se), which is set up for 2 parallel
> builds and we use the Qemu service on 5 of our x86_64 machines to build
> for armhf. (We do the same for aarch64, but using 5 different nodes.)
So, many of the armhf builds are done in an emulator. This is exactly
what I was curious about. One problem with doing this is that tests
performed during these builds do not necessarily reflect what will
happen on real armhf hardware.
I'll give just one example of where this approach will fail badly: tests
of thread synchronization. The memory models used in ARM and x86_64 are
quite different, and an ARM emulator running on x86_64 will effectively
have a much stronger memory model than real ARM hardware does.
It's much harder to perform safe thread synchronization on ARM than on
x86_64. Many programmers use idioms that they believe are safe, and
which work on x86_64, but are buggy on many architectures with weaker
memory models. Those are the kinds of bugs that will *not* be
discovered by test suites when we perform the builds under QEMU.
I hope that we will soon phase out the practice of performing builds
within emulators.
In the meantime, it would be good to know which machine built 'libdrm'
for armhf. Was that information recorded?
> “nss” failed its tests when built on x15.sjd.se, but it worked fine when
> building on one of the Overdrives.
Can you find the failed NSS build log from the X15? It would useful to
see which tests failed, and whether they're the same ones that failed on
hydra-slave3, which is a Novena with 4 GB of RAM. Here's the relevant
Hydra build page: <https://hydra.gnu.org/build/3484222>.
Thanks!
Mark
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#35529: libdrm fails to build on armhf-linux
2019-05-06 16:40 ` Mark H Weaver
@ 2019-05-06 17:00 ` Ricardo Wurmus
0 siblings, 0 replies; 9+ messages in thread
From: Ricardo Wurmus @ 2019-05-06 17:00 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 35529
Hi Mark,
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>>>>>> This has built fine on berlin. We have a completed build for
>>>>>> /gnu/store/3c28p8b07709isd9jlcnnnyrpgz4ndz8-libdrm-2.4.97.
>>>>>
>>>>> What kind of hardware was it built on?
>>>>
>>>> I’m not sure. We’re using a few Overdrive 1000 machines that have quite
>>>> a bit more RAM than the other armhf nodes.
>>>
>>> Are there any other kinds of build slaves that build armhf binaries for
>>> Berlin?
>>
>> Yes. We have a Beagleboard (x15.sjd.se), which is set up for 2 parallel
>> builds and we use the Qemu service on 5 of our x86_64 machines to build
>> for armhf. (We do the same for aarch64, but using 5 different nodes.)
>
> So, many of the armhf builds are done in an emulator.
Since maybe a week or so. I only added the qemu machines very recently.
> I hope that we will soon phase out the practice of performing builds
> within emulators.
I did this because the extra Overdrive boxen I bought still haven’t been
added to the build farm. To better deal with the build backlog I added
the Qemu machines. I also hope that we can soon use dedicated build
machines instead.
> In the meantime, it would be good to know which machine built 'libdrm'
> for armhf. Was that information recorded?
I don’t know where I would find that information.
>> “nss” failed its tests when built on x15.sjd.se, but it worked fine when
>> building on one of the Overdrives.
>
> Can you find the failed NSS build log from the X15? It would useful to
> see which tests failed, and whether they're the same ones that failed on
> hydra-slave3, which is a Novena with 4 GB of RAM. Here's the relevant
> Hydra build page: <https://hydra.gnu.org/build/3484222>.
I didn’t keep track of the log. I built this manually on berlin to test
a workaround (which failed). The build log probably still sits on
berlin somewhere, but I cannot find it.
--
Ricardo
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2019-05-07 12:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-01 21:41 bug#35529: libdrm fails to build on armhf-linux Mark H Weaver
2019-05-03 5:29 ` Ricardo Wurmus
2019-05-05 17:42 ` Andreas Enge
2019-05-05 22:41 ` Mark H Weaver
2019-05-06 7:15 ` Ricardo Wurmus
2019-05-06 8:22 ` Mark H Weaver
2019-05-06 11:06 ` Ricardo Wurmus
2019-05-06 16:40 ` Mark H Weaver
2019-05-06 17:00 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.