From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QM35JVyDjGChQgEAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 00:23:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aAemIVyDjGB5DgAAB5/wlQ (envelope-from ) for ; Fri, 30 Apr 2021 22:23:24 +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 1CC8710F80 for ; Sat, 1 May 2021 00:23:24 +0200 (CEST) Received: from localhost ([::1]:55258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcbXd-0002ob-VZ for larch@yhetil.org; Fri, 30 Apr 2021 18:23:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcbXK-0002oD-AY for bug-guix@gnu.org; Fri, 30 Apr 2021 18:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcbXK-00059G-2i for bug-guix@gnu.org; Fri, 30 Apr 2021 18:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcbXJ-00047M-Tl for bug-guix@gnu.org; Fri, 30 Apr 2021 18:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47928: go-gopkg-in-yaml-v2-2.2.2 build fails Resent-From: Bone Baboon Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 30 Apr 2021 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Cc: 47928@debbugs.gnu.org X-Debbugs-Original-Cc: 47928@debbugs.gnu.org, Bone Baboon via Bug reports for GNU Guix Received: via spool by submit@debbugs.gnu.org id=B.161982137315811 (code B ref -1); Fri, 30 Apr 2021 22:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2021 22:22:53 +0000 Received: from localhost ([127.0.0.1]:59970 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcbXA-00046w-NS for submit@debbugs.gnu.org; Fri, 30 Apr 2021 18:22:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:56856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcbX4-00046l-US for submit@debbugs.gnu.org; Fri, 30 Apr 2021 18:22:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcbX4-0002nc-O0 for bug-guix@gnu.org; Fri, 30 Apr 2021 18:22:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcbX2-00050Z-Ox for bug-guix@gnu.org; Fri, 30 Apr 2021 18:22:46 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 7EF7B53A70; Sat, 1 May 2021 00:22:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id weSzgrtFhjyW; Sat, 1 May 2021 00:22:41 +0200 (CEST) References: <87tuo0pfy5.fsf@disroot.org> <20210426171700.2ae736ff@riseup.net> <87mttkbu8h.fsf@disroot.org> <20210428024559.1b9293f3@riseup.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1619821361; bh=F4sOLBqAmxXT3fH8Qy2Uhp//5ZeBx9mX2Vm1sd9Wi8o=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=jqlh098jYpLw2CvwjWVMzMN8BMIMEDt8X/1yryW9ZW8Lk0y/cpjIAd46itjPRUcYF s8EM0ToXGCPIciqcHdBwboW1jZRWlTgXqXvoSaRsp1g2PYi0d634Wzaxlu/8RIxQR7 jKIsin9PvQSUAmx5Iah4Kvjo8ELYI6NAIk29GaFj7M3r8BKlv/A4DzCHZacTVe+zpQ cfE4KabFo0HYxzMrGzbL+80hOKNxSgHxNEjdQqBBC2/DixwFMk60wKET+np4k80ibR qfgAh2zvqyvT1VXdomQ93I0XyxyYERr/Gd3PVwejkLc/YhUY4DbxJSuJG65kRYisbe 6iLc51ul7HpUA== In-reply-to: <20210428024559.1b9293f3@riseup.net> Date: Fri, 30 Apr 2021 18:21:25 -0400 Message-ID: <87bl9vl8gq.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Reply-to: Bone Baboon From: Bone Baboon via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619821404; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc: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=Ma81/8tk9nTZ1n8MR1Kr1cQUvuIF39663F9em6pHAKc=; b=ggFIMO1QpDDA/UMMtVy++GmVfBwrOhsJHfavaWPxTDUlLLwLmp2nOToCMrObxuj6CTwYRp uEXawEsopzsOF0CMIAyqdUt7o65XRnDR3d2R24JdSmGeS3rhZ+rpcjMzcga05sNpmKl8X1 Tg1ECjY0DZsNXXSH61Oy2KbSJVxYLqdCH1zm2QIie2EpsRCX0Kq9pGwuQ2h675WD0DwHhQ nF93+zx+5W0W1S6Ugh6rV1+6hfIB62KZHeELB5NUEZrzXGNa/KdjvamK921Wj1ykyhM3n4 OM4JKGx6X+Z1KJbzYIkY4zQ+pQxPtLCHsUYf7RLIA2Pet5nrBo4iVVvvXjULSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619821404; a=rsa-sha256; cv=none; b=uuWJW7a0F58Gj1kG7bMtQhVEGKhiCZy9g5dMWqznJIEOBRbY+oEW4Ile44b1aM7BsXWn6h TQiHKs6NUzEOjfLnJFb03dzqBRnQh6WFkrufpl96iyr+AZtmD9R6gJr2gYLbN4rSHQoTvt 4aH4oEFcr+uL5WJcLHe7D3RUk3Z/XLrP+wJnYBUC1igfTCbViByjWKw31X48L7oB6UaxHg UOs0nDBVr57l2HvAWIs5QpofR5nfqDQSVFKgxtYkeTgKUDCcg2IEjQ+BfEsQTS8ogc/Zgg fnK6QiDP37hQxQdJNV13mYECXHz7enKlOqy9fiQ4O+xiwU1CoxnMGsVCMokqTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jqlh098j; 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-Migadu-Spam-Score: -2.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=jqlh098j; dmarc=pass (policy=none) header.from=gnu.org; 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-Migadu-Queue-Id: 1CC8710F80 X-Spam-Score: -2.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: neBGLAaD8EzO raingloom writes: > On Mon, 26 Apr 2021 17:39:58 -0400 > Bone Baboon wrote: > >> raingloom writes: >> > My guess is that int is 32 bits on i686. >> >> The computer's CPU is 32 bit. >> >> How would I check if "int is 32 bits on i686"? > > Looking up an authoritative source (ie.: "the docs") is one way. Here > is what I found: > > https://tour.golang.org/basics/11 > The int, uint, and uintptr types are usually 32 bits wide on 32-bit > systems and 64 bits wide on 64-bit systems. When you need an integer > value you should use int unless you have a specific reason to use a > sized or unsigned integer type. > > > Another would be to try to do an operation that would wrap around, but > if you aren't familiar with binary arithmetic in the language in > question, just looking it up is probably easier. Thank you for sharing this.