From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.devel Subject: Re: Alternatives for reliable build environments for emacs? Date: Thu, 28 Oct 2021 22:20:18 +0200 Message-ID: References: <87bl39cnr4.fsf@tanaka.verona.se> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19650"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) Cc: Joakim Verona , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 28 22:23:43 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgBw6-0004u3-42 for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 22:23:42 +0200 Original-Received: from localhost ([::1]:33862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgBw4-0005k5-Bs for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 16:23:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgBt6-0003Mf-Bf for emacs-devel@gnu.org; Thu, 28 Oct 2021 16:20:39 -0400 Original-Received: from sonic314-20.consmr.mail.ir2.yahoo.com ([77.238.177.146]:41730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgBsw-0008J9-Dt for emacs-devel@gnu.org; Thu, 28 Oct 2021 16:20:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1635452424; bh=ErCjJYNdsvEEjs7oZUhiGqdxhXLb3R9bfa1hklidb3c=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=o/LUQLzvgDFECMdezvwsD2xa1B7jjtFoW83QjtKgKh/d8jq9IGA9NbjaW407m4WA2kZt+boKXkkjoWHw/uoV+6Ce9sjTGB5o8FLTy3X9Ka5N3GsE6qUa47hWinxgwt7+y8mdM3f7r0U7TEVdyvO7QrX3hhbxWAwm4xjcSLeUqZH40t2epE+RtYy/ecRIhNUmfwh79vilRz1/NeW/3V9aLN7Cjlk3qgjUhDwEpw8BkZVVlBk7OnMClxDojUqZVp4tT4caw0teHoxZkuKqclqRZTXxof+PsjxNx0ena4yTVxK6IsIIUTyRvk6ijPlsTaydJnpyEv2VYUuiKvf+Xh7+mg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1635452424; bh=dlEAisP/PRMoj9HDL8l2mr5npp31kbKD5lyOHBLlnwi=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=RId5IGYj9S2x8Cas7JYQ25C+TsTly1EkWvH0wly9cRvSSELnSuG5crky5GxJC3uedxtUAvTPw325ui8LsC1QiFwh2PiiMgVFolUbIzneXaHKC92WDD08967xmQzbv3kNI61vhwjIS2Ks5zU42XJrZMwRd+UMRZdIJEHJdqKdFDnAPvCMmTbi8gO/xBXSSFioPFGQhpy1QhD6u4dr/ehj1vMXsUqHCgw1N3KSMSh8iq/1atq/oA/EyNE3IGKAt4NSAkToiKLlYmkh7TcR2/dF/yswp3fYo63sYRQVND4+DoSEwmoA3g8XBj48Sv2PlEUNI0jAhMf0pC0BSCRPOzPWQQ== X-YMail-OSG: meY0AI8VM1lpAi.qKD44.gRP6bFeqW7WVhpl7Dh9oKtMSTGUiFtZNrClPjTaFuY nHvu3.UsPxaHcoAOjJyWsdPzp8po_e8PG8zZchpo8yFUwChM_hwZwz2_KqDASsktWf2sCv34PW7E xg03n1xnixkMl4bfOxU5mA4T4138jBXQ9MXJio90QJP8984Z5OfhA.6mQQAo_o_vv.2Lm0R4JiA8 XPWiZto4Ri8c525wWxB788rOLM.wSiXYSOuoTyLCjfbB6LWjSrieyt1BGpzjA5ys0tAJ1c89kL0h dvj26feGezdEiVMY4cI3fESShQ7GcvM5j2fbJuZvYUaKDDx6kRmx.QfsbN8j6IUGqqvLua54V3bd 8qlIPYxBXt6alyoCnjSr7vAjZnfr4oBs_A8PYUrZYlgyQx75sYebXWB6xN_OTn8GGpHIqnYxF4ze OYeHmzrVwrI9.SBhDkYcDZnRdQQYJsKfkfWv9oE4GOj20aTZYKnyNygILNRwUAkrtl.0pXPLUOke YkjC3yRno9M5FdJhb5un_Mz2JvrS_PbG4Q7zM.UBoc.WueyWuEi11finXauisiD4crsRfv_YL2Gg MsQ6UJXQ9dnSyFRvd4LceFXt7uwxoQGyPXrXKIPOboeZTm6gbvRtHfCq5hfcJG7FfnTdCHT9AbDG qYRSkMO6j9hfXUMXseAf3XT4bFp9Q_U_rO.Ik6b.WIWa6jUQhDX0Ni8Y6VFY7FRQ6x4A05oX_to8 C9cOkdJW4XkXScahPVK1klHt96JtmXLZz2wRwUGTVV71nMO4xZMTly7r24d3qyIe3wgSZIpjmp3a TAXiZwVXNeHkpT.z7wj7_bLqKuJX48qUA4X0MCabQR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ir2.yahoo.com with HTTP; Thu, 28 Oct 2021 20:20:24 +0000 Original-Received: by kubenode532.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8d8e3cda41e3783935837f2923c2f187; Thu, 28 Oct 2021 20:20:19 +0000 (UTC) In-Reply-To: (Yuri Khan's message of "Thu, 28 Oct 2021 23:07:25 +0700") X-Mailer: WebService/1.1.19198 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=77.238.177.146; envelope-from=mardani29@yahoo.es; helo=sonic314-20.consmr.mail.ir2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278138 Archived-At: Yuri Khan writes: > On Thu, 28 Oct 2021 at 19:57, wrote: > >> I'm finding it increasingly difficult to build emacs in my distro, >> Fedora(Ok, I havent managed to build emacs using distro dependencies for >> a long time) >> >> What are the alternatives? >> I have tried guix and docker but not yet flatpak. >> >> These are nice because you can pin the dependency versions, to make sure >> you have a reproducible build environment. >> >> These all have the drawback that they are inconvenient when making local >> modifications to the emacs source, at least for me. Way back in the days >> when my original build environment worked, I automatically merged some >> branches and applied local patchs with stgit, and its these kind of >> things I've found awkward with the above mentioned containerized build >> systems. > > I=E2=80=99m not an Emacs developer but the issue is familiar. I use Docke= r for > similar cases: (1) building software targeting an older version of the > distribution than is installed on my host system, or (2) building > software using newer versions of the toolchain than I=E2=80=99m comfortab= le > installing on my host machine. Emacs is a stable software with few dependencies (by 2021 standards), so I wouldn't expect Docker or similar tools to be necessary at all, except in very rare situations. If there are problems building Emacs in some particular platform, I think it's better to report the errors instead of sweeping them under the carpet by using Docker or a similar container technology. I'd say they are probably bugs in the build files or the toolchains.