From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id VQVNE7NNmmIPJQoAWB0awg (envelope-from ) for ; Fri, 03 Jun 2022 14:06:43 -0400 Received: by simark.ca (Postfix, from userid 112) id 42A051E221; Fri, 3 Jun 2022 14:06:43 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=jIjlgGEd; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 7C0761E01D for ; Fri, 3 Jun 2022 14:06:42 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BCBFF3841449 for ; Fri, 3 Jun 2022 18:06:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCBFF3841449 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1654279601; bh=kuJRnTBtL0mHBqJwGk2f/63HWkYlpYKmojqINatLxK0=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=jIjlgGEdVFKAYx0dOrhi9IJUqpLpZ8V3dHIp4ngi9z6aan2m0GZCVIuJYWq1r0xYV UEO9RABlsqvvjS1fsgzfTwzpqNDAZpes++2FUWSAmTVoeFIb/7j6j1kmx4anUZ/kgz 5k0mfMOI/v2NIyVG3yIYMFHK63VM/42FkY0Ytvs8= Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id D0D5F3856080 for ; Fri, 3 Jun 2022 18:06:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D0D5F3856080 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 253HDUno017824; Fri, 3 Jun 2022 18:06:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3gfpgr8t17-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jun 2022 18:06:21 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 253HDaiF017967; Fri, 3 Jun 2022 18:06:21 GMT Received: from ppma01dal.us.ibm.com (83.d6.3fa9.ip4.static.sl-reverse.com [169.63.214.131]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3gfpgr8t12-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jun 2022 18:06:21 +0000 Received: from pps.filterd (ppma01dal.us.ibm.com [127.0.0.1]) by ppma01dal.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 253HoBXn024519; Fri, 3 Jun 2022 18:06:20 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma01dal.us.ibm.com with ESMTP id 3gcxt64pmd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 03 Jun 2022 18:06:20 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 253I6IOR24379752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 3 Jun 2022 18:06:19 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A8FBB78092; Fri, 3 Jun 2022 18:06:18 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 63D4E7806E; Fri, 3 Jun 2022 18:06:18 +0000 (GMT) Received: from li-e362e14c-2378-11b2-a85c-87d605f3c641.ibm.com (unknown [9.211.57.135]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 3 Jun 2022 18:06:18 +0000 (GMT) Message-ID: <5ad1534d98e1c6132722d663180a97ebcc2075df.camel@us.ibm.com> To: Andrew Burgess , Tom Tromey , Andrew Burgess via Gdb-patches Date: Fri, 03 Jun 2022 11:05:23 -0700 In-Reply-To: <73f20772cf68f5f966d82ff005b430a34f6ba1a3.camel@us.ibm.com> References: <58a7e3085365af2ac05409b78f6d15bf5240cd2c.1652784658.git.aburgess@redhat.com> <874k1njg8b.fsf@redhat.com> <87ee0g6vbm.fsf@tromey.com> <874k1aezlr.fsf@redhat.com> <8457aaf504438e99371cfa8f2f363cfe73da6786.camel@us.ibm.com> <73f20772cf68f5f966d82ff005b430a34f6ba1a3.camel@us.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: OigVUj47cTPRv9CsWrtEqz9NMndb0SiO X-Proofpoint-ORIG-GUID: YDnYL_wJysUoxClUO1CDSzv1gjM6saf1 Subject: RE: [PATCH 2/2] gdb/python: improve formatting of help text for user defined commands X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-03_06,2022-06-03_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 bulkscore=0 clxscore=1015 malwarescore=0 mlxlogscore=999 suspectscore=0 adultscore=0 spamscore=0 phishscore=0 priorityscore=1501 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2204290000 definitions=main-2206030073 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Carl Love via Gdb-patches Reply-To: Carl Love Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Andrew: On Tue, 2022-05-31 at 16:10 -0700, Carl Love wrote: > > I am seeing failures with the new test gdb/testsuite/gdb.python/py- > > doc- > > reformat.exp on X86-64 and Power. The errors show up in the full > > My bad, I forgot to mention that the failure is on Power 7, RHEL > 7.9. > I was digging a bit more on the "undefined source" error messages > below > about the source . I noticed that the python version was 2.7.5. I > checked the test on a Power 10, RHEL 9.0, box and found that it > worked. > The power 10 box has python version 3.9.10. I am using the bash > shell > on both systems to run the gdb tests. Not sure if a newer version of > python is needed for the source command. So far I haven't found > anything about the source command being version dependent. > > The intel box is Ubuntu 22.04, does not have python but rather > python3 > version 3.10.4. Given that I was able to get it to run on a Power > 10 > box but not a Power 7 box would indicate it is some sort of a system > setup issue? Any thoughts on what it might be? I will keep digging. I found the root cause of the failures. The test needs python3 to run correctly. The machines where I was seeing the failures were still on distros using python 2. Specifically, RHEL 7.8 uses python 2 by default. Installing python 3 and changing the soft link /usr/bin/python to point to python3 fixes the issue. Carl Love