This seems to be a tup internal error, rather than just bad Tupfile etc.
I'm hitting this on both WSL 2 (Ubuntu x86_64) and on macOS 12.4 (arm64). I don't have any other platforms to test on.
WSL 2 version:
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $ uname -a
Linux DESKTOP-AVNQJIE 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
macOS 12.4 version:
pmoore@Peters-MacBook-Pro:~/git/spectrum4 main $ uname -a
Darwin Peters-MacBook-Pro.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $ git rev-parse HEAD
97b7feec139bb28ff8eb951e18c954deed2cc571
No local changes:
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $ git status
On branch main
Your branch is up to date with 'origin/main'.
nothing to commit, working tree clean
tup version (built with bootstrap.sh from revision b037d4b211de6025703b77c3287b76159656ef22):
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $ tup --version
tup v0.7.11-89-gb037d4b2
Internal error:
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $ tup
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.006s] Reading in new environment variables...
[ tup ] [0.007s] No Tupfiles to parse.
[ tup ] [0.007s] No files to delete.
[ tup ] [0.017s] Executing Commands...
* 1518) utils/tzx-code-loader: go build -o tzx-code-loader
*** tup messages ***
tup internal error: create_ignored_file() didn't get a final pel pointer for file: /home/pmoore/git/spectrum4/.git/index
tup error: Failed to create ignored file. The filename '/home/pmoore/git/spectrum4/.git/index' matched an exclusion pattern: ^/.git/.*
*** Command failed due to errors processing the output dependencies.
* 1517) utils/asm-format: go build -o asm-format
*** tup messages ***
tup internal error: create_ignored_file() didn't get a final pel pointer for file: /home/pmoore/git/spectrum4/.git/index
tup error: Failed to create ignored file. The filename '/home/pmoore/git/spectrum4/.git/index' matched an exclusion pattern: ^//.git/.*
tup error: Missing input dependency - a file was read from, and was not specified as an input link for the command. This is an issue because the file was created from another command, and without the input link the commands may execute out of order. You should add this file as an input, since it is possible this could randomly break in the future.
- [271] src/spectrum128k/roms/rom0.o
- [273] src/spectrum128k/roms/rom1.o
- [279] src/spectrum128k/roms/rom0.symbols
- [281] src/spectrum128k/roms/rom1.symbols
- [283] src/spectrum128k/roms/rom1.elf
- [285] src/spectrum128k/roms/rom0.elf
- [287] src/spectrum128k/roms/rom1.img
- [289] src/spectrum128k/roms/rom0.img
- [347] src/spectrum128k/tests/runtests.o
- [1491] src/spectrum4/roms/rom0_full.gen-s
- [1492] src/spectrum4/roms/rom1_full.gen-s
- [2064] src/spectrum4/firmware/LICENCE.broadcom
- [2065] src/spectrum4/firmware/bootcode.bin
- [2066] src/spectrum4/firmware/fixup.dat
- [2067] src/spectrum4/firmware/start.elf
- [2192] src/spectrum4/libextra/sysvars.gen-s
*** Command ran successfully, but failed due to errors processing both the input and output dependencies.
[ ETA~=5m Remaining=1517 Active=0 ] 0%
*** tup: 2 jobs failed.
pmoore@DESKTOP-AVNQJIE:~/git/spectrum4 main $
This seems to be a tup internal error, rather than just bad Tupfile etc.
I'm hitting this on both WSL 2 (Ubuntu x86_64) and on macOS 12.4 (arm64). I don't have any other platforms to test on.
WSL 2 version:
macOS 12.4 version:
Repo:
Revision:
No local changes:
tup version (built with bootstrap.sh from revision b037d4b211de6025703b77c3287b76159656ef22):
Internal error: