Comments (16)
Still doesn't build. I have created a virgin machine (Ubuntu 14.04). Get a fresh checkout and attempt to build:
sancloud@ubuntu:/Devel/Victron$ rm -rf venus//Devel/Victron$
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron$ git clone https://github.com/victronenergy/venus.git/Devel/Victron$ cd venus/
Cloning into 'venus'...
remote: Counting objects: 606, done.
remote: Total 606 (delta 0), reused 0 (delta 0), pack-reused 606
Receiving objects: 100% (606/606), 87.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (335/335), done.
Checking connectivity... done.
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron/venus$/Devel/Victron/venus$
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron/venus$ make CONFIG=jethro/Devel/Victron/venus$ make fetch
ln -s configs/jethro conf
find: `sources': No such file or directory
sancloud@ubuntu:
--------------- sources/bitbake - https://github.com/victronenergy/bitbake.git -------------
Cloning into 'sources/bitbake'...
remote: Counting objects: 43713, done.
remote: Total 43713 (delta 0), reused 0 (delta 0), pack-reused 43713
Receiving objects: 100% (43713/43713), 21.09 MiB | 5.42 MiB/s, done.
Resolving deltas: 100% (28924/28924), done.
Checking connectivity... done.
Branch 1.28 set up to track remote branch 1.28 from origin.
Switched to a new branch '1.28'
From https://github.com/openembedded/bitbake
- branch 1.28 -> FETCH_HEAD
- [new branch] 1.28 -> upstream/1.28
Branch 1.28 set up to track remote branch 1.28 from upstream.
--------------- sources/meta-openembedded - https://github.com/victronenergy/meta-openembedded.git -------------
Cloning into 'sources/meta-openembedded'...
remote: Counting objects: 61442, done.
remote: Total 61442 (delta 0), reused 0 (delta 0), pack-reused 61441
Receiving objects: 100% (61442/61442), 26.51 MiB | 5.99 MiB/s, done.
Resolving deltas: 100% (34781/34781), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from origin.
Switched to a new branch 'jethro_venus'
From https://github.com/victronenergy/meta-openembedded
- branch jethro -> FETCH_HEAD
Branch jethro_venus set up to track remote branch jethro from origin.
--------------- sources/meta-qt5 - https://github.com/victronenergy/meta-qt5.git -------------
Cloning into 'sources/meta-qt5'...
remote: Counting objects: 6646, done.
remote: Total 6646 (delta 0), reused 0 (delta 0), pack-reused 6646
Receiving objects: 100% (6646/6646), 1.91 MiB | 1.48 MiB/s, done.
Resolving deltas: 100% (4044/4044), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from origin.
Switched to a new branch 'jethro_venus'
From https://github.com/meta-qt5/meta-qt5
- branch jethro -> FETCH_HEAD
- [new branch] jethro -> upstream/jethro
Branch jethro_venus set up to track remote branch jethro from upstream.
--------------- sources/meta-swupdate - https://github.com/victronenergy/meta-swupdate.git -------------
Cloning into 'sources/meta-swupdate'...
remote: Counting objects: 346, done.
remote: Total 346 (delta 1), reused 1 (delta 1), pack-reused 344
Receiving objects: 100% (346/346), 55.51 KiB | 0 bytes/s, done.
Resolving deltas: 100% (109/109), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
From https://github.com/victronenergy/meta-swupdate
- branch master -> FETCH_HEAD
Branch master set up to track remote branch master from origin.
--------------- sources/meta-victronenergy - https://github.com/victronenergy/meta-victronenergy.git -------------
Cloning into 'sources/meta-victronenergy'...
remote: Counting objects: 4254, done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 4254 (delta 124), reused 0 (delta 0), pack-reused 4013
Receiving objects: 100% (4254/4254), 795.17 KiB | 1.50 MiB/s, done.
Resolving deltas: 100% (2089/2089), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Branch master set up to track remote branch master from origin.
--------------- sources/openembedded-core - https://github.com/victronenergy/openembedded-core.git -------------
Cloning into 'sources/openembedded-core'...
remote: Counting objects: 292226, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 292226 (delta 5), reused 5 (delta 5), pack-reused 292217
Receiving objects: 100% (292226/292226), 111.05 MiB | 5.93 MiB/s, done.
Resolving deltas: 100% (202680/202680), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from origin.
Switched to a new branch 'jethro_venus'
From https://github.com/victronenergy/openembedded-core
- branch jethro -> FETCH_HEAD
Branch jethro_venus set up to track remote branch jethro from origin.
sancloud@ubuntu:/Devel/Victron/venus$ make beaglebone-venus-image/Devel/Victron/venus$
export MACHINE=beaglebone && . ./sources/openembedded-core/oe-init-build-env build sources/bitbake && bitbake venus-image
/bin/sh: 47: .: Can't open /home/sancloud/Devel/Victron/venus/scripts/oe-buildenv-internal
make: *** [beaglebone-venus-image] Error 2
sancloud@ubuntu:
from venus.
for what it is worth make CONFIG=jethro fetch
doesn't display the error.
On 17-09-16 10:00, mpvader wrote:
See log at line ~14. Probably something small, but I don't have time
to look further into this now.Also it doesn't seem to prevent building.
|matthijs@matthijs-VirtualBox:/media/venusbuilds$ git clone
[email protected]:victronenergy/venus.git venus-jethro Cloning into
'venus-jethro'... remote: Counting objects: 606, done. remote: Total
606 (delta 0), reused 0 (delta 0), pack-reused 606 Receiving objects:
100% (606/606), 87.63 KiB | 0 bytes/s, done. Resolving deltas: 100%
(335/335), done. Checking connectivity... done.
matthijs@matthijs-VirtualBox:/media/venusbuilds$ cd venus-jethro/
matthijs@matthijs-VirtualBox:/media/venusbuilds/venus-jethro$ make
CONFIG=jethro ln -s configs/jethro conf find: `sources': No such file
or directory
matthijs@matthijs-VirtualBox:/media/venusbuilds/venus-jethro$ make
fetch --------------- sources/bitbake -
https://github.com/victronenergy/bitbake.git ------------- Cloning
into 'sources/bitbake'... remote: Counting objects: 43713, done.
Receiving objects: 100% (43713/43713), 21.09 MiB | 4.54 MiB/s, done.
remote: Total 43713 (delta 0), reused 0 (delta 0), pack-reused 43713
Resolving deltas: 100% (28924/28924), done. Checking connectivity...
done. Branch 1.28 set up to track remote branch 1.28 from origin.
Switched to a new branch '1.28' From
https://github.com/openembedded/bitbake * branch 1.28 -> FETCH_HEAD *
[new branch] 1.28 -> upstream/1.28 Branch 1.28 set up to track remote
branch 1.28 from upstream. --------------- sources/meta-openembedded -
https://github.com/victronenergy/meta-openembedded.git -------------
Cloning into 'sources/meta-openembedded'... remote: Counting objects:
61442, done. remote: Total 61442 (delta 0), reused 0 (delta 0),
pack-reused 61441 Receiving objects: 100% (61442/61442), 26.51 MiB |
4.13 MiB/s, done. Resolving deltas: 100% (34781/34781), done. Checking
connectivity... done. Branch jethro_venus set up to track remote
branch jethro_venus from origin. Switched to a new branch
'jethro_venus' From https://github.com/victronenergy/meta-openembedded
- branch jethro -> FETCH_HEAD Branch jethro_venus set up to track
remote branch jethro from origin. [....] |—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQRhe6NOiXd2gDMU1YwIGlHJUln0XAPks5qq54SgaJpZM4J_ifr.
from venus.
that looks weird, are you sure you use bash instead of dash?
On 17-09-16 14:45, SanCloud wrote:
Still doesn't build. I have created a virgin machine (Ubuntu 14.04).
Get a fresh checkout and attempt to build:
|sancloud@ubuntu:/Devel/Victron$ rm -rf venus//Devel/Victron$
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron$ git clone/Devel/Victron$ cd venus/
https://github.com/victronenergy/venus.git
Cloning into 'venus'...
remote: Counting objects: 606, done.
remote: Total 606 (delta 0), reused 0 (delta 0), pack-reused 606
Receiving objects: 100% (606/606), 87.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (335/335), done.
Checking connectivity... done.
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron/venus$/Devel/Victron/venus$
sancloud@ubuntu:
sancloud@ubuntu:/Devel/Victron/venus$ make CONFIG=jethro/Devel/Victron/venus$ make fetch
ln -s configs/jethro conf
find:|sources': No such file or directory
sancloud@ubuntu:--------------- sources/bitbake -
https://github.com/victronenergy/bitbake.git -------------
Cloning into 'sources/bitbake'...
remote: Counting objects: 43713, done.
remote: Total 43713 (delta 0), reused 0 (delta 0), pack-reused 43713
Receiving objects: 100% (43713/43713), 21.09 MiB | 5.42 MiB/s, done.
Resolving deltas: 100% (28924/28924), done.
Checking connectivity... done.
Branch 1.28 set up to track remote branch 1.28 from origin.
Switched to a new branch '1.28'
From https://github.com/openembedded/bitbake
- branch 1.28 -> FETCH_HEAD
- [new branch] 1.28 -> upstream/1.28 Branch 1.28 set up to track
remote branch 1.28 from upstream.--------------- sources/meta-openembedded -
https://github.com/victronenergy/meta-openembedded.git -------------
Cloning into 'sources/meta-openembedded'...
remote: Counting objects: 61442, done.
remote: Total 61442 (delta 0), reused 0 (delta 0), pack-reused 61441
Receiving objects: 100% (61442/61442), 26.51 MiB | 5.99 MiB/s, done.
Resolving deltas: 100% (34781/34781), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from
origin.
Switched to a new branch 'jethro_venus'
From https://github.com/victronenergy/meta-openembedded
- branch jethro -> FETCH_HEAD Branch jethro_venus set up to track
remote branch jethro from origin.--------------- sources/meta-qt5 -
https://github.com/victronenergy/meta-qt5.git -------------
Cloning into 'sources/meta-qt5'...
remote: Counting objects: 6646, done.
remote: Total 6646 (delta 0), reused 0 (delta 0), pack-reused 6646
Receiving objects: 100% (6646/6646), 1.91 MiB | 1.48 MiB/s, done.
Resolving deltas: 100% (4044/4044), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from
origin.
Switched to a new branch 'jethro_venus'
From https://github.com/meta-qt5/meta-qt5
- branch jethro -> FETCH_HEAD
- [new branch] jethro -> upstream/jethro Branch jethro_venus set up
to track remote branch jethro from upstream.--------------- sources/meta-swupdate -
https://github.com/victronenergy/meta-swupdate.git -------------
Cloning into 'sources/meta-swupdate'...
remote: Counting objects: 346, done.
remote: Total 346 (delta 1), reused 1 (delta 1), pack-reused 344
Receiving objects: 100% (346/346), 55.51 KiB | 0 bytes/s, done.
Resolving deltas: 100% (109/109), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
From https://github.com/victronenergy/meta-swupdate
- branch master -> FETCH_HEAD Branch master set up to track remote
branch master from origin.--------------- sources/meta-victronenergy -
https://github.com/victronenergy/meta-victronenergy.git -------------
Cloning into 'sources/meta-victronenergy'...
remote: Counting objects: 4254, done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 4254 (delta 124), reused 0 (delta 0), pack-reused 4013
Receiving objects: 100% (4254/4254), 795.17 KiB | 1.50 MiB/s, done.
Resolving deltas: 100% (2089/2089), done.
Checking connectivity... done.
Already on 'master'
Your branch is up-to-date with 'origin/master'.
Branch master set up to track remote branch master from origin.--------------- sources/openembedded-core -
https://github.com/victronenergy/openembedded-core.git -------------
Cloning into 'sources/openembedded-core'...
remote: Counting objects: 292226, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 292226 (delta 5), reused 5 (delta 5), pack-reused 292217
Receiving objects: 100% (292226/292226), 111.05 MiB | 5.93 MiB/s, done.
Resolving deltas: 100% (202680/202680), done.
Checking connectivity... done.
Branch jethro_venus set up to track remote branch jethro_venus from
origin.
Switched to a new branch 'jethro_venus'
From https://github.com/victronenergy/openembedded-core
- branch jethro -> FETCH_HEAD Branch jethro_venus set up to track
remote branch jethro from origin.
sancloud@ubuntu:/Devel/Victron/venus$ make beaglebone-venus-image/Devel/Victron/venus$`
export MACHINE=beaglebone && .
./sources/openembedded-core/oe-init-build-env build
sources/bitbake && bitbake venus-image /bin/sh: 47: .: Can't open
/home/sancloud/Devel/Victron/venus/scripts/oe-buildenv-internal
make: *** [beaglebone-venus-image] Error 2
sancloud@ubuntu:—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQRhapaHOQ-s9fqhVaqbCeIiNvNoGbkks5qq-DNgaJpZM4J_ifr.
from venus.
@jhofstee is it an idea to add dash detection in the makefile somehow? Would save people lots of time.
from venus.
it is an OE thing, not venus related,
./sources/openembedded-core/oe-init-build-env is the proper place to fix it:
Normally this is called as '. ./oe-init-build-env builddir'
This works in most shells (not dash), but not all of them pass arg1 when
being sourced. To workaround the shell limitation use "set arg1" prior
to sourcing this script.
if [ -n "$BASH_SOURCE" ]; then
OEROOT="dirname $BASH_SOURCE
"
elif [ -n "$ZSH_NAME" ]; then
OEROOT="dirname $0
"
else
OEROOT="pwd
"
fi
On 17-09-16 17:33, mpvader wrote:
@jhofstee https://github.com/jhofstee is it an idea to add dash
detection in the makefile somehow? Would save people lots of time.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQRhdHB7tuUSyWEybMCAtV3KzsJq1Njks5qrAhcgaJpZM4J_ifr.
from venus.
I am using bash
sancloud@ubuntu:~/Devel/Victron/venus$ ps ch -o %c $$
bash
from venus.
I have tried the checkout with 'make CONFIG=jethro fetch' and it still fails when I try to build.
There is something weird here or I am not using the correct build command once I have fetched the repo's.
Why is it trying to open 'scripts/oe-buildenv-internal' when building?
/bin/sh: 47: .: Can't open /home/sancloud/Devel/Victron/venus/scripts/oe-buildenv-internal
Using:
make beaglebone-venus-image
from venus.
Hi, that is you current shell. Where is /bin/sh pointing to?
On 17-09-16 21:34, SanCloud wrote:
I am using bash
sancloud@ubuntu:~/Devel/Victron/venus$ ps ch -o %c $$
bash—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQRhWFgZQ8DIQm8rILgHjoC0Hf-tygCks5qrEC_gaJpZM4J_ifr.
from venus.
Hi,
On 17-09-16 21:36, SanCloud wrote:
I have tried the checkout with 'make CONFIG=jethro fetch' and it still
fails when I try to build.
It was just to prevent the (harmless) error Matthijs initially reported.
There is something weird here or I am not using the correct build
command once I have fetched the repo's.the build command is fine..
Why is it trying to open 'scripts/oe-buildenv-internal' when building?
/bin/sh: 47: .: Can't open
/home/sancloud/Devel/Victron/venus/scripts/oe-buildenv-internalsee sources/openembedded-core/oe-init-build-env, this part fails:
This works in most shells (not dash), but not all of them pass arg1 when
being sourced. To workaround the shell limitation use "set arg1" prior
to sourcing this script.
if [ -n "$BASH_SOURCE" ]; then
OEROOT="dirname $BASH_SOURCE
"
elif [ -n "$ZSH_NAME" ]; then
OEROOT="dirname $0
"
else
OEROOT="pwd
"
fi
you take the last else, so you end up with OEROOT = venus-path and that of
course fails miserable since it start looking for oe scripts inside
venus etc.
from venus.
better idea, just always use bash:
On 17-09-16 17:33, mpvader wrote:
@jhofstee https://github.com/jhofstee is it an idea to add dash
detection in the makefile somehow? Would save people lots of time.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#54 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQRhdHB7tuUSyWEybMCAtV3KzsJq1Njks5qrAhcgaJpZM4J_ifr.
from venus.
😄
@sancloud you have fixed it in the end, right? was it indeed dash/bash issue?
from venus.
On 17-09-16 10:00, mpvader wrote:
See log at line ~14. Probably something small, but I don't have time
to look further into this now.Also it doesn't seem to prevent building.
|matthijs@matthijs-VirtualBox:/media/venusbuilds$ git clone
[email protected]:victronenergy/venus.git venus-jethro Cloning into
'venus-jethro'... remote: Counting objects: 606, done. remote: Total
606 (delta 0), reused 0 (delta 0), pack-reused 606 Receiving objects:
100% (606/606), 87.63 KiB | 0 bytes/s, done. Resolving deltas: 100%
(335/335), done. Checking connectivity... done.
matthijs@matthijs-VirtualBox:/media/venusbuilds$ cd venus-jethro/
matthijs@matthijs-VirtualBox:/media/venusbuilds/venus-jethro$ make
CONFIG=jethro|
About the original issue, you lack a conf target here, so make will just
pick
the first one, which is build/conf/bblayers.conf and that needs the sources.
The most useful default command I can up with is
https://github.com/victronenergy/venus/commits/help...
Any comments?
from venus.
About the original issue, you lack a conf target here, so make will just
pick
the first one, which is build/conf/bblayers.conf and that needs the sources.
Aha
The most useful default command I can come up with is
https://github.com/victronenergy/venus/commits/help...
Any comments?
It's great! Now clean out the readme and add a link to wiki home to it?
Wiki is a lot easier to update since it's not in the repo contents.
from venus.
Woohoo, thank you just got head and it seems to be building.. at least its started to parse recipes.
Just 3000 more tasks to run.
FYI if you install a virgin machine (Ubuntu 14.04) you need to add the additional components:
sudo apt-get install g++
sudo apt-get install gawk
sudo apt-get install chrpath
sudo apt-get install texinfo
from venus.
Woohoo, thank you just got head and it seems to be building.. at least its started to parse recipes.
Great!
Just 3000 more tasks to run.
FYI if you install a virgin machine (Ubuntu 14.04) you need to add the additional components:
sudo apt-get install g++
sudo apt-get install gawk
sudo apt-get install chrpath
sudo apt-get install texinfo
See make prereq
Matthijs
from venus.
@jhofstee: probably the help branch in Venus should be deleted now?
from venus.
Related Issues (20)
- Add support for Leoch BMS
- Supported batteries, restrict SVS rather than "forced off" HOT 1
- Wiki: acload missing in dbus
- v3.40~32: Critical loads box showing, regardless of ESS->grid metering setting HOT 2
- dbus-acsystem: MultiRS devices not combined into acsystem. HOT 3
- npm recipes: better handle optionalDependencies and --omit=dev
- add raspberrypi support for Qt6 / gui-v2
- make an option to remove old pv inverters
- Generator menu: Hide quiet hours menu items when quiet hours is disabled. HOT 2
- dbus_modbus_client is scanning itself HOT 1
- Generator: Enable remote start mode on genset from GX when supported
- velib_python: fix race condition during service creation
- Better support for systems with only a grid meter
- Generator: Implement /ClearError path for dbus-modbus-client gensets HOT 2
- flashmq/security: add read-only mode for bridge connection
- signalk: default canbus interface for Cerbo MK2 is wrong
- Connected genset: service & runtime counters HOT 16
- Remove/fix the gui option to clear genset errors. HOT 3
- excess load leads to reboots HOT 11
- Run dbus-generator (genset start/stop) and dbus-parallelbms only when needed HOT 3
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 venus.