From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kF4xOhT6wWY1/QAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Aug 2024 13:41:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kF4xOhT6wWY1/QAAqHPOHw (envelope-from ) for ; Sun, 18 Aug 2024 15:41:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jBwDX15o; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="e/HMK1rS"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723988500; 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=vEzCucBBBlvzsUQqXALTXRrdfi3d+TnZKUCWyF5VBuU=; b=letyxyaLu8jtiJcR4q/kitcTtroZcTLVFgPLvZTkPu8/vvKCgIryFHNpYsnHilJ2W3azWb HLpSM+xKCCFhX9eJkTUq/EfVfJ/w/K7EYr0EC7xDg/I4aqWdzvhMKz4/rbTUlYjP5+C5HM T+C6hwkBWNNAtE6WznTPhAHvSAEXSU1pvpDdmULCFHtAEW+iLhTr6mpSXgP26ni9fkquMg KSq0kSu8Q+9GXDQTHoYboLv75szx8SgtEJzynhUUpHvjrJoa5HWq/q+pwnbNZGyISvMnDV pZ+fQfDE2atLmGeDK747OWOoy5QlyAnnjj0E6qrmD4iP4UCuDohYyNbJ6bnNiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1723988500; a=rsa-sha256; cv=none; b=u5T0iXw60/7P5lriv4WMDL3vOsWaSt5DhJDog2+EOP3FCtXrYQT5kkkpNrv3iZgCfYMP6p isTZR91oZhpWchrOQysAbOBzkqt3aKnVRJsIktzB1BX14A/Iqv9NW16URvs2h/7+p+v9TQ 8+Y5K3UN+pWNTAG7ZwMtigdjI6OmJIFUExTNSvr98f1sK92e4hFs4W8B/Pdz4iIqobXGeZ riYBJKPCdSfgS49s+hnNJO/FyGi4FzdChpQd906QpHJxJ+F4fPAc/hi7aaBUIOjJjqYylV lUclEJVbvggn8/+Y+5vAqbFELsm9kIdFkGnVPiPMd9sDzDZHC4T5jpoMZryyiw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=jBwDX15o; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="e/HMK1rS"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" 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 C2A6335DD8 for ; Sun, 18 Aug 2024 15:41:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfg9t-0005qm-Ru; Sun, 18 Aug 2024 09:41:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfg9q-0005qN-LN for bug-guix@gnu.org; Sun, 18 Aug 2024 09:41:22 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfg9q-0000Lp-CZ for bug-guix@gnu.org; Sun, 18 Aug 2024 09:41:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=vEzCucBBBlvzsUQqXALTXRrdfi3d+TnZKUCWyF5VBuU=; b=jBwDX15oAoqJSsGE6CNGgbz8MtboSWa3W/1MUNbFj4X3O0Fl6vx0EXZt9SZUkYPgULjVwYM0SugIppObyQOUSSAN7iBwyw02MYo8PRAPDQJiDtd9AoggQCRd7JnpPxR18HEQSHRGwIkfhPvNmB7Cz3r8tfBIXEEKhRnpp3gMd1qKtyFQGV0/tHARs8Yki9ZvjOHducbR/oCUoixxa0ACXoLP9sMoBf3PDf+xnEVedzTZfRBEMk06n9+UTDNB4RjGpySDrTc+der+95BzGWrvd13VIXgieRIzuYGVkBxR0T4V91o44yRDBBr+K1+jhGDnnGjhg+LZ0J5vr6LlkQ+Mdg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfgAT-0006gL-RZ for bug-guix@gnu.org; Sun, 18 Aug 2024 09:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72697: cmake-build-system sets wrong CMAKE_SYSTEM_NAME when crossbuilding for Hurd Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 18 Aug 2024 13:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72697 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72697@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172398849925645 (code B ref -1); Sun, 18 Aug 2024 13:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2024 13:41:39 +0000 Received: from localhost ([127.0.0.1]:55603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgA7-0006fY-Dj for submit@debbugs.gnu.org; Sun, 18 Aug 2024 09:41:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:46042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgA5-0006fR-H1 for submit@debbugs.gnu.org; Sun, 18 Aug 2024 09:41:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfg9Q-0005iM-FP for bug-guix@gnu.org; Sun, 18 Aug 2024 09:40:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sfg9O-0000JD-I9 for bug-guix@gnu.org; Sun, 18 Aug 2024 09:40:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 79632240027 for ; Sun, 18 Aug 2024 15:40:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723988450; bh=PWXQUTTdx7hNoPbBUL+pyakjixT3XNj95/z7na0NyLs=; h=Message-ID:Date:MIME-Version:To:From:Subject:Content-Type: Content-Transfer-Encoding:From; b=e/HMK1rSHXHgPxkHQVBtzwjaVZogSj50lQ4GtbqQtOlzdqN2eFQQshjPQOd0JLSPh vUvlaFMqUtp1mkxuifYzdP10jHqT12/HXyTF/wziw2jranqUqOB/aaiZVw7wLgHE1G ykz7RJzEJbTKA8oT+xZeTWI/B0udjRmL6Nt/4PDsVoRAAJPJqjaGAnNTtQMUJ/S+K7 vTOFGcny6Yobb0QKI5bWOl/Md93KbOp9+5hrDIrteB1skYTFdHx3C0GV7IwL+dpnKl lOcDta57jT8gDi6OH5TKXNYEd3V3nbD/jp+/PVrCaqdPLmsrlCEYeFSkmbIiXCA5jW t6iBzsrHwO5gQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Wmxh14wT8z9rxB for ; Sun, 18 Aug 2024 15:40:49 +0200 (CEST) Message-ID: Date: Sun, 18 Aug 2024 13:40:43 +0000 MIME-Version: 1.0 Content-Language: en-US From: Dariqq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C2A6335DD8 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.81 X-Spam-Score: -10.81 X-TUID: zOe3pfSoSdZu Hi, I was playing around with a package using cmake and got an error when crossbuilding for i586-pc-gnu. The reason seems to be that cmake build system only checks for a mingw target and assumes all other targets are Linux and sets CMAKE_SYSTEM_NAME accordingly. I am able to work around it by adding something like #$@(if (and (%current-target-system) target-hurd?) '("-DCMAKE_SYSTEM_NAME=GNU") '()) to the configure-flags of my package. I am unsure how a fix should look like. I was thinking of moving the entire crossbuild code out of the build side and instead prepend the right configure flags for the target to configure-flags for the cross builder kind of similar how meson-build-system does it. Unfortunately a change like this causes a lot of rebuilds.