The Workbench local build fails. Git is installed. I created a new project, copied over the WebIDE working application source and saved it in the new file. I get the Build Output below. What going on?
Operating System: Ubuntu 18.04.1 LTS
Computer: Dell Precision 4600
VSCode Version Etc:
Version: 1.32.3
Commit: a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4
Date: 2019-03-14T23:38:49.842Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-46-generic
Other extensions installed:
Workbench Snipelts 1.3.0
Workbench Extension Pack for Particle Workbench 1.3.0
Workbench Core 1.3.0 (for Particle)
Workbench Themes 1.3.0
Build Output:
> Executing task: make -f '/home/john/.particle/toolchains/buildscripts/1.5.0/Makefile' compile-user -s <
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
../../../build/module.mk:219: target `for' given more than once in the same rule.
../../../build/module.mk:227: warning: overriding recipe for target `/home/john/Projects'
../../../build/module.mk:220: warning: ignoring old recipe for target `/home/john/Projects'
../../../build/module.mk:227: warning: overriding recipe for target `for'
../../../build/module.mk:220: warning: ignoring old recipe for target `for'
../../../build/module.mk:227: warning: overriding recipe for target `ParticleIO/WorkbenchLocal/TestLEDLocal/BlinkLedLocal/target//Projects'
../../../build/module.mk:220: warning: ignoring old recipe for target `ParticleIO/WorkbenchLocal/TestLEDLocal/BlinkLedLocal/target//Projects'
../../../build/module.mk:226: target `for' given more than once in the same rule.
../../../build/module.mk:236: warning: overriding recipe for target `/home/john/Projects'
../../../build/module.mk:227: warning: ignoring old recipe for target `/home/john/Projects'
../../../build/module.mk:236: warning: overriding recipe for target `for'
../../../build/module.mk:227: warning: ignoring old recipe for target `for'
../../../build/module.mk:236: warning: overriding recipe for target `ParticleIO/WorkbenchLocal/TestLEDLocal/BlinkLedLocal/target//Projects'
../../../build/module.mk:227: warning: ignoring old recipe for target `ParticleIO/WorkbenchLocal/TestLEDLocal/BlinkLedLocal/target//Projects'
../../../build/module.mk:235: target `for' given more than once in the same rule.
../../../build/module.mk:260: warning: overriding recipe for target `/home/john/Projects'
../../../build/module.mk:236: warning: ignoring old recipe for target `/home/john/Projects'
../../../build/module.mk:260: warning: overriding recipe for target `for'
../../../build/module.mk:236: warning: ignoring old recipe for target `for'
../../../build/module.mk:259: *** mixed implicit and normal rules. Stop.
make[1]: *** [modules/photon/user-part] Error 2
make: *** [compile-user] Error 2
The terminal process terminated with exit code: 2
Audit Environment:
{
"username": "johnpart100@gmail.com",
"workspace": {
"name": "WebControlledLedProject",
"isWorkspace": false,
"folders": [
{
"location": "/home/john/Projects for ParticleIO/NewTestProjects/WebPageControlLed/WebControlledLedProject",
"settings": {
"firmwareName": "deviceOS",
"firmwareVersion": "1.0.1",
"targetDevice": "EI",
"targetPlatform": "photon",
"compileButtonAction": "localAppDeviceOS",
"flashButtonAction": "localAppDeviceOS",
"disableWelcomeScreen": false,
"disableLocalCompilerDirtyCheck": false
},
"files": [
".vscode",
".vscode/c_cpp_properties.json",
".vscode/launch.json",
".vscode/settings.json",
".vscode/tasks.json",
"README.md",
"photon_firmware_1552334225191.bin",
"project.properties",
"src",
"src/API Tests",
"src/Untitled-1",
"src/WebControlledLedProject.ino"
]
}
]
},
"cli": {
"binpath": "/home/john/.vscode/extensions/particle.particle-vscode-core-1.2.2/src/cli/bin/linux/amd64/particle",
"ok": true,
"version": "1.40.0",
"installed": 1550767691925
},
"localCompiler": {
"dependencies": [
"deviceOS@1.0.1",
"gcc-arm@5.3.1",
"buildtools@1.0.1",
"buildscripts@1.2.0",
"openocd@0.10.0-particle.1"
]
},
"platform": {
"os": "linux",
"type": "Linux",
"release": "4.15.0-46-generic",
"arch": "x64",
"path": {
"key": "PATH",
"value": "/home/john/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/gcc-arm/bin"
},
"homeDir": "/home/john",
"particleDir": "/home/john/.particle",
"localCompilerToolchainDir": "/home/john/.particle/toolchains"
},
"env": {
"CLUTTER_IM_MODULE": "xim",
"XDG_MENU_PREFIX": "gnome-",
"SNAP_USER_DATA": "/home/john/snap/vscode/89",
"LANG": "en_US.UTF-8",
"DISPLAY": ":0",
"GNOME_SHELL_SESSION_MODE": "ubuntu",
"SNAP_REVISION": "89",
"DISABLE_WAYLAND": "1",
"SNAP_ARCH": "amd64",
"SNAP_INSTANCE_KEY": "",
"USERNAME": "john",
"XDG_VTNR": "2",
"GIO_LAUNCHED_DESKTOP_FILE_PID": "5056",
"SSH_AUTH_SOCK": "/run/user/1000/keyring/ssh",
"XDG_SESSION_ID": "2",
"SNAP_USER_COMMON": "/home/john/snap/vscode/common",
"USER": "john",
"DESKTOP_SESSION": "ubuntu",
"QT4_IM_MODULE": "xim",
"TEXTDOMAINDIR": "/usr/share/locale/",
"PWD": "/home/john",
"HOME": "/home/john",
"TEXTDOMAIN": "im-config",
"SNAP": "/snap/vscode/89",
"SSH_AGENT_PID": "2510",
"QT_ACCESSIBILITY": "1",
"SNAP_COMMON": "/var/snap/vscode/common",
"XDG_SESSION_TYPE": "x11",
"SNAP_NAME": "vscode",
"XDG_DATA_DIRS": "/usr/share/ubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop",
"SNAP_INSTANCE_NAME": "vscode",
"SNAP_DATA": "/var/snap/vscode/89",
"GSETTINGS_SCHEMA_DIR": "/snap/vscode/89/usr/share/glib-2.0/schemas",
"XDG_SESSION_DESKTOP": "ubuntu",
"GJS_DEBUG_OUTPUT": "stderr",
"GDK_PIXBUF_MODULE_FILE": "/home/john/snap/vscode/common/.cache/gdk-pixbuf-loaders.cache",
"GTK_MODULES": "gail:atk-bridge",
"SNAP_COOKIE": "y54kmD2wjlfng32c1THyN0VQ8TpQqRJ2QTmBnMDvlF7T",
"WINDOWPATH": "2",
"SHELL": "/bin/bash",
"QT_IM_MODULE": "ibus",
"XMODIFIERS": "@im=ibus",
"IM_CONFIG_PHASE": "2",
"XDG_CURRENT_DESKTOP": "ubuntu:GNOME",
"GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
"BAMF_DESKTOP_FILE_HINT": "/var/lib/snapd/desktop/applications/vscode_vscode.desktop",
"SNAP_REEXEC": "",
"GIO_LAUNCHED_DESKTOP_FILE": "/var/lib/snapd/desktop/applications/vscode_vscode.desktop",
"XDG_SEAT": "seat0",
"SHLVL": "1",
"GDK_PIXBUF_MODULEDIR": "/snap/vscode/89/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders",
"GDMSESSION": "ubuntu",
"GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
"XDG_CACHE_HOME": "/home/john/snap/vscode/common/.cache",
"LOGNAME": "john",
"DBUS_SESSION_BUS_ADDRESS": "unix:path=/run/user/1000/bus",
"XDG_RUNTIME_DIR": "/run/user/1000/snap.vscode",
"XAUTHORITY": "/run/user/1000/gdm/Xauthority",
"SNAP_CONTEXT": "y54kmD2wjlfng32c1THyN0VQ8TpQqRJ2QTmBnMDvlF7T",
"XDG_CONFIG_DIRS": "/etc/xdg/xdg-ubuntu:/etc/xdg",
"PATH": "/home/john/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/gcc-arm/bin",
"SNAP_VERSION": "1.32.3-1552606978",
"GJS_DEBUG_TOPICS": "JS ERROR;JS LOG",
"SNAP_LIBRARY_PATH": "/var/lib/snapd/lib/gl:/var/lib/snapd/lib/gl32:/var/lib/snapd/void",
"SESSION_MANAGER": "local/john-Precision-M4600:@/tmp/.ICE-unix/2334,unix/john-Precision-M4600:/tmp/.ICE-unix/2334",
"GTK_IM_MODULE": "ibus",
"_": "/snap/vscode/89/usr/share/code/bin/../code",
"APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL": "true",
"VSCODE_CLI": "1",
"ELECTRON_NO_ATTACH_CONSOLE": "1",
"VSCODE_IPC_HOOK": "/run/user/1000/snap.vscode/vscode-f7f7606b-1.32.3-main.sock",
"VSCODE_NLS_CONFIG": "{\"locale\":\"en-us\",\"availableLanguages\":{},\"_languagePackSupport\":true}",
"VSCODE_LOGS": "/home/john/.config/Code/logs/20190328T091342",
"AMD_ENTRYPOINT": "vs/workbench/services/extensions/node/extensionHostProcess",
"PIPE_LOGGING": "true",
"VERBOSE_LOGGING": "true",
"VSCODE_IPC_HOOK_EXTHOST": "/tmp/vscode-ipc-eaff8f05-9e5f-42a9-8f9f-141d5e7d72cb.sock",
"VSCODE_HANDLES_UNCAUGHT_ERRORS": "true",
"VSCODE_LOG_STACK": "false",
"VSCODE_PREVENT_FOREIGN_INSPECT": "true",
"ELECTRON_RUN_AS_NODE": "1"
},
"versions": {
"http_parser": "2.8.0",
"node": "10.2.0",
"v8": "6.6.346.32",
"uv": "1.20.3",
"zlib": "1.2.11",
"ares": "1.14.0",
"modules": "64",
"nghttp2": "1.29.0",
"napi": "3",
"openssl": "1.1.0h"
},
"vscode": {
"appName": "Visual Studio Code",
"appRoot": "/snap/vscode/89/usr/share/code/resources/app",
"machineId": "27e8fcf1497fc19adbc314e294713e2ada098f89c87aaeb296ff31a500be01b0",
"sessionId": "09fc69d1-1c5b-47d4-b72b-a1eed025b3c61553782429296",
"version": "1.32.3"
},
"extensions": [
{
"id": "ms-vscode.node-debug",
"version": "1.32.4"
},
{
"id": "ms-vscode.node-debug2",
"version": "1.32.0"
},
{
"id": "ms-vscode.references-view",
"version": "0.0.26"
},
{
"id": "marus25.cortex-debug",
"version": "0.2.3"
},
{
"id": "ms-vscode.cpptools",
"version": "0.21.0"
},
{
"id": "particle.particle-vscode-core",
"version": "1.2.2"
},
{
"id": "particle.particle-vscode-pack",
"version": "1.2.2"
},
{
"id": "particle.particle-vscode-snippets",
"version": "1.2.2"
},
{
"id": "particle.particle-vscode-theme",
"version": "1.2.2"
}
]
}