Ergebnis 1 bis 10 von 11
Thema: Build Enigma2.bb
-
13.02.2021, 19:10 #1
- Registriert seit
- 09.02.2021
- Beiträge
- 8
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
Build Enigma2.bb
Hello OPEN ATV team,
I created my build server using a Virtualbox VM with Ubuntu 20.04.2 and then I build the openatv image successfully.
Then, If I run:
Code:cd ~/openatv/build-enviroment/builds/openatv/release/h9 source env.source MACHINE=h9 MACHINEBUILD=zgemmah92s DISTRO=openatv bitbake enigma2
Now I want to change some files of openatv/enigma2 repo, so I cloned the repo in the openatvbuilder home folder:
Code:cd ~ git clone git://github.com/openatv/enigma2.git -b 6.4
Code:cd ~/openatv/build-enviroment/builds/openatv/release/h9 source env.source MACHINE=h9 MACHINEBUILD=zgemmah92s DISTRO=openatv bitbake -f -c compile -b ~/enigma2/enigma2.bb
Can someone check what's wrong? I was no able to find the solution in the older posts
Thanks a lot in advance,
-
Advertising
-
13.02.2021, 23:08 #2
- Registriert seit
- 15.06.2013
- Beiträge
- 2.359
- Thanks (gegeben)
- 287
- Thanks (bekommen)
- 1399
- Total Downloaded
- 1,32 MB
- Total Downloaded
- 1,32 MB
Box 1:hd51Box 2:vuduo4kseBox 3:und noch 20-30 andereI do it the same way like you. There is only one difference I haven't compiled ATV e2 binary since a longer time.
Please try to add this:
enigma2/enigma2.bb at develop . OpenPLi/enigma2 . GitHub
If it don't work, create a patch file and add the patch to the normal e2 build.hd51, vuduo4se,....
-
14.02.2021, 12:33 #3
- Registriert seit
- 09.02.2021
- Beiträge
- 8
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterThanks betacentauri, I added that patch to my enigma2.bb but the problem is still there.
Looking at the error message, the problem seems to be with a file called "enigma_python.Tpo"
Code:| arm-oe-linux-gnueabi-gcc-ranlib network/libenigma_network.a | Unable to open file .deps/python/enigma_python.Tpo: No such file or directory | make[4]: *** [Makefile:3306: python/enigma_python.cpp] Error 1 | make[4]: Leaving directory '/home/openatvbuilder/enigma2/lib' | make[3]: *** [Makefile:2646: all-recursive] Error 1 | make[3]: Leaving directory '/home/openatvbuilder/enigma2/lib' | make[2]: *** [Makefile:1161: all] Error 2 | make[2]: Leaving directory '/home/openatvbuilder/enigma2/lib' | make[1]: *** [Makefile:599: all-recursive] Error 1 | make[1]: Leaving directory '/home/openatvbuilder/enigma2' | make: *** [Makefile:442: all] Error 2 | WARNING: /home/openatvbuilder/enigma2/build/temp/run.do_compile.12544:1 exit 1 from 'exit 1' | ERROR: Task (/home/openatvbuilder/enigma2/enigma2.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 6 tasks of which 5 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/openatvbuilder/enigma2/enigma2.bb:do_compile Summary: There were 2 WARNING messages shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
-
14.02.2021, 14:09 #4
- Registriert seit
- 15.06.2013
- Beiträge
- 2.359
- Thanks (gegeben)
- 287
- Thanks (bekommen)
- 1399
- Total Downloaded
- 1,32 MB
- Total Downloaded
- 1,32 MB
Box 1:hd51Box 2:vuduo4kseBox 3:und noch 20-30 andereYes, I already saw the error message, but I have no idea how to fix that.
Maybe first call again “bitbake -c cleansstate -f enigma2”hd51, vuduo4se,....
-
14.02.2021, 19:16 #5
- Registriert seit
- 09.02.2021
- Beiträge
- 8
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterHi betacentauri, after calling that command, the problem is still there.
Looking more in deep into the log, the problem seems to be in this line:
Code:/home/openatvbuilder/enigma2/build/recipe-sysroot-native/usr/bin/swig -c++ -python -DSWIG_PYTHON_LEGACY_BOOL -MT python/enigma_python.cpp -MD -MF .deps/python/enigma_python.Tpo -I.. -O -nortti -nothreads -o python/enigma_python.cpp python/enigma_python.i
enigma_python.cpp is in the gitignore file.
Are those files in your enigma2 local repo?
-
14.02.2021, 20:16 #6
- Registriert seit
- 20.12.2016
- Beiträge
- 1.520
- Thanks (gegeben)
- 399
- Thanks (bekommen)
- 1065
- Total Downloaded
- 39,16 MB
- Total Downloaded
- 39,16 MB
Box 1:SF8008 - oATV 7.4 - oATV 7.5 DevelBox 2:Duo2 - oATV 7.3Box 3:HD2400 - oATV 6.3 (+6.4 all arch feed)Box 4:LX3 - oATV 6.3Box 5:Raspberrypi3 TvHeadend TBS5520SEMaybe I'am missing something, but why do you not use the openembedded / yocto way of developing process?
I'am using the devshell and pydevshell to change the sources, commit changes and creating patches.
If you can bitbake the image and even enigma2 you would simply need to use a command like this:
Code:cd ~/openatv/build-enviroment/builds/openatv/release/h9 source env.source MACHINE=h9 MACHINEBUILD=zgemmah92s DISTRO=openatv bitbake enigma2 -c devshell
Please check out
3 Common Tasks — The Yocto Project (R) dev documentation and
3 Common Tasks — The Yocto Project (R) dev documentation
I hope this helps.
-
Danke - 1 Thankslordportux bedankten sich
-
15.02.2021, 07:11 #7
- Registriert seit
- 15.06.2013
- Beiträge
- 2.359
- Thanks (gegeben)
- 287
- Thanks (bekommen)
- 1399
- Total Downloaded
- 1,32 MB
- Total Downloaded
- 1,32 MB
Box 1:hd51Box 2:vuduo4kseBox 3:und noch 20-30 andereSwig generates the .cpp file from the .i file. And the .TPo is also generated by the build process. So cpp and Tpo are not in the repo.
What files are in the build/build/lib/python/.deps directory?
Maybe it’s a problem with Ubuntu 20. I use older Ubuntu.
And as said. Instead of searching hours the problem, there are other ways to compile e2 like I or 4l3x2k wrote.
I think it’s also possible to redirect original enigma2.bb to a local git clone. But I never did that before. I only saw it somewhere.hd51, vuduo4se,....
-
Danke - 1 Thankslordportux bedankten sich
-
15.02.2021, 18:52 #8
- Registriert seit
- 09.02.2021
- Beiträge
- 8
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
ThemenstarterHi 4l3x2k, thanks a lot for your help! I didn't use the openembedded / yocto way because I didn't know what it is I just followed the instructions I found in the forum for building the enigma2 binary.
So I run that command and at the end of the process it opens a dev shell, then I edited a cpp file using nano and now I'd like to build the enigma2 binary file, so what should be the command now and where the enigma2 binary file will be stored? If I try to call bitbake from the dev shell it tries to connect to a build server but the connection fails.
-
15.02.2021, 18:58 #9
- Registriert seit
- 09.02.2021
- Beiträge
- 8
- Thanks (gegeben)
- 3
- Thanks (bekommen)
- 0
- Total Downloaded
- 0
- Total Downloaded
- 0
Themenstarter
-
16.02.2021, 10:30 #10
- Registriert seit
- 20.12.2016
- Beiträge
- 1.520
- Thanks (gegeben)
- 399
- Thanks (bekommen)
- 1065
- Total Downloaded
- 39,16 MB
- Total Downloaded
- 39,16 MB
Box 1:SF8008 - oATV 7.4 - oATV 7.5 DevelBox 2:Duo2 - oATV 7.3Box 3:HD2400 - oATV 6.3 (+6.4 all arch feed)Box 4:LX3 - oATV 6.3Box 5:Raspberrypi3 TvHeadend TBS5520SEYou would not use bitbake in the devshell. Please read the section from the first link carefully.
If you are in the devshell and already edited some files you would do
Code:../temp/run.do_configure ../temp/run.do_compile
Code:ls ./enigma2
Code:../temp/run.do_package
I'am used to create a patch after do_compile with
Code:git commit -A -m "MY CHANGE" git format-patch -1
-
Danke - 1 Thankslordportux bedankten sich
Lesezeichen