Comments (12)
You mean when using GitHub actions it doesn't upload the binary?
Honestly, I thought that wasn't worth it. When you're on Linux or WSL you just type make
on your PC and it's built in about 5 seconds, if that.
from espruino.
Having trouble:
gcc: warning: Git: linker input file unused because linking not done
gcc: error: Git: linker input file not found: No such file or directory
from espruino.
What are you doing that's causing the trouble? What commands? where? what OS?
from espruino.
source ./scripts/provision.sh LINUX
make
Windows 11, WSL2 debian
CC obj/src/jsflash.o
CC obj/src/jspin.o
CC obj/src/jsinteractive.o
CC obj/src/jsdevices.o
src/jsflash.c: In function ‘jsfCacheClearFile’:
...
...
gcc: warning: Git: linker input file unused because linking not done
gcc: error: Git: linker input file not found: No such file or directory
gcc: warning: 2188a9236: linker input file unused because linking not done
gcc: error: 2188a9236: linker input file not found: No such file or directory
make: *** [Makefile:835: obj/src/jsflash.o] Error 1
make: *** Waiting for unfinished jobs....
gcc: warning: Git: linker input file unused because linking not done
gcc: error: Git: linker input file not found: No such file or directory
gcc: warning: 2188a9236: linker input file unused because linking not done
gcc: error: 2188a9236: linker input file not found: No such file or directory
make: *** [Makefile:835: obj/src/jspin.o] Error 1
I aliased python3 to python, to fix some env error. Hope python3 is fine.
from espruino.
That's strange - I wonder why it says Git:
though?
I just tried again and it works fine here.
Is it possible you're trying to built it through Git Bash
and not WSL
?
from espruino.
I am definitely in a debian shell, I will try a clean repo.
pulled directly from espruino/Espruino.
Ran:
make
same errors.
gcc version: gcc (Debian 12.2.0-14) 12.2.0
python version: Python 3.11.2
I can try it on my laptop. It runs linux.
from espruino.
Works on my laptop. Hm.
from espruino.
Maybe try V=1 make
and see if it gives some clue as to why it's saying 2188a9236:
and Git:
Only other thing I can think is maybe Git is set up to check out everything with Windows Line Endings, and that's why it's screwing it up?
from espruino.
I am using autocrlf=input
for linux git
and autocrlf=true
for windows git
and I do have a weird git wrapper, that either calls windows git or linux git depending on CWD.
/usr/local/bin/git:
#!/usr/bin/env bash
set -e
if [[ $(pwd -P) =~ ^/mnt/. ]]
then
echo "windows Git"
exec /mnt/c/Program\ Files/Git/cmd/git.exe "$@"
else
echo "linux Git"
exec /usr/bin/git "$@"
fi
should I try disable this wrapper?
I have idea, I will try my wsl1 ubuntu distro
from espruino.
Ok, it works on my ubuntu wsl1, which ran python2. It might just be that it works only with python2?
Which python version do you use?
Nevermind, it also works with python3 on ubuntu wsl1.
Problem resolved, my wrapper was causing it. You must have some unique scripts that interface the git command in a way that my wrapper does not support!
from espruino.
Okay, that is really funny, my cheeky:
echo "windows Git"
Obviously messed up some output from some of the scripts, if its piped or something.!!!
Silly me! Sorry.
from espruino.
Ok, great! :)
from espruino.
Related Issues (20)
- Global error capture HOT 6
- wifi.stopAP() does not work, AP is still up.... HOT 3
- Wifi.connect(ssid, options, callback) does not handle callback HOT 2
- Multiple uploads of code with wifi command can cause " New interpreter error" HOT 1
- Debugger feature: add backtrace command HOT 2
- E.getPowerUsage to estimate power consumption HOT 2
- BLE/NRF and esp32_gatts_func.c HOT 1
- Promise handling rewrite break BLE device use HOT 3
- ESP32_IDF4 (ESP32C3) support HOT 4
- Any plans to switch to python3? HOT 5
- `Object.defineProperty(<function>, ...)` HOT 1
- `Object.clone()` returning function HOT 2
- Using different pins for neopixel on ESP32 does not work correct HOT 1
- Loss of errors when executing require() HOT 4
- banglejs_iflash build: error running `.bootcde`, compacting corrupts `.boot0` and deletes most files HOT 3
- Static fields in classes HOT 1
- Bad text alignment when rendering Unicode centered
- overlays are cut off from the top instead of landing at desired y position HOT 2
- [Bangle.js 2 Question] EXTCOM frequency HOT 1
- nrf5x_dfu/main.c highlight potential impossible code path HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espruino.