[laminar] Executing cfg/jobs/simh-ibmpc.run ++ id -u ++ id -g ++ echo simh-ibmpc ++ 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-ibmpc/48:/var/lib/laminar/run/simh-ibmpc/48 --env rev= --env JOB=simh-ibmpc --env COMPILER_SUITE= --security-opt apparmor=unconfined --net=host --user 998:998 --workdir /var/lib/laminar/run/simh-ibmpc/48 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-ibmpc ++ cut -f 2- -d - + SIMULATOR=ibmpc + 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 20230108-1) 13.0.0 20230108 (experimental) [master r13-5059-gd901bf8a44a] 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 20230108-1) 13.0.0 20230108 (experimental) [master r13-5059-gd901bf8a44a] 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: 68% (1236/1816) Updating files: 69% (1254/1816) Updating files: 70% (1272/1816) Updating files: 71% (1290/1816) Updating files: 72% (1308/1816) Updating files: 73% (1326/1816) Updating files: 74% (1344/1816) Updating files: 75% (1362/1816) Updating files: 76% (1381/1816) Updating files: 77% (1399/1816) Updating files: 78% (1417/1816) Updating files: 79% (1435/1816) Updating files: 80% (1453/1816) Updating files: 81% (1471/1816) Updating files: 82% (1490/1816) Updating files: 83% (1508/1816) Updating files: 84% (1526/1816) Updating files: 85% (1544/1816) Updating files: 86% (1562/1816) Updating files: 87% (1580/1816) Updating files: 88% (1599/1816) Updating files: 89% (1617/1816) Updating files: 90% (1635/1816) Updating files: 91% (1653/1816) Updating files: 92% (1671/1816) Updating files: 93% (1689/1816) Updating files: 94% (1708/1816) Updating files: 95% (1726/1816) Updating files: 96% (1744/1816) Updating files: 97% (1762/1816) Updating files: 98% (1780/1816) Updating files: 99% (1798/1816) Updating files: 100% (1816/1816) Updating files: 100% (1816/1816), done. + pushd simh + git checkout master /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 Already on 'master' Your branch is up to date with 'origin/master'. + apply_patches .:generic-simh .:simh-ibmpc + 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-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 + 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 /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 + '[' 1 -gt 0 ']' + this_arg=.:simh-ibmpc + shift ++ echo .:simh-ibmpc ++ cut -f 1 -d : + this_path=. ++ echo .:simh-ibmpc ++ cut -f 2 -d : + this_prefix=simh-ibmpc + pushd . /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 + for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch + '[' -r '/var/lib/laminar/cfg/patches/simh-ibmpc--*.patch' ']' + popd /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 + '[' 0 -gt 0 ']' + git show commit 86b19c767b681385cf276b498073ab6702d39591 Author: Timothe Litt Date: Sun Feb 26 19:53:06 2023 -0500 Change archives from BZIP2 to ZIP PowerShell can create ZIP files, which Windows explorer can access natively. diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 94dbef29..fdd0214f 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -41,14 +41,6 @@ on: - 'Discard' - 'Snapshot' - 'Release' - inspect: - description: 'Build directory contents listing' - required: true - default: 'exclude' - type: choice - options: - - Exclude - - Include pull_request: types: closed @@ -73,7 +65,6 @@ env: BUILD_CONFIGURATION: ${{ inputs.configuration || 'Release' }} BUILD_PLATFORM: ${{ inputs.platform || 'Win32' }} BUILD_ARCH: ${{ inputs.architecture || ( github.event_name == 'schedule' && ( ( contains(github.event.schedule, '16') && 'x86' ) || ( contains(github.event.schedule, '20') && 'arm64' ) ) ) || 'x64' }} - INSPECT: ${{ inputs.inspect || 'Exclude' }} DISPOSE: ${{ inputs.dispose || ( github.event_name == 'schedule' && 'Snapshot' ) || ( github.event_name == 'release' && 'Release' ) || 'Discard' }} permissions: @@ -127,51 +118,53 @@ jobs: uses: microsoft/setup-msbuild@v1.1 with: msbuild-architecture: ${{ env.BUILD_ARCH }} - - name: Install PuTTY and 7-zip + - name: Install PuTTY run: | choco install --no-progress putty - choco install --no-progress 7zip - name: Build Simulators with Visual Studio shell: cmd working-directory: ${{env.GITHUB_WORKSPACE}} run: | msbuild "${{env.SOLUTION_FILE}}" -property:Configuration=${{env.BUILD_CONFIGURATION}} -property:Platform=${{env.BUILD_PLATFORM}} - - name: Inspect result tree - if: env.INSPECT == 'Include' - shell: cmd - run: dir /S BIN\NT - - name: Compute archive name step 1 + - name: Compute zipfile name step 1 if: env.DISPOSE != 'Discard' shell: pwsh run: | git log -1 --pretty="COMMIT=%H" >>$env:GITHUB_ENV $(git log -1 --pretty="#=%aI").Replace("T","-").Replace("#","CDATE").Replace(":","-") >>$env:GITHUB_ENV echo PACNAME=${{env.BUILD_PLATFORM}}-${{env.BUILD_ARCH}}-${{env.BUILD_CONFIGURATION}} >>$env:GITHUB_ENV - - name: Compute archive name step 2 + - name: Compute zipfile name step 2 if: env.DISPOSE != 'Discard' shell: pwsh run: | - "TARNAME=${{env.CDATE}}-${{env.COMMIT}}-${{env.PACNAME}}.tar" >>$env:GITHUB_ENV + "ZIPNAME=${{env.CDATE}}-${{env.COMMIT}}-${{env.PACNAME}}.zip" >>$env:GITHUB_ENV + - name: Collect results for deployment + if: env.DISPOSE != 'Discard' + shell: cmd + working-directory: ${{env.GITHUB_WORKSPACE}} + run: | + mkdir "${{env.PACNAME}}" + copy "LICENSE.txt" "${{env.PACNAME}}\" + echo This software was created by the Open SIMH Project>"${{env.PACNAME}}\README.txt" + echo For more information, see https://opensimh.org>>"${{env.PACNAME}}\README.txt" + move "BIN\NT\${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}}\*.exe" "${{env.PACNAME}}" + echo Built in ${{ github.repository }} by ${{ github.actor }} (${{ github.event_name }}) from ${{ github.ref_type }}/${{ github.ref_name }}>${{ env.ZIPNAME }}-contents.txt + echo In the zip file, the files reside in ${{env.PACNAME}}\*>>${{ env.ZIPNAME }}-contents.txt + echo Dates/times are UTC>>${{ env.ZIPNAME }}-contents.txt + echo .>>${{ env.ZIPNAME }}-contents.txt + dir "${{env.PACNAME}}" >>${{ env.ZIPNAME }}-contents.txt - name: Import signing key if: env.DISPOSE != 'Discard' uses: crazy-max/ghaction-import-gpg@v5 with: gpg_private_key: ${{ secrets.GPG_KIT_SIGNING_KEY }} - - name: Create tar file for deployment + - name: Create and sign zip file if: env.DISPOSE != 'Discard' - shell: cmd + shell: pwsh + working-directory: ${{env.GITHUB_WORKSPACE}} run: | - mkdir "${{env.PACNAME}}" - move "BIN\NT\${{env.BUILD_PLATFORM}}-${{env.BUILD_CONFIGURATION}}\*.exe" "${{env.PACNAME}}" - echo Built in ${{ github.repository }} by ${{ github.actor }} (${{ github.event_name }}) from ${{ github.ref_type }}/${{ github.ref_name }}>${{ env.TARNAME }}-contents.txt - echo In the archive, the files reside in ${{env.PACNAME}}\*>>${{ env.TARNAME }}-contents.txt - echo Dates/times are UTC>>${{ env.TARNAME }}-contents.txt - echo .>>${{ env.TARNAME }}-contents.txt - dir "${{env.PACNAME}}\*.exe" >>${{ env.TARNAME }}-contents.txt - 7z a -ttar -r -- "${{ env.TARNAME }}" "${{ env.PACNAME }}" - 7z a -tbzip2 -r -- "${{ env.TARNAME }}.bz2" "${{ env.TARNAME }}" - del "${{ env.TARNAME }}" - gpg --output "${{ env.TARNAME }}.bz2.sig" --detach-sig "${{ env.TARNAME }}.bz2" + Compress-Archive -Path "${{ env.PACNAME }}" -DestinationPath "${{ env.ZIPNAME }}" + gpg --output "${{ env.ZIPNAME }}.sig" --detach-sig "${{ env.ZIPNAME }}" - name: Deploy new executables to kits server id: scp-ppk if: env.DISPOSE != 'Discard' @@ -189,12 +182,12 @@ jobs: if: ${{ env.DISPOSE == 'Snapshot' }} shell: cmd run: | - pscp -p -r -q -batch -noagent -i ${{ steps.scp-ppk.outputs.SDK }} -hostkey "${{ env.KITS_HOST_KEY }}" ${{ env.TARNAME }}.bz2 ${{ env.TARNAME }}.bz2.sig ${{ env.TARNAME }}-contents.txt simh-deploy@kits.opensimh.org:/var/www/kits/html/${{ env.BRANCH }}/Windows/Snapshots/${{ env.BUILD_ARCH }}/ + pscp -p -r -q -batch -noagent -i ${{ steps.scp-ppk.outputs.SDK }} -hostkey "${{ env.KITS_HOST_KEY }}" ${{ env.ZIPNAME }} ${{ env.ZIPNAME }}.sig ${{ env.ZIPNAME }}-contents.txt simh-deploy@kits.opensimh.org:/var/www/kits/html/${{ env.BRANCH }}/Windows/Snapshots/${{ env.BUILD_ARCH }}/ - name: Save as release if: env.DISPOSE == 'Release' shell: cmd run: | - pscp -p -r -q -batch -noagent -i ${{ steps.scp-ppk.outputs.SDK }} -hostkey "${{ env.KITS_HOST_KEY }}" ${{ env.TARNAME }}.bz2 ${{ env.TARNAME }}.bz2.sig ${{ env.TARNAME }}-contents.txt simh-deploy@kits.opensimh.org:/var/www/kits/html/${{ env.BRANCH }}/Windows/Releases/${{ env.BUILD_ARCH }}/ + pscp -p -r -q -batch -noagent -i ${{ steps.scp-ppk.outputs.SDK }} -hostkey "${{ env.KITS_HOST_KEY }}" ${{ env.ZIPNAME }} ${{ env.ZIPNAME }}.sig ${{ env.ZIPNAME }}-contents.txt simh-deploy@kits.opensimh.org:/var/www/kits/html/${{ env.BRANCH }}/Windows/Releases/${{ env.BUILD_ARCH }}/ - name: cleanup ppk env: FN: ${{ steps.scp-ppk.outputs.SDK }} + git status On branch master Your branch is up to date with 'origin/master'. It took 4.76 seconds to enumerate untracked files. 'status -uno' may speed it up, but you have to be careful not to forget to add new files yourself (see 'git help status'). nothing to commit, working tree clean + git diff ++ git rev-parse HEAD + REV_ID=86b19c767b681385cf276b498073ab6702d39591 + popd + hash -r /var/lib/laminar/run/simh-ibmpc/48 + pushd simh + export /var/lib/laminar/run/simh-ibmpc/48/simh /var/lib/laminar/run/simh-ibmpc/48 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="/" declare -x HOSTNAME="lili" declare -x JOB="simh-ibmpc" 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-ibmpc/48" 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-ibmpc/48/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/ibmpc [bld simu 2023-03-03 08:20:10] lib paths are: /lib/ /lib/x86_64-linux-gnu/ /lib32/ /libx32/ /usr/lib/ [bld simu 2023-03-03 08:20:10] 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-03 08:20:10] using libm: /lib/x86_64-linux-gnu/libm.so [bld simu 2023-03-03 08:20:10] using librt: /lib/x86_64-linux-gnu/librt.a [bld simu 2023-03-03 08:20:10] using libpthread: /lib/x86_64-linux-gnu/libpthread.a /usr/include/pthread.h [bld simu 2023-03-03 08:20:10] using libpcre: /lib/x86_64-linux-gnu/libpcre.so /usr/include/pcre.h [bld simu 2023-03-03 08:20:10] using semaphore: /usr/include/semaphore.h [bld simu 2023-03-03 08:20:10] using libdl: /lib/x86_64-linux-gnu/libdl.a /usr/include/dlfcn.h [bld simu 2023-03-03 08:20:10] using libedit: /usr/include/editline/readline.h [bld simu 2023-03-03 08:20:10] using libpng: /lib/x86_64-linux-gnu/libpng.so /usr/include/png.h [bld simu 2023-03-03 08:20:10] using zlib: /lib/x86_64-linux-gnu/libz.so /usr/include/zlib.h [bld simu 2023-03-03 08:20:10] using mman: /usr/include/x86_64-linux-gnu/sys/mman.h [bld simu 2023-03-03 08:20:10] *** [bld simu 2023-03-03 08:20:10] *** BIN/ibmpc Simulator being built with: [bld simu 2023-03-03 08:20:10] *** - compiler optimizations, with Link Time Optimization, and no debugging support. GCC Version: 13.0.0. [bld simu 2023-03-03 08:20:10] *** - Per simulator tests will be run with argument: -v. [bld simu 2023-03-03 08:20:10] *** [bld simu 2023-03-03 08:20:10] *** git commit id is 86b19c767b681385cf276b498073ab6702d39591. [bld simu 2023-03-03 08:20:10] *** git commit time is 2023-02-26T19:53:06-0500. [bld simu 2023-03-03 08:20:10] *** [bld simu 2023-03-03 08:20:14] #cmake:ignore-target [bld simu 2023-03-03 08:20:14] /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=86b19c767b681385cf276b498073ab6702d39591 -DSIM_GIT_COMMIT_TIME=2023-02-26T19:53:06-0500 -DSIM_COMPILER="GCC Version: 13.0.0" -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/i8255.c ./Intel-Systems/ibmpc/ibmpc.c ./Intel-Systems/common/i8088.c ./Intel-Systems/ibmpc/ibmpc_sys.c ./Intel-Systems/common/i8253.c ./Intel-Systems/common/i8259.c ./Intel-Systems/common/pceprom.c ./Intel-Systems/common/pcram8.c ./Intel-Systems/common/i8237.c ./Intel-Systems/common/pcbus.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/ibmpc -o BIN/ibmpc -lm -lrt -lpthread -lpcre -ldl -ledit -ltermcap -lpng -lz [bld simu 2023-03-03 08:20:14] ./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-03 08:20:14] 164 | { "XACK", DEBUG_xack }, [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~ [bld simu 2023-03-03 08:20:14] | DEBUG_all [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8255.c: In function 'i8255_cfg': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8255.c:206:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:14] 206 | i8255_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:14] ./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-03 08:20:14] In file included from ./Intel-Systems/ibmpc/ibmpc.c:36: [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c: In function 'SBC_reset': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/system_defs.h:38:25: error: passing argument 1 of 'i8253_reset' makes pointer from integer without a cast [-Werror=int-conversion] [bld simu 2023-03-03 08:20:14] 38 | #define I8253_BASE_0 0x040 [bld simu 2023-03-03 08:20:14] | ^~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | int [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:82:18: note: in expansion of macro 'I8253_BASE_0' [bld simu 2023-03-03 08:20:14] 82 | i8253_reset (I8253_BASE_0); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:68:36: note: expected 'DEVICE *' but argument is of type 'int' [bld simu 2023-03-03 08:20:14] 68 | extern t_stat i8253_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/system_defs.h:43:25: error: passing argument 1 of 'i8255_reset' makes pointer from integer without a cast [-Werror=int-conversion] [bld simu 2023-03-03 08:20:14] 43 | #define I8255_BASE_0 0x060 [bld simu 2023-03-03 08:20:14] | ^~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | int [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:83:18: note: in expansion of macro 'I8255_BASE_0' [bld simu 2023-03-03 08:20:14] 83 | i8255_reset (I8255_BASE_0); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:69:36: note: expected 'DEVICE *' but argument is of type 'int' [bld simu 2023-03-03 08:20:14] 69 | extern t_stat i8255_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/system_defs.h:47:25: error: passing argument 1 of 'i8259_reset' makes pointer from integer without a cast [-Werror=int-conversion] [bld simu 2023-03-03 08:20:14] 47 | #define I8259_BASE_0 0x020 [bld simu 2023-03-03 08:20:14] | ^~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | int [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:84:18: note: in expansion of macro 'I8259_BASE_0' [bld simu 2023-03-03 08:20:14] 84 | i8259_reset (I8259_BASE_0); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:70:36: note: expected 'DEVICE *' but argument is of type 'int' [bld simu 2023-03-03 08:20:14] 70 | extern t_stat i8259_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/system_defs.h:61:25: error: passing argument 1 of 'EPROM_reset' makes pointer from integer without a cast [-Werror=int-conversion] [bld simu 2023-03-03 08:20:14] 61 | #define ROM_BASE 0xFE000 [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | int [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:85:18: note: in expansion of macro 'ROM_BASE' [bld simu 2023-03-03 08:20:14] 85 | EPROM_reset (ROM_BASE, ROM_SIZE); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:71:36: note: expected 'DEVICE *' but argument is of type 'int' [bld simu 2023-03-03 08:20:14] 71 | extern t_stat EPROM_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:85:5: error: too many arguments to function 'EPROM_reset' [bld simu 2023-03-03 08:20:14] 85 | EPROM_reset (ROM_BASE, ROM_SIZE); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:71:15: note: declared here [bld simu 2023-03-03 08:20:14] 71 | extern t_stat EPROM_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:86:5: error: too many arguments to function 'RAM_reset' [bld simu 2023-03-03 08:20:14] 86 | RAM_reset (RAM_BASE, RAM_SIZE); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:72:15: note: declared here [bld simu 2023-03-03 08:20:14] 72 | extern t_stat RAM_reset (DEVICE *dptr); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:87:13: error: passing argument 1 of 'reg_dev' from incompatible pointer type [-Werror=incompatible-pointer-types] [bld simu 2023-03-03 08:20:14] 87 | reg_dev(enbnmi, NMI_BASE); [bld simu 2023-03-03 08:20:14] | ^~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | uint8 (*)(t_bool, uint8) {aka unsigned char (*)(int, unsigned char)} [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:31: note: expected 'uint8 (*)(t_bool, uint8, uint8)' {aka 'unsigned char (*)(int, unsigned char, unsigned char)'} but argument is of type 'uint8 (*)(t_bool, uint8)' {aka 'unsigned char (*)(int, unsigned char)'} [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:87:5: error: too few arguments to function 'reg_dev' [bld simu 2023-03-03 08:20:14] 87 | reg_dev(enbnmi, NMI_BASE); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:15: note: declared here [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:88:13: error: passing argument 1 of 'reg_dev' from incompatible pointer type [-Werror=incompatible-pointer-types] [bld simu 2023-03-03 08:20:14] 88 | reg_dev(dmapag0, DMAPAG_BASE_0); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | uint8 (*)(t_bool, uint8) {aka unsigned char (*)(int, unsigned char)} [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:31: note: expected 'uint8 (*)(t_bool, uint8, uint8)' {aka 'unsigned char (*)(int, unsigned char, unsigned char)'} but argument is of type 'uint8 (*)(t_bool, uint8)' {aka 'unsigned char (*)(int, unsigned char)'} [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:88:5: error: too few arguments to function 'reg_dev' [bld simu 2023-03-03 08:20:14] 88 | reg_dev(dmapag0, DMAPAG_BASE_0); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:15: note: declared here [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:89:13: error: passing argument 1 of 'reg_dev' from incompatible pointer type [-Werror=incompatible-pointer-types] [bld simu 2023-03-03 08:20:14] 89 | reg_dev(dmapag1, DMAPAG_BASE_1); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | uint8 (*)(t_bool, uint8) {aka unsigned char (*)(int, unsigned char)} [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:31: note: expected 'uint8 (*)(t_bool, uint8, uint8)' {aka 'unsigned char (*)(int, unsigned char, unsigned char)'} but argument is of type 'uint8 (*)(t_bool, uint8)' {aka 'unsigned char (*)(int, unsigned char)'} [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:89:5: error: too few arguments to function 'reg_dev' [bld simu 2023-03-03 08:20:14] 89 | reg_dev(dmapag1, DMAPAG_BASE_1); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:15: note: declared here [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:90:13: error: passing argument 1 of 'reg_dev' from incompatible pointer type [-Werror=incompatible-pointer-types] [bld simu 2023-03-03 08:20:14] 90 | reg_dev(dmapag2, DMAPAG_BASE_2); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | uint8 (*)(t_bool, uint8) {aka unsigned char (*)(int, unsigned char)} [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:31: note: expected 'uint8 (*)(t_bool, uint8, uint8)' {aka 'unsigned char (*)(int, unsigned char, unsigned char)'} but argument is of type 'uint8 (*)(t_bool, uint8)' {aka 'unsigned char (*)(int, unsigned char)'} [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:90:5: error: too few arguments to function 'reg_dev' [bld simu 2023-03-03 08:20:14] 90 | reg_dev(dmapag2, DMAPAG_BASE_2); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:15: note: declared here [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:91:13: error: passing argument 1 of 'reg_dev' from incompatible pointer type [-Werror=incompatible-pointer-types] [bld simu 2023-03-03 08:20:14] 91 | reg_dev(dmapag3, DMAPAG_BASE_3); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] | | [bld simu 2023-03-03 08:20:14] | uint8 (*)(t_bool, uint8) {aka unsigned char (*)(int, unsigned char)} [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:31: note: expected 'uint8 (*)(t_bool, uint8, uint8)' {aka 'unsigned char (*)(int, unsigned char, unsigned char)'} but argument is of type 'uint8 (*)(t_bool, uint8)' {aka 'unsigned char (*)(int, unsigned char)'} [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:91:5: error: too few arguments to function 'reg_dev' [bld simu 2023-03-03 08:20:14] 91 | reg_dev(dmapag3, DMAPAG_BASE_3); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/ibmpc/ibmpc.c:73:15: note: declared here [bld simu 2023-03-03 08:20:14] 73 | extern uint16 reg_dev(uint8 (*routine)(t_bool, uint8, uint8), uint16, uint8); [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] cc1: all warnings being treated as errors [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8088.c:22:10: fatal error: cpu.h: No such file or directory [bld simu 2023-03-03 08:20:14] 22 | #include "cpu.h" [bld simu 2023-03-03 08:20:14] | ^~~~~~~ [bld simu 2023-03-03 08:20:14] compilation terminated. [bld simu 2023-03-03 08:20:14] ./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-03 08:20:14] 114 | { "XACK", DEBUG_xack }, [bld simu 2023-03-03 08:20:14] | ^~~~~~~~~~ [bld simu 2023-03-03 08:20:14] | DEBUG_all [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c: In function 'i8253_cfg': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c:164:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:14] 164 | i8253_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:14] ./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-03 08:20:14] ./Intel-Systems/common/i8253.c: In function 'i8253t0': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c:380:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:14] 380 | return (i8253_T1_latch[devnum] & BYTEMASK); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c: In function 'i8253t1': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c:437:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:14] 437 | return (i8253_T1_latch[devnum] & BYTEMASK); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c: In function 'i8253t2': [bld simu 2023-03-03 08:20:14] ./Intel-Systems/common/i8253.c:494:50: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:14] 494 | return (i8253_T2_latch[devnum] & BYTEMASK); [bld simu 2023-03-03 08:20:14] | ^~~~~~~~ [bld simu 2023-03-03 08:20:15] ./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-03 08:20:15] 106 | { "XACK", DEBUG_xack }, [bld simu 2023-03-03 08:20:15] | ^~~~~~~~~~ [bld simu 2023-03-03 08:20:15] | DEBUG_all [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8259.c: In function 'i8259_cfg': [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8259.c:155:37: error: 'BYTEMASK' undeclared (first use in this function) [bld simu 2023-03-03 08:20:15] 155 | i8259_baseport[devnum] = base & BYTEMASK; [bld simu 2023-03-03 08:20:15] | ^~~~~~~~ [bld simu 2023-03-03 08:20:15] ./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-03 08:20:15] ./Intel-Systems/common/i8237.c:308:5: error: braces around scalar initializer [-Werror] [bld simu 2023-03-03 08:20:15] 308 | { 0 } [bld simu 2023-03-03 08:20:15] | ^ [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8237.c:308:5: note: (near initialization for 'i8237_unit.next') [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8237.c: In function 'i8237_rDx': [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8237.c:785:9: error: too many arguments to function 'i8237_reset_dev' [bld simu 2023-03-03 08:20:15] 785 | i8237_reset_dev(devnum); [bld simu 2023-03-03 08:20:15] | ^~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:15] ./Intel-Systems/common/i8237.c:450:6: note: declared here [bld simu 2023-03-03 08:20:15] 450 | void i8237_reset_dev() [bld simu 2023-03-03 08:20:15] | ^~~~~~~~~~~~~~~ [bld simu 2023-03-03 08:20:15] cc1: all warnings being treated as errors [bld simu 2023-03-03 08:20:29] make: *** [makefile:2729: BIN/ibmpc] Error 1 [laminar] Executing cfg/after + export declare -x ARCHIVE="/var/lib/laminar/archive/simh-ibmpc/48" declare -x CONTEXT="default" declare -x HOME="/nonexistent" declare -x INVOCATION_ID="ed44bf7da59d41d0a4a43b43efe83156" declare -x JOB="simh-ibmpc" declare -x JOURNAL_STREAM="8:1442106095" 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-ibmpc/48" declare -x RESULT="failed" declare -x RUN="48" declare -x SHLVL="1" declare -x SYSTEMD_EXEC_PID="473812" declare -x USER="laminar" declare -x WORKSPACE="/var/lib/laminar/run/simh-ibmpc/workspace" declare -x __LAMINAR_SETENV_PIPE="9" + VERBOSE= + find . -type f -name '*.sum' -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + find . -type f -name config.log -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + find . -type f -name config.h -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + find . -type f -name test-suite.log -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + '[' '!' -d logs ']' + find . -type f -name build-state.json -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + find . -type f -name versions.json -exec cp --parent '{}' /var/lib/laminar/archive/simh-ibmpc/48 ';' + '[' '!' -r build.log ']' + '[' failed = success -a failed '!=' failed ']' + '[' failed = failed -a failed '!=' failed ']' + printf '\nFinal status: %s.\n' failed Final status: failed.