From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8Cs1InxXbWHO9wAAgWs5BA (envelope-from ) for ; Mon, 18 Oct 2021 13:16:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 6NS7HXxXbWFXPAAAbx9fmQ (envelope-from ) for ; Mon, 18 Oct 2021 11:16:12 +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 E60652E8A5 for ; Mon, 18 Oct 2021 13:16:10 +0200 (CEST) Received: from localhost ([::1]:35814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcQcj-0006Eb-PE for larch@yhetil.org; Mon, 18 Oct 2021 07:16:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcJoj-0008Fi-5K for bug-guix@gnu.org; Mon, 18 Oct 2021 00:00:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34024) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcJoi-000669-Kw for bug-guix@gnu.org; Mon, 18 Oct 2021 00:00:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcJoi-00004y-KL for bug-guix@gnu.org; Mon, 18 Oct 2021 00:00:04 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51258: emacs-next/git-master broken due to pdmp file naming changes Resent-From: Paxton Evans Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Oct 2021 04:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51258 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51258@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163452959232635 (code B ref -1); Mon, 18 Oct 2021 04:00:04 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2021 03:59:52 +0000 Received: from localhost ([127.0.0.1]:45564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcJoW-0008UJ-2h for submit@debbugs.gnu.org; Sun, 17 Oct 2021 23:59:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:44144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcDaU-0006q3-5M for submit@debbugs.gnu.org; Sun, 17 Oct 2021 17:21:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcDaT-0006lb-Vf for bug-guix@gnu.org; Sun, 17 Oct 2021 17:20:57 -0400 Received: from mx1.riseup.net ([198.252.153.129]:51100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcDaR-0008OG-MD for bug-guix@gnu.org; Sun, 17 Oct 2021 17:20:57 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HXXx102kQzDqBC for ; Sun, 17 Oct 2021 14:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1634505653; bh=T6DzXuxEoglXcFhxj4taYYvw2niD3zda9jV/tEyJteo=; h=Date:From:To:Subject:From; b=tQyBLfHiZKcuR3s8yeGTXkZWm+LvujVKxrP38b4MmWBC0+JQfqf5YW4S56GEuDAUV bRvUgbE4LXR90FzsCr/7OSXWaVwmi6qQf3xbA9uAJ5HMJa9aZpjj1uV6KhCCnQOxLA ELrIFj5Gkkvk/c1wEGI1Uuh0npDZqQLBHZyxSNG4= X-Riseup-User-ID: C3F7CFFC4D784B69D7C51B90991EEFA5A472411DF9101B4DF61B4389C191A053 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HXXx06GCnz5vNY for ; Sun, 17 Oct 2021 14:20:52 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 17 Oct 2021 14:20:52 -0700 From: Paxton Evans Message-ID: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=paxton@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 17 Oct 2021 23:59:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 18 Oct 2021 07:15:23 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1634555772; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IMaxuogMRtuakp6HNAtxjj1DfWJqP/XMTGHlT6ik+O0=; b=uOKfF1VkxywWd8wPMVoiBrV71VyufUGKGodXJA+DJVcaS2FXPh9nO9usvseT4NTfEH9vWK sKf2SFqjOjxe1OrxdK2ISkooctTEMwnF31QKv6Z5eDq4zmAYkwyBIwYcFUYTaeRXSAZkCs D1+buvtBeCjARAOJCK+gYgwGYhz4K0Y9KItaFSvhgL8ffRBWdgU1cMiRxsdo/AMJx9rfeD tuVQ5s+n2s8jGsjvLORJcTiivWy08HJ1EoQ/w+uxGq/jnLV5U43CIg/vu3lbU6gnH3CtVV /iL9C4JsNdsjgzikMY0nIiq48EaDF1fAkARdDLGwRbzS+rSm7f73vFV0JkSc0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634555772; a=rsa-sha256; cv=none; b=nEEDqqUB+kerfqfOhuqP/HoX7zowfSM+2Ivwx90NMK+shfSsMMbgro1t7dbCyJUPI4f1Eo GCVAl/AtLTyNZigqN+aGaLJMELx5p4yhh/HvEeMf+aAUfr/uOsrYsvvxORGUTvDLShNF/H Sqhras9BPt0VTywEkxjP2DodaAbs4dyrIJkqGQ1W4gEiy8TgfcTwP4n38fZ5M+4tTrYDr7 Q8XX4qbZcw3dUhXxbVzuSSEbmJcB+1O3XvnCoc57773sGjvu95yTBYq1P62VBgxEY5B7kx sFCP/ToEMFyXr/86flOpTGOzgRaBuCG21zbAgtI9Z7qSDejC55elDxlUsghJOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tQyBLfHi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=tQyBLfHi; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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: E60652E8A5 X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 129QmJ9Uk6Jh As of Emacs commit e81f1faca4382ed5c8f15fec84fb7c900a5468f9, building emacs-next with the git-master branch will cause some problems on Guix. The "emacs-next" build itself will work without any errors, but it will complain whenever you try run it: > emacs: could not load dump file > "/gnu/store/a5bx5v96snvgiv9r1b7i1im5ccn5mz54-emacs-next-git.master/libexec/emacs/29.0.50/x86_64-pc-linux-gnu/emacs-66e6890a5565f2bed1ee56075d21e0051d891a59200cdd092c0946403fb84ac2.pdmp": > not a dump file This will also cause new builds of packages that use emacs-next/git-master as an input to fail as well, with a version of the same error. Here's a (failed) build log for emacs-pdf-tools: > [top part snipped] > > make[1]: Leaving directory '/tmp/guix-build-emacs-pdf-tools-0.90-2.5f77dae.drv-0/source/server' > phase `install' succeeded after 0.3 seconds > starting phase `patch-shebangs' > phase `patch-shebangs' succeeded after 0.0 seconds > starting phase `strip' > stripping binaries in "/gnu/store/swfjir05k1bg22l50yawhibbv0y5qhr9-emacs-pdf-tools-0.90-2.5f77dae/bin" with "strip" and flags ("--strip-debug" "--enable-deterministic-archives") > phase `strip' succeeded after 0.0 seconds > starting phase `validate-runpath' > validating RUNPATH of 1 binaries in "/gnu/store/swfjir05k1bg22l50yawhibbv0y5qhr9-emacs-pdf-tools-0.90-2.5f77dae/bin"... > phase `validate-runpath' succeeded after 0.0 seconds > starting phase `validate-documentation-location' > phase `validate-documentation-location' succeeded after 0.0 seconds > starting phase `delete-info-dir-file' > phase `delete-info-dir-file' succeeded after 0.0 seconds > starting phase `patch-dot-desktop-files' > phase `patch-dot-desktop-files' succeeded after 0.0 seconds > starting phase `install-license-files' > installing 0 license files from '.' > phase `install-license-files' succeeded after 0.0 seconds > starting phase `reset-gzip-timestamps' > phase `reset-gzip-timestamps' succeeded after 0.0 seconds > starting phase `compress-documentation' > phase `compress-documentation' succeeded after 0.0 seconds > starting phase `enter-lisp-dir' > phase `enter-lisp-dir' succeeded after 0.0 seconds > starting phase `emacs-patch-variables' > emacs: could not load dump file > "/gnu/store/rv72rvqa3vh2vw7jpkm3d9ww0xb4ibxv-emacs-next-git.master/libexec/emacs/29.0.50/x86_64-pc-linux-gnu/emacs-4588128eef9937d195927b0cccee280697619db43041dd08b620788b8dd59b77.pdmp": > not a dump file I think this is because of some recent changes made to the naming of the Emacs pdmp file in the master branch. Previously, it just made a file called "emacs.pdmp" but now it appends the version or commit hash, i.e. "emacs-4588128eef9937d195927b0cccee280697619db43041dd08b620788b8dd59b77.pdmp". This new naming scheme started with Emacs commit e81f1faca4382ed5c8f15fec84fb7c900a5468f9. This might be confusing Guix's Emacs package recipe, which has a regexp that simply looks for "emacs.pdmp" when it does some cleanup after building Emacs. guix/gnu/packages/emacs.scm:182 and following: > (lambda* (#:key outputs target #:allow-other-keys) > (let* ((libexec (string-append (assoc-ref outputs "out") > "/libexec")) > ;; each of these find-files should return one file > (pdmp (find-files libexec "^emacs\\.pdmp$")) > (pdmp-real (find-files libexec > "^\\.emacs\\.pdmp-real$"))) So I think that regexp might need to be changed a little to accommodate those recent Emacs changes. That's as far as I'm able to get with it, though, as I'm not very good at Guile or regexps. -paxton