<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9627</bug_id>
          
          <creation_ts>2016-05-13 12:42:21 +0000</creation_ts>
          <short_desc>devtool seems to mangle incorrectly the .bb file, when modifying the set of patches for a component</short_desc>
          <delta_ts>2025-02-14 16:48:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>.</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Igor Stoppa">igor.stoppa</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62177</commentid>
    <comment_count>0</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-05-13 12:42:21 +0000</bug_when>
    <thetext>I&apos;m working on a recipe from meta-swup: swupd-client.

I udes devtool to remove one of the existing patches and replace it with another. 
I got a build error - patch not found, referring to the one I removed.

When I looked into the bb file, the SRC_URI looked like this:

SRC_URI = &quot;https://download.clearlinux.org/releases/5700/clear/source/SRPMS/${BPN}-${PV}-105.src.rpm;extract=${BP}.tar.gz \
           file://Fix-build-failure-on-Yocto.patch \
           file://Right-usage-of-AC_ARG_ENABLE-on-bzip2.patch \
           file://Change-systemctl-path-to-OE-systemctl-path.patch \
           file://0001-Tolerate-quotes-in-os-release-files.patch \
           file://0005-swupd-client-Add-existence-check-to-staging-target.patch \
           file://0006-Backport-Use-rename-instead-of-tar-transform.patch \
           file://0007-Add-compatibility-with-libarchive-s-bsdtar-command.patch \
           file://0001-log.c-avoid-segfault-and-show-staging-file-name.patch \
           file://0002-downloads-minimize-syscalls-to-improve-performance.patch \
           file://0001-globals.c-Use-fake-address-as-default-updates-url.patch \
           file://0001-manifest.c-Always-initialize-preserver-pointer-of-fi.patch \
           file://0001-Add-configure-option-to-re-enable-updating-of-config.patch \
           file://0001-staging.c-Protect-tar-command-against-special-charac.patch \
           file://efi_combo_updater.c \
           ${@ &apos;file://efi-combo-trigger.service&apos; if ${OSTRO_USE_DSK_IMAGES} else &apos;&apos;} \
           file://0001-Disable-boot-file-heuristics.patch \
           file://efi_combo_updater.c \
           ${@ &apos;file://efi-combo-trigger.service&apos; if ${OSTRO_USE_DSK_IMAGES} else &apos;&apos;} \
           file://0001-Disable-boot-file-heuristics.patch \
           file://efi_combo_updater.c \
           ${@ &apos;file://efi-combo-trigger.service&apos; if ${OSTRO_USE_DSK_IMAGES} else &apos;&apos;} \
           file://0001-Make-optional-the-special-handling-of-boot-files.patch \
           &quot;

Notice that efi_combo_updater.c is now referred to 3 times and 0001-Disable-boot-file-heuristics.patch 2 times.

Unfortunately I do not recall the exact sequence of operations I did in the workspace, but they involved generating few patches, then squashing them and updating the original recipe.

I&apos;ll add more info if I see this happening again, but I thought it might be better to document it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62178</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-05-13 12:47:32 +0000</bug_when>
    <thetext>Also efi-combo-trigger.service is listed 3 times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62180</commentid>
    <comment_count>2</comment_count>
    <who name="Igor Stoppa">igor.stoppa</who>
    <bug_when>2016-05-13 14:14:29 +0000</bug_when>
    <thetext>I figured out what was happening: a separate bbappend file was adding to the git stack the 0001-Disable-boot-file-heuristics.patch, which I removed.
This didn&apos;t alter the bbappend, thought, so when I tried to build again, the bbappend was still causing bitbake to look for the patch that is no more.

It&apos;s kinda complex, so I understand that it must be trick to deal with it from devtools, but it was very easy for me to shoot myself in the foot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96869</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:33 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101012</commentid>
    <comment_count>4</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:46:36 +0000</bug_when>
    <thetext>bulk change to add Saul&apos;s non-WR address.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101038</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2025-02-14 16:48:14 +0000</bug_when>
    <thetext>Bulk change: Remove Saul&apos;s old WR address.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>