From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CD9AA385AC19; Fri, 1 Jul 2022 15:18:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD9AA385AC19 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug build/29308] [gdb/build] python 3.10 problems Date: Fri, 01 Jul 2022 15:18:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2022 15:18:47 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29308 --- Comment #7 from Simon Marchi --- > FWIW, I need to install python3-devel to get python3-config, in addition = to the python3 package, but that's not a problem of course. I need to inst= all lots of -devel packages to be able to build gdb. I would expect that you need python3-devel anyway, since that's probably wh= at provides Python.h? > I guess this will break pre 3.4 python setup. > > So perhaps, it's an idea to first try python's python-config, and if that= doesn't work, fall back on gdb's. I don't think it's a big deal to break pre-Python 3.4. We currently support Python pre-3.4, just because there wasn't a specific reason not to. It did= n't require significantly more work to do so. This could be a good reason to s= tart requiring Python >=3D 3.4, if doing so makes things significantly simpler. --=20 You are receiving this mail because: You are on the CC list for the bug.=