From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joseph Mingrone Newsgroups: gmane.emacs.devel Subject: Re: master fails to build on FreeBSD when ACL support is on Date: Sat, 20 Jan 2018 19:35:58 -0400 Message-ID: <86vafwumqp.fsf@phe.ftfl.ca> References: <86o9lua0yx.fsf@phe.ftfl.ca> <834lnly8ht.fsf@gnu.org> <86vafy20sj.fsf@phe.ftfl.ca> <83o9lpuct5.fsf@gnu.org> <83lggtu1qn.fsf@gnu.org> <9dd64b10-78ce-c561-8c51-9e15b11e102c@cs.ucla.edu> <83bmhpt12i.fsf@gnu.org> <867escw93p.fsf@phe.ftfl.ca> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1516491302 30778 195.159.176.226 (20 Jan 2018 23:35:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Jan 2018 23:35:02 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) Cc: Paul Eggert , ashish@FreeBSD.org, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 21 00:34:57 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ed2ey-0007KU-8U for ged-emacs-devel@m.gmane.org; Sun, 21 Jan 2018 00:34:52 +0100 Original-Received: from localhost ([::1]:43649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ed2gy-0002Jk-Iv for ged-emacs-devel@m.gmane.org; Sat, 20 Jan 2018 18:36:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ed2g9-0002JR-3h for emacs-devel@gnu.org; Sat, 20 Jan 2018 18:36:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ed2g6-0002vf-11 for emacs-devel@gnu.org; Sat, 20 Jan 2018 18:36:05 -0500 Original-Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]:33657) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ed2g5-0002vU-SP for emacs-devel@gnu.org; Sat, 20 Jan 2018 18:36:01 -0500 Original-Received: by mail-qt0-x229.google.com with SMTP id d8so3940667qtm.0 for ; Sat, 20 Jan 2018 15:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftfl.ca; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NT125CSvi3GvnEi3tPBH4oNTk1rMbNmJQ433lZ2RaAU=; b=MGKc5g/bViuoezkYjxH3bxB3aC6YhOLLkenu+TQ8aghKNtz8NcA+yIRmXp07yxpRUN OYJ1WS18thLhQrb8yoRohcN11YsY5PIk5TEwXu1XpBhIAljUO/WhOuaqBN5E/O2OdUSN cywtl1zMfa0TaitB15Fv827Hi9b1Mr9J7BU9Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NT125CSvi3GvnEi3tPBH4oNTk1rMbNmJQ433lZ2RaAU=; b=NGNj/I3a2LRY0fgWdnasCvv7kIBs5eZ+/YTuvBWyIbmi27mO+N+YMgbpoYD9A+9D6k HjEs902T6cvbwXLIWwYS6hZ54o1EBlF6778ZTnkRwB3uFBVmVkHFc/u0WU5GfPfH6uPY lzCe/Yl7/yg9OnYCmy08l5P9r9HazdmlctoAKVywChINhpUr7Km4POutl1YgxDQNCYJh Hwb7soA2mWLtA95l+nm87xgQn1AH9X1eezWqDFMk+qrrfmByVKiwMYfuQHGIv1t3L9iv B/99Z+OYq1tA42HAUaMDV/cihZQblhCIfFLkoizJRFVr6xW9AP5a7pVls6zs2CuUAviV oPjA== X-Gm-Message-State: AKwxytd9Zcp26Bsy2ns1nmgBKMOnUoigaJMGcjoFD4WuxAYCNLYZdgLc hxXheuBKyhDKympEDYpEo7tQVtl+94c= X-Google-Smtp-Source: AH8x226QwSPvX5wcTLSvj0FGxHo8p+YU+9xXa7Ktl+k5zBbimncQ71x7lTCmg4aNJ+muAFdgOZuSSA== X-Received: by 10.55.115.131 with SMTP id o125mr3714322qkc.143.1516491361086; Sat, 20 Jan 2018 15:36:01 -0800 (PST) Original-Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-47-55-140-73.dhcp-dynamic.fibreop.ns.bellaliant.net. [47.55.140.73]) by smtp.gmail.com with ESMTPSA id n20sm7687069qtb.28.2018.01.20.15.35.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 20 Jan 2018 15:35:59 -0800 (PST) In-Reply-To: <867escw93p.fsf@phe.ftfl.ca> (Joseph Mingrone's message of "Sat, 20 Jan 2018 16:47:38 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222113 Archived-At: --=-=-= Content-Type: text/plain Joseph Mingrone writes: > Eli Zaretskii writes: >> More generally, someone who has access to FreeBSD and understands its >> ACL implementation should look into that, because it sounds like we >> have fundamental problems there with moving files from temp directory, >> and those problems are just waiting to bite us in random places, like >> this one. > After a big of digging, I discovered the immediate problem and it does > not have anything to do with FreeBSD's ACL implementations [1]. > FreeBSD's package building tool, poudriere has an option to use tmpfs > for some of the file systems including the working directories, however > I do not believe tmpfs supports ACLs. When I turn this option off, so > that tmpfs is not used, the build finishes successfully without any > patching. > Should ACL support be required to _build_ Emacs, even if that build will > itself support ACLs? > [1] UFS has both POSIX and NFSv4 ACLs, while ZFS only supports NFSv4 ACLs. > https://www.freebsd.org/doc/handbook/fs-acl.html > https://wiki.freebsd.org/NFSv4_ACLs > https://www.freebsd.org/cgi/man.cgi?query=setfacl There is another option to have the builder do everything mounted as a tmpfs, so neither /tmp nor the working directory supports ACLs. In this case, the build also finishes successfully. To summarize, the problem only seems to occur when /tmp supports ACLs, but $WRKDIR (location where the tarball is extracted and the build occurs) does not. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlpj0l5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 7540sQ/7Btn+ChhO6nPPOCVvLOkM24yZjR3c29M73KAB/5ozYmDTumCncnWp3JWR hpcgU0YjccOZpm3hVA+iZ8/jqeFNvFxooGkU6+WbKIquKGnjT9Neuu68/liD4sn7 ePZZVr1KIenihOF2RiWadHukukkPH5FORNNMUCYehQozMWejLD+lCzr7xpRiTWcy rRlOB+bl5RY5uJ8Ks/fc6tOmY1wXtG7ini2AstvISmrh6N3y/w62a6IgKtgXLVJk OpxPWIsyjjjcyY27buPwyds10yLE/emlpIAPoSz3+dpxik5Lhvha1pc7zc9xm8qr Qfin9fwvBRSPpJZcGzdeQyPIiIB2UZOfmBObIQWdbOJtq7Pq+2pEsMKnyKI6tD1p feCOFU556g9W3fLMY2gvSmzb8q9uAZVIjU5KalLpENsorN+tIWIVpE+vMB1ioB2h 0Kjq0zYXmnDnygUzf8DM0f1xWAeToLJhg2037VywNTfk4OaKcG1PjCiBSWqt4qjf B6H+C5M0TtHNZsmwecpP60/E6PtLK/1w1tP/NfXYbzzH3tFZ1eBbPyPWpaEUIBIh 7mS8hn+ooU0/+ZohTb03sS2URAWwrKuVHa7ljJPHjyYlFEjamFH/01LqzJrxuwVJ t5lrtcCdhgv0s3AJwOfYiwXzBRL9G1VDQnv3bfDXOulqQE9GnBI= =6Bef -----END PGP SIGNATURE----- --=-=-=--