From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Alternatives for reliable build environments for emacs? Date: Thu, 28 Oct 2021 19:37:45 +0200 Message-ID: <87lf2daw46.fsf@tanaka.verona.se> References: <87bl39cnr4.fsf@tanaka.verona.se> <83zgqts28b.fsf@gnu.org> <871r45ciyp.fsf@tanaka.verona.se> <83pmrprv1h.fsf@gnu.org> 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="19412"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 28 19:50:15 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 1mg9Xa-0004sF-OF for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 19:50:14 +0200 Original-Received: from localhost ([::1]:43602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg9XX-0001sg-Iy for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 13:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg9Lg-00071h-S0 for emacs-devel@gnu.org; Thu, 28 Oct 2021 13:37:56 -0400 Original-Received: from smtp.outgoing.loopia.se ([93.188.3.37]:45597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg9La-00047a-VT for emacs-devel@gnu.org; Thu, 28 Oct 2021 13:37:56 -0400 Original-Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id D755C2EA61CD for ; Thu, 28 Oct 2021 19:37:46 +0200 (CEST) Original-Received: from s934.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id C878F2F4D1B1; Thu, 28 Oct 2021 19:37:46 +0200 (CEST) Original-Received: from s473.loopia.se (unknown [172.22.191.5]) by s934.loopia.se (Postfix) with ESMTP id C6E097CEAB9; Thu, 28 Oct 2021 19:37:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at amavis.loopia.se Original-Received: from s645.loopia.se ([172.22.191.6]) by s473.loopia.se (s473.loopia.se [172.22.190.13]) (amavisd-new, port 10024) with LMTP id sDpSd1aHrVKi; Thu, 28 Oct 2021 19:37:46 +0200 (CEST) X-Loopia-Auth: user X-Loopia-User: joakim.verona@chimeslab.se X-Loopia-Originating-IP: 193.234.148.196 Original-Received: from tanaka.verona.se (unknown [193.234.148.196]) (Authenticated sender: joakim.verona@chimeslab.se) by s645.loopia.se (Postfix) with ESMTPSA id 085751570074; Thu, 28 Oct 2021 19:37:46 +0200 (CEST) In-Reply-To: <83pmrprv1h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Oct 2021 19:08:58 +0300") Received-SPF: pass client-ip=93.188.3.37; envelope-from=joakim@verona.se; helo=smtp.outgoing.loopia.se X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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:278130 Archived-At: Eli Zaretskii writes: >> From: joakim@verona.se >> Cc: emacs-devel@gnu.org >> Date: Thu, 28 Oct 2021 16:38:54 +0200 >>=20 >> >> 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) >> > >> > Why? what are the difficulties? >>=20 >> In my case one of the problems that started the downward spiral was the = versions shipped of gnutls in >> fedora which didnt work with emacs. > > Which version of GnuTLS was that? >From my notes at the time: ------------------------------------ working emacs: libgnutls-version is a variable defined in =E2=80=98C source code=E2=80=99. Its value is 30615 Broken emacs: libgnutls-version is a variable defined in =E2=80=98src/gnutls.c=E2=80=99. Its value is 30702 ------------------------------------ > > And what was the rest of the spiral? Mostly tripping over my own feet, until I got tired of it and ejected my entire build system and switched to Guix, but the limitation with guix is I find it difficult to use as a build system for an emacs source tree kludged together with duckt-tape. To be clear, Emacs is high quality software, I'm astonished it builds in as many circumstances as it does.=20 >> The separate aproach of building all the dependencies emacs need in a >> separate build environment does work, like the Guix aproach. > > I'd say build all the dependencies that aren't already available, yes. Thanks --=20 Joakim Verona joakim@verona.se