=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/finance/hledger", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for hledger-1.41nb3 Preprocessing library for hledger-1.41... Building library for hledger-1.41... [ 1 of 40] Compiling Hledger.Cli.Anchor ( Hledger/Cli/Anchor.hs, dist/build/Hledger/Cli/Anchor.o, dist/build/Hledger/Cli/Anchor.dyn_o ) : warning: [-Wmissed-extra-shared-lib] ld.so.1: ghc-9.10.1: fatal: libncursesw.so: open failed: No such file or directory It's OK if you don't want to use symbols from it directly. (the package DLL is loaded by the system linker which manages dependencies by itself). [ 2 of 40] Compiling Hledger.Cli.Anon ( Hledger/Cli/Anon.hs, dist/build/Hledger/Cli/Anon.o, dist/build/Hledger/Cli/Anon.dyn_o ) [ 3 of 40] Compiling Hledger.Cli.Conf ( Hledger/Cli/Conf.hs, dist/build/Hledger/Cli/Conf.o, dist/build/Hledger/Cli/Conf.dyn_o ) [ 4 of 40] Compiling Hledger.Cli.DocFiles ( Hledger/Cli/DocFiles.hs, dist/build/Hledger/Cli/DocFiles.o, dist/build/Hledger/Cli/DocFiles.dyn_o ) [ 5 of 40] Compiling Hledger.Cli.Version ( Hledger/Cli/Version.hs, dist/build/Hledger/Cli/Version.o, dist/build/Hledger/Cli/Version.dyn_o ) [ 6 of 40] Compiling Hledger.Cli.CliOptions ( Hledger/Cli/CliOptions.hs, dist/build/Hledger/Cli/CliOptions.o, dist/build/Hledger/Cli/CliOptions.dyn_o ) [ 7 of 40] Compiling Hledger.Cli.Utils ( Hledger/Cli/Utils.hs, dist/build/Hledger/Cli/Utils.o, dist/build/Hledger/Cli/Utils.dyn_o ) [ 8 of 40] Compiling Hledger.Cli.Commands.Tags ( Hledger/Cli/Commands/Tags.hs, dist/build/Hledger/Cli/Commands/Tags.o, dist/build/Hledger/Cli/Commands/Tags.dyn_o ) [ 9 of 40] Compiling Hledger.Cli.Commands.Stats ( Hledger/Cli/Commands/Stats.hs, dist/build/Hledger/Cli/Commands/Stats.o, dist/build/Hledger/Cli/Commands/Stats.dyn_o ) [10 of 40] Compiling Hledger.Cli.Commands.Roi ( Hledger/Cli/Commands/Roi.hs, dist/build/Hledger/Cli/Commands/Roi.o, dist/build/Hledger/Cli/Commands/Roi.dyn_o ) [11 of 40] Compiling Hledger.Cli.Commands.Register ( Hledger/Cli/Commands/Register.hs, dist/build/Hledger/Cli/Commands/Register.o, dist/build/Hledger/Cli/Commands/Register.dyn_o ) [12 of 40] Compiling Hledger.Cli.Commands.Print ( Hledger/Cli/Commands/Print.hs, dist/build/Hledger/Cli/Commands/Print.o, dist/build/Hledger/Cli/Commands/Print.dyn_o ) [13 of 40] Compiling Hledger.Cli.Commands.Rewrite ( Hledger/Cli/Commands/Rewrite.hs, dist/build/Hledger/Cli/Commands/Rewrite.o, dist/build/Hledger/Cli/Commands/Rewrite.dyn_o ) [14 of 40] Compiling Hledger.Cli.Commands.Prices ( Hledger/Cli/Commands/Prices.hs, dist/build/Hledger/Cli/Commands/Prices.o, dist/build/Hledger/Cli/Commands/Prices.dyn_o ) [15 of 40] Compiling Hledger.Cli.Commands.Payees ( Hledger/Cli/Commands/Payees.hs, dist/build/Hledger/Cli/Commands/Payees.o, dist/build/Hledger/Cli/Commands/Payees.dyn_o ) [16 of 40] Compiling Hledger.Cli.Commands.Notes ( Hledger/Cli/Commands/Notes.hs, dist/build/Hledger/Cli/Commands/Notes.o, dist/build/Hledger/Cli/Commands/Notes.dyn_o ) [17 of 40] Compiling Hledger.Cli.Commands.Help ( Hledger/Cli/Commands/Help.hs, dist/build/Hledger/Cli/Commands/Help.o, dist/build/Hledger/Cli/Commands/Help.dyn_o ) [18 of 40] Compiling Hledger.Cli.Commands.Files ( Hledger/Cli/Commands/Files.hs, dist/build/Hledger/Cli/Commands/Files.o, dist/build/Hledger/Cli/Commands/Files.dyn_o ) [19 of 40] Compiling Hledger.Cli.Commands.Diff ( Hledger/Cli/Commands/Diff.hs, dist/build/Hledger/Cli/Commands/Diff.o, dist/build/Hledger/Cli/Commands/Diff.dyn_o ) [20 of 40] Compiling Hledger.Cli.Commands.Descriptions ( Hledger/Cli/Commands/Descriptions.hs, dist/build/Hledger/Cli/Commands/Descriptions.o, dist/build/Hledger/Cli/Commands/Descriptions.dyn_o ) [21 of 40] Compiling Hledger.Cli.Commands.Demo ( Hledger/Cli/Commands/Demo.hs, dist/build/Hledger/Cli/Commands/Demo.o, dist/build/Hledger/Cli/Commands/Demo.dyn_o ) [22 of 40] Compiling Hledger.Cli.Commands.Commodities ( Hledger/Cli/Commands/Commodities.hs, dist/build/Hledger/Cli/Commands/Commodities.o, dist/build/Hledger/Cli/Commands/Commodities.dyn_o ) [23 of 40] Compiling Hledger.Cli.Commands.Codes ( Hledger/Cli/Commands/Codes.hs, dist/build/Hledger/Cli/Commands/Codes.o, dist/build/Hledger/Cli/Commands/Codes.dyn_o ) [24 of 40] Compiling Hledger.Cli.Commands.Close ( Hledger/Cli/Commands/Close.hs, dist/build/Hledger/Cli/Commands/Close.o, dist/build/Hledger/Cli/Commands/Close.dyn_o ) [25 of 40] Compiling Hledger.Cli.Commands.Check ( Hledger/Cli/Commands/Check.hs, dist/build/Hledger/Cli/Commands/Check.o, dist/build/Hledger/Cli/Commands/Check.dyn_o ) [26 of 40] Compiling Hledger.Cli.Commands.Balance ( Hledger/Cli/Commands/Balance.hs, dist/build/Hledger/Cli/Commands/Balance.o, dist/build/Hledger/Cli/Commands/Balance.dyn_o ) Hledger/Cli/Commands/Balance.hs:317:3: error: [GHC-87897] * Exception when trying to run compile-time code: /tmp/work/finance/hledger/work/hledger-1.41/Hledger/Cli/Commands/Balance.txt: hGetContents: invalid argument (cannot decode byte sequence starting from 226) Code: (embedFileRelative "Hledger/Cli/Commands/Balance.txt") * In the untyped splice: $(embedFileRelative "Hledger/Cli/Commands/Balance.txt") | 317 | $(embedFileRelative "Hledger/Cli/Commands/Balance.txt") | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [32 of 40] Compiling Hledger.Cli.Commands.Aregister ( Hledger/Cli/Commands/Aregister.hs, dist/build/Hledger/Cli/Commands/Aregister.o, dist/build/Hledger/Cli/Commands/Aregister.dyn_o ) [33 of 40] Compiling Hledger.Cli.Commands.Add ( Hledger/Cli/Commands/Add.hs, dist/build/Hledger/Cli/Commands/Add.o, dist/build/Hledger/Cli/Commands/Add.dyn_o ) [34 of 40] Compiling Hledger.Cli.Commands.Import ( Hledger/Cli/Commands/Import.hs, dist/build/Hledger/Cli/Commands/Import.o, dist/build/Hledger/Cli/Commands/Import.dyn_o ) [35 of 40] Compiling Hledger.Cli.Commands.Activity ( Hledger/Cli/Commands/Activity.hs, dist/build/Hledger/Cli/Commands/Activity.o, dist/build/Hledger/Cli/Commands/Activity.dyn_o ) [36 of 40] Compiling Hledger.Cli.Commands.Accounts ( Hledger/Cli/Commands/Accounts.hs, dist/build/Hledger/Cli/Commands/Accounts.o, dist/build/Hledger/Cli/Commands/Accounts.dyn_o ) [40 of 40] Compiling Paths_hledger ( dist/build/autogen/Paths_hledger.hs, dist/build/Paths_hledger.o, dist/build/Paths_hledger.dyn_o ) *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/finance/hledger *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/finance/hledger