ID:2553663
 
Resolved
Compilation on Linux was broken.
BYOND Version:513.1516
Operating System:Linux
Web Browser:Chrome 78.0.3904.99
Applies to:Dream Maker
Status: Resolved (513.1517)

This issue has been resolved.
Descriptive Problem Summary:
Compiling filenames with underscores(?) fails in linux. Though... maybe it's not just underscores? It's a little random. I get the sneaking suspicion it's related to http://www.byond.com/forum/post/2547931

Numbered Steps to Reproduce Problem:
Download https://github.com/VOREStation/VOREStation/archive/ master.zip and attempt to compile it in Linux, receive many errors about files being unable to be opened.

Code Snippet (if applicable) to Reproduce Problem:
N/A


Expected Results:
Code compiles!

Actual Results:
Many errors about being unable to open files, 99% of which contain underscores.

Does the problem occur:
Every time? Or how often? Yes
In other games? Yes
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?
513.1514 and prior.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Doesn't happen prior to 513.1515

Workarounds:
Use previous versions
Can you post the exact errors?
Looking back, it's not just underscores. Just all files. Happens that most of them have underscores and it was silencing the error after 100.

vorestation.dme:13:error: unable to open "code/_away_mission_tests.dm".
vorestation.dme:14:error: unable to open "code/_macros.dm".
vorestation.dme:15:error: unable to open "code/_macros_vr.dm".
vorestation.dme:16:error: unable to open "code/_map_tests.dm".
vorestation.dme:17:error: unable to open "code/_unit_tests.dm".
vorestation.dme:18:error: unable to open "code/global.dm".
vorestation.dme:19:error: unable to open "code/global_init.dm".
vorestation.dme:20:error: unable to open "code/global_vr.dm".
vorestation.dme:21:error: unable to open "code/hub.dm".
vorestation.dme:22:error: unable to open "code/names.dm".
vorestation.dme:23:error: unable to open "code/stylesheet.dm".
vorestation.dme:24:error: unable to open "code/world.dm".
vorestation.dme:25:error: unable to open "code/__datastructures/globals.dm".
vorestation.dme:26:error: unable to open "code/__defines/__513_compatibility.dm".
vorestation.dme:27:error: unable to open "code/__defines/_compile_options.dm".
vorestation.dme:28:error: unable to open "code/__defines/_lists.dm".
vorestation.dme:29:error: unable to open "code/__defines/_planes+layers.dm".
vorestation.dme:30:error: unable to open "code/__defines/_planes+layers_vr.dm".
vorestation.dme:31:error: unable to open "code/__defines/_protect.dm".
vorestation.dme:32:error: unable to open "code/__defines/_tick.dm".
vorestation.dme:33:error: unable to open "code/__defines/admin.dm".
vorestation.dme:34:error: unable to open "code/__defines/admin_vr.dm".
vorestation.dme:35:error: unable to open "code/__defines/appearance.dm".
vorestation.dme:36:error: unable to open "code/__defines/atmos.dm".
vorestation.dme:37:error: unable to open "code/__defines/belly_modes_vr.dm".
What's the full path to the project?
/home/travis/VOREStation/VOREStation/VOREStation.dme (and other files are all relative from there)

Don't ask why there's two folders deep there, it's a CI bot in this case, so...
Curious. I'll try to puzzle this out but debugging Linux builds is a pain in the butt.

The change I made involved a call to getcwd(), and that code is different for Windows vs. Linux, but the linux code is basically nothing more than a streamlined version of the old code from before the fix.
Lummox JR resolved issue with message:
Compilation on Linux was broken.