fairbird / openpli-dreambox-oe-core

GNU General Public License v3.0
6 stars 8 forks source link

ERROR dreamone image build #67

Closed kos4385 closed 1 year ago

kos4385 commented 1 year ago

ERROR: Nothing RPROVIDES 'firmware-bcmdhd' (but /home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-linux/bcmdhd/bcmdhd_1.363.59.144.x.cn.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'firmware-bcmdhd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['firmware-bcmdhd'] NOTE: Runtime target 'bcmdhd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bcmdhd', 'firmware-bcmdhd'] NOTE: Runtime target 'packagegroup-core-boot' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-core-boot', 'bcmdhd', 'firmware-bcmdhd'] ERROR: Required build target 'openpli-enigma2-image' has no buildable providers. Missing or unbuildable dependency chain was: ['openpli-enigma2-image', 'packagegroup-core-boot', 'bcmdhd', 'firmware-bcmdhd']

Summary: There were 2 ERROR messages, returning a non-zero exit code. make: *** [Makefile:109: image] Error 1

fairbird commented 1 year ago

Try again please after this commit ?! https://github.com/fairbird/openpli-dreambox-oe-core/commit/0ae659459b0b4dc767ab619842fb006907e7168f

P.s: Audio for DreamOne/Two not solve yet !!!

kos4385 commented 1 year ago

Thank You fairbird! now building process started!

kos4385 commented 1 year ago

Other ERROR: ERROR: linux-meson64-1_4.9.113-643176-g72b0573-.2 do_patch: Applying patch '0008-fix-build-binutils241.patch' on target directory '/home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/linux-meson64-v4.9.113-643176-g72b0573' CmdError('quilt --quiltrc /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0008-fix-build-binutils241.patch patching file arch/arm/boot/compressed/head.S can't find file to patch at input line 18 Perhaps you used the wrong -p or --strip option? The text leading up to this was: . |diff --git a/arch/arm/boot/compressed/piggy.gzip.S b/arch/arm/boot/compressed/piggy.gzip.S |index a68adf91..b7cbb70c 100644 |--- a/arch/arm/boot/compressed/piggy.gzip.S |+++ b/arch/arm/boot/compressed/piggy.gzip.S . No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file arch/arm/mm/proc-v7.S Hunk #1 FAILED at 404. 1 out of 1 hunk FAILED -- rejects in file arch/arm/mm/proc-v7.S Patch 0008-fix-build-binutils241.patch does not apply (enforce with -f) . stderr: ") ERROR: Logfile of failure stored in: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/temp/log.do_patch.533112 ERROR: Task (/home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-linux/linux-meson64_4.9.113-643176-g72b0573.bb:do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 2357 tasks of which 0 didn't need to be rerun and 1 failed. . Summary: 1 task failed: /home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-linux/linux-meson64_4.9.113-643176-g72b0573.bb:do_patch Summary: There was 1 ERROR message, returning a non-zero exit code. make: *** [Makefile:109: image] Error 1

fairbird commented 1 year ago

There are a lot of update for dreamone/two I have done ... Please try again now ...

kos4385 commented 1 year ago

Thank You for such quick support, I start build image! Need to remove all old files?

fairbird commented 1 year ago

No ... Just use script to build image .. no more ... If you want to build image manually without using script you need to update core first ...

make update

kos4385 commented 1 year ago

fairbird I see that you have drivers for dm800 can you add support to build image for it?

fairbird commented 1 year ago

Sorry ... No more support for dead dm800 (Because no new kernel as like dm800se... so need more and more works and patches to make python3 compitable with it. It is waste of time !!

kos4385 commented 1 year ago

Other ERROR: ERROR: linux-meson64-1_4.9.113-643176-g72b0573-.2 do_patch: Applying patch '0008-fix-build-binutils241.patch' on target directory '/home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/linux-meson64-v4.9.113-643176-g72b0573' CmdError('quilt --quiltrc /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 0008-fix-build-binutils241.patch patching file arch/arm/boot/compressed/head.S can't find file to patch at input line 18 Perhaps you used the wrong -p or --strip option? The text leading up to this was: . |diff --git a/arch/arm/boot/compressed/piggy.gzip.S b/arch/arm/boot/compressed/piggy.gzip.S |index a68adf91..b7cbb70c 100644 |--- a/arch/arm/boot/compressed/piggy.gzip.S |+++ b/arch/arm/boot/compressed/piggy.gzip.S . No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file arch/arm/mm/proc-v7.S Hunk #1 succeeded at 557 (offset 153 lines). Patch 0008-fix-build-binutils241.patch does not apply (enforce with -f)

stderr: ") ERROR: Logfile of failure stored in: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/linux-meson64/4.9.113-643176-g72b0573/temp/log.do_patch.1197342 ERROR: Task (/home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-linux/linux-meson64_4.9.113-643176-g72b0573.bb:do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 2155 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-linux/linux-meson64_4.9.113-643176-g72b0573.bb:do_patch Summary: There was 1 ERROR message, returning a non-zero exit code. make: *** [Makefile:109: image] Error 1

fairbird commented 1 year ago

Updated patch again !! Try please !!

kos4385 commented 1 year ago

Thank You! Start to build!

kos4385 commented 1 year ago

WARNING: python3-daap-0.7.1-r2 do_fetch: Failed to fetch URL http://jerakeen.org/files/PythonDaap-0.7.1.tar.gz, attempting MIRRORS if available

kos4385 commented 1 year ago

WARNING: bcmdhd-1.363.59.144.x.cn-r0 do_make_scripts: Function do_make_scripts doesn't exist ERROR: openpli-enigma2-image-1.0-r0 do_image_tar: ExecutionError('/home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.894932', 127, None, None) ERROR: Logfile of failure stored in: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/log.do_image_tar.894932 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/glibc/cross-localedef-native_2.38.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-bsp/mkbootimg_git.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/opkg/opkg_0.6.2.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-extended/pigz/pigz_2.8.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: ['mkbootimg-native'] | NOTE: Skipping as already exists in sysroot: ['enigma2', 'cross-localedef-native', 'ldconfig-native', 'qemuwrapper-cross', 'depmodwrapper-cross', 'update-rc.d-native', 'makedevs-native', 'opkg-utils-native', 'opkg-native', 'pseudo-native', 'pbzip2-native', 'pigz-native', 'xz-native', 'libtool-native', 'glib-2.0-native', 'shadow-native', 'qemu-native', 'gdk-pixbuf-native', 'python3-native', 'debianutils-native', 'openssl-native', 'perl-native', 'libarchive-native', 'libsolv-native', 'kmod-native', 'python3-twisted', 'gcc-runtime', 'freetype', 'python3', 'libdreamdvd', 'giflib', 'python3-wifi', 'libudfread', 'avahi', 'libsigc++-3', 'tuxtxt-enigma2', 'libpng', 'curl', 'fribidi', 'libmad', 'ffmpeg', 'libjpeg-turbo', 'glibc', 'openssl', 'libdvbsi++', 'libxml2', 'zlib-native', 'bzip2-native', 'shared-mime-info-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'libpcre2-native', 'util-linux-native', 'libffi-native', 'gettext-native', 'libpng-native', 'gobject-introspection-native', 'libjpeg-turbo-native', 'libnsl2-native', 'libtirpc-native', 'sqlite3-native', 'libedit-native', 'util-linux-libuuid-native', 'ncurses-native', 'gdbm-native', 'expat-native', 'upx-native', 'make-native', 'zstd-native', 'attr-native', 'acl-native', 'cmake-native', 'libgcc', 'linux-libc-headers', 'zlib', 'xz', 'util-linux-libuuid', 'ncurses', 'libedit', 'libxcrypt', 'libtirpc', 'opkg-utils', 'expat', 'gdbm', 'bzip2', 'sqlite3', 'libnsl2', 'libffi', 'libdvdnav', 'dbus', 'base-passwd', 'shadow', 'initscripts', 'libdaemon', 'glib-2.0', 'libcap', 'base-files', 'gobject-introspection', 'update-rc.d', 'shadow-sysroot', 'mm-common', 'libtuxtxt', 'libidn2', 'libid3tag', 'rtmpdump', 'x264', 'libbluray', 'libtheora', 'libogg', 'alsa-lib', 'itstool-native', 'libxml2-native', 'libcap-ng-native', 'flex-native', 'ucl-native', 'libdvdread', 'libpam', 'libpcre2', 'bash-completion', 'util-linux', 'libunistring', 'm4-native', 'cracklib', 'libcap-ng', 'gnu-config-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing python function set_image_size | DEBUG: 503458.800000 = 387276 * 1.300000 | DEBUG: 503458.800000 = max(503458.800000, 65536)[503458.800000] + 0 | DEBUG: 503459.000000 = int(503458.800000) | DEBUG: 503459 = aligned(503459) | DEBUG: returning 503459 | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_tar | /usr/bin/env: ‘python’: No such file or directory | WARNING: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.894932:150 exit 127 from 'mkbootimg --base 0 --kernel_offset 0x1080000 --second_offset 0x1000000 -o /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/dreamone/kernel.bin --kernel /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/Image.gz --second /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/dreamone.dtb --board one --cmdline "logo=osd0,loaded,0x7f800000 vout=1080p60hz,enable hdmimode=1080p60hz fb_width=1280 fb_height=720 console=ttyS0,1000000 root=/dev/mmcblk0p7 rootwait rootfstype=ext4 no_console_suspend"' | WARNING: Backtrace (BB generated script): | #1: do_image_tar, /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.894932, line 150 | #2: main, /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.894932, line 156 ERROR: Task (/home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb:do_image_tar) failed with exit code '1' NOTE: Tasks Summary: Attempted 9236 tasks of which 2755 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb:do_image_tar Summary: There was 1 WARNING message. Summary: There was 1 ERROR message, returning a non-zero exit code. make: *** [Makefile:109: image] Error 1

fairbird commented 1 year ago

Just delete (tmp) folder from build directory and try to build image again !!

kos4385 commented 1 year ago

After remove tmp and build again:

ERROR: openpli-enigma2-image-1.0-r0 do_image_tar: ExecutionError('/home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.1098695', 127, None, None) ERROR: Logfile of failure stored in: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/log.do_image_tar.1098695 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/enigma2/enigma2.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/glibc/cross-localedef-native_2.38.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/meta-dreambox/recipes-bsp/mkbootimg_git.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/opkg-utils/opkg-utils_0.6.2.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/opkg/opkg_0.6.2.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-extended/pbzip2/pbzip2_1.1.13.bb:do_populate_sysroot', 'virtual:native:/home/kos4385/openpli-dreambox-oe-core/openembedded-core/meta/recipes-extended/pigz/pigz_2.8.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: ['mkbootimg-native'] | NOTE: Skipping as already exists in sysroot: ['enigma2', 'cross-localedef-native', 'ldconfig-native', 'qemuwrapper-cross', 'depmodwrapper-cross', 'update-rc.d-native', 'makedevs-native', 'opkg-utils-native', 'opkg-native', 'pseudo-native', 'pbzip2-native', 'pigz-native', 'xz-native', 'bzip2-native', 'qemu-native', 'gdk-pixbuf-native', 'kmod-native', 'zlib-native', 'shared-mime-info-native', 'debianutils-native', 'openssl-native', 'shadow-native', 'perl-native', 'python3-native', 'libarchive-native', 'libsolv-native', 'libtool-native', 'libsigc++-3', 'python3-twisted', 'python3-wifi', 'libpng', 'giflib', 'libdvbsi++', 'curl', 'ffmpeg', 'gcc-runtime', 'libxml2', 'libudfread', 'libdreamdvd', 'openssl', 'python3', 'libmad', 'freetype', 'fribidi', 'avahi', 'tuxtxt-enigma2', 'glibc', 'libjpeg-turbo', 'glib-2.0-native', 'gettext-minimal-native', 'libjpeg-turbo-native', 'libpng-native', 'gobject-introspection-native', 'libxml2-native', 'itstool-native', 'upx-native', 'gdbm-native', 'make-native', 'ncurses-native', 'expat-native', 'libnsl2-native', 'libffi-native', 'libedit-native', 'util-linux-libuuid-native', 'sqlite3-native', 'libtirpc-native', 'acl-native', 'zstd-native', 'attr-native', 'cmake-native', 'texinfo-dummy-native', 'mm-common', 'zlib', 'opkg-utils', 'libidn2', 'bzip2', 'rtmpdump', 'xz', 'libogg', 'alsa-lib', 'libbluray', 'libtheora', 'x264', 'linux-libc-headers', 'libgcc', 'libdvdnav', 'libtirpc', 'libedit', 'util-linux-libuuid', 'ncurses', 'libxcrypt', 'libnsl2', 'gdbm', 'expat', 'sqlite3', 'libffi', 'libid3tag', 'shadow-sysroot', 'dbus', 'libdaemon', 'shadow', 'base-files', 'glib-2.0', 'initscripts', 'base-passwd', 'gobject-introspection', 'update-rc.d', 'libcap', 'libtuxtxt', 'util-linux-native', 'libpcre2-native', 'gettext-native', 'flex-native', 'ucl-native', 'libunistring', 'libdvdread', 'libpam', 'util-linux', 'libpcre2', 'bash-completion', 'libcap-ng-native', 'm4-native', 'cracklib', 'libcap-ng', 'gnu-config-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing python function set_image_size | DEBUG: 503458.800000 = 387276 * 1.300000 | DEBUG: 503458.800000 = max(503458.800000, 65536)[503458.800000] + 0 | DEBUG: 503459.000000 = int(503458.800000) | DEBUG: 503459 = aligned(503459) | DEBUG: returning 503459 | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_tar | /usr/bin/env: ‘python’: No such file or directory | WARNING: /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.1098695:150 exit 127 from 'mkbootimg --base 0 --kernel_offset 0x1080000 --second_offset 0x1000000 -o /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/dreamone/kernel.bin --kernel /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/Image.gz --second /home/kos4385/openpli-dreambox-oe-core/build/tmp/deploy/images/dreamone/dreamone.dtb --board one --cmdline "logo=osd0,loaded,0x7f800000 vout=1080p60hz,enable hdmimode=1080p60hz fb_width=1280 fb_height=720 console=ttyS0,1000000 root=/dev/mmcblk0p7 rootwait rootfstype=ext4 no_console_suspend"' | WARNING: Backtrace (BB generated script): | #1: do_image_tar, /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.1098695, line 150 | #2: main, /home/kos4385/openpli-dreambox-oe-core/build/tmp/work/dreamone-oe-linux/openpli-enigma2-image/1.0/temp/run.do_image_tar.1098695, line 156 ERROR: Task (/home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb:do_image_tar) failed with exit code '1' NOTE: Tasks Summary: Attempted 9236 tasks of which 8662 didn't need to be rerun and 1 failed.

Summary: 1 task failed: /home/kos4385/openpli-dreambox-oe-core/meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb:do_image_tar Summary: There was 1 ERROR message, returning a non-zero exit code. make: *** [Makefile:109: image] Error 1

fairbird commented 1 year ago

why you have got alwas same error ?!

| /usr/bin/env: ‘python’: No such file or directory

Are you using Ubuntu ?!! On ubuntu 22.04 or 22.10 or 23.04 no problem .. Try to give this commend on terminal then try to start building image again ..

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 1

kos4385 commented 1 year ago

Ubuntu 22.04.1 LTS

fairbird commented 1 year ago

Also I have update core with this commit (I hope now it is ok) https://github.com/fairbird/openpli-dreambox-oe-core/commit/87b9f477de41ed0aca04980b5287dcbc44c65cee

kos4385 commented 1 year ago

After last commit building process was finish! Thank You fairbird!

fairbird commented 1 year ago

Please Test image and if you get any problems open new issue in e2 source not here https://github.com/fairbird/enigma2-dreambox