News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

Action Automated Tests r11588

Started by Andarix, January 10, 2025, 06:35:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andarix

https://github.com/simutrans/simutrans/actions/runs/12709483652/job/35428578089

Quote2025-01-10T12:29:51.4386871Z 00:00:04 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior src/simutrans/obj/leitung2.cc:566:37
2025-01-10T12:29:52.9592564Z Process crashed (test failed)

ceeac

#1
Looks like the new version of pak64 does not include an object named "PowerSource".

EDIT: Found the cause: The rules for the pak files in the pak64 Makefile need to have a dependency on the copy target because the copy target deletes the directory that contains the pak files. If the pak file is generated before update_externals.sh finishes, the pak file is removed.

prissi

#2
I see. But I found no way to make sure that copy is executed before everything. Even specifying
$(DIRS64): copy
Does not do the trick. Nothing seems to work properly with make -j 4 for instance.