-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for autobuild folder renaming, or warn that custom name is not supported, custom folder name is not working for me #288
Comments
This looks like the issue with the path length that mustn't exceed 30 characters in total (because Windows has a hard-coded total path length of 260 characters and this seems to get exceeded for some files when base path > 30 chars). autobuild-ccpu-chk.cmd has the following line in it:
You can try to change 30 to 29 and see if it then build correctly. Maybe a off-by-1 bug when I counted the maximum character count allowed. |
My patch was longer for sure than 30 characters, because im trying to name directories as descriptive as i can. I saw some new drive during compilation, but it probably was not exactly 30, but abit longer. It seems that some return step form that new virtual drive back Windows is not working or keep all neded data. Im also unsure about path lenght, if building scripts are using Windows path addition, its still limited to prehistoric 2048 characters, i constantly struggle with this limit. Not big improvent form DOS 6.22 and DOS 256 letters. There is some PATHEXT on my machine now its maybe some workaround extension. Maybe this could be problem, i triend to add autobuild directory into path, but i still had this problem. |
I tried compiling with path d:\Navypal\autobuildSomethingOnAVeryLongPath |
I have idea and i simulated it now, its not that simple as it can look. First of all im unsure, what compiling console coloring means, because my console is turned red during compilation, if it would be error report, i dont understand why its still continue and at the end its turning greet and there is sucessfull message. And console keeps to be green / red, BTW after its closed, some clean up at the end would be nice. Here is possitive log with autobuild directory name and negative with long directory, at ends which these: Im sorry i need to install some better console up this once has to enough long memory, i tried to find some log, but main readme is silent, so far im using just this and seem that there max 9999 lines possibility to save. i found only info about logging when it is already installed. Im using this console. Where is the problem i have idea:
I will try next run with Antivirus off. I already dit it, but i discovered that realtime protection is on again after restart, could was off and i still was getting some missing c errors, even without any antivirus popups. I also have cmder on and added Powershell 1.0 to path and renamed Power shell 7 to powershell.exe, i did not see powershell errors during compiling, but saw powershell not found during installation.. BTW i see some PowerPC part its for some emulation for running some old Window NT PowerPC programs? |
New log with antivirus fully turned off and long path, its still failing, so its not antivirus thing.. |
I found out that on my machine is NTVDMx64 properly compiled only if folder is named autobuild, when i rename it im getting near to end errors what some path w\NTOSBE-master not found, file does not exists etc..
Files like ssizle.cmd and ofter are not found, they exists in NTOSBE-master are not found.
Whole path is D:\Navypal\autobuildSomething\w\NTOSBE-master
Path D:\Navypal\autobuild\w\NTOSBE-master is working fine.
I have tried to add D:\Navypal\autobuildSomething to WIndows PATH variable, its does not fix it.
I used just normal english characters, nothing fancy.
It seems that issue just with copping already compiled files.
I seems that some more robust parser / file finder is needed. Before i got Warning that "-" character is withing the path, so i removed it too, but does not fixed the problem. Maybe you just need to use "path" logic to ensure than path is used correctly.
Im also not sure that read console background means, if its indicator of some error or not, because its red during compilation, but at the end, it can sometimes turn to green, maybe its only.
There is also file already exists issues, it would make sense to clean target directories et the start or rename old release directory.
The text was updated successfully, but these errors were encountered: