From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oHgsFaZ1sl9TfwAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 12:50:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KGsLEaZ1sl/rPgAA1q6Kng (envelope-from ) for ; Mon, 16 Nov 2020 12:50:46 +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 59E099401BF for ; Mon, 16 Nov 2020 12:50:43 +0000 (UTC) Received: from localhost ([::1]:47870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kedxx-00079t-VM for larch@yhetil.org; Mon, 16 Nov 2020 07:50:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kedwJ-00053G-CL for help-guix@gnu.org; Mon, 16 Nov 2020 07:48:59 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:36525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kedwG-0003H5-Qx for help-guix@gnu.org; Mon, 16 Nov 2020 07:48:59 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 574945C00EC for ; Mon, 16 Nov 2020 07:48:52 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Mon, 16 Nov 2020 07:48:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm1; bh=r+HRvoOP+8MFlIQkCtmjhzT5p+rW+MGj11XlHSuboSg=; b=IXPeJUkB 92Cc/vhoKeoya/7j2ecsRvPA+3lMrs93mp3veR42VtRiKiz44Mc7iS6Co+wE0KB6 gEpG5y10/EX+V/cZgmyIzjQ6LBdsJpm3wPvFWH1UE4bx/oUmjfmjCVsb11Sc2Wte 7LgbQnKSoa70ciH8SvO2Z9tcIUZ861ERajVjdn2WXM0/5iCUS/Ky1SbCYmC7Y8vT uFO4O3Vq7pPLYmEpfe5wcchJlq5CXGSicrsBi5329DtJZ35P8Odf6Nt37BDhH58e A1GCafLxEHbfdIfQqiJrRtRDl9j3OqMJqUDrNYH8XVQdeJ/v3bZ8SFUlS172SjjP 2ihmqlk1s6Hc6Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=r+HRvoOP+8MFlIQkCtmjhzT5p+rW+ MGj11XlHSuboSg=; b=YkmxFkGJAsZFdhA6IeqzHPG4/8kk6o7yq7V6ee6MDB106 SHfTo+LO10bBSbwdsZMcnnLK5dijVCROCBsPka65sEtpomtASZFU7Cvte1IR376U 7O0zLCg4mETOdIneik3p63XftlknJE02iPWKtbZ5ku/5a8v3Gt8T4Hxd5YwS2eu2 5vPQcZh83Xi1EypNox3ck1VTGWAz+j4IG0r+0ZMg1MtwQgiXJmb0O3WSD4ed+Upj i3+gzaffkfpdtakuYr8hJwGQF+qwN6CueM9svrJHlOv/7qWCOX47iFkrmHuUrbxA 13gaEb8p9uV7MIbnVC+S7fC2egayvT6wiA2K8ybaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefuddggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfjfgrmhiivghhucfprghsrghjphhouhhrfdcuoehhrdhnrghs rghjphhouhhrsehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnhephffhve dvieehheelleeijeegffelveekfeetgfetudevgeeihefgkeetleduveelnecuvehluhhs thgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhdrnhgrshgrjhhpoh hurhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 16ED35C0099; Mon, 16 Nov 2020 07:48:52 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-570-gba0a262-fm-20201106.001-gba0a2623 Mime-Version: 1.0 Message-Id: <043080b9-625a-4d7b-8d9d-cb7ebc235d3d@www.fastmail.com> Date: Mon, 16 Nov 2020 16:18:29 +0330 From: "Hamzeh Nasajpour" To: "SuarezMiguelC via" Subject: Package building with gcc-10 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.26; envelope-from=h.nasajpour@pantherx.org; helo=out2-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/16 07:48:52 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pantherx.org header.s=fm1 header.b=IXPeJUkB; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=YkmxFkGJ; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.20 X-TUID: mq7nx7WXZ8A3 Hi guys. I have a cpp Application that should be build with `gcc-toolchain-10.2.0`. I could build it in local. But seems that in package building the `cmake-build-system` is using the `gcc-7.5.0`. How can I set a specific version of gcc for building my package definition? ``` ... /tmp/guix-build-my-cpp-app-0.1.1.drv-0/my-cpp-app/src/GUI/FileDownloader.h:27:10: fatal error: filesystem: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/my-cpp-app.dir/build.make:121: CMakeFiles/my-cpp-app.dir/src/GUI/ContentList.cpp.o] Error 1 make[2]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' make[1]: *** [CMakeFiles/Makefile2:208: CMakeFiles/my-cpp-app.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 69%] Linking CXX executable test_DataAccessLayer /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/test_DataAccessLayer.dir/link.txt --verbose=1 /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -Wall -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_DataAccessLayer.dir/test_DataAccessLayer_autogen/mocs_compilation.cpp.o CMakeFiles/test_DataAccessLayer.dir/tests/TestDataAccessLayer.cpp.o -o test_DataAccessLayer /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Test.so.5.14.2 lib_my-cpp-app.a /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Widgets.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Gui.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Network.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Sql.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5DBus.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Core.so.5.14.2 -lrec [ 70%] Linking CXX executable test_AsyncTaskRunner /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/test_AsyncTaskRunner.dir/link.txt --verbose=1 /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -Wall -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_AsyncTaskRunner.dir/test_AsyncTaskRunner_autogen/mocs_compilation.cpp.o CMakeFiles/test_AsyncTaskRunner.dir/tests/TestAsyncTaskRunner.cpp.o -o test_AsyncTaskRunner /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Test.so.5.14.2 lib_my-cpp-app.a /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Widgets.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Gui.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Network.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Sql.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5DBus.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Core.so.5.14.2 -lrec [ 72%] Linking CXX executable test_RecDB /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/test_RecDB.dir/link.txt --verbose=1 /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -Wall -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_RecDB.dir/test_RecDB_autogen/mocs_compilation.cpp.o CMakeFiles/test_RecDB.dir/tests/TestRecDB.cpp.o -o test_RecDB /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Test.so.5.14.2 lib_my-cpp-app.a /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Widgets.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Gui.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Network.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Sql.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5DBus.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Core.so.5.14.2 -lrec make[2]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' [ 72%] Built target test_DataAccessLayer make[2]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' [ 72%] Built target test_AsyncTaskRunner make[2]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' [ 72%] Built target test_RecDB [ 74%] Linking CXX executable test_PackageManager /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/test_PackageManager.dir/link.txt --verbose=1 /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ -Wall -O2 -g -DNDEBUG -rdynamic CMakeFiles/test_PackageManager.dir/test_PackageManager_autogen/mocs_compilation.cpp.o CMakeFiles/test_PackageManager.dir/tests/TestPackageManager.cpp.o -o test_PackageManager /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Test.so.5.14.2 lib_my-cpp-app.a /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Widgets.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Gui.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Network.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Sql.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5DBus.so.5.14.2 /gnu/store/59dq1n4wj3maa3kcar6hspj2zd82as7q-qtbase-5.14.2/lib/libQt5Core.so.5.14.2 -lrec make[2]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' [ 74%] Built target test_PackageManager make[1]: Leaving directory '/tmp/guix-build-my-cpp-app-0.1.1.drv-0/build' ```