question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build Environment

  • Raspberry pi 4 2 GB

  • Ubuntu 20.04.2 LTS

  • gcc, gcc++

  • subversion

  • qttools5-dev

  • qttools5-dev-tools

  • python

  • git clone latest copy of OpenVoiceOS as per README

warning occurs when running make rpi4_64-gui-config: -

config rpi4_64-gui
make -C buildroot BR2_EXTERNAL=../buildroot-external "rpi4_64-gui_defconfig"
make[1]: Entering directory '/home/ubuntu/OpenVoiceOS/buildroot'

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PROTOBUF
  Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && (BR2_HOSTARCH [=aarch64]=x86_64 || BR2_HOSTARCH [=aarch64]=x86)
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PYCHROMECAST [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_PROTOBUF
  Depends on [n]: (BR2_PACKAGE_PYTHON [=n] || BR2_PACKAGE_PYTHON3 [=y]) && (BR2_HOSTARCH [=aarch64]=x86_64 || BR2_HOSTARCH [=aarch64]=x86)
  Selected by [y]:
  - BR2_PACKAGE_PYTHON_PYCHROMECAST [=y]
#
# configuration written to /home/ubuntu/OpenVoiceOS/buildroot/.config
#
make[1]: Leaving directory '/home/ubuntu/OpenVoiceOS/buildroot'

Then after running make rpi4_64-gui the following error occurs: -


/home/ubuntu/OpenVoiceOS/buildroot/output/host/bin/ccache /usr/bin/g++ -fno-PIE -c   -O2 -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o caller-save.o -MT caller-save.o -MMD -MP -MF ./.deps/caller-save.TPo ../../gcc/caller-save.c
/home/ubuntu/OpenVoiceOS/buildroot/output/host/bin/ccache /usr/bin/g++ -fno-PIE -c   -O2 -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include -I/home/ubuntu/OpenVoiceOS/buildroot/output/host/include  -I../../gcc/../libdecnumber -I../../gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc/../libbacktrace   -o calls.o -MT calls.o -MMD -MP -MF ./.deps/calls.TPo ../../gcc/calls.c
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[4]: *** [Makefile:1117: insn-emit.o] Error 1
make[4]: *** Waiting for unfinished jobs....
rm gcc.pod
make[3]: *** [Makefile:4376: all-gcc] Error 2
make[2]: *** [package/pkg-generic.mk:250: /home/ubuntu/OpenVoiceOS/buildroot/output/build/host-gcc-initial-10.2.0/.stamp_built] Error 2
make[1]: *** [Makefile:84: _all] Error 2
make[1]: Leaving directory '/home/ubuntu/OpenVoiceOS/buildroot'

Not sure what dependency i am missing re: warning? Or if I am doing anything obviously wrong?

Thank you!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:41 (32 by maintainers)

github_iconTop GitHub Comments

1reaction
ChanceNCountercommented, Aug 25, 2021

@limitless-code I think that was directed at @j1nx, and somebody will probably get around to it. However, the question belies a certain unfamiliarity that I love to fix, as most git tutorials are WAY too advanced and explain too much at once. I’ve never tried to write it in a single GitHub comment, so here goes.

(Edit: I explain nothing, quite deliberately. Just do the stuff.)

Fork this repo on GitHub, clone your fork, and PR the changes. If you already cloned it from our GitHub, you don’t have to clone it again. One command will switch to your fork:

git remote set-url origin [your_fork_url]

Next, make a new branch so you can switch between your changes and the “main” version.

git checkout -b update-readme (outputs "switched to new branch: update-readme")

You are now working on your own branch of this repo, separate from the development and production branches that we build and ship. You named it update-readme because I told you to =P but git doesn’t care what you name it.

You can make your changes to the readme now. When you’re finished,

git add README.md
git status (verify the file is staged, in green, and nothing else is green)
git commit -m "update readme"

You have now added a commit to your feature branch, which you can submit to us. If you want to verify that it worked, you can type git log. It will open in your pager. Your new commit should be at the top, with the message “update readme”. That’s how it will look in this repo, too. When you’re finished, type

git push origin update-readme

GitHub may ask for your credentials at this point. Then it will push your changes to GitHub, on your fork, in a branch called update-readme.

GitHub should send back a link, which will be near the bottom of the terminal output. That link will open a pull request back here. Open the link and hit “submit.”

Congratulations. You have just used git to submit changes to open source software. You don’t need to know why you did any of that. Half of it is self explanatory. The rest will come with time. Nuking and starting over is usually the wrong answer. Tuts just suck, so nobody ever gets that far, and most end up thinking of git as “that thing that makes me nuke my code once in a while.”

1reaction
ChanceNCountercommented, Aug 18, 2021

On it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Project build errors and warnings (PRJxxxx)
The Visual Studio compilers and build tools can report many kinds of errors and warnings. After an error or warning is found, the...
Read more >
Fix a build error
Fix a build error · Right-click anywhere in the Error List window. · Select Copy List. · Open Microsoft Excel or Word (or...
Read more >
Oh dear! Build errors? - LoopDocs - GitHub Pages
This page contains build error help for people updating their Loop app as well as brand new Loop app builders. Review the "obvious"...
Read more >
Remove "There were build errors. Would you like to continue ...
FYI. In Visual Studio 2019 Update 16.5 or later you can go to Tools > Options > Projects and Solutions > Build and...
Read more >
Build Error Dialog In Visual Studio
Go to Tools >> Options… >> Projects and Solutions >> Build and Run. On the right-hand side panel, just change the value in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found