astrolog-7.70
Build started
→ unpackPhase
unpacking source archive /nix/store/nv6jqabwqcbwvj60rdji260a0kjnsigs-source
source root is source
→ patchPhase
substituteStream() in derivation astrolog-x86_64-unknown-linux-gnufilc0-7.70: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'Makefile')substituteStream() in derivation astrolog-x86_64-unknown-linux-gnufilc0-7.70: WARNING: pattern strip doesn't match anything in file 'Makefile'
→ updateAutotoolsGnuConfigScriptsPhase
→ updateAutotoolsGnuConfigScriptsPhase
→ configurePhase
no configure script, doing nothing
→ buildPhase
build flags: SHELL=/nix/store/cfqbabpc7xwg8akbcchqbq3cai6qq2vs-bash-5.2p37/bin/bash
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o astrolog.o astrolog.cpp
astrolog.cpp:1750:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1750 | if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y'))
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
astrolog.cpp:1750:13: note: place parentheses around the assignment to silence this warning
1750 | if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y'))
| ^
| ( )
astrolog.cpp:1750:13: note: use '==' to turn this assignment into an equality comparison
1750 | if (i = (ch1 == 'd') + 2*(ch1 == 'm') + 3*(ch1 == 'y') + 4*(ch1 == 'Y'))
| ^
| ==
astrolog.cpp:3110:23: warning: self-comparison always evaluates to false [-Wtautological-compare]
3110 | if (szLifeArea[i] != szLifeArea[i])
| ^
2 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o atlas.o atlas.cpp
atlas.cpp:1495:50: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1495 | for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++)
| ~~~~~~^~~~~~~
atlas.cpp:1495:50: note: place parentheses around the assignment to silence this warning
1495 | for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++)
| ^
| ( )
atlas.cpp:1495:50: note: use '==' to turn this assignment into an equality comparison
1495 | for (pch1 = szCity, pch2 = (char *)szIn; *pch1 = *pch2; pch1++, pch2++)
| ^
| ==
1 warning generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o calc.o calc.cpp
calc.cpp:1994:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
1994 | } else if (fFlip ? x < y : x > y) {| ^
calc.cpp:2043:9: warning: add explicit braces to avoid dangling else [-Wdangling-else]
2043 | } else {| ^
calc.cpp:2954:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2954 | for (pch = sz; *pch = pch[1]; pch++)
| ~~~~~^~~~~~~~
calc.cpp:2954:27: note: place parentheses around the assignment to silence this warning
2954 | for (pch = sz; *pch = pch[1]; pch++)
| ^
| ( )
calc.cpp:2954:27: note: use '==' to turn this assignment into an equality comparison
2954 | for (pch = sz; *pch = pch[1]; pch++)
| ^
| ==
calc.cpp:3057:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
3057 | while (*pch = pch[2])
| ~~~~~^~~~~~~~
calc.cpp:3057:19: note: place parentheses around the assignment to silence this warning
3057 | while (*pch = pch[2])
| ^
| ( )
calc.cpp:3057:19: note: use '==' to turn this assignment into an equality comparison
3057 | while (*pch = pch[2])
| ^
| ==
4 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o charts0.o charts0.cpp
charts0.cpp:212:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
212 | while (ch = *sz) {| ~~~^~~~~
charts0.cpp:212:13: note: place parentheses around the assignment to silence this warning
212 | while (ch = *sz) {| ^
| ( )
charts0.cpp:212:13: note: use '==' to turn this assignment into an equality comparison
212 | while (ch = *sz) {| ^
| ==
1 warning generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o charts1.o charts1.cpp
charts1.cpp:1891:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1891 | for (j = 1; sz[j] = sz[j+11]; j++)
| ~~~~~~^~~~~~~~~~
charts1.cpp:1891:27: note: place parentheses around the assignment to silence this warning
1891 | for (j = 1; sz[j] = sz[j+11]; j++)
| ^
| ( )
charts1.cpp:1891:27: note: use '==' to turn this assignment into an equality comparison
1891 | for (j = 1; sz[j] = sz[j+11]; j++)
| ^
| ==
1 warning generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o charts2.o charts2.cpp
charts2.cpp:251:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
251 | if (k = grid->n[i][j]) {| ~~^~~~~~~~~~~~~~~
charts2.cpp:251:15: note: place parentheses around the assignment to silence this warning
251 | if (k = grid->n[i][j]) {| ^
| ( )
charts2.cpp:251:15: note: use '==' to turn this assignment into an equality comparison
251 | if (k = grid->n[i][j]) {| ^
| ==
charts2.cpp:990:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
990 | if (us.fProgress = fProg) {| ~~~~~~~~~~~~~^~~~~~~
charts2.cpp:990:20: note: place parentheses around the assignment to silence this warning
990 | if (us.fProgress = fProg) {| ^
| ( )
charts2.cpp:990:20: note: use '==' to turn this assignment into an equality comparison
990 | if (us.fProgress = fProg) {| ^
| ==
charts2.cpp:1241:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1241 | for (j = 1; sz[j] = sz[j+11]; j++)
| ~~~~~~^~~~~~~~~~
charts2.cpp:1241:27: note: place parentheses around the assignment to silence this warning
1241 | for (j = 1; sz[j] = sz[j+11]; j++)
| ^
| ( )
charts2.cpp:1241:27: note: use '==' to turn this assignment into an equality comparison
1241 | for (j = 1; sz[j] = sz[j+11]; j++)
| ^
| ==
3 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o charts3.o charts3.cpp
charts3.cpp:752:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
752 | if (us.fProgress = fProg) {| ~~~~~~~~~~~~~^~~~~~~
charts3.cpp:752:22: note: place parentheses around the assignment to silence this warning
752 | if (us.fProgress = fProg) {| ^
| ( )
charts3.cpp:752:22: note: use '==' to turn this assignment into an equality comparison
752 | if (us.fProgress = fProg) {| ^
| ==
charts3.cpp:1148:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1148 | if (us.fProgress = fProg) {| ~~~~~~~~~~~~~^~~~~~~
charts3.cpp:1148:22: note: place parentheses around the assignment to silence this warning
1148 | if (us.fProgress = fProg) {| ^
| ( )
charts3.cpp:1148:22: note: use '==' to turn this assignment into an equality comparison
1148 | if (us.fProgress = fProg) {| ^
| ==
2 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o data.o data.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o express.o express.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o general.o general.cpp
general.cpp:1560:28: warning: format specifies type 'unsigned int' but the argument has type 'dword' (aka 'unsigned long') [-Wformat]
1560 | sprintf(sz, "#%06x", Rgb(RgbB(kv), RgbG(kv), RgbR(kv)));
| ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| %06lx
./astrolog.h:1148:3: note: expanded from macro 'Rgb'
1148 | (((dword)(bR)) | ((dword)(bG)<<8) | ((dword)(bB)<<16))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
general.cpp:1650:7: warning: 'sprintf' will always overflow; destination buffer has size 12, but format string expands to at least 14 [-Wformat-overflow]
1650 | sprintf(szZod, "%11.11f", deg);
| ^
general.cpp:1838:5: warning: 'sprintf' will always overflow; destination buffer has size 11, but format string expands to at least 12 [-Wformat-overflow]
1838 | sprintf(szTim, "%02d:%02d:%02d %cM",
| ^
3 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o intrpret.o intrpret.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o io.o io.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o matrix.o matrix.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o placalc.o placalc.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o placalc2.o placalc2.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xdata.o xdata.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xgeneral.o xgeneral.cpp
xgeneral.cpp:1778:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1778 | while (chCmd = ChCap(*sz)) {| ~~~~~~^~~~~~~~~~~~
xgeneral.cpp:1778:16: note: place parentheses around the assignment to silence this warning
1778 | while (chCmd = ChCap(*sz)) {| ^
| ( )
xgeneral.cpp:1778:16: note: use '==' to turn this assignment into an equality comparison
1778 | while (chCmd = ChCap(*sz)) {| ^
| ==
xgeneral.cpp:1783:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1783 | if (fBlank = (chCmd == 'B')) {| ~~~~~~~^~~~~~~~~~~~~~~~
xgeneral.cpp:1783:16: note: place parentheses around the assignment to silence this warning
1783 | if (fBlank = (chCmd == 'B')) {| ^
| ( )
xgeneral.cpp:1783:16: note: use '==' to turn this assignment into an equality comparison
1783 | if (fBlank = (chCmd == 'B')) {| ^
| ==
xgeneral.cpp:1790:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
1790 | if (fNoupdate = (chCmd == 'N')) {| ~~~~~~~~~~^~~~~~~~~~~~~~~~
xgeneral.cpp:1790:19: note: place parentheses around the assignment to silence this warning
1790 | if (fNoupdate = (chCmd == 'N')) {| ^
| ( )
xgeneral.cpp:1790:19: note: use '==' to turn this assignment into an equality comparison
1790 | if (fNoupdate = (chCmd == 'N')) {| ^
| ==
3 warnings generated.
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xdevice.o xdevice.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xcharts0.o xcharts0.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xcharts1.o xcharts1.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xcharts2.o xcharts2.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o xscreen.o xscreen.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swecl.o swecl.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swedate.o swedate.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swehouse.o swehouse.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swejpl.o swejpl.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swemmoon.o swemmoon.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swemplan.o swemplan.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o sweph.o sweph.cpp
clang++ -O -Wno-write-strings -Wno-narrowing -Wno-comment -c -o swephlib.o swephlib.cpp
clang -o astrolog astrolog.o atlas.o calc.o charts0.o charts1.o charts2.o charts3.o data.o express.o general.o intrpret.o io.o matrix.o placalc.o placalc2.o xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o swecl.o swedate.o swehouse.o swejpl.o swemmoon.o swemplan.o sweph.o swephlib.o -lm -lX11 -ldl -s
buildPhase completed in 38 seconds
→ installPhase
→ fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/kl8nfy14fd8lsn45mq9wvshz5ficbkxs-astrolog-x86_64-unknown-linux-gnufilc0-7.70
shrinking /nix/store/kl8nfy14fd8lsn45mq9wvshz5ficbkxs-astrolog-x86_64-unknown-linux-gnufilc0-7.70/bin/astrolog
checking for references to /build/ in /nix/store/kl8nfy14fd8lsn45mq9wvshz5ficbkxs-astrolog-x86_64-unknown-linux-gnufilc0-7.70...
patching script interpreter paths in /nix/store/kl8nfy14fd8lsn45mq9wvshz5ficbkxs-astrolog-x86_64-unknown-linux-gnufilc0-7.70
stripping (with command strip and flags -S -p) in /nix/store/kl8nfy14fd8lsn45mq9wvshz5ficbkxs-astrolog-x86_64-unknown-linux-gnufilc0-7.70/bin
astroterm-1.0.7
error: Cannot build '/nix/store/ilvc0kmqd21df6yljcn1y8i4mw76465g-astroterm-x86_64-unknown-linux-gnufilc0-1.0.7.drv'.
Reason: builder failed with exit code 1.
Output paths:
/nix/store/7441p6xd4nip0szicaadlspvyhhmbqw3-astroterm-x86_64-unknown-linux-gnufilc0-1.0.7
Last 25 log lines:
> 8 Tests 4 Failures 0 Ignored
> FAIL
> stderr:
> Mismatch at row 0: " ~U @ " != "? "
> Mismatch at row 0: " " != " ?-"
> Mismatch at row 0: " ~T~B " != " | "
> Mismatch at row 5: " " != "-----------"
>
>
> 5/7 city_test OK 0.06s
> 6/7 core_test OK 0.10s
> 7/7 stopwatch_test OK 0.51s
>
> Summary of Failures:
>
> 4/7 drawing_test FAIL 0.02s exit status 4
>
> Ok: 6
> Expected Fail: 0
> Fail: 1
> Unexpected Pass: 0
> Skipped: 0
> Timeout: 0
>
> Full log written to /build/source/build/meson-logs/testlog.txt
For full logs, run:
nix log /nix/store/ilvc0kmqd21df6yljcn1y8i4mw76465g-astroterm-x86_64-unknown-linux-gnufilc0-1.0.7.drvEnd of log