Le dimanche 19 septembre 2021 à 21:11 +0200, Maxime Devos a écrit : > I found a use of "config.txt" ( > https://forum.minetest.net/viewtopic.php?t=2290), > "settingstypes.txt" ( > https://github.com/NathanSalapat/more_fire/blob/master/settingtypes.txt > ) > and another "_config.txt" ( > https://forum.minetest.net/viewtopic.php?t=25275). > > "settingstypes.txt" is already in mod-install-plan (guix build > minetest-build-system). > I suppose you can add "config.txt" and "_config.txt" as well. OK. > Vivien Kraus schreef op zo 19-09-2021 om 20:59 [+0200]: > > Le dimanche 19 septembre 2021 à 20:54 +0200, Vivien Kraus a écrit : > > > I forgot to say, I could not figure out why the package did not > > > build, > > > because the check phase in the minetest build system stops after > the > > > first error line of output, which only stated that there was a > > > problem > > > with init.lua. I had to disable the error line detection in the > build > > > system implementation to know it was a problem with this file. > So, I > > > figured out that what we need to do is gather all error lines, > until > > > either the server stops or starts despite the error, and fail > only > > > then. > > > > > > I prefer the exceptions API because it can handle multiple lines > of > > > errors while displaying them cleanly (unlike the error function, > that > > > displays an ugly ~a and prints the arguments on 1 line). But, > it’s > > > only > > > for the "new" guile 3.0. > > This modified error reporting seems reasonable to me, but I haven't > tested > it. I link my output without 0001 (fail at first error line) nor 0002 (fail because of _config.txt): the build fails without a mention of _config.txt; and my output just without 0002: the build fails more nicely. Also, all other packages returned by "guix search minetest" still build successfully. Vivien