Hey there,
following issue appears since 3 days:
Pak192.comic does not build because some old multi-tile buildings do not compile anymore.
The error we get is:
calculated/pakset/buildings/city/com_5alpine.dat
[] 10%
Error: Makeobj returned an error for calculated/pakset/buildings/city/com_5alpine_2x2.dat. Aborting...
Erroe: Can not compile calculated/pakset/buildings/city/com_5alpine_2x2.dat
The dat in question:
https://github.com/Flemmbrav/Pak192.Comic/blob/master/pakset/buildings/city/com_5alpine_2x2.dat
We did not change the building process nor thee files themselves.
When compiling the pak manually, I get:
$ ~/Projects/code/simutrans/build/default/makeobj/makeobj pak192 foo.pak com_5alpine_2x2.dat
<snip>
FATAL ERROR: tabfile_t::calculate_internal - Invalid reference to parameter $2
Aborting program execution ...
This is most probably due to the makeobj fixes (https://forum.simutrans.com/index.php/topic,20341.0.html) I made a while back. See also my pak192.comic bug report (https://github.com/Flemmbrav/Pak192.Comic/issues/46) from last month.
Thank you, that might be, but the time does not match.
I pinned it down to b from 12 to 14 days ago:
This patch from 12 days ago did not compile:
https://github.com/Flemmbrav/Pak192.Comic/commit/8a61a2dff1b4a9d600e75c8fc51f6898f3147812
This patch from 14 days ago did compile:
https://github.com/Flemmbrav/Pak192.Comic/commit/45f7605591148a50399767a88622e9f83fc3960d
I'll take a look at the mentioned dat and see if it helps regardless.
Also Leartin should read about his Bugs, shaking my head
I tried solving this - sadly I can't accss to a new makobj nightly and github dos not show the exact error.
The same thing seems to happen in multiple dats, and i solved 2 of them already. Sadly, I can't find the next error. Can you help me there somehow?
andarix has also makeobj nightlies in his repo:
https://github.com/Andarix/simutrans/releases
In r9302 line numbers will be reported in these fatal error messages
Thank you, this helps a lot!
Edit: fixed it, thanks for the help!