<?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>15251</bug_id>
          
          <creation_ts>2023-10-20 10:47:48 +0000</creation_ts>
          <short_desc>oe-pkgdata-util list-pkg-files doesn&apos;t list symlinks</short_desc>
          <delta_ts>2023-11-27 16:55:29 +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>Scripts and Tools</component>
          <version>4.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>NEWCOMER</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="New Comer Bugs">newcomer</assigned_to>
          <cc>loc.nguyen.wt</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>96757</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-10-20 10:47:48 +0000</bug_when>
    <thetext>If a recipe creates symlinks they don&apos;t appear in the list-pkg-files output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96758</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-10-20 11:00:54 +0000</bug_when>
    <thetext>Notable this also means buildhistory-diff doesn&apos;t see symlinks either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97241</commentid>
    <comment_count>2</comment_count>
    <who name="Loc Nguyen">loc.nguyen.wt</who>
    <bug_when>2023-11-10 05:02:50 +0000</bug_when>
    <thetext>Hi Ross Burton,

I would like to support this bugfix.
Can you help to specify how to reproduce it?
I&apos;ve tried to reproduce the bug by adding below code to bzip2 recipe. However, the output is of &quot;oe-pkgdata-util list-pkg-files bzip2&quot; is still correct. 

do_install:append () {
        install -d ${D}/bin
        echo &quot;ABC&quot; &gt; ${D}/bin/test
        chmod 755 ${D}/bin/test
        ln -sf test ${D}/bin/symlink
        ln -sf test ${D}/bin/symlink2
}


&gt; oe-pkgdata-util list-pkg-files bzip2
bzip2:
        /bin/symlink
        /bin/symlink2
        /bin/test
        /usr/bin/bunzip2.bzip2
        /usr/bin/bzcat.bzip2
        /usr/bin/bzcmp
        /usr/bin/bzdiff
        /usr/bin/bzegrep
        /usr/bin/bzfgrep
        /usr/bin/bzgrep
        /usr/bin/bzip2.bzip2
        /usr/bin/bzip2recover
        /usr/bin/bzless
        /usr/bin/bzmore</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97342</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-11-27 16:55:29 +0000</bug_when>
    <thetext>So I genuinely can&apos;t replicate this anymore.  I wish I could remember where I was seeing a problem but I can&apos;t and adding/removing symlinks from a recipe are working in oe-pkgdata-util and buildhistory, so maybe I was just doing something wrong.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>