Bug 257505 - devel/ninja broken under Linuxulator: waitpid(5530): Interrupted system call
Summary: devel/ninja broken under Linuxulator: waitpid(5530): Interrupted system call
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Edward Tomasz Napierala
URL:
Keywords:
Depends on:
Blocks: 247219
  Show dependency treegraph
 
Reported: 2021-07-30 14:38 UTC by Edward Tomasz Napierala
Modified: 2021-08-08 10:52 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Tomasz Napierala freebsd_committer 2021-07-30 14:38:58 UTC
Trying to run ninja on arm64 Linuxulator results in it failing with "fatal: waitpid(5530): Interrupted system call".  This is easily reproducible on arm64, although I'd swear I've seen it on amd64 too: just follow the instructions at https://github.com/ninja-build/ninja, the final "./build-cmake/ninja_test" fails with:

trasz@v3:~/git/ninja % ./build-cmake/ninja_test
[343/362] SubprocessTest.InterruptParentninja: fatal: waitpid(5385): Interrupted system call
Comment 1 Edward Tomasz Napierala freebsd_committer 2021-07-30 15:14:31 UTC
The same problem seems to be breaking "make check" in Postgres 13.3:

PATH="/home/trasz/postgresql-13.3/tmp_install/usr/local/pgsql/bin:$PATH" LD_LIBRARY_PATH="/home/trasz/postgresql-13.3/tmp_install/usr/local/pgsql/lib"  ../../../src/test/regress/pg_regress --temp-instance=./tmp_check --inputdir=. --bindir=     --dlpath=. --max-concurrent-tests=20  --schedule=./parallel_schedule  
============== creating temporary instance            ==============
============== initializing database system           ==============
============== starting postmaster                    ==============
running on port 64467 with PID 12318
============== creating database "regression"         ==============
CREATE DATABASE
ALTER DATABASE
============== running regression test queries        ==============
test tablespace                   ... failed to wait for subprocesses: Interrupted system call
make[1]: *** [GNUmakefile:132: check] Error 2
make[1]: Leaving directory '/home/trasz/postgresql-13.3/src/test/regress'
make: *** [GNUmakefile:69: check] Error 2
Comment 2 Piotr Pawel Stefaniak freebsd_committer 2021-08-08 10:25:55 UTC
(In reply to Edward Tomasz Napierala from comment #0)
> I'd swear I've seen it on amd64 too

I'm seeing this on amd64 as well.
Comment 3 Tobias C. Berner freebsd_committer 2021-08-08 10:52:58 UTC
Moin moin

This sounds more like something related to the linuxulator, rather than the devel/ninja port -- so over to the src folks.


mfg Tobias