بناء الصور علي كور oe-alliance لأجهزة E2 >> ومناقشة المشاكل وحلولها

هنا المشكلة كلها
كود:
recipe sg3-utils-1.45-r0: task do_compile: Started
ERROR: enigma2-4.4+gitAUTOINC+dfb30b2da4-r0 do_compile: oe_runmake failed
ERROR: enigma2-4.4+gitAUTOINC+dfb30b2da4-r0 do_compile: Execution of '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447' failed with exit code 1:
make  all-recursive
make[1]: Entering directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git'
Making all in include
make[2]: Entering directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git/include'
Making all in lib
make[2]: Entering directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git/lib'
/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/recipe-sysroot-native/usr/bin/python3-native/python3 ./actions/parseactions.py include ../lib/gui/*.h > actions/actionids.h
  File "./actions/parseactions.py", line 59
    print classname
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(classname)?
make[2]: *** [Makefile:3624: actions/actionids.h] Error 1
make[2]: Leaving directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git/lib'
make[1]: *** [Makefile:588: all-recursive] Error 1
make[1]: Leaving directory '/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/git'
make: *** [Makefile:431: all] Error 2
WARNING: /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447:197 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
    #1: bbfatal_log, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 197
    #2: die, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 178
    #3: oe_runmake, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 167
    #4: autotools_do_compile, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 162
    #5: do_compile, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 157
    #6: main, /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/run.do_compile.2561447, line 201

Backtrace (metadata-relative locations):
    #1: bbfatal_log, /home/elhawary/build-enviroment/openembedded-core/meta/classes/logging.bbclass, line 72
    #2: die, /home/elhawary/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 56
    #3: oe_runmake, /home/elhawary/build-enviroment/openembedded-core/meta/classes/base.bbclass, line 65
    #4: autotools_do_compile, /home/elhawary/build-enviroment/openembedded-core/meta/classes/autotools.bbclass, line 243
    #5: do_compile, autogenerated, line 2
ERROR: Logfile of failure stored in: /home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/temp/log.do_compile.2561447
NOTE: recipe enigma2-4.4+gitAUTOINC+dfb30b2da4-r0: task do_compile: Failed
ERROR: Task (/home/elhawary/build-enviroment/meta-oe-alliance/meta-oe/recipes-oe-alliance/enigma2/enigma2.bb:do_compile) failed with exit code '1'
NOTE: Running task 3314 of 14489 (/home/elhawary/build-enviroment/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2020.1.bb:do_fetch)
NOTE: recipe python3-pytz-2020.1-r0: task do_fetch: Started
NOTE: recipe python3-pytz-2020.1-r0: task do_fetch: Succeeded
NOTE: recipe sg3-utils-1.45-r0: task do_compile: Succeeded
NOTE: recipe pulseaudio-13.0-r0: task do_configure: Succeeded
NOTE: recipe linux-dreambox-3.4-.14: task do_compile: Succeeded
NOTE: Tasks Summary: Attempted 3314 tasks of which 2528 didn't need to be rerun and 1 failed.
 
المشكلة بسيطة ... غير نظام البايثون يا عزيزي اعتقد تستخدم python3 حول الى python2 كما هو مشروح هنا او العكس !!
 
التعديل الأخير:
الاخ هواري في الغالب عندما اواجه خطأ في enigma2.bb اثناء البناء ...
اعمل كلين ...بهده الاوامر المتتالية يكتمل عندي البناء بنجاح جرب ...



كود:
cd builds/openbh/release/dm820

source env.source; bitbake -c clean -f openbh-image

source env.source; bitbake openbh-image
 
أنا أصﻻ أبنى فى الكور الجديد nextp3
ويحتاج هذا النظام
select python3
وقمت بعمل تلك التعديﻻت باﻻضافة

الخطأ الذي أرفقته هو الذي يقول هذا ؟!!
كود:
/home/elhawary/build-enviroment/builds/openbh/release/dm820/tmp/work/dm820-oe-linux/enigma2/enigma2-4.4+gitAUTOINC+dfb30b2da4-r0/recipe-sysroot-native/usr/bin/python3-native/python3 ./actions/parseactions.py include ../lib/gui/*.h > actions/actionids.h
  File "./actions/parseactions.py", line 59
    print classname
          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(classname)?

python2 يستخدم print بدون أقواس
كود:
print classname

python3 يستخدم print مع أقواس
كود:
print(classname)
 
ما السبب في هذا الخطاء
مع العلم استخدم python2
و gcc-9
نظام التشغيل Ubuntu Studio 20.04.2 LTS
المشكلة علي جميع الصور في كور oe-alliance
 

المرفقات

  • 20210418155922.log.zip
    43,1 KB · المشاهدات: 3
الخطأ لا يبين المشكلة في GCC ولا في البايثون بل في ++C في cmake او compile ...
هل التوزيعة Ubuntu Studio إستخدمتها من قبل في البناء وكانت تبني الصورة طبيعي ؟!! إذا نعم بالتالي أحذف مجلد build بالكامل وأعد البناء ولا تنسى تحديث الكور اولاً
كود:
cd build-enviroment
make update
او ربما من السورس به خطأ في تحديث احد الاكواد في بكيج elfutils-binutils
 
أعلى