git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: chainlint test failing on Linux sparc64

From
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date
May 20, 2024, 09:56 UTC
Message-ID
<506815cf70ea114a3c4177a779481fdc13bca39b.camel@physik.fu-berlin.de>
In-Reply-To
<CAPig+cQL73gVDDSH_=8Y6D0Pro58W1O2Rb-hettVcfZudXjOZQ@mail.gmail.com>
Hi Eric,
On Mon, 2024-05-20 at 05:36 -0400, Eric Sunshine wrote:
Show 23 quoted lines
> That's the point at which chainlint.sed was replaced with
> chainlint.pl. It also leads to the same supposition expressed earlier
> that the "actual" file seems to be empty for some reason, perhaps
> because one of the commands which creates it is failing somehow. At
> that point in time, the creation command for "actual" in t/Makefile
> was:
> 
>     $(CHAINLINT) --emit-all '$(CHAINLINTTMP_SQ)'/tests | \
>         grep -v '^[ ]*$$' >'$(CHAINLINTTMP_SQ)'/actual && \
> 
> which uses `grep` rather than the `sed` used in the present-day
> t/Makefile. This may imply that Perl is somehow suspect or that
> PERL_PATH or PERL_PATH_SQ in t/Makefile are incorrectly set, or that
> t/chainlint.pl itself is not generating any output for some reason.
> 
> After running:
> 
>     cd t
>     make check-chainlint
> 
> what is the output of:
> 
>     ls -l chainlinttmp

(sid_sparc64-dchroot)glaubitz@stadler:~/git/t$ ls -l chainlinttmp total 32 -rw-r--r-- 1 glaubitz glaubitz 0 May 20 09:54 actual -rw-r--r-- 1 glaubitz glaubitz 14797 May 20 09:54 expect -rw-r--r-- 1 glaubitz glaubitz 15086 May 20 09:54 tests (sid_sparc64-dchroot)glaubitz@stadler:~/git/t$

Show 13 quoted lines
> For me the output using the latest "master" branch is:
> 
>     % ls -l chainlinttmp
>     -rw-------  1 me  me  14797 May 20 05:26 actual
>     -rw-------  1 me  me  14797 May 20 05:26 expect
>     -rw-------  1 me  me  15086 May 20 05:26 tests
> 
> My suspicion is that "actual" will have size 0 for you. If that's the
> case, I'd suggest running the commands from the "check-chainlint"
> target in t/Makefile manually one at a time to see if you can figure
> out which is failing. For instance:
> 
>     % ./chainlint.pl --emit-all chainlinttmp/tests
It does not generate any output for me:

(sid_sparc64-dchroot)glaubitz@stadler:~/git/t$ ./chainlint.pl --emit-all chainlinttmp/tests (sid_sparc64-dchroot)glaubitz@stadler:~/git/t$

Show 8 quoted lines
> If that produces output, then that's a good sign. Try capturing that
> output and feeding it to the `sed` command:
> 
>     % ./chainlint.pl --emit-all chainlinttmp/tests >lint.out
>     % sed -e 's/^[1-9][0-9]* //' lint.out
> 
> If that produces output, then something else is going wrong (such as
> PERL_PATH or PERL_PATH_SQ being incorrect).
Adrian
-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Previous: Eric SunshineNext: Eric Sunshine
Message 6 of 11 in “chainlint test failing on Linux sparc64”
  1. John Paul Adrian GlaubitzMay 20, 2024
  2. Eric SunshineMay 20, 2024
  3. John Paul Adrian GlaubitzMay 20, 2024
  4. John Paul Adrian GlaubitzMay 20, 2024
  5. Eric SunshineMay 20, 2024
  6. John Paul Adrian GlaubitzMay 20, 2024
  7. Eric SunshineMay 20, 2024
  8. John Paul Adrian GlaubitzMay 20, 2024
  9. John Paul Adrian GlaubitzMay 20, 2024
  10. Junio C HamanoMay 20, 2024
  11. John Paul Adrian GlaubitzMay 20, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.