From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YKvEKhgjzmVU7wAA62LTzQ:P1 (envelope-from ) for ; Thu, 15 Feb 2024 15:43:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YKvEKhgjzmVU7wAA62LTzQ (envelope-from ) for ; Thu, 15 Feb 2024 15:43:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=KVVs2Anf; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=landt.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708008216; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=38XDkqodgzwo/d5kDA6dFfaACr6quCHSstNSfJncyTM=; b=r31cOOSEmtx7X5ZEygJu3yom4U8L2uve7oxYoJ9Yr1pFQ4wsOFb23oJ/Ot6VWns5qWWuNm LSmbVoANzLd9eVQqmcKSUt1TEFZN9/q76A1oOMCBr2gJX8RsmG5zKDOlCMIsIcUvXwc0P5 o5dnQ6oJ3rh8GAl08JFEht2BiVbFQVUuTj0CgJ9vqHPLvrnKMN969w0lxhYbCxRrY3nnSe RX87KCcJRrXfP526bVdmx/jFWG1BpDf5eglQie/iF3XXscBCQBy5Mtk4SYwgFwBHAZP5pZ JaU42XqV5QmTGeOl3piA04/K0s4GIuRYOXMzIOcyObB9I1Yjb9b4nh9/PTcOYA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=KVVs2Anf; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=landt.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708008216; a=rsa-sha256; cv=none; b=qcnOlNf3dZPD0XzHTD010DtCQc5rmAuXC790x6FHUXQCHqiVXtFZQLbNHOJ6w49fR78SMD j8E7ETiA0a4NQ2CN4kemRGckAjHvfBR0Otri0RqLAu9Waj5tJ2XliXhO7sqygW/d5VGqNH KhB0Ejx0yMbMcYvyvW9Y9MWFmXb9zedXpu8lF2bqhLs51yYWcOHf4EiWQK+WTUYbR5XNXb rsqQYWaIdkktlnY4uzWR2pmFgUZoa55fq50zXn6tWffd6/8BktDR2zrROsDa+8kMEJ8lcL FPzr/0Xf2cyJHO0uIxnKziI4vJs5ClQ0ZgDeFAOStGlFmB+eikbWxDepBW0Evw== 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 9AB08C1F2 for ; Thu, 15 Feb 2024 15:43:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1racx5-0005Jm-DD; Thu, 15 Feb 2024 09:43:03 -0500 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 1racx4-0005JW-RJ for help-guix@gnu.org; Thu, 15 Feb 2024 09:43:02 -0500 Received: from mout-p-103.mailbox.org ([2001:67c:2050:0:465::103]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1racx2-0005sj-If for help-guix@gnu.org; Thu, 15 Feb 2024 09:43:02 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4TbHpz6rn6z9sSl; Thu, 15 Feb 2024 15:42:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1708008171; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=38XDkqodgzwo/d5kDA6dFfaACr6quCHSstNSfJncyTM=; b=KVVs2AnfJQE45A/aHyunwXX6CTajrcCEh1o805Yy74hFkDXe+wEAU1pOyjmfdqADaSlIRr 0f5HJwARIeLrr7G9dmqS0+fhXA+pfuExogfR3Un2AChe2ALeJ+/Je/23F10AH1rbS+TWFL KRCdIGY5G9o9OPHlRhNh6qWNhc63XzO70zFNkdjIpFEfSqnYg8IKWHjCFwfb0EPSkcpqvm 5e1vsPlvXKCotJhzBQ603kXL02XMVWK4sRBnSKp3F2FHWtDG5OPo96JK5j+Pi0k+Deywkr +4OlRW/GV2Q+2gg1E7qnU8mdFyY/n1NsossZe1u2OdkbFGLY1IQfJk1LUyyDfQ== Date: Thu, 15 Feb 2024 15:42:51 +0100 (CET) From: Nils Landt To: Tomas Volf <~@wolfsden.cz> Cc: help-guix@gnu.org Message-ID: <651390050.176762.1708008171345@office.mailbox.org> In-Reply-To: References: Subject: Re: How to debug a failed build of rust application under cargo-build-system? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4TbHpz6rn6z9sSl Received-SPF: pass client-ip=2001:67c:2050:0:465::103; envelope-from=nils@landt.email; helo=mout-p-103.mailbox.org 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, 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: help-guix@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.01 X-Spam-Score: -5.01 X-Migadu-Queue-Id: 9AB08C1F2 X-TUID: ciRtnmP1rCdY > Tomas Volf <~@wolfsden.cz> hat am 15.02.2024 14:26 CET geschrieben: > > > On 2024-02-15 13:06:23 +0000, woshilapin wrote: > > Hi, > > > > It is indeed a code error which looks weird. Are you sure the 2 compilations compile the same source code? > > Well, technically I am not sure. I ran the `guix import crate -r netavark' and > used the output from that. My expectation was that it would walk the > dependencies, and produce the same dependency tree cargo would use. Is that a > correct expectation? Not necessarily correct, no. cargo install does not use the lockfile, see https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile The cargo-build-system also doesn't use it. The crate importer also doesn't use it :) > > > Could someone nudge me in the right direction regarding how to debug this issue? > > > I am not really sure where to start. First, I'd try to make sure that guix build rust-tonic works. This page helped me a lot in getting started: https://guix.gnu.org/manual/en/html_node/Debugging-Build-Failures.html I tried to reproduce this locally (import and build), building rust-tonic works fine for me. Funnily enough, I'm running into a completely different error, related to https://github.com/hyperium/tonic/blob/408f46d5f2e1a25547831eb4b064bdeaf3868979/tonic-build/src/lib.rs#L47-L60