#11549: Review dependencies on Python 2
-----------------------------+------------------------
Reporter: pierre.labastie | Owner: blfs-book
Type: enhancement | Status: new
Priority: normal | Milestone: 8.5
Component: BOOK | Version: SVN
Severity: normal | Resolution:
Keywords: Python 2 |
-----------------------------+------------------------
Comment (by xry111):
Replying to [comment:61 pierre.labastie]:
> Replying to [comment:60 xry111]:
> > Replying to [comment:19 pierre.labastie]:
> > > gdb's python backend is P2 only, too. This backend is optional, but
this backend must have been built if gdb is present when running rustc
tests, otherwise, 3 tests (in the debuginfo series) fail.
> >
> > Are you sure?
> >
> >
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/gdb
>
> Hmmm,
> that was some time ago, so I do not remember the details. I guess I'll
have to try again...
> If I try to recall what I did, I think passing ''--with-
python=/usr/bin/python3'' does not prevent the build, but the backend
cannot be loaded into gdb. Maybe Archlinux don't care...
I just built a GDB-8.2.1 with python3. It seems working well. (At least
libstdc++.so.6.0.25-gdb.py works with it).
> Actually, I do not understand why they need ''--with-
python=/usr/bin/python3 ''. Don't they rename python3 to python?
Maybe to prevent some systems with `/usr/local/bin/python` or
`/opt/anaconda/bin/python`? My girlfriend once got stuck because a
version conflict between system Python and Anaconda.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/11549#comment:62>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page