new SAMA 6.1 Jocto "thud" failed within do_patch() in qtbase

Moderator: nferre

kobold04
Posts: 5
Joined: Wed Jul 31, 2019 1:19 pm

new SAMA 6.1 Jocto "thud" failed within do_patch() in qtbase

Thu Aug 08, 2019 4:48 pm

Dear All

I try to build my OS using jocto.
I use the Linux4SAM 6.1 with jocto branch "thud".
I add layer meta-qt.

I follow exactly this instructions:
https://raw.githubusercontent.com/linux ... umo/README
Expect in local.conf i use sama5d4-xplained as MACHINE.
(In the description they use sama5d4-xplained).

If I bitbake core-imalge-minimal I get a do_patch() error in qtbase.
Patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch does not apply (enforce with -f)

I think i looks like this problem.
https://github.com/linux4sam/meta-atmel/issues/131
It is not solved?

If I build Linux4SAM 6.1 jocto branch "sumo"
every thing is OK.

Anybody have a solution for this problem?
Thanks Oliver

Code: Select all


asdasd
kobold04
Posts: 5
Joined: Wed Jul 31, 2019 1:19 pm

Re: new SAMA 6.1 Jocto "thud" failed within do_patch() in qtbase

Fri Aug 09, 2019 12:08 pm

Here is the bitbake output


Here is the bitbake output
I must split it, because this website tells me
"Forbidden. Contains contacts. Message seems to be spam. "
But not what kind of text is vorbidden :(

Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3261 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:03
Parsing of 2286 .bb files complete (2285 cached, 1 parsed). 3262 targets, 317 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task censored dependencies

Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "sama5d4-xplained"
DISTRO = "poky-atmel"
DISTRO_VERSION = "2.6.3"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU = "hard"
meta-atmel = "thud:"
meta-qt5 = "upstream/thud:"
meta
meta-poky
meta-yocto-bsp = "thud: I delete the rest of the line. With this line this website tell me, that I want to post spam
meta-oe
meta-networking
meta-python
meta-multimedia = "thud:"

Initialising tasks: 100% |#######################################| Time: 0:00:02
Sstate summary: Wanted 1060 Found 0 Missed 1060 Current 82 (0% match, 7% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0 do_patch: Command Error: 'quilt --quiltrc /home/user/SAMA5D4_thud/poky/build-atmel/tmp/work/cortexa5t2hf-neon-poky-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch
patching file src/platformsupport/fbconvenience/qfbscreen_p.h
patching file src/plugins/platforms/linuxfb/qlinuxfbdrmscreen.cpp
patching file src/plugins/platforms/linuxfb/qlinuxfbdrmscreen.h
patching file src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp
Hunk #1 FAILED at 173.
1 out of 1 hunk FAILED -- rejects in file src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp
patching file src/plugins/platforms/linuxfb/qlinuxfbscreen.h
Patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch does not apply (enforce with -f)
ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/user/SAMA5D4_thud/poky/build-atmel/tmp/work/cortexa5t2hf-neon-poky-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/temp/log.do_patch.24790
ERROR: Task (/home/user/SAMA5D4_thud/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_patch) failed with exit code '1'

Second Keyboard Interrupt, stopping...


Summary: 1 task failed:
/home/user/SAMA5D4_thud/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
kobold04
Posts: 5
Joined: Wed Jul 31, 2019 1:19 pm

Re: new SAMA 6.1 Jocto "thud" failed within do_patch() in qtbase

Fri Aug 09, 2019 4:56 pm

kobold04 wrote: Dear All

I try to build my OS using jocto.
I use the Linux4SAM 6.1 with jocto branch "thud".
I add layer meta-qt.

I follow exactly this instructions:
https://raw.githubusercontent.com/linux ... umo/README
Expect in local.conf i use sama5d4-xplained as MACHINE.
(In the description they use sama5d4-xplained).

If I bitbake core-imalge-minimal I get a do_patch() error in qtbase.
Patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch does not apply (enforce with -f)

I think i looks like this problem.
https://github.com/linux4sam/meta-atmel/issues/131
It is not solved?

If I build Linux4SAM 6.1 jocto branch "sumo"
every thing is OK.

Anybody have a solution for this problem?
Thanks Oliver

Code: Select all


asdasd
Here is the bitbake output


Here is the bitbake output
I must split it, because this website tells me
"Forbidden. Contains contacts. Message seems to be spam. "
But not what kind of text is vorbidden :(


Build Configuration:
BB_VERSION = "1.40.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "sama5d4-xplained"
DISTRO = "poky-atmel"
DISTRO_VERSION = "2.6.3"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa5"
TARGET_FPU = "hard"
meta-atmel = "thud:"
meta-qt5 = "upstream/thud:"
meta
meta-poky
meta-yocto-bsp = "thud: I delete the rest of the line. With this line this website tell me, that I want to post spam
meta-oe
meta-networking
meta-python
meta-multimedia = "thud:"


Applying patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch
patching file src/platformsupport/fbconvenience/qfbscreen_p.h
patching file src/plugins/platforms/linuxfb/qlinuxfbdrmscreen.cpp
patching file src/plugins/platforms/linuxfb/qlinuxfbdrmscreen.h
patching file src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp
Hunk #1 FAILED at 173.


1 out of 1 hunk FAILED -- rejects in file src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp
patching file src/plugins/platforms/linuxfb/qlinuxfbscreen.h
Patch 0004-Provide-access-to-linuxfb-dri-fd-through-platform.patch does not apply (enforce with -f)
ERROR: qtbase-5.11.3+gitAUTOINC+08de243eaa-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/user/SAMA5D4_thud/poky/build-atmel/tmp/work/cortexa5t2hf-neon-poky-linux-gnueabi/qtbase/5.11.3+gitAUTOINC+08de243eaa-r0/temp/log.do_patch.24790
ERROR: Task (/home/user/SAMA5D4_thud/meta-qt5/recipes-qt/qt5/qtbase_git.bb:do_patch) failed with exit code '1'

Return to “SAMA5-based”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest