[laminar] Executing cfg/jobs/simh-ibmpcxt.run ++ id -u ++ id -g ++ echo simh-ibmpcxt ++ cut -f 1 -d - + docker run --rm --interactive --volume /var/cache/git:/var/cache/git --volume /var/cache/laminar:/var/cache/laminar --volume /var/lib/laminar/cfg/scripts:/var/lib/laminar/cfg/scripts --volume /var/lib/laminar/cfg/patches:/var/lib/laminar/cfg/patches --volume /var/lib/laminar/run/simh-ibmpcxt/49:/var/lib/laminar/run/simh-ibmpcxt/49 --env rev= --env JOB=simh-ibmpcxt --env COMPILER_SUITE= --security-opt apparmor=unconfined --net=host --user 998:998 --workdir /var/lib/laminar/run/simh-ibmpcxt/49 simh /bin/bash + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts + SRC_REPO=/var/cache/git/simh ++ basename /var/cache/git/simh .git + SRC_REPO_DIR=simh ++ echo simh-ibmpcxt ++ cut -f 2- -d - + SIMULATOR=ibmpcxt + BUILD_REV= + '[' -z '' ']' + BUILD_REV=master + . /var/lib/laminar/cfg/scripts/evaluate_compiler.inc ++ : gcc-snapshot ++ case "${COMPILER_SUITE}" in ++ export CC=/usr/lib/gcc-snapshot/bin/gcc ++ CC=/usr/lib/gcc-snapshot/bin/gcc ++ export CXX=/usr/lib/gcc-snapshot/bin/g++ ++ CXX=/usr/lib/gcc-snapshot/bin/g++ ++ export CPP=/usr/lib/gcc-snapshot/bin/cpp ++ CPP=/usr/lib/gcc-snapshot/bin/cpp ++ export LD=/usr/lib/gcc-snapshot/bin/gcc ++ LD=/usr/lib/gcc-snapshot/bin/gcc ++ export LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib ++ LD_LIBRARY_PATH=/usr/lib/gcc-snapshot/lib ++ export PATH=/usr/lib/gcc-snapshot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts ++ PATH=/usr/lib/gcc-snapshot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts ++ hash -r + . /var/lib/laminar/cfg/scripts/evaluate_patches.inc + /usr/lib/gcc-snapshot/bin/gcc --version gcc (Debian 20230315-1) 13.0.1 20230315 (experimental) [master r13-6680-ga9ae16db8cb] Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + /usr/lib/gcc-snapshot/bin/g++ --version g++ (Debian 20230315-1) 13.0.1 20230315 (experimental) [master r13-6680-ga9ae16db8cb] Copyright (C) 2023 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + rm -rf simh + git clone --shared /var/cache/git/simh Cloning into 'simh'... done. Updating files: 49% (900/1819) Updating files: 50% (910/1819) Updating files: 51% (928/1819) Updating files: 52% (946/1819) Updating files: 53% (965/1819) Updating files: 54% (983/1819) Updating files: 55% (1001/1819) Updating files: 56% (1019/1819) Updating files: 57% (1037/1819) Updating files: 58% (1056/1819) Updating files: 59% (1074/1819) Updating files: 60% (1092/1819) Updating files: 61% (1110/1819) Updating files: 62% (1128/1819) Updating files: 63% (1146/1819) Updating files: 64% (1165/1819) Updating files: 65% (1183/1819) Updating files: 66% (1201/1819) Updating files: 67% (1219/1819) Updating files: 68% (1237/1819) Updating files: 69% (1256/1819) Updating files: 70% (1274/1819) Updating files: 71% (1292/1819) Updating files: 72% (1310/1819) Updating files: 73% (1328/1819) Updating files: 74% (1347/1819) Updating files: 75% (1365/1819) Updating files: 76% (1383/1819) Updating files: 77% (1401/1819) Updating files: 78% (1419/1819) Updating files: 79% (1438/1819) Updating files: 80% (1456/1819) Updating files: 81% (1474/1819) Updating files: 82% (1492/1819) Updating files: 83% (1510/1819) Updating files: 84% (1528/1819) Updating files: 85% (1547/1819) Updating files: 86% (1565/1819) Updating files: 87% (1583/1819) Updating files: 88% (1601/1819) Updating files: 89% (1619/1819) Updating files: 89% (1625/1819) Updating files: 90% (1638/1819) Updating files: 91% (1656/1819) Updating files: 92% (1674/1819) Updating files: 93% (1692/1819) Updating files: 94% (1710/1819) Updating files: 95% (1729/1819) Updating files: 96% (1747/1819) Updating files: 97% (1765/1819) Updating files: 98% (1783/1819) Updating files: 99% (1801/1819) Updating files: 100% (1819/1819) Updating files: 100% (1819/1819), done. + pushd simh + git checkout master /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 Already on 'master' Your branch is up to date with 'origin/master'. + apply_patches .:generic-simh .:simh-ibmpcxt + local this_arg + local this_path + local this_prefix + local this_patch + '[' 2 -gt 0 ']' + this_arg=.:generic-simh + shift ++ echo .:generic-simh ++ cut -f 1 -d : + this_path=. ++ echo .:generic-simh ++ cut -f 2 -d : /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 + this_prefix=generic-simh + pushd . + for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch + '[' -r '/var/lib/laminar/cfg/patches/generic-simh--*.patch' ']' + popd + '[' 1 -gt 0 ']' + this_arg=.:simh-ibmpcxt + shift /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 ++ echo .:simh-ibmpcxt ++ cut -f 1 -d : + this_path=. ++ echo .:simh-ibmpcxt ++ cut -f 2 -d : + this_prefix=simh-ibmpcxt + pushd . /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 + for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch + '[' -r '/var/lib/laminar/cfg/patches/simh-ibmpcxt--*.patch' ']' + popd + '[' 0 -gt 0 ']' + git show commit 7a8cfcac05208e60fe1a8cc3f019be1314f19009 Author: Mark Pizzolato Date: Sat Mar 11 19:38:50 2023 -1000 SCP: Add .editorconfig which describes the project's long standing convention This will hopefully automatically get small changes to adhere to the conventions without them slipping through in the future. diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..8af2ca8f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +# EditorConfig: https://editorconfig.org/ +root = true + +[*.{c,h}] +charset = utf-8 +end_of_line = crlf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +# Makefiles +[{{M,m}akefile,descrip.mms}] +trim_trailing_whitespace = true +indent_style = tab +end_of_line = crlf +insert_final_newline = true + +# Other text files +[*.{txt,ini,md,simh,.editorconfig}] +charset = utf-8 +end_of_line = crlf +trim_trailing_whitespace = true + +# Git commit messages +[{COMMIT_EDITMSG,MERGE_MSG}] +trim_trailing_whitespace = true +max_line_length = 80 +indent_style = space + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git diff ++ git rev-parse HEAD + REV_ID=7a8cfcac05208e60fe1a8cc3f019be1314f19009 + popd /var/lib/laminar/run/simh-ibmpcxt/49 + hash -r /var/lib/laminar/run/simh-ibmpcxt/49/simh /var/lib/laminar/run/simh-ibmpcxt/49 + pushd simh + export declare -x CC="/usr/lib/gcc-snapshot/bin/gcc" declare -x COMPILER_SUITE="gcc-snapshot" declare -x CPP="/usr/lib/gcc-snapshot/bin/cpp" declare -x CXX="/usr/lib/gcc-snapshot/bin/g++" declare -x HOME="/home/foo" declare -x HOSTNAME="lili" declare -x JOB="simh-ibmpcxt" declare -x LD="/usr/lib/gcc-snapshot/bin/gcc" declare -x LD_LIBRARY_PATH="/usr/lib/gcc-snapshot/lib" declare -x OLDPWD="/var/lib/laminar/run/simh-ibmpcxt/49" declare -x PATH="/usr/lib/gcc-snapshot/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts" declare -x PWD="/var/lib/laminar/run/simh-ibmpcxt/49/simh" declare -x SHLVL="1" declare -x rev="" + log_execute 'bld simu' make GCC=/usr/lib/gcc-snapshot/bin/gcc LTO=1 TEST_ARG=-v BIN/ibmpcxt [bld simu 2023-03-20 23:57:51] lib paths are: /lib/ /lib/x86_64-linux-gnu/ /lib32/ /libx32/ /usr/lib/ [bld simu 2023-03-20 23:57:51] include paths are: /usr/lib/gcc-snapshot/lib/gcc/x86_64-linux-gnu/13/include /usr/local/include /usr/lib/gcc-snapshot/include /usr/include/x86_64-linux-gnu /usr/include [bld simu 2023-03-20 23:57:51] using libm: /lib/x86_64-linux-gnu/libm.so [bld simu 2023-03-20 23:57:51] using librt: /lib/x86_64-linux-gnu/librt.a [bld simu 2023-03-20 23:57:51] using libpthread: /lib/x86_64-linux-gnu/libpthread.a /usr/include/pthread.h [bld simu 2023-03-20 23:57:51] using libpcre: /lib/x86_64-linux-gnu/libpcre.so /usr/include/pcre.h [bld simu 2023-03-20 23:57:51] using semaphore: /usr/include/semaphore.h [bld simu 2023-03-20 23:57:51] using libdl: /lib/x86_64-linux-gnu/libdl.a /usr/include/dlfcn.h [bld simu 2023-03-20 23:57:51] using libedit: /usr/include/editline/readline.h [bld simu 2023-03-20 23:57:51] using libpng: /lib/x86_64-linux-gnu/libpng.so /usr/include/png.h [bld simu 2023-03-20 23:57:51] using zlib: /lib/x86_64-linux-gnu/libz.so /usr/include/zlib.h [bld simu 2023-03-20 23:57:51] using mman: /usr/include/x86_64-linux-gnu/sys/mman.h [bld simu 2023-03-20 23:57:51] *** [bld simu 2023-03-20 23:57:51] *** BIN/ibmpcxt Simulator being built with: [bld simu 2023-03-20 23:57:51] *** - compiler optimizations, with Link Time Optimization, and no debugging support. GCC Version: 13.0.1. [bld simu 2023-03-20 23:57:51] *** - Per simulator tests will be run with argument: -v. [bld simu 2023-03-20 23:57:51] *** [bld simu 2023-03-20 23:57:51] *** git commit id is 7a8cfcac05208e60fe1a8cc3f019be1314f19009. [bld simu 2023-03-20 23:57:51] *** git commit time is 2023-03-11T19:38:50-1000. [bld simu 2023-03-20 23:57:51] *** [bld simu 2023-03-20 23:57:54] #cmake:ignore-target [bld simu 2023-03-20 23:57:54] /usr/lib/gcc-snapshot/bin/gcc -std=gnu99 -U__STRICT_ANSI__ -O2 -finline-functions -fgcse-after-reload -fpredictive-commoning -fipa-cp-clone -fno-unsafe-loop-optimizations -fno-strict-overflow -flto -DSIM_GIT_COMMIT_ID=7a8cfcac05208e60fe1a8cc3f019be1314f19009 -DSIM_GIT_COMMIT_TIME=2023-03-11T19:38:50-1000 -DSIM_COMPILER="GCC Version: 13.0.1" -DSIM_BUILD_TOOL=simh-makefile -I . -Werror -D_GNU_SOURCE -DUSE_READER_THREAD -DSIM_ASYNCH_IO -DHAVE_PCRE_H -DHAVE_SEMAPHORE -DHAVE_SYS_IOCTL -DHAVE_LINUX_CDROM -DSIM_HAVE_DLOPEN=so -DHAVE_EDITLINE -DHAVE_UTIME -DHAVE_LIBPNG -DHAVE_ZLIB -DHAVE_GLOB -DHAVE_SHM_OPEN ./Intel-Systems/common/i8088.c ./Intel-Systems/ibmpcxt/ibmpcxt_sys.c ./Intel-Systems/common/i8253.c ./Intel-Systems/common/i8259.c ./Intel-Systems/common/i8255.c ./Intel-Systems/ibmpcxt/ibmpcxt.c ./Intel-Systems/common/pceprom.c ./Intel-Systems/common/pcram8.c ./Intel-Systems/common/pcbus.c ./Intel-Systems/common/i8237.c ./scp.c ./sim_console.c ./sim_fio.c ./sim_timer.c ./sim_sock.c ./sim_tmxr.c ./sim_ether.c ./sim_tape.c ./sim_disk.c ./sim_serial.c ./sim_video.c ./sim_imd.c ./sim_card.c -I ./Intel-Systems/ibmpcxt -o BIN/ibmpcxt -lm -lrt -lpthread -lpcre -ldl -ledit -ltermcap -lpng -lz [bld simu 2023-03-20 23:57:54] ./Intel-Systems/common/i8088.c:22:10: fatal error: cpu.h: No such file or directory [bld simu 2023-03-20 23:57:54] 22 | #include "cpu.h" [bld simu 2023-03-20 23:57:54] | ^~~~~~~ [bld simu 2023-03-20 23:57:54] compilation terminated. [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:114:15: error: 'DEBUG_xack' undeclared here (not in a function); did you mean 'DEBUG_all'? [bld simu 2023-03-20 23:57:55] 114 | { "XACK", DEBUG_xack }, [bld simu 2023-03-20 23:57:55] | ^~~~~~~~~~ [bld simu 2023-03-20 23:57:55] | DEBUG_all [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c: In function 'i8253_cfg': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:164:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 164 | i8253_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:164:37: note: each undeclared identifier is reported only once for each function it appears in [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c: In function 'i8253t0': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:380:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 380 | return (i8253_T1_latch[devnum] & BYTEMASK); [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c: In function 'i8253t1': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:437:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 437 | return (i8253_T1_latch[devnum] & BYTEMASK); [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c: In function 'i8253t2': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8253.c:494:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 494 | return (i8253_T2_latch[devnum] & BYTEMASK); [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8259.c:106:15: error: 'DEBUG_xack' undeclared here (not in a function); did you mean 'DEBUG_all'? [bld simu 2023-03-20 23:57:55] 106 | { "XACK", DEBUG_xack }, [bld simu 2023-03-20 23:57:55] | ^~~~~~~~~~ [bld simu 2023-03-20 23:57:55] | DEBUG_all [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8259.c: In function 'i8259_cfg': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8259.c:155:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 155 | i8259_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8259.c:155:37: note: each undeclared identifier is reported only once for each function it appears in [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8255.c:164:15: error: 'DEBUG_xack' undeclared here (not in a function); did you mean 'DEBUG_all'? [bld simu 2023-03-20 23:57:55] 164 | { "XACK", DEBUG_xack }, [bld simu 2023-03-20 23:57:55] | ^~~~~~~~~~ [bld simu 2023-03-20 23:57:55] | DEBUG_all [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8255.c: In function 'i8255_cfg': [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8255.c:206:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-20 23:57:55] 206 | i8255_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-20 23:57:55] | ^~~~~~~~ [bld simu 2023-03-20 23:57:55] ./Intel-Systems/common/i8255.c:206:37: note: each undeclared identifier is reported only once for each function it appears in [bld simu 2023-03-20 23:57:56] ./Intel-Systems/common/i8237.c:308:5: error: braces around scalar initializer [-Werror] [bld simu 2023-03-20 23:57:56] 308 | { 0 } [bld simu 2023-03-20 23:57:56] | ^ [bld simu 2023-03-20 23:57:56] ./Intel-Systems/common/i8237.c:308:5: note: (near initialization for 'i8237_unit.next') [bld simu 2023-03-20 23:57:56] ./Intel-Systems/common/i8237.c: In function 'i8237_rDx': [bld simu 2023-03-20 23:57:56] ./Intel-Systems/common/i8237.c:785:9: error: too many arguments to function 'i8237_reset_dev' [bld simu 2023-03-20 23:57:56] 785 | i8237_reset_dev(devnum); [bld simu 2023-03-20 23:57:56] | ^~~~~~~~~~~~~~~ [bld simu 2023-03-20 23:57:56] ./Intel-Systems/common/i8237.c:450:6: note: declared here [bld simu 2023-03-20 23:57:56] 450 | void i8237_reset_dev() [bld simu 2023-03-20 23:57:56] | ^~~~~~~~~~~~~~~ [bld simu 2023-03-20 23:57:56] cc1: all warnings being treated as errors [bld simu 2023-03-20 23:58:11] make: *** [makefile:2745: BIN/ibmpcxt] Error 1 [laminar] Executing cfg/after + export declare -x ARCHIVE="/var/lib/laminar/archive/simh-ibmpcxt/49" declare -x CONTEXT="default" declare -x HOME="/nonexistent" declare -x INVOCATION_ID="c2726f2bbe594b05bb8385480f60703c" declare -x JOB="simh-ibmpcxt" declare -x JOURNAL_STREAM="8:1677697691" declare -x LAMINAR_BASE_URL="http://toolchain.lug-owl.de/laminar/" declare -x LAMINAR_TITLE="toolchain.lug-owl.de" declare -x LANG="en_US.UTF-8" declare -x LANGUAGE="en_US:en" declare -x LAST_RESULT="failed" declare -x LOGNAME="laminar" declare -x OLDPWD declare -x PATH="/var/lib/laminar/cfg/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/var/lib/laminar/run/simh-ibmpcxt/49" declare -x RESULT="failed" declare -x RUN="49" declare -x SHLVL="1" declare -x SYSTEMD_EXEC_PID="2615534" declare -x USER="laminar" declare -x WORKSPACE="/var/lib/laminar/run/simh-ibmpcxt/workspace" declare -x __LAMINAR_SETENV_PIPE="9" + VERBOSE= + find . -type f -name '*.sum' -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + find . -type f -name config.log -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + find . -type f -name config.h -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + find . -type f -name test-suite.log -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + find . -type f -name SYSTEM.def -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + '[' '!' -d logs ']' + find . -type f -name build-state.json -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + find . -type f -name versions.json -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpcxt/49 ';' + '[' '!' -r build.log ']' + '[' failed = success -a failed '!=' failed ']' + '[' failed = failed -a failed '!=' failed ']' + printf '\nFinal status: %s.\n' failed Final status: failed.