live-bootstrap icon indicating copy to clipboard operation
live-bootstrap copied to clipboard

gcc-4.0.4: infrequently 0.5% ABORT: run.sh: line 72: cd: libcpp: error 02

Open bittorf opened this issue 3 years ago • 4 comments

seen with a6630ff and qemu-386 with kernel 3.18.140 and 3G RAM.

see: http://intercity-vpn.de/bootstrap/bootstrap.log-multilog-2-1618438037.txt

[...]
00h59m06s | checking for sysmp... no
00h59m06s | checking for getsysinfo... no
00h59m06s | checking for table... no
00h59m06s | checking for sysctl... no
00h59m06s | checking for __fsetlocking... yes
00h59m06s | checking whether canonicalize_file_name must be declared... yes
00h59m06s | checking for stdlib.h... (cached) yes
00h59m06s | checking for unistd.h... (cached) yes
00h59m06s | checking for getpagesize... (cached) yes
00h59m06s | checking for working mmap... yes
00h59m06s | checking for working strncmp... yes
00h59m06s | configure: creating ./config.status
00h59m06s | config.status: creating Makefile
00h59m06s | config.status: creating testsuite/Makefile
00h59m06s | config.status: creating config.h
00h59m06s | config.status: executing default commands
00h59m06s | run.sh: line 72: cd: libcpp: error 02
00h59m06s | Subprocess error 256
00h59m06s | ABORTING HARD

bittorf avatar Apr 15 '21 07:04 bittorf

Hmm, maybe mkdir call failed before cd. We are just cd'ing into a directory that was just created.

So not sure why this failed, maybe it was just one off error that is not reproducible...

stikonas avatar Apr 17 '21 13:04 stikonas

i have seen this during last mass-run 3 times...strange!

bittorf avatar Apr 18 '21 09:04 bittorf

Hmm, so it's not one off. The code that fails is here: https://github.com/fosslinux/live-bootstrap/blob/9f83e1213ea65cf6f2687c0c789b969cdf4cb93a/sysa/gcc-4.0.4/pass1.sh#L72

I'm not sure what we can do. Since we run with set -e that means mkdir returned with exit code 0. So I'm puzzled why cd fails. Any ideas?

stikonas avatar Apr 18 '21 13:04 stikonas

i will overload with an mkdir() function which always makes a sync, lets see if this helps

bittorf avatar Apr 19 '21 08:04 bittorf

We haven't seen this recently, maybe fixed?

stikonas avatar Jan 08 '23 00:01 stikonas