From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 039A93858D32 for ; Tue, 25 Oct 2022 01:08:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 039A93858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [10.0.0.11] (unknown [217.28.27.60]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 1D0031E0CB; Mon, 24 Oct 2022 21:08:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1666660125; bh=RzdxDkRajoxyJu7grL0KJsBYezBciRW0rMgVVmhyCRk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ltNaQ811R8WbPpaPo+HXt6SmEckHkQGVtKheI1ldn6MLKffTWVv3EDrFEwadZEdsB /9KY52Toee9KJFcsakG9m/kkREeh+vXZpVfMLKUUZDKuvDRi0jTVwkhMP0WKNfuER8 N0HbNcQ3llpm9CGpZr/nZfmQ3dJAoYUuWWB943T8= Message-ID: <8ef2b43b-9ac4-3a50-3c93-753c8dcfe001@simark.ca> Date: Mon, 24 Oct 2022 21:08:44 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH] gdb/testsuite: fix gdb.guile/scm-parameter.exp "wrong type argument" test pattern Content-Language: en-US To: "Maciej W. Rozycki" , Simon Marchi Cc: gdb-patches@sourceware.org References: <20221024164338.1762303-1-simon.marchi@efficios.com> From: Simon Marchi In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2022-10-24 19:22, Maciej W. Rozycki wrote: > On Mon, 24 Oct 2022, Simon Marchi wrote: > >> I believe that the first two lines are output by Guile itself, in the >> SCM_ASSERT_TYPE macro. I tried on different systems, different Guile >> versions (2.0, 2.2 and 3.0) and I always get the former output, never >> the output the test expects. I presume the patch below isn't right, as >> there is surely some systems that do print the latter output, otherwise >> Maciej (the original author) would have noticed it. I presume we'll >> need to accept both outputs. But I'd like we if could clarify when we >> get which. > > FTR I'm still looking into it and like you I have hesitated to just paper > the issue over by allowing both outputs without first understanding what > is really going on here. I cannot rule out a distribution-specific patch > causing a discrepancy here, but I feel like tracking it down. > > NB guile 2.0.13 here, reporting as: > > guile (GNU Guile) 2.0.13 > Packaged by Debian (2.0.13-deb+1-5.4) According to that version number, it looks like Ubuntu 20.04? https://packages.ubuntu.com/focal/guile-2.0 I tried building on Ubuntu 20.04 against guile-2.0, and I see the same result as you. And when I try guile2.0 on Arch Linux (this package [1]), I also see the same result as you. So I must have tested it wrong previously. You can dig further if you want, but I'd be fine just accepting both outputs and saying that guile-2.0 outputs the additional ERROR: while subsequent versions do not. Simon [1] https://aur.archlinux.org/packages/guile2.0