Skip to contentSkip to conversation

Broken dunfell branch

DISCUSSION Guy Morand 3 participants 3 messages Jul 8, 2020

lore
Share & tools
lore

Guy Morand

author
#0 lore raw

Hallo Yocto deveopers!

For our daily release, we build from the latest dunfell branch. I would like to thank and congratulate you because we have been doing so for over a year and the build never broke because of poky/OE meta layers!

However, we recently got some errors:

ERROR: mtd-utils-2.1.1-r0 do_patch: Command Error: 'quilt --quiltrc /mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch
patching file ubi-utils/ubiformat.c
Hunk #1 FAILED at 550.
Hunk #2 FAILED at 643.
Hunk #3 FAILED at 669.
3 out of 3 hunks FAILED -- rejects in file ubi-utils/ubiformat.c
Patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch can be reverse-applied
ERROR: Logfile of failure stored in: /mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/temp/log.do_patch.23641
ERROR: Task (/mnt/sdb/buildAgent/work/8161e17a85bb6b69/meta-layers/poky/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_patch) failed with exit code '1'

It seems the faulty commit is:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=994783b52e5c0a97000b8b643c8fd80d81069097

For now I simply build from the previous commit and everything is fine. Not sure if someone already noticed that or if there is something wrong with my setup?

Best regards,

Guy Morand

#1 lore raw

This 0001-mtd-utils-Fix-return-value-of-ubiformat.patch patch was recently backported to dunfell in
https://git.openembedded.org/openembedded-core/commit/?h=dunfell&id=3ee98b6c9ddd1dd0825245ca672236b7befb9859

check with "bitbake -e mtd-utils" to see which other layer in your build adds the same patch or changes SRCREV to newer commit which already contains the same change from upstream.

Quoted 42 lines · Guy Morand

Hallo Yocto deveopers!

For our daily release, we build from the latest dunfell branch. I would like to thank and congratulate you because we have been doing so for over a year and the build never broke because of poky/OE meta layers!

However, we recently got some errors:

ERROR: mtd-utils-2.1.1-r0 do_patch: Command Error: 'quilt --quiltrc /mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/recipe-sysroot-native/etc/quiltrc

push' exited with 0 Output:
Applying patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch patching file ubi-utils/ubiformat.c
Hunk #1 FAILED at 550.
Hunk #2 FAILED at 643.
Hunk #3 FAILED at 669.
3 out of 3 hunks FAILED -- rejects in file ubi-utils/ubiformat.c Patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch can be reverse-applied
ERROR: Logfile of failure stored in:

/mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/temp/log.do_patch.23641
ERROR: Task

(/mnt/sdb/buildAgent/work/8161e17a85bb6b69/meta-layers/poky/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_patch)

failed with exit code '1'

It seems the faulty commit is:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=994783b52e5c0a97000b8b643c8fd80d81069097

For now I simply build from the previous commit and everything is fine. Not sure if someone already noticed that or if there is something wrong with my setup?

Best regards,

Guy Morand

#2 lore raw
In reply to Guy Morand

Hi Guy,

Quoted 26 lines · Guy Morand

Hallo Yocto deveopers!

For our daily release, we build from the latest dunfell branch. I would like to thank and congratulate you because we have been doing so for over a year and the build never broke because of poky/OE meta layers!

However, we recently got some errors:

ERROR: mtd-utils-2.1.1-r0 do_patch: Command Error: 'quilt --quiltrc /mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch
patching file ubi-utils/ubiformat.c
Hunk #1 FAILED at 550.
Hunk #2 FAILED at 643.
Hunk #3 FAILED at 669.
3 out of 3 hunks FAILED -- rejects in file ubi-utils/ubiformat.c
Patch 0001-mtd-utils-Fix-return-value-of-ubiformat.patch can be
reverse-applied
ERROR: Logfile of failure stored in:
/mnt/sdb/buildAgent/work/8161e17a85bb6b69/build/tmp/work/armv7vet2hf-neon-scewo-linux-gnueabi/mtd-utils/2.1.1-r0/temp/log.do_patch.23641

ERROR: Task (/mnt/sdb/buildAgent/work/8161e17a85bb6b69/meta-layers/poky/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_patch) failed with exit code '1'

Quoted 8 lines

It seems the faulty commit is:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dunfell&id=994783b52e5c0a97000b8b643c8fd80d81069097

For now I simply build from the previous commit and everything is fine. Not sure if someone already noticed that or if there is something wrong with my setup?

Do you have meta-swupdate in your layers, too, and are you using -master (see commit ece400ed5) ?

Best regards,
Stefano Babic

Quoted 6 lines

Best regards,

Guy Morand

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================