From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IIeNGwmPm2C//QAAgWs5BA (envelope-from ) for ; Wed, 12 May 2021 10:17:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6LFTFwmPm2CxTQAA1q6Kng (envelope-from ) for ; Wed, 12 May 2021 08:17:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E8F402AE07 for ; Wed, 12 May 2021 10:17:12 +0200 (CEST) Received: from localhost ([::1]:56540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgk3L-0003OK-Lt for larch@yhetil.org; Wed, 12 May 2021 04:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgk3C-0003Kd-AL for bug-guix@gnu.org; Wed, 12 May 2021 04:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lgk3B-0004VA-Vo for bug-guix@gnu.org; Wed, 12 May 2021 04:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lgk3B-0000mw-Rp for bug-guix@gnu.org; Wed, 12 May 2021 04:17:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48335: Emacs is broken Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 12 May 2021 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48335 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Xinglu Chen , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 48335-submit@debbugs.gnu.org id=B48335.16208073782969 (code B ref 48335); Wed, 12 May 2021 08:17:01 +0000 Received: (at 48335) by debbugs.gnu.org; 12 May 2021 08:16:18 +0000 Received: from localhost ([127.0.0.1]:38104 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgk2U-0000lo-D3 for submit@debbugs.gnu.org; Wed, 12 May 2021 04:16:18 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:49787) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lgk2R-0000ld-Gn for 48335@debbugs.gnu.org; Wed, 12 May 2021 04:16:16 -0400 Received: from nijino.local (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Fg70W6VDYz1LWp5; Wed, 12 May 2021 10:16:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Fg70W6VDYz1LWp5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1620807372; bh=CRajGfnrE1/f1YhJcIFS85wjm2venLafbPMxooX90Wk=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=eTTpTPmz5D/8EZMD02hS6pvH2xDtVDtSUMdyxEH+Z+AIw+r3y6hLALQ7gGihShbvk q2WBEwP8WAHjJ1YJFgCUEHkNG18rxii/EcuncbaUBpVneT0FIpwiIvZDJ5830tdv3K dfPJRVEW3uKgQt71GWd6sTG6OnuFlWejPwNnWYdE= Message-ID: <5ee6abd811d668c23acb99003c3da4d9b4e1ea8b.camel@student.tugraz.at> From: Leo Prikler Date: Wed, 12 May 2021 10:16:11 +0200 In-Reply-To: <878s4kcror.fsf@yoctocell.xyz> References: <878s4kcror.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 48335@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620807433; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CRajGfnrE1/f1YhJcIFS85wjm2venLafbPMxooX90Wk=; b=aaruVT2ty0FYIGSk+e8/2G6DNdQ/a4cHkGst+UhgN9qOCJD/WUzFGE5BpX4sjYAWxHZ2g5 QYJvczjZcbKqbmvBMZVZ+VWPkFE5xZQhzCavQ9LAg/hweQMPQbzjdqLYu3zOcYfPH2fRLm S7vp91jDk2+mklF+E0TLPfA86eFbeInGbbxcTovFa0n7p+XrL57ZOnWOy/EkLDk0zh9w6m Zkf+yM3pNXd0IznWIPMw3wUa9wkxau3D0IGv+ZCZ15YDGV8ZW4Fbr9pt/HSF4jcXTCGF9Y aQtZTdyaFulm8OXV6qL1Af6UzLCUuZoMin2uuKZRqFqQnI6LXtX2XOaHOIDWaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620807433; a=rsa-sha256; cv=none; b=rAoDsyU+SYYsd4twHmoHf/Vocw06B2i7KkAGW+ZGa+mDMJ5dr8Xw+vdVehfC7isNPLyziz CFIxlwq6KxLDdPU7E5S4eEpuDnlvvqQ9LFSW8Z0yfxG/eKDZzU3mQoG820HpI9gFXfcOWs lnNDXmG/KojIrv4MfxeuV3B7r+OJj+BznKLkjV5hZTkn48gPIN4crJr4G+W58IfZyqlHPx nQNBU1hhcBo0JnnEuaDD9Ma/a9Nh7UO6JbTuMvpUQUhxnIbg5Nw4APfh9GjbLkPF0t3eOb ZJog8xBbGutARUB9keDUa05K6A8HaMVI7l1G4llbawrYAm/d23ArVZSVbjl2GA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=eTTpTPmz; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 0.15 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=eTTpTPmz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E8F402AE07 X-Spam-Score: 0.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: BpEvsU56omEP Am Mittwoch, den 12.05.2021, 09:55 +0200 schrieb Xinglu Chen: > Leo Prikler wrote: > > > I can't: > > > > --8<---------------cut here---------------start------------->8--- > > $ guix time-machine -- > > commit=87b4b0e4385149b40ee87ae2d57712679452746b > > -- \ > > environment --pure --ad-hoc emacs -- emacs --version > > GNU Emacs 27.2 > > Copyright (C) 2021 Free Software Foundation, Inc. > > GNU Emacs comes with ABSOLUTELY NO WARRANTY. > > You may redistribute copies of GNU Emacs > > under the terms of the GNU General Public License. > > For more information about these matters, see the file named > > COPYING. > > --8<---------------cut here---------------end--------------->8--- > > > > As for the output of ldd: > > > > libm17n-core.so.0 => /gnu/store/pdwv15zmghndkqy5473v1hxgibmvzvlz- > > m17n- > > lib-1.8.0/lib/libm17n-core.so.0 > > Hmm, ldd doesn’t list any libraries for me > > --8<---------------cut here---------------start------------->8--- > $ ldd /gnu/store/nvddirc1j6f031zhcwnkd0zrpjc10dyc-profile/bin/emacs > not a dynamic executable > --8<---------------cut here---------------end--------------->8--- The "emacs" command is just a wrapper, you'll have to resolve the correct .emacs-real (in this case .emacs-27.2-real). > > > The latest “good” commit I know of is > > > ee86a035c79b838e3fdabbdb88dc30906a83cc30 (still bisecting). > > That'd be big if true, we've had the wip-emacs merge between then > > and > > now and while that caused a lot of problems to many, it should > > still > > open up. > > I am now bisecting commit 5866fa558b68b3e0213b9eef93d115e6e38dcc2a, I > don’t think it should be related to the changes to the > ‘emacs-build-system’. The wip-ungrafting merge? > > Now, perhaps there's a case to be made, that it's in fact broken on > > another architecture or when not using substitutes (it is not > > reproducible after all), but atm we're lacking a bit of necessary > > info > > here. > > I am on x86_64 with substitutes enabled on a foreign distro (NixOS). > > On Tue, May 11 2021, Ludovic Courtès wrote: > > > I wondered if this could be a missed reference issue due to > > grafting (whereby a recent ‘guix gc’ would have deleted m17n-lib > > from the store because the grafted Emacs didn’t have a visible > > reference to it) but that doesn’t seem to be the case (on x86_64- > > linux): > > > > --8<---------------cut here---------------start------------->8--- > > $ guix time-machine -- > > commit=87b4b0e4385149b40ee87ae2d57712679452746b -- build emacs > > /gnu/store/d0r7zcph1f3y0cahp9yv5hs8rhi9hcig-emacs-27.2 > > $ ldd /gnu/store/d0r7zcph1f3y0cahp9yv5hs8rhi9hcig-emacs- > > 27.2/bin/.emacs-27.2-real |grep m17n > > libm17n-core.so.0 => > > /gnu/store/pdwv15zmghndkqy5473v1hxgibmvzvlz-m17n-lib- > > 1.8.0/lib/libm17n-core.so.0 (0x00007f6800d1d000) > > libm17n-flt.so.0 => > > /gnu/store/pdwv15zmghndkqy5473v1hxgibmvzvlz-m17n-lib- > > 1.8.0/lib/libm17-flt.so.0 (0x00007f6800d11000) > > $ guix gc -R /gnu/store/d0r7zcph1f3y0cahp9yv5hs8rhi9hcig-emacs-27.2 > > |grep pdwv15zmghndkqy5473v1hxgibmvzvlz > > /gnu/store/pdwv15zmghndkqy5473v1hxgibmvzvlz-m17n-lib-1.8.0 > > --8<---------------cut here---------------end--------------->8--- > > > > Does passing ‘--no-grafts’ to ‘environment’ make a difference for > > you? > > This doesn’t seem to help either, and as I wrote above, ldd doesn’t > list any libraries for Emacs. Interestingly, this also seems to be > the case with ‘emacs-native-comp’ from the flatwatson channel[1], but > the binary works fine (I am using it to write this email). As before, /bin/emacs is just a shell script, it can't work with ldd :( Regards, Leo