* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
@ 2020-10-14 10:41 Danny Milosavljevic
2020-10-17 10:20 ` Danny Milosavljevic
0 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2020-10-14 10:41 UTC (permalink / raw)
To: 43986
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
Hi,
core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64:
guix-build-coreutils-8.32.drv-0:
test-perror2.c:84: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
test-strerror_r.c:170: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
(on dover.guix.info)
grep-3.4:
test-perror2.c:84: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
test-strerror_r.c:170: assertion 'msg3 == msg4 || STREQ (msg3, str3)' failed
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
2020-10-14 10:41 bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64 Danny Milosavljevic
@ 2020-10-17 10:20 ` Danny Milosavljevic
2020-10-17 18:59 ` bokr
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Danny Milosavljevic @ 2020-10-17 10:20 UTC (permalink / raw)
To: 43986
[-- Attachment #1: Type: text/plain, Size: 303 bytes --]
How do I debug this?
$ guix-core-updates/guix/pre-inst-env guix environment -s armhf-linux --pure grep
needs grep (it's in the implicit native inputs), and that grep has a test failure.
So I can't actually enter the environment for building grep and running
make check
.
What now?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
2020-10-17 10:20 ` Danny Milosavljevic
@ 2020-10-17 18:59 ` bokr
2020-10-18 22:45 ` Danny Milosavljevic
2020-10-18 22:49 ` Marius Bakke
2 siblings, 0 replies; 9+ messages in thread
From: bokr @ 2020-10-17 18:59 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 43986
Hi Danny,
On +2020-10-17 12:20:11 +0200, Danny Milosavljevic wrote:
> How do I debug this?
>
> $ guix-core-updates/guix/pre-inst-env guix environment -s armhf-linux --pure grep
>
> needs grep (it's in the implicit native inputs), and that grep has a test failure.
What if the test failure tested a grep feature that you don't actually need from the implicit native input grep?
Is there no way to use a fully valid subset of a tool's functionality (that excludes irrelevant test failures
of unused broken functionality) if there's a test failure in testing everything?
If one could express a dependency on a limited subset by passing also a required-features list, à la ACL?,
maybe dependencies could trigger less builds, and the feature lists might reveal opportunities
for optimizing out some dependencies, e.g. where a bash shell's one or two grep invocations might
depend on grep only for a regex match that might easily be rewritten with bash's own built-in '=~'
One could imagine builds producing ELFs with bitvectors flagging features built and tested,
for efficient dynamic safe-capability determination re usage by dependents, but I better stop rambling.
So, monolith dependencies vs factoring, how to balance?
>
> So I can't actually enter the environment for building grep and running
>
> make check
>
> .
>
> What now?
HTWNEU -- Hope This Was Not Entirely Useless :)
--
Regards,
Bengt Richter
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
2020-10-17 10:20 ` Danny Milosavljevic
2020-10-17 18:59 ` bokr
@ 2020-10-18 22:45 ` Danny Milosavljevic
2020-10-20 7:22 ` Danny Milosavljevic
2020-10-18 22:49 ` Marius Bakke
2 siblings, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2020-10-18 22:45 UTC (permalink / raw)
To: 43986
[-- Attachment #1: Type: text/plain, Size: 71 bytes --]
and findutils, while trying to prepare the guix environment for grep.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
2020-10-17 10:20 ` Danny Milosavljevic
2020-10-17 18:59 ` bokr
2020-10-18 22:45 ` Danny Milosavljevic
@ 2020-10-18 22:49 ` Marius Bakke
2020-10-21 10:26 ` Ludovic Courtès
2 siblings, 1 reply; 9+ messages in thread
From: Marius Bakke @ 2020-10-18 22:49 UTC (permalink / raw)
To: Danny Milosavljevic, 43986
[-- Attachment #1: Type: text/plain, Size: 490 bytes --]
Danny Milosavljevic <dannym@scratchpost.org> writes:
> How do I debug this?
>
> $ guix-core-updates/guix/pre-inst-env guix environment -s armhf-linux --pure grep
>
> needs grep (it's in the implicit native inputs), and that grep has a test failure.
Does this work?
guix environment -s armhf-linux -e '(@@ (gnu packages commencement) grep-final)'
Otherwise you can approximate it by building with -K, step into the
/tmp/guix-build-... directory and run 'source environment-variables'.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64
2020-10-18 22:49 ` Marius Bakke
@ 2020-10-21 10:26 ` Ludovic Courtès
0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2020-10-21 10:26 UTC (permalink / raw)
To: Marius Bakke; +Cc: 43986
Marius Bakke <marius@gnu.org> skribis:
> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> How do I debug this?
>>
>> $ guix-core-updates/guix/pre-inst-env guix environment -s armhf-linux --pure grep
>>
>> needs grep (it's in the implicit native inputs), and that grep has a test failure.
>
> Does this work?
>
> guix environment -s armhf-linux -e '(@@ (gnu packages commencement) grep-final)'
>
> Otherwise you can approximate it by building with -K, step into the
> /tmp/guix-build-... directory and run 'source environment-variables'.
Also note that I upgraded ‘grep’ to 3.5 in the meantime (commit
370adc91b59ac06243067a31122f567a7c35b24b).
Ludo’.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-10-21 17:05 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-14 10:41 bug#43986: core-updates' grep and coreutils fail strerror_r and perror2 tests in gnulib-tests on armhf-on-aarch64 Danny Milosavljevic
2020-10-17 10:20 ` Danny Milosavljevic
2020-10-17 18:59 ` bokr
2020-10-18 22:45 ` Danny Milosavljevic
2020-10-20 7:22 ` Danny Milosavljevic
2020-10-21 16:04 ` Danny Milosavljevic
2020-10-21 17:03 ` Danny Milosavljevic
2020-10-18 22:49 ` Marius Bakke
2020-10-21 10:26 ` Ludovic Courtès
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.