From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 8PY1C15eX2fRzgAA62LTzQ:P1 (envelope-from ) for ; Sun, 15 Dec 2024 22:55:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 8PY1C15eX2fRzgAA62LTzQ (envelope-from ) for ; Sun, 15 Dec 2024 23:55:26 +0100 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=H5cGENI4; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=M9gRfGna; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734303325; a=rsa-sha256; cv=none; b=V5IpeA2Quc9BJtj0pUMgRYRHvq0hem3V6uwPXFvtgHPvJ2tmbcDHCzwddyxXv9+sLfod4s tXVfToYl98/iV3CtmFkv6LiXVWKDnbIPycvi7GrWt2q3ev2HVSZQkz45CkFN703yfrN4Uc ObLQD3JSP5PnDjmGRmV1g/LhOYOu/ooJ7JZmh/NwCktSXCQvAJvKghV55BhA51smpAFNMW szrJmTrSPRBPOO7vx5EupSp5CfW579CdGwjB0LhB47AVYDqFqrsEe+ZdnnN6YsCbu3nPax yqZa3SN+qG2X0TJLRX6IA6YbBmKyUaK04n2PGv7Fmh948P07niN3ZV76mlv3qA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=H5cGENI4; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=M9gRfGna; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734303325; 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:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sc9ChQL46YJjyosPS6+OkuS31vugG7vrun7zGQSvgF0=; b=qAqeLGr/IPeVYDTgsJYOySYOvw9kgJu5dxiNATMTiG8Ptux+JroZpdFh2yG0gp2COqiMeV +A0m1Ry//JgVgX4fiNQL/fA1zelMdjy6BKGiObBFAwP+5Swv4F8aNwKQ7qz2B8za2HI3hg i7I/rJZWRVb33bxrGqVjFIy0KKeyAZQg8KZCkrdjfLOzBFScbyDEMqArWcxaqr57KNlNKp 4Sa89VM1ujnpExkCWK5IUebEXsyZ24Tb0VpC9nPyYbrzr9Jc7MhfZViJQPASZsTScyBB0R 7urxakXUq84AfBmzzyDqpyVp6RYfU+BfEfXVXG2suV5pZzLF4abFFJlo/kyS+A== 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 171FE8990A for ; Sun, 15 Dec 2024 23:55:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMxW3-0001DM-Fm; Sun, 15 Dec 2024 17:55:11 -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 1tMxVw-0001AS-I1 for guix-patches@gnu.org; Sun, 15 Dec 2024 17:55:04 -0500 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 1tMxVw-0001ft-9O for guix-patches@gnu.org; Sun, 15 Dec 2024 17:55:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=sc9ChQL46YJjyosPS6+OkuS31vugG7vrun7zGQSvgF0=; b=H5cGENI4mwSqZg6dI7BVNnVyTtqSptyRs6aeMPZeOiKuasM00YD5WhJF7LQS1wDX2YhsQ3efsj+1QRKNEhnG+2BnjaUYnwBPwqYOdZAv/rmnMPP11hJjm2Gjh+ISC4NVSXTNcSCa0onrOf7y+aXEMZh1WYs4qc4Lac8etfoSKbscRX+f2XCOrF9FSBe4uPlv8itO+TV8s4mITDXj6uvoZk7RPEC02Oomb7h3i7dy/PRZba9r6zatA7XX/bg3B6Ejq/aB+fJmqAKQxyYBmCxB9nsvq+pgWpgKRUV3vLQUI3OHTymVdAZKQd1ui+zUdbXAD/AZ6VeZK22WSNPcKu3MRA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMxVv-0008TK-NH for guix-patches@gnu.org; Sun, 15 Dec 2024 17:55:03 -0500 Subject: bug#74830: [PATCH] gnu: libcbor: Fix cross-compiling to 32-bit architecture Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 15 Dec 2024 22:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74830 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christoph Buck Cc: Simon Tournier , paren@disroot.org, Tobias Geerinckx-Rice , jgart , Mathieu Othacehe , Christopher Baines , 74830-done@debbugs.gnu.org Mail-Followup-To: 74830@debbugs.gnu.org, ludo@gnu.org, dev@icepic.de Received: via spool by 74830-done@debbugs.gnu.org id=D74830.173430328232523 (code D ref 74830); Sun, 15 Dec 2024 22:55:02 +0000 Received: (at 74830-done) by debbugs.gnu.org; 15 Dec 2024 22:54:42 +0000 Received: from localhost ([127.0.0.1]:52542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMxVZ-0008SV-FY for submit@debbugs.gnu.org; Sun, 15 Dec 2024 17:54:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMxVX-0008SD-IK for 74830-done@debbugs.gnu.org; Sun, 15 Dec 2024 17:54:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMxVR-0001T8-96; Sun, 15 Dec 2024 17:54:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=sc9ChQL46YJjyosPS6+OkuS31vugG7vrun7zGQSvgF0=; b=M9gRfGna3dLxLgd5YaCW ID1+ngxW9sXyWk0qpkTjJ2SU50MqbuKL+mNe509FJT+/8tbjgbR7scJ/AQNXTYTya63sjya0gsNiR 4HemVz8YPnIHEkjslMI0+s9jHoji/Xa56Wg3hUscoxrBXLDkDwUoXSnBsgGAkbPhZ2cX5KQmqKGrS gDdBmPps+xEMpWLEHMGrmY56QXQ3OcI8hEhR0k1YUJtAk7Ve9Cd+GIR2qPNnUYEopBvBrxH3NR8qp qQUB7uVRh7HC8tQR9S0svSOdZ2rlBoxLg0hA6dclu1XJRfsRu9cEDie9qKvUp0rRaZVrYiYyF0gth n3FPypsY9lKvsg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <62a9e8b6613b09d0a260007aa2c79ad05cf774df.1734012275.git.dev@icepic.de> (Christoph Buck's message of "Thu, 12 Dec 2024 14:04:35 +0000") References: <62a9e8b6613b09d0a260007aa2c79ad05cf774df.1734012275.git.dev@icepic.de> Date: Sun, 15 Dec 2024 23:54:29 +0100 Message-ID: <87bjxch80q.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.89 X-Spam-Score: -6.89 X-Migadu-Queue-Id: 171FE8990A X-Migadu-Scanner: mx12.migadu.com X-TUID: 3Hk6bc0s2sVP Christoph Buck skribis: > * gnu/packages/compression.scm (libcbor)[arguments]: Disable examples bec= ause > they don't build during cross-compilation. The callback definition > `find_string` in examples/streaming_parser.c uses `size_t` as type for > argument `len` which is 4 bytes on a 32bit platform. However, the callback > handler of type `cbor_callbacks.string` to which `find_string` is assigned > expects an `uint64_t`. Since the examples are not required this patch will > disable them from the build. > > Change-Id: I596a62a9d0ab936179c8344e91ecc2cb0419316f Applied, thanks. I took the liberty to add some of the explanation as a comment, to make it easier to find. Ludo=E2=80=99.