From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id GAg+H9SW514pFQAA0tVLHw (envelope-from ) for ; Mon, 15 Jun 2020 15:42:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kCYkG9SW5161BAAAB5/wlQ (envelope-from ) for ; Mon, 15 Jun 2020 15:42: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 745E3940308 for ; Mon, 15 Jun 2020 15:42:11 +0000 (UTC) Received: from localhost ([::1]:50060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkrFS-0006uO-DZ for larch@yhetil.org; Mon, 15 Jun 2020 11:42:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkrFK-0006sh-HP for bug-guix@gnu.org; Mon, 15 Jun 2020 11:42:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkrFK-0005SH-6w for bug-guix@gnu.org; Mon, 15 Jun 2020 11:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkrFK-00089h-4i for bug-guix@gnu.org; Mon, 15 Jun 2020 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41872: emacs-irony-mode fails to build on LLVM 10 Resent-From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 15 Jun 2020 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41872 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41872@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159223568231299 (code B ref -1); Mon, 15 Jun 2020 15:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2020 15:41:22 +0000 Received: from localhost ([127.0.0.1]:47239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkrEf-00088k-TZ for submit@debbugs.gnu.org; Mon, 15 Jun 2020 11:41:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:51984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkrEf-00088e-2A for submit@debbugs.gnu.org; Mon, 15 Jun 2020 11:41:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkrEe-0006eb-Ds for bug-guix@gnu.org; Mon, 15 Jun 2020 11:41:20 -0400 Received: from pat.zlotemysli.pl ([37.59.186.212]:39538) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkrEZ-0005OU-Rh for bug-guix@gnu.org; Mon, 15 Jun 2020 11:41:19 -0400 Received: (qmail 16496 invoked by uid 1009); 15 Jun 2020 17:41:13 +0200 Received: from 188.123.215.55 (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl (envelope-from , uid 1002) with qmail-scanner-2.08st (clamdscan: 0.98.6/25843. spamassassin: 3.4.0. perlscan: 2.08st. Clear:RC:1(188.123.215.55):. Processed in 0.063763 secs); 15 Jun 2020 15:41:13 -0000 Received: from unknown (HELO gravity) (kuba@kadziolka.net@188.123.215.55) by pat.zlotemysli.pl with SMTP; 15 Jun 2020 17:41:13 +0200 Date: Mon, 15 Jun 2020 17:41:11 +0200 From: Jakub =?UTF-8?Q?K=C4=85dzio=C5=82ka?= Message-ID: <20200615154111.m5ls5s3znv7rqpxk@gravity> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="45ganxktc6rmchij" Content-Disposition: inline Received-SPF: none client-ip=37.59.186.212; envelope-from=kuba@kadziolka.net; helo=pat.zlotemysli.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/15 11:41:13 X-ACL-Warn: Detected OS = Linux 3.11 and newer 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, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -2.61 X-TUID: IoWoxHIDbRXe --45ganxktc6rmchij Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I was trying to update the default LLVM. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 11e4cfbe4c..b0e80507f4 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -527,10 +527,10 @@ output), and Binutils.") (make-clang-toolchain clang-9)) ;; Default LLVM and Clang version. -(define-public llvm llvm-9) -(define-public clang-runtime clang-runtime-9) -(define-public clang clang-9) -(define-public clang-toolchain clang-toolchain-9) +(define-public llvm llvm-10) +(define-public clang-runtime clang-runtime-10) +(define-public clang clang-10) +(define-public clang-toolchain clang-toolchain-10) (define-public llvm-8 (package =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D With the help of `guix refresh', I have identified all packages that depended on LLVM 9 and will now potentially be using LLVM 10. Among those is emacs-irony-mode-server, which fails to build with the following error: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D CMake Error at /gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib= /cmake/clang/ClangTargets.cmake:627 (message): The imported target "clangApplyReplacements" references the file "/gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib/libclang= ApplyReplacements.a" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib/cmake/cl= ang/ClangTargets.cmake" but not all the files it references. Call Stack (most recent call first): /gnu/store/4ml806jam2af7f8i8sg8xi7b4mw81x9g-clang-10.0.0/lib/cmake/clang/= ClangConfig.cmake:18 (include) src/CMakeLists.txt:4 (find_package) -- Configuring incomplete, errors occurred! See also "/tmp/guix-build-emacs-irony-mode-server-1.4.0.drv-0/source/CMakeF= iles/CMakeOutput.log". command "cmake" "server" "-DCMAKE_INSTALL_PREFIX=3D/gnu/store/5clyjcgw8g9jh= ryhk8bhljg950ijmwm4-emacs-irony-mode-server-1.4.0" failed with status 1 builder for `/gnu/store/qiiqbbzpigs7lnywplbwjdsh4qc2ic94-emacs-irony-mode-s= erver-1.4.0.drv' failed with exit code 1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The ClangTargets.cmake file for LLVM 10 gained ApplyReplacements in a list of libraries provided by clang, but Guix removes these libraries: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ;; Remove MiBs of .a files coming from ;; 'clang-tools-extra'. (for-each (lambda (component) (delete-file (string-append lib "/libclang" component ".a"))) '("ApplyReplacements" "ChangeNamespace" "Daemon" "DaemonTweaks" "Doc" "IncludeFixer" "IncludeFixerPlugin" "Move")) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D The code was introduced in this commit: commit 77a87ad4aceed9d89d615540e0fd147e3a8b2f64 Author: Ludovic Court=C3=A8s Date: Thu May 28 11:46:59 2020 +0200 gnu: clang: Build 'clang-tools-extra'. * gnu/packages/llvm.scm (clang-from-llvm): Add #:tools-extra. Add 'output' field. In 'inputs', add TOOLS-EXTRA when it's given. In 'arguments', add 'add-tools-extra' and 'move-extra-tools' phases when TOOLS-EXTRA is given. I don't know cmake nearly well enough to fix this. Regards, Jakub K=C4=85dzio=C5=82ka --45ganxktc6rmchij Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE5Xa/ss9usT31cTO54xWnWEYTFWQFAl7nlpcACgkQ4xWnWEYT FWTQqxAAsRRVmhjb6oniGcRIoeeyZ+Z8xLOYdoHPp0loz92SJ8/B6+5hEPnYVo3Y CXlHAuflk1zjyJ2OBb7TbOdhssCE5Vxw8h0ZA3oPlnCy4JqrG6xJ0QGcOs9ISvHJ gNwT7hEUUyERep2b3JCZ94TCnLfSHOMiAWvqdLXMRBEoTaqthOZppR7OKgMPuh/W P9YfylY3/nqIH8VhKnPPvS4rT0UvWzyY8oaL8HvoQQAy9CPto5gP8aOJKrszoTQm liT8Hxd+HgsPZBoCXQmOgHeQfVyU9HbThScqN14ry0C4v54GHj104vXONf8CkPAT HhvsLtXK1ACHRb3AK/nA6Y8wrMaweiE6Htx5DSdixLLRw2cAEbO336JAFRpieLaj ccrEsOmqEzAn030qIxelv1s06xXNbPFlDlI+sEgamfaNsfeFBMOj55F9Uozk7fm3 UJKDMtESyrNQXcMatoxMAU0N73dEDaxHjuoe0Ya+qr4nBV3RGhR9YzTHHkIm826d GlurDxUe953HzBfqucatBXAalJU3vjKeEGQZHN4nLWBiS6QdqAIfdGeJls6Z59sp gW95iF2GuLR7lMn4FnB9UaDRgyhR1Fy2GtwRhwJ+KM0xsh7Coc5cWnTMek10916O PcLkIGxa8hjZ0j6dPiTOyodjTeAKTO3+2U46WNd+l5viYtg+c+I= =6pDM -----END PGP SIGNATURE----- --45ganxktc6rmchij--