From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adolf Belka (ipfire-dev)" To: development@lists.ipfire.org Subject: How to deal with consequences of update to attr Date: Mon, 08 Feb 2021 10:01:29 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5741477471466525562==" List-Id: --===============5741477471466525562== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I found that attr was from 2013 but that there was a newer update from 2018, = so I ran a build of the update which worked fine. However python-xattr failed to build because xattr.h was not provided by the = new version of attr. I realised that python-xattr-0.5.0 was from 2007 so real= ly needed updating also. Ran the build for python-xattr-0.9.7 from 2019. However it required python-cf= fi. So I added that. python-cffi also requires python-setuptools, which is av= ailable as an addon so I just had to adjust the order of the build to include= that. Then had to add python-pycparser as that is also required by python-cf= fi. After all of the above the package completed building without any errors. My question is about the additional required python packages cffi (C Foreign = Function Interface) and pycparser (Complete parser for C acting as a front en= d for C Compilers or analysis tools). It doesn't seem like they should need to be added as addons just so that pyth= on-xattr can be built. It would make more sense to me to add them only for th= e building portion. Presumably I place the required programs into the buildba= se section of make.sh but how do I ensure that they are only used in the buil= d and not also included in the final IPFire. I see that meson is in the buildbase section and is not in the final IPFire b= ut gzip is also in the buildbase section but does end up in the final IPFire = but I can't see what I need to specify to make sure the additional python pac= kages follow the meson approach and not the gzip approach. I suspect it will = turnout to be obvious but I have not been able to figure it out. Help required please on how to go about this. Thanks and regards, Adolf. --=20 Sent from my desktop --===============5741477471466525562==--