Jump to content


Photo

Thud branch.


  • Please log in to reply
101 replies to this topic

Re: Thud branch. #21 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 13:40

The patch is for the openembedded directory! At best revert your changes first.

Then download the patch https://patchwork.op...tch/165581/raw/ and go to openembedded directory and apply it:
git apply thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch

Remove patch file and restart build.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #22 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 13:58

Deleted


Edited by dax, 2 November 2019 - 14:02.


Re: Thud branch. #23 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 14:00

cd /home/davide/openpli_thud/openpli-oe-core/openembedded-core/
git apply thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #24 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 17:46

Restart from scratch, i put the patch file in openembedded-core dir and then

cd /home/davide/openpli_thud/openpli-oe-core/openembedded-core/
git apply thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch

but

git apply thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch
thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch:43: trailing whitespace.
 
thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch:53: trailing whitespace.
 
thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch:120: trailing whitespace.
 
thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch:124: trailing whitespace.
 
error: patch non riuscita: meta/recipes-devtools/qemu/qemu_3.0.0.bb:40
error: meta/recipes-devtools/qemu/qemu_3.0.0.bb: la patch non si applica correttamente

i fix the whitespace but

git apply thud-1-2-qemu-fix-build-issue-on-new-hosts-with-glibc-2.30.patch
error: patch non riuscita: meta/recipes-devtools/qemu/qemu_3.0.0.bb:40
error: meta/recipes-devtools/qemu/qemu_3.0.0.bb: la patch non si applica correttamente


Re: Thud branch. #25 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 17:56

Yes, right doesn't apply. Please try this patch.

Attached Files


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #26 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 19:14

I'm not a lucky man, thanks for support

Attached Files



Re: Thud branch. #27 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 19:25

Then i add in site.conf

DISTRO_FEATURES_BACKFILL_CONSIDERED += "gobject-introspection-data"
GIO_MODULE_PACKAGES = ""

but

ERROR: qemu-native-3.0.0-r0 do_compile: oe_runmake failed
ERROR: qemu-native-3.0.0-r0 do_compile: Function failed: do_compile (log file is located at /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/temp/log.do_compile.2568940)
ERROR: Logfile of failure stored in: /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/temp/log.do_compile.2568940
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 LD=ld  AR=ar OBJCOPY=objcopy LDFLAGS=-L/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/usr/lib -L/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/recipe-sysroot-native/lib -Wl,-O1 -fuse-ld=bfd
|   LINK    qemu-img
|   CC      arm-linux-user/gdbstub-xml.o
|   CC      aarch64-linux-user/gdbstub-xml.o
|   CC      arm-linux-user/linux-user/syscall.o
|   CC      aarch64-linux-user/linux-user/syscall.o
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/ioctls.h:176:9: error: ‘SIOCGSTAMP’ undeclared here (not in a function); did you mean ‘SIOCSRARP’?
|   176 |   IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
|       |         ^~~~~~~~~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c:5740:23: note: in definition of macro ‘IOCTL’
|  5740 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
|       |                       ^~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/ioctls.h:176:9: error: ‘SIOCGSTAMP’ undeclared here (not in a function); did you mean ‘SIOCSRARP’?
|   176 |   IOCTL(SIOCGSTAMP, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timeval)))
|       |         ^~~~~~~~~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c:5740:23: note: in definition of macro ‘IOCTL’
|  5740 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
|       |                       ^~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/ioctls.h:177:9: error: ‘SIOCGSTAMPNS’ undeclared here (not in a function); did you mean ‘SIOCGSTAMP_OLD’?
|   177 |   IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
|       |         ^~~~~~~~~~~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c:5740:23: note: in definition of macro ‘IOCTL’
|  5740 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
|       |                       ^~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/ioctls.h:177:9: error: ‘SIOCGSTAMPNS’ undeclared here (not in a function); did you mean ‘SIOCGSTAMP_OLD’?
|   177 |   IOCTL(SIOCGSTAMPNS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_timespec)))
|       |         ^~~~~~~~~~~~
| /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/linux-user/syscall.c:5740:23: note: in definition of macro ‘IOCTL’
|  5740 |     { TARGET_ ## cmd, cmd, #cmd, access, 0, {  __VA_ARGS__ } },
|       |                       ^~~
| make[1]: *** [/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/rules.mak:69: linux-user/syscall.o] Error 1
| make: *** [Makefile:481: subdir-aarch64-linux-user] Error 2
| make: *** Waiting for unfinished jobs....
|   CC      arm-linux-user/linux-user/strace.o
| make[1]: *** [/home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/qemu-3.0.0/rules.mak:69: linux-user/syscall.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| make: *** [Makefile:481: subdir-arm-linux-user] Error 2
| WARNING: /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/temp/run.do_compile.2568940:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/davide/openpli_thud/openpli-oe-core/build/tmp/work/x86_64-linux/qemu-native/3.0.0-r0/temp/log.do_compile.2568940)
ERROR: Task (virtual:native:/home/davide/openpli_thud/openpli-oe-core/openembedded-core/meta/recipes-devtools/qemu/qemu_3.0.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1041 tasks of which 896 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  virtual:native:/home/davide/openpli_thud/openpli-oe-core/openembedded-core/meta/recipes-devtools/qemu/qemu_3.0.0.bb:do_compile
Summary: There were 143 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



Re: Thud branch. #28 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 19:40

Also apply this patch. Maybe it helps...

Attached Files

  • Attached File  p2.patch   12.53KB   8 downloads

Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #29 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 20:18

It's doesn't work

git apply p2.patch 
error: meta/recipes-devtools/qemu/qemu/0014-linux-user-fix-to-handle-variably-sized-SIOCGSTAMP-w.patch: esiste già nella directory di lavoro
error: patch non riuscita: meta/recipes-devtools/qemu/qemu_3.0.0.bb:37
error: meta/recipes-devtools/qemu/qemu_3.0.0.bb: la patch non si applica correttamente


Re: Thud branch. #30 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 20:32

You also need the other patch.


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #31 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 22:15

Which? This one?



Re: Thud branch. #32 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 2 November 2019 - 22:39

First apply the patch from post #25 and then the patch from post #30.

Or wait several days, then I update thud branch. But there is still no guarantee that it will work afterwards.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #33 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 2 November 2019 - 23:30

Did you mean from post #25 and then from post #28?

If with both patch doesn't work i will wait an update, off course without guarantee



Re: Thud branch. #34 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 November 2019 - 01:53

Ah, yes #25 and #28
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #35 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 3 November 2019 - 10:00

It's doesn't work because the p2 patch is already present in environment (here), and the patch for glibc 2.3 isn' t enough.



Re: Thud branch. #36 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 3 November 2019 - 10:26

Maybe I did something wrong. I don’t think that p2 patch is already included as we use older version of thud.

Nevertheless I try to update our branch and you can test again. But not today. Earliest tomorrow.
Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Thud branch. #37 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 3 November 2019 - 10:54

I have no problems assembling the image at all.But there was a problem with devicemanager.After start plugin:

2019-11-02 20:03:37+0200 [-] Traceback (most recent call last):
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 77, in action
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Screens/Menu.py", line 110, in okbuttonClick
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager/plugin.py", line 16, in deviceManagerMain
2019-11-02 20:03:37+0200 [-]     supportExtFat()
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager/plugin.py", line 10, in supportExtFat
2019-11-02 20:03:37+0200 [-]     if "exfat-fuse" in open("/etc/filesystems").read():
2019-11-02 20:03:37+0200 [-] IOError: [Errno 2] No such file or directory: '/etc/filesystems'
[ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0xb1973418>>,('OkCancelActions', 'ok')) failed)
[gRC] main thread is non-idle! display spinner!

Maybe this is my local problem.I added a file filesystems-plugin work.


Edited by foxbob, 3 November 2019 - 10:56.


Re: Thud branch. #38 dax

  • Senior Member
  • 228 posts

0
Neutral

Posted 3 November 2019 - 11:35

Maybe I did something wrong. I don’t think that p2 patch is already included as we use older version of thud.

Nevertheless I try to update our branch and you can test again. But not today. Earliest tomorrow.

No problem, take your time and thanks again for support.

I have no problems assembling the image at all.

Which os?



Re: Thud branch. #39 arn354

  • Senior Member
  • 146 posts

+12
Neutral

Posted 3 November 2019 - 12:16

I have no problems assembling the image at all.But there was a problem with devicemanager.After start plugin:

2019-11-02 20:03:37+0200 [-] Traceback (most recent call last):
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 77, in action
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 57, in action
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Screens/Menu.py", line 110, in okbuttonClick
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Tools/BoundFunction.py", line 9, in __call__
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager/plugin.py", line 16, in deviceManagerMain
2019-11-02 20:03:37+0200 [-]     supportExtFat()
2019-11-02 20:03:37+0200 [-]   File "/usr/lib/enigma2/python/Plugins/SystemPlugins/DeviceManager/plugin.py", line 10, in supportExtFat
2019-11-02 20:03:37+0200 [-]     if "exfat-fuse" in open("/etc/filesystems").read():
2019-11-02 20:03:37+0200 [-] IOError: [Errno 2] No such file or directory: '/etc/filesystems'
[ePyObject] (CallObject(<bound method NumberActionMap.action of <Components.ActionMap.NumberActionMap instance at 0xb1973418>>,('OkCancelActions', 'ok')) failed)
[gRC] main thread is non-idle! display spinner!

Maybe this is my local problem.I added a file filesystems-plugin work.

https://github.com/o...5513c749132a66c



Re: Thud branch. #40 foxbob

  • Senior Member
  • 612 posts

+18
Neutral

Posted 3 November 2019 - 12:38

Ubuntu 18.04.3 LTS.Only on this system is downloaded Ncam.On newer problem with git-lfs which I can’t fix.I collected and on Arch Linux,but there I do as it is written in Wiki-python 2.7 default-does not work correctly.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users