From nobody Sun Aug 27 17:15:57 2023 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RYgM86PWSz4rQyc for ; Sun, 27 Aug 2023 17:16:04 +0000 (UTC) (envelope-from felix@palmen-it.de) Received: from stef.palmen-it.de (stef.palmen-it.de [IPv6:2001:470:1f0b:bbb:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RYgM733XFz4RW1; Sun, 27 Aug 2023 17:16:03 +0000 (UTC) (envelope-from felix@palmen-it.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=palmen-it.de header.s=20200414 header.b=EKctnl4Y; spf=pass (mx1.freebsd.org: domain of felix@palmen-it.de designates 2001:470:1f0b:bbb:1::1 as permitted sender) smtp.mailfrom=felix@palmen-it.de; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=palmen-it.de; s=20200414; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=j256Nqx1o62a1hodTT3aEMJpxVK3ZWwObRghRKlNQlY=; b=EKctnl4YRhmgvvl7vlBDY9KA5b ki9OLrLRBOwzzdBKo7B08QJIRI/qzEL4EZcCPmagaFq0yfiV1gWNGI/7DdCt6Vh1J6xBopW4fWzaD CokCecgGSQXOFK6GallzXwXdw665+zx+Cea+A1z3uOL/U0FTTvmualRKApbhoq6HD9UdlWTKNtIbj 2tvH0vZmPVnz1G0qcli2wR9WIC1wReMWVWDCqUYCLuJAMpUaTZNEo/M9V+RL1qvEo6VrxUdSRGtA1 3Zrs7Ufq9ZfuGjIS+2zaoE1W6dilPBpm5KPSpFYe3/LV8HHwOgN9ZyT7x7iHzU+KF6IZe9+aUB/2a BZgC/NHg==; Received: from [192.168.71.101] (helo=mail.home.palmen-it.de) by stef.palmen-it.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qaJMk-00Azqo-C7; Sun, 27 Aug 2023 19:15:58 +0200 Received: from nexus.home.palmen-it.de ([192.168.99.2]) by mail.home.palmen-it.de with esmtpsa (TLS1.3) tls TLS_CHACHA20_POLY1305_SHA256 (Exim 4.96 (FreeBSD)) (envelope-from ) id 1qaJMk-000FWP-0J; Sun, 27 Aug 2023 17:15:58 +0000 Date: Sun, 27 Aug 2023 19:15:57 +0200 From: Felix Palmen To: current@freebsd.org Cc: Dmitry Chagin Subject: Re: Possible issue with linux xattr support? Message-ID: <3q2k3tje2ig2s6wzy4hzvjmoyejiecminvcvevivumtukxrgki@btnpjbztyfa6> Mail-Followup-To: current@freebsd.org, Dmitry Chagin X-Face: /1K@t"h.}e~pR@]c7HorQ!T`F^RJCa'BCr#e>IKA{>C/9OTGB4|xh"y2{?1Z5M i2w"AH^pN_LlHR^{+f',_Np~;.B;!M/bL}*qk]p5*r7F5vW};{:@4u5S?T&f0$7BJ-71Q5SV]:v$`5 A0[DZ:=?S52x8HJ~5@^P_\T@MsjG{R( Organization: FreeBSD.org References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="f62qipc5cbgsnfmh" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20230517 X-Spamd-Result: default: False [-6.48 / 15.00]; SIGNED_PGP(-2.00)[]; DWL_DNSWL_MED(-2.00)[palmen-it.de:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.979]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_IN_DNSWL_MED(-0.20)[2001:470:1f0b:bbb:1::1:from]; R_DKIM_ALLOW(-0.20)[palmen-it.de:s=20200414]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:1f0b:bbb:1::1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[zirias@freebsd.org,felix@palmen-it.de]; RCVD_COUNT_TWO(0.00)[2]; HAS_ORG_HEADER(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[palmen-it.de:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Queue-Id: 4RYgM733XFz4RW1 --f62qipc5cbgsnfmh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Felix Palmen [20230825 19:54]: > To verify, I removed xattr support completely from coreutils (and also > sed) in commit "linuxsrc: Disable usage of xattr" and indeed, with this > change, GNU's install works as it should. I now ran into a second case which makes it very likely the xattr support is indeed the problem. Trying to create a port for python setuptools, calling "setup.py install" with debugging opened showed me this error: #v+ File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/command/install.py", line 706, in run self.run_command(cmd_name) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/cmd.py", line 317, in run_command self.distribution.run_command(command) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/dist.py", line 1217, in run_command super().run_command(command) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/dist.py", line 987, in run_command cmd_obj.run() File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/command/install_egg_info.py", line 42, in run self.execute( File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/cmd.py", line 338, in execute util.execute(func, args, msg, dry_run=3Dself.dry_run) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/_distutils/util.py", line 344, in execute func(*args) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/command/install_egg_info.py", line 63, in copytree unpack_archive(self.source, self.target, skimmer) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/archive_util.py", line 53, in unpack_archive driver(filename, extract_dir, progress_filter) File "/wrkdirs/usr/ports/devel/linuxsrc-setuptools/work/setuptools-63.1.0= /setuptools/archive_util.py", line 88, in unpack_directory shutil.copystat(f, target) File "/usr/lib64/python3.11/shutil.py", line 380, in copystat _copyxattr(src, dst, follow_symlinks=3Dfollow) File "/usr/lib64/python3.11/shutil.py", line 322, in _copyxattr names =3D os.listxattr(src, follow_symlinks=3Dfollow_symlinks) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 1] Operation not permitted: 'setuptools.egg-info/to= p_level.txt' #v- I then rebuilt python passing "ac_cv_header_sys_xattr_h=3Dno" to its configure script, so it thinks there is no sys/xattr.h header. Indeed, this made the problem installing setuptools go away. Cheers, Felix --=20 Felix Palmen {private} felix@palmen-it.de -- ports committer -- {web} http://palmen-it.de {pgp public key} http://palmen-it.de/pub.txt {pgp fingerprint} 6936 13D5 5BBF 4837 B212 3ACC 54AD E006 9879 F231 --f62qipc5cbgsnfmh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEABYKAH0WIQRpNhPVW79IN7ISOsxUreAGmHnyMQUCZOuEul8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0Njkz NjEzRDU1QkJGNDgzN0IyMTIzQUNDNTRBREUwMDY5ODc5RjIzMQAKCRBUreAGmHny Mb1lAQDi5bz0p4VGJbkBagZhixNiam6MJsXsqnKC12CoqTpU+AD8CyjMnfURSFnQ 2RAMykOuO7hjMXqOeJXUjh1gX2NSYgU= =Dxjs -----END PGP SIGNATURE----- --f62qipc5cbgsnfmh--