Weird BUILD ERROR starting this morning!

I can’t seem to get any builds done this morning, and I’ve tried multiple projects.  The Corona build server keeps complaining of 

BUILD ERROR: cannot open <xxxxxxx>.lua: No such file or directory

 

Where <xxxxxxx>.lua are different files that once existed in my project, but have been long deleted. It’s almost as if the Corona build servers are remembering old files from the past and for some reason complaining about the fact that they no longer exist.

 

Ok I think I figured it out.  Looks like Corona changed how it handles symoblic links in my project folder that no longer point to valid files. Once I removed the defunct symbolic links from my project directory, Corona stopped complaining.

Well, the build doesn’t abort anymore, but my apps all crash immediately on startup on real devices.

Corona, I suspect that something changed in the last day or two where symbolic links in my projects no longer work.  This is a big problem, since I use symbolic links heavily in my projects for code sharing cleanliness among multiple projects.

Can someone from Corona look into what happened with symbolic links? I’m building on a Mac.

Can you give me more info about how you are using symlinks? Also what version(s) of the simulator are you using?

Something definitely changed with how Corona handles symbolic links, and while it was the cause of the BUILD ERROR, I don’t think now that it was the cause of crashing.

The cause of the crashing is that I was overriding the function, table.concat(), which in the simulator is fine, but on a real android device it crashes hard.

seanh, to answer your question: I have many corona projects (e.g. game1, game2, game3, … game8), that share core code, fonts, images and sounds.  For instance, I have a lua file called _utils.lua that I use in all my games.  Whenever I make a change to _utils.lua, I really don’t want to have to replicate that change to all 8 of my game folders, so instead, I have a separate folder called corona_shared that houses _utils.lua and other shared resources.  Then, each of my game folders contains a symlink to _utils.lua rather than their own copies of _utils.lua.

The BUILD_ERROR was happening because I had deleted some files from corona_shared, but had not deleted the symlinks in the games folders.  Before, this was not an issue. Today, it was, and had to delete the old symlinks.

What version(s) of the simulator are you using?

Right now I’m using 2340 but the BUILD ERROR I believe happened with both 2340 and 2345

Please tell us what was the build number before it stopped working so we can hunt down the change.

Thanks,

Tom

Update: I just created a simple project using symlinks using build 2346 and it’s working fine. I added both images and lua files using symlinks and did a build for iOS.

Ok I think I figured it out.  Looks like Corona changed how it handles symoblic links in my project folder that no longer point to valid files. Once I removed the defunct symbolic links from my project directory, Corona stopped complaining.

Well, the build doesn’t abort anymore, but my apps all crash immediately on startup on real devices.

Corona, I suspect that something changed in the last day or two where symbolic links in my projects no longer work.  This is a big problem, since I use symbolic links heavily in my projects for code sharing cleanliness among multiple projects.

Can someone from Corona look into what happened with symbolic links? I’m building on a Mac.

Can you give me more info about how you are using symlinks? Also what version(s) of the simulator are you using?

Something definitely changed with how Corona handles symbolic links, and while it was the cause of the BUILD ERROR, I don’t think now that it was the cause of crashing.

The cause of the crashing is that I was overriding the function, table.concat(), which in the simulator is fine, but on a real android device it crashes hard.

seanh, to answer your question: I have many corona projects (e.g. game1, game2, game3, … game8), that share core code, fonts, images and sounds.  For instance, I have a lua file called _utils.lua that I use in all my games.  Whenever I make a change to _utils.lua, I really don’t want to have to replicate that change to all 8 of my game folders, so instead, I have a separate folder called corona_shared that houses _utils.lua and other shared resources.  Then, each of my game folders contains a symlink to _utils.lua rather than their own copies of _utils.lua.

The BUILD_ERROR was happening because I had deleted some files from corona_shared, but had not deleted the symlinks in the games folders.  Before, this was not an issue. Today, it was, and had to delete the old symlinks.

What version(s) of the simulator are you using?

Right now I’m using 2340 but the BUILD ERROR I believe happened with both 2340 and 2345

Please tell us what was the build number before it stopped working so we can hunt down the change.

Thanks,

Tom

Update: I just created a simple project using symlinks using build 2346 and it’s working fine. I added both images and lua files using symlinks and did a build for iOS.