Build profile: -w ghc-9.2.2 -O1 In order, the following will be built (use -v for more details): - hs-rrd-0.1.0.0 (lib) (file src/RRDTool/LowLevel.hsc changed) - hs-rrd-0.1.0.0 (test:hs-rrd-test) (dependency rebuilt) Preprocessing library for hs-rrd-0.1.0.0.. Building library for hs-rrd-0.1.0.0.. [2 of 2] Compiling RRDTool.LowLevel ( /home/vince/thomasbach-dev/toying/hs-rrd/main/dist-newstyle/build/x86_64-linux/ghc-9.2.2/hs-rrd-0.1.0.0/build/RRDTool/LowLevel.hs, /home/vince/thomasbach-dev/toying/hs-rrd/main/dist-newstyle/build/x86_64-linux/ghc-9.2.2/hs-rrd-0.1.0.0/build/RRDTool/LowLevel.o, /home/vince/thomasbach-dev/toying/hs-rrd/main/dist-newstyle/build/x86_64-linux/ghc-9.2.2/hs-rrd-0.1.0.0/build/RRDTool/LowLevel.dyn_o ) /run/user/1000/ghc1168424_0/ghc_3.c: In function ‘ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2’: /run/user/1000/ghc1168424_0/ghc_3.c:24:220: error: warning: passing argument 5 of ‘rrd_create_r2’ from incompatible pointer type [-Wincompatible-pointer-types] 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^~ | | | char ** | 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_3.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:251:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 251 | const char **sources, | ~~~~~~~~~~~~~^~~~~~~ | 251 | const char **sources, | ^ /run/user/1000/ghc1168424_0/ghc_3.c:24:232: error: warning: passing argument 8 of ‘rrd_create_r2’ from incompatible pointer type [-Wincompatible-pointer-types] 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^~ | | | char ** | 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_3.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:254:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 254 | const char **argv); | ~~~~~~~~~~~~~^~~~ | 254 | const char **argv); | ^ /run/user/1000/ghc1168424_0/ghc_3.c: In function ‘ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur’: /run/user/1000/ghc1168424_0/ghc_3.c:26:185: error: warning: passing argument 5 of ‘rrd_create_r’ from incompatible pointer type [-Wincompatible-pointer-types] 26 | HsInt32 ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5) {return rrd_create_r(a1, a2, a3, a4, a5);} | ^~ | | | char ** | 26 | HsInt32 ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5) {return rrd_create_r(a1, a2, a3, a4, a5);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_3.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:245:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 245 | const char **argv); | ~~~~~~~~~~~~~^~~~ | 245 | const char **argv); | ^ /run/user/1000/ghc1168424_0/ghc_10.c: In function ‘ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2’: /run/user/1000/ghc1168424_0/ghc_10.c:24:220: error: warning: passing argument 5 of ‘rrd_create_r2’ from incompatible pointer type [-Wincompatible-pointer-types] 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^~ | | | char ** | 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_10.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:251:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 251 | const char **sources, | ~~~~~~~~~~~~~^~~~~~~ | 251 | const char **sources, | ^ /run/user/1000/ghc1168424_0/ghc_10.c:24:232: error: warning: passing argument 8 of ‘rrd_create_r2’ from incompatible pointer type [-Wincompatible-pointer-types] 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^~ | | | char ** | 24 | HsInt32 ghczuwrapperZC7ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur2(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5, char* a6, HsInt32 a7, char** a8) {return rrd_create_r2(a1, a2, a3, a4, a5, a6, a7, a8);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_10.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:254:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 254 | const char **argv); | ~~~~~~~~~~~~~^~~~ | 254 | const char **argv); | ^ /run/user/1000/ghc1168424_0/ghc_10.c: In function ‘ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur’: /run/user/1000/ghc1168424_0/ghc_10.c:26:185: error: warning: passing argument 5 of ‘rrd_create_r’ from incompatible pointer type [-Wincompatible-pointer-types] 26 | HsInt32 ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5) {return rrd_create_r(a1, a2, a3, a4, a5);} | ^~ | | | char ** | 26 | HsInt32 ghczuwrapperZC8ZChszmrrdzm0zi1zi0zi0zminplaceZCRRDToolziLowLevelZCrrdzucreatezur(char* a1, HsWord64 a2, HsInt64 a3, HsInt32 a4, char** a5) {return rrd_create_r(a1, a2, a3, a4, a5);} | ^ In file included from /run/user/1000/ghc1168424_0/ghc_10.c:7:0: error: /nix/store/mzdysrsnxgdzvpnfj307jy2x7m964gg5-rrdtool-1.7.2/include/rrd.h:245:18: error: note: expected ‘const char **’ but argument is of type ‘char **’ 245 | const char **argv); | ~~~~~~~~~~~~~^~~~ | 245 | const char **argv); | ^ Preprocessing test suite 'hs-rrd-test' for hs-rrd-0.1.0.0.. Building test suite 'hs-rrd-test' for hs-rrd-0.1.0.0.. [1 of 2] Compiling RRDTool.LowLevelSpec ( test/RRDTool/LowLevelSpec.hs, /home/vince/thomasbach-dev/toying/hs-rrd/main/dist-newstyle/build/x86_64-linux/ghc-9.2.2/hs-rrd-0.1.0.0/t/hs-rrd-test/build/hs-rrd-test/hs-rrd-test-tmp/RRDTool/LowLevelSpec.o ) [RRDTool.LowLevel changed] Linking /home/vince/thomasbach-dev/toying/hs-rrd/main/dist-newstyle/build/x86_64-linux/ghc-9.2.2/hs-rrd-0.1.0.0/t/hs-rrd-test/build/hs-rrd-test/hs-rrd-test ...