<?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>15097</bug_id>
          
          <creation_ts>2023-04-06 11:18:28 +0000</creation_ts>
          <short_desc>Feature request: add support for acls and xattrs</short_desc>
          <delta_ts>2024-02-08 22:10:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>opkg</product>
          <component>opkg</component>
          <version>0.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>next-minor</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Piotr Łobacz">p.lobacz</reporter>
          <assigned_to name="Alex Stewart">alex.stewart</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95298</commentid>
    <comment_count>0</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-04-06 11:18:28 +0000</bug_when>
    <thetext>Alex as we have already spoken and I have verified that everything is working properly can we add this feature?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95311</commentid>
    <comment_count>1</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2023-04-06 15:57:23 +0000</bug_when>
    <thetext>We can add this as a feature-request; but it sounds like you already have something working. If you can clean that up and submit it, I would be happy to merge it and close this item.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95312</commentid>
    <comment_count>2</comment_count>
      <attachid>4945</attachid>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-04-06 19:02:47 +0000</bug_when>
    <thetext>Created attachment 4945
opkg-build support ACLS and extended attributes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95313</commentid>
    <comment_count>3</comment_count>
      <attachid>4946</attachid>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-04-06 19:03:31 +0000</bug_when>
    <thetext>Created attachment 4946
opkg_archive.c support ACLs, extended flags and attributes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95314</commentid>
    <comment_count>4</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-04-06 19:05:57 +0000</bug_when>
    <thetext>These are my current patches I would rather like to have them done a little bit differently, meaning to add this support when acl and xattrs are being enabled in configure and also if libarchive is with this support already.

The problem is that I&apos;ve never had experience with autoconf... I&apos;ve more with CMake.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95893</commentid>
    <comment_count>5</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-07-10 08:28:06 +0000</bug_when>
    <thetext>Hi Alex, I have created finally the patches with additional autotools changes. Question is were would you like me to put these patches both for opkg and opkg-utils?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95894</commentid>
    <comment_count>6</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-07-10 09:04:43 +0000</bug_when>
    <thetext>(In reply to Piotr Łobacz from comment #5)
&gt; Hi Alex, I have created finally the patches with additional autotools
&gt; changes. Question is were would you like me to put these patches both for
&gt; opkg and opkg-utils?

Ok I have managed to send the patches:
https://groups.google.com/g/opkg-devel/c/aEGL7XRXfaA - opkg
https://groups.google.com/g/opkg-devel/c/dYNHrLjDwg8 - opkg-utils</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95898</commentid>
    <comment_count>7</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2023-07-10 21:27:08 +0000</bug_when>
    <thetext>Thanks, Piotr! I&apos;m just getting back into the office from holidays in the US and catching up on threads. I&apos;ll review your patches tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96008</commentid>
    <comment_count>8</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-07-20 20:50:02 +0000</bug_when>
    <thetext>Hi Alex, I have forgotten to mention here, that there is another patch for opkg due to the usage of posix format:

https://groups.google.com/g/opkg-devel/c/16kgZfJ26mQ</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96014</commentid>
    <comment_count>9</comment_count>
    <who name="Alex Stewart">alex.stewart</who>
    <bug_when>2023-07-21 14:31:50 +0000</bug_when>
    <thetext>That locale patch looks good to me. Thanks!

Strangely, I don&apos;t see that patch anywhere in my email :(. It&apos;s probably an issue on my end. I&apos;ll give it until the end of the day to propagate through; but if it doesn&apos;t, I might ask you to send it to me directly on Monday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96015</commentid>
    <comment_count>10</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-07-21 15:46:33 +0000</bug_when>
    <thetext>(In reply to Alex Stewart from comment #9)
&gt; That locale patch looks good to me. Thanks!
&gt; 
&gt; Strangely, I don&apos;t see that patch anywhere in my email :(. It&apos;s probably an
&gt; issue on my end. I&apos;ll give it until the end of the day to propagate through;
&gt; but if it doesn&apos;t, I might ask you to send it to me directly on Monday.

Sure thing. I can wait. Generally we still need to wait for Alexandre to test the whole patchset, which I have created for him today for the new master-next. 

Strangly this kind of errors:

opkg-build -Z xz -a &quot;--memlimit=5% --threads=8&quot; &quot;&quot; &quot;&quot; nativesdk-xcb-proto-dbg /home/pokybuild/yocto-worker/genericx86-64/build/build/tmp/work/i686-nativesdk-pokysdk-linux/nativesdk-xcb-proto/1.15.2-r0/deploy-ipks/i686-nativesdk&apos; returned non-zero exit status 1

are not happening for me and I&apos;m not even able to reproduce...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96028</commentid>
    <comment_count>11</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-07-24 16:30:29 +0000</bug_when>
    <thetext>OK this has been fixed but I have a new story for you which is on opkg-devel. Shortly, the --format=posix is causing the issue with packages reproducible builds which does not happen with --format=gnu.

This has to be investigate with tar devel team.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96196</commentid>
    <comment_count>12</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2023-08-04 09:00:23 +0000</bug_when>
    <thetext>Hi Alex, I do not know if my emails have reached you but I have succeeded with all reproducibility tests and thus I have re-send fixed patchset.

The only question is whether the patch for locales and opkg-build v6 have reached you?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98164</commentid>
    <comment_count>13</comment_count>
    <who name="Piotr Łobacz">p.lobacz</who>
    <bug_when>2024-02-08 22:10:08 +0000</bug_when>
    <thetext>Patches applied, new versions released.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4945</attachid>
            <date>2023-04-06 19:02:47 +0000</date>
            <delta_ts>2023-04-06 19:02:47 +0000</delta_ts>
            <desc>opkg-build support ACLS and extended attributes</desc>
            <filename>0002-opkg-build-support-ACLs-and-extended-attributes.patch</filename>
            <type>text/plain</type>
            <size>2289</size>
            <attacher name="Piotr Łobacz">p.lobacz</attacher>
            
              <data encoding="base64">RnJvbSA2MWRjYmU1OTY1NmUwMTAwZGQxM2I5ODBjNTMwYmY2NGVjZTc4YjM3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/UGlvdHI9MjA9QzU9ODFvYmFjej89IDxwLmxv
YmFjekB3ZWxvdGVjLmNvbT4KRGF0ZTogU3VuLCAyIE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N0ICkKLSggY2QgJHBrZ19kaXIgJiYgdGFyICRvZ2FyZ3MgJHRzb3J0YXJncyAtLW5vLXJl
Y3Vyc2lvbiAkbXRpbWVfYXJncyAtYyAkdGFyZm9ybWF0IC1UICR0bXBfZGlyL2ZpbGVfbGlzdCB8
ICRjb21wcmVzc29yICRjb21wcmVzc29yYXJncyA+ICR0bXBfZGlyL2RhdGEudGFyLiRjZXh0ICkK
KyggY2QgJHBrZ19kaXIgJiYgdGFyIC0teGF0dHJzIC0tYWNscyAkb2dhcmdzICR0c29ydGFyZ3Mg
LS1uby1yZWN1cnNpb24gJG10aW1lX2FyZ3MgLWMgJHRhcmZvcm1hdCAtVCAkdG1wX2Rpci9maWxl
X2xpc3QgfCAkY29tcHJlc3NvciAkY29tcHJlc3NvcmFyZ3MgPiAkdG1wX2Rpci9kYXRhLnRhci4k
Y2V4dCApCiAoIGNkICRwa2dfZGlyLyRDT05UUk9MICYmIHRhciAkb2dhcmdzICR0c29ydGFyZ3Mg
LS1uby1yZWN1cnNpb24gLS1tdGltZT1AJGJ1aWxkX2RhdGUgLWMgJHRhcmZvcm1hdCAtVCAkdG1w
X2Rpci9jb250cm9sX2xpc3QgfCBnemlwICR6aXBhcmdzID4gJHRtcF9kaXIvY29udHJvbC50YXIu
Z3ogKQogcm0gJHRtcF9kaXIvZmlsZV9saXN0CiBybSAkdG1wX2Rpci9jb250cm9sX2xpc3QKLS0g
CjIuMzQuMQoK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>4946</attachid>
            <date>2023-04-06 19:03:31 +0000</date>
            <delta_ts>2023-04-06 19:03:31 +0000</delta_ts>
            <desc>opkg_archive.c support ACLs, extended flags and attributes</desc>
            <filename>0002-opkg_archive-support-ACLs-extended-flags-and-attributes.patch</filename>
            <type>text/plain</type>
            <size>1608</size>
            <attacher name="Piotr Łobacz">p.lobacz</attacher>
            
              <data encoding="base64">RnJvbSAzYjQzM2YxZGY2YzgwYmM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