The International Simutrans Forum

 

Author Topic: Makeobj nightly can't compile pak192.comic  (Read 152 times)

0 Members and 1 Guest are viewing this topic.

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 212
  • PAK-DEV P192C
  • Languages: DE, EN
Makeobj nightly can't compile pak192.comic
« on: October 17, 2020, 06:01:42 PM »
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:
Code: [Select]
  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.

Offline ceeac

  • Devotee
  • *
  • Posts: 198
Re: Makeobj nightly can't compile pak192.comic
« Reply #1 on: October 17, 2020, 06:28:06 PM »
When compiling the pak manually, I get:
Code: [Select]
$ ~/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 I made a while back. See also my pak192.comic bug report from last month.

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 212
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Makeobj nightly can't compile pak192.comic
« Reply #2 on: October 17, 2020, 06:53:40 PM »
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

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 212
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Makeobj nightly can't compile pak192.comic
« Reply #3 on: October 17, 2020, 11:38:32 PM »
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?

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4754
  • Languages: EN, DE, AT
Re: Makeobj nightly can't compile pak192.comic
« Reply #4 on: October 18, 2020, 09:28:52 AM »
andarix has also makeobj nightlies in his repo:

https://github.com/Andarix/simutrans/releases

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4754
  • Languages: EN, DE, AT
Re: Makeobj nightly can't compile pak192.comic
« Reply #5 on: October 18, 2020, 09:54:54 AM »
In r9302 line numbers will be reported in these fatal error messages

Offline Flemmbrav

  • Devotee
  • *
  • Posts: 212
  • PAK-DEV P192C
  • Languages: DE, EN
Re: Makeobj nightly can't compile pak192.comic
« Reply #6 on: October 18, 2020, 12:11:10 PM »
Thank you, this helps a lot!

Edit: fixed it, thanks for the help!
« Last Edit: October 18, 2020, 01:17:36 PM by Flemmbrav »