Alpha 5 - Local Compilation Error


#1

Installed the new A5 build and got the following local compilation error on a totally new project (no code) for a Xenon on 0.8.0-rc.25. Workspace settings and environment audit below.

> Executing task in folder HelloWorld: make -f 'C:\Users\Joey Gennari\.particle\toolchains\buildscripts\1.0.1\Makefile' compile-user <

cd "C:/Users/Joey Gennari/.particle/toolchains/deviceOS/0.8.0-rc.25/firmware-0.8.0-rc.25/main" && make all
make[1]: Entering directory '/cygdrive/c/Users/Joey Gennari/.particle/toolchains/deviceOS/0.8.0-rc.25/firmware-0.8.0-rc.25/main'
make -C ../modules/xenon/user-part all
make[2]: Entering directory '/cygdrive/c/Users/Joey Gennari/.particle/toolchains/deviceOS/0.8.0-rc.25/firmware-0.8.0-rc.25/modules/xenon/user-part'
make[2]: *** /cygdrive/c/Users: Is a directory.  Stop.
make[2]: Leaving directory '/cygdrive/c/Users/Joey Gennari/.particle/toolchains/deviceOS/0.8.0-rc.25/firmware-0.8.0-rc.25/modules/xenon/user-part'
make[1]: *** [../build/recurse.mk:12: modules/xenon/user-part] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/Joey Gennari/.particle/toolchains/deviceOS/0.8.0-rc.25/firmware-0.8.0-rc.25/main'
make: *** [C:\Users\Joey Gennari\.particle\toolchains\buildscripts\1.0.1\Makefile:35: compile-user] Error 2
The terminal process terminated with exit code: 2

Press any key to close the terminal.

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245

{
    "username": "jgennari@gmail.com",
    "workspace": {
        "name": "HelloWorld (Workspace)",
        "isWorkspace": true,
        "configFile": "HelloWorld.code-workspace",
        "root": "c:\\Users\\Joey Gennari\\Desktop\\Particle\\HelloWorld",
        "files": [
            ".vscode",
            ".vscode\\launch.json",
            ".vscode\\settings.json",
            "HelloWorld.code-workspace",
            "project.properties",
            "README.md",
            "src",
            "src\\HelloWorld.ino",
            "xenon_firmware_1544094062586.bin"
        ]
    },
    "vscode": {
        "appName": "Visual Studio Code",
        "appRoot": "c:\\Users\\Joey Gennari\\AppData\\Local\\Programs\\Microsoft VS Code\\resources\\app",
        "machineId": "d60e1ad51182be8a7f322f3a29b5cccc577eb3dc402c12ef6c7b1a2715780f45",
        "sessionId": "1159a670-cc4d-4ded-bc33-8db83c6c89141544093496338",
        "version": "1.29.1"
    },
    "cli": {
        "binpath": "C:\\Users\\Joey Gennari\\.vscode\\extensions\\particle.particle-vscode-core-1.0.0-alpha.5\\src\\cli\\bin\\windows\\amd64\\particle.exe",
        "ok": true,
        "version": "1.35.2"
    },
    "localCompiler": {
        "dependencies": [
            "deviceOS@0.8.0-rc.25",
            "gcc-arm@5.3.1",
            "buildtools@1.0.1",
            "buildscripts@1.0.1",
            "deviceOS@0.7.0",
            "buildscripts@1.0.0"
        ]
    },
    "platform": {
        "os": "windows",
        "type": "Windows_NT",
        "release": "10.0.17134",
        "arch": "x64",
        "path": {
            "key": "Path",
            "value": "C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Users\\Joey Gennari\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Bin;C:\\Users\\Joey Gennari\\AppData\\Local\\particledev\\bin;C:\\Users\\Joey Gennari\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Joey Gennari\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Joey Gennari\\AppData\\Roaming\\npm"
        },
        "homeDir": "C:\\Users\\Joey Gennari",
        "particleDir": "C:\\Users\\Joey Gennari\\.particle",
        "localCompilerToolchainDir": "C:\\Users\\Joey Gennari\\.particle\\toolchains"
    },
    "env": {
        "ADSK_CLM_WPAD_PROXY_CHECK": "FALSE",
        "ALLUSERSPROFILE": "C:\\ProgramData",
        "AMD_ENTRYPOINT": "vs/workbench/node/extensionHostProcess",
        "APPDATA": "C:\\Users\\Joey Gennari\\AppData\\Roaming",
        "APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
        "CARBON_MEM_DISABLE": "1",
        "CommonProgramFiles": "C:\\Program Files\\Common Files",
        "CommonProgramFiles(x86)": "C:\\Program Files (x86)\\Common Files",
        "CommonProgramW6432": "C:\\Program Files\\Common Files",
        "COMPUTERNAME": "DESKTOP-QNDVA34",
        "ComSpec": "C:\\WINDOWS\\system32\\cmd.exe",
        "DriverData": "C:\\Windows\\System32\\Drivers\\DriverData",
        "ELECTRON_RUN_AS_NODE": "1",
        "FPS_BROWSER_APP_PROFILE_STRING": "Internet Explorer",
        "FPS_BROWSER_USER_PROFILE_STRING": "Default",
        "FSHARPINSTALLDIR": "C:\\Program Files (x86)\\Microsoft SDKs\\F#\\4.1\\Framework\\v4.0\\",
        "GOOGLE_API_KEY": "AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q",
        "HOMEDRIVE": "C:",
        "HOMEPATH": "\\Users\\Joey Gennari",
        "LOCALAPPDATA": "C:\\Users\\Joey Gennari\\AppData\\Local",
        "LOGONSERVER": "\\\\DESKTOP-QNDVA34",
        "NUMBER_OF_PROCESSORS": "4",
        "OneDrive": "C:\\Users\\Joey Gennari\\OneDrive",
        "OS": "Windows_NT",
        "Path": "C:\\ProgramData\\DockerDesktop\\version-bin;C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\dotnet\\;C:\\Program Files\\Git\\cmd;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\nodejs\\;C:\\Users\\Joey Gennari\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Bin;C:\\Users\\Joey Gennari\\AppData\\Local\\particledev\\bin;C:\\Users\\Joey Gennari\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\Joey Gennari\\AppData\\Local\\Programs\\Microsoft VS Code\\bin;C:\\Users\\Joey Gennari\\AppData\\Roaming\\npm",
        "PATHEXT": ".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC",
        "PIPE_LOGGING": "true",
        "PROCESSOR_ARCHITECTURE": "AMD64",
        "PROCESSOR_IDENTIFIER": "Intel64 Family 6 Model 60 Stepping 3, GenuineIntel",
        "PROCESSOR_LEVEL": "6",
        "PROCESSOR_REVISION": "3c03",
        "ProgramData": "C:\\ProgramData",
        "ProgramFiles": "C:\\Program Files",
        "ProgramFiles(x86)": "C:\\Program Files (x86)",
        "ProgramW6432": "C:\\Program Files",
        "PSModulePath": "%ProgramFiles%\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ResourceManager\\AzureResourceManager\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ServiceManagement\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\Storage\\",
        "PUBLIC": "C:\\Users\\Public",
        "SystemDrive": "C:",
        "SystemRoot": "C:\\WINDOWS",
        "TEMP": "C:\\Users\\JOEYGE~1\\AppData\\Local\\Temp",
        "TMP": "C:\\Users\\JOEYGE~1\\AppData\\Local\\Temp",
        "USERDOMAIN": "DESKTOP-QNDVA34",
        "USERDOMAIN_ROAMINGPROFILE": "DESKTOP-QNDVA34",
        "USERNAME": "Joey Gennari",
        "USERPROFILE": "C:\\Users\\Joey Gennari",
        "VBOX_MSI_INSTALL_PATH": "C:\\Program Files\\Oracle\\VirtualBox\\",
        "VERBOSE_LOGGING": "true",
        "VSCODE_CWD": "C:\\Users\\Joey Gennari\\AppData\\Local\\Programs\\Microsoft VS Code",
        "VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
        "VSCODE_IPC_HOOK": "\\\\.\\pipe\\89f2ea19683bad38e2e151de6b81cc5f-1.29.1-main-sock",
        "VSCODE_IPC_HOOK_EXTHOST": "\\\\.\\pipe\\vscode-ipc-8fee111f-9ebd-40f8-946a-ec84dcf5c7fe-sock",
        "VSCODE_LOGS": "C:\\Users\\Joey Gennari\\AppData\\Roaming\\Code\\logs\\20181203T163737",
        "VSCODE_LOG_LEVEL": "undefined",
        "VSCODE_LOG_STACK": "undefined",
        "VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
        "VSCODE_NODE_CACHED_DATA_DIR": "C:\\Users\\Joey Gennari\\AppData\\Roaming\\Code\\CachedData\\bc24f98b5f70467bc689abf41cc5550ca637088e",
        "VSCODE_PID": "1956",
        "windir": "C:\\WINDOWS",
        "WIX": "C:\\Program Files (x86)\\WiX Toolset v3.11\\"
    },
    "versions": {
        "http_parser": "2.7.0",
        "node": "8.9.3",
        "v8": "6.1.534.41",
        "uv": "1.15.0",
        "zlib": "1.2.11",
        "ares": "1.10.1-DEV",
        "modules": "57",
        "nghttp2": "1.25.0",
        "openssl": "1.0.2n"
    },
    "extensions": [
        {
            "id": "ms-vscode.node-debug",
            "version": "1.29.2"
        },
        {
            "id": "ms-vscode.node-debug2",
            "version": "1.29.5"
        },
        {
            "id": "ms-vscode.references-view",
            "version": "0.0.8"
        },
        {
            "id": "marus25.cortex-debug",
            "version": "0.1.21"
        },
        {
            "id": "ms-vscode.cpptools",
            "version": "0.20.1"
        },
        {
            "id": "particle.particle-vscode-core",
            "version": "1.0.0-alpha.5"
        },
        {
            "id": "particle.particle-vscode-snippets",
            "version": "1.0.0-alpha.5"
        }
    ]
}

*** WARNING: MAY CONTAIN CONFIDENTIAL INFORMATION - PLEASE SANITIZE BEFORE SHARING ***
To report an issue, visit:
https://community.particle.io/t/information-how-to-report-bugs-and-provide-feedback/44245
{
    "settings": {
        "extensions.ignoreRecommendations": true,
        "C_Cpp.default.configurationProvider": "particle.particle-vscode-core",
        "files.associations": {
            "*.ino": "cpp"
        },
        "particle.firmwareVersion": "0.8.0-rc.25",
        "particle.targetPlatform": "xenon"
    },
    "folders": [
        {
            "path": "."
        }
    ]
}

#2

There is a limitation that the build directory cannot contain a space. In this case, it appears to be that your username contains a space, so your directory in /Users contains a space.

Unfortunately this is a limitation in GNU make (used extensively by the local compiler) and we don’t have a good workaround for it.


#3

Great, thanks for the quick reply. I’ll give it a shot in a bit.