pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/56774: Python 3.9 & 3.10 build fails with pkgsrc-2022Q1 on NetBSD-current on RPi4



The following reply was made to PR pkg/56774; it has been noted by GNATS.

From: Pierre Pronchery <khorben%defora.org@localhost>
To: Tobias Nygren <tnn%NetBSD.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
 Malte Dehling <mdehling%gmail.com@localhost>
Subject: Re: pkg/56774: Python 3.9 & 3.10 build fails with pkgsrc-2022Q1 on
 NetBSD-current on RPi4
Date: Thu, 7 Jul 2022 17:20:22 +0200

 		Hey Tobias, (Malte)
 
 > On 7. Jul 2022, at 12:23, Tobias Nygren <tnn%NetBSD.org@localhost> wrote:
 >=20
 > On Wed, 6 Jul 2022 02:33:09 +0200
 > Pierre Pronchery <khorben%defora.org@localhost> wrote:
 >=20
 >> I am not aware of a better patch than simply removing this line from =
 setup.py at the moment.
 >>=20
 >> @Tobias: any ideas?
 >=20
 > The purpose of the line is to prevent upgrade problems when setuptools
 > comes with backwards-incompatible changes as happened earlier this =
 year.
 
 Understood.
 
 > Putting the work directory inside prefix sounds somewhat unorthodox to
 
 I believe I have a very good reason to do it.
 I regularly switch between pkgsrc branches:
 
 - -current for regular work on pkgsrc,
 - stable for pull-ups, and
 - frozen-or-soon-to-be-stable for tests (and building binaries ahead
   of upgrades)
 
 In practice this means one CVS tree with -current (everything goes in
 ~/opt/pkgsrc-current including packages and work directories, easy to
 reset and start from scratch if necessary or for tests) and one tree
 with Git (EdgeBSD) where I can switch between branches at will (to
 match /usr/pkg or work on eg ~/opt/pkgsrc-2022Q2 before the local
 system is up to date).
 
 > me but if you'd like you can change the regex to
 > '^' + sys.base_prefix + '/lib'
 > in order to avoid this specific problem [unless you name your work
 > directory libwork at which point I'll wave my hands].
 
 :)
 
 > I'm fine with that change but am not in a position to commit it myself
 > at the moment.
 
 I just tested your suggestion successfully on -current with
 lang/python{39,310}; I am going to commit it now.
 
 Thank you!
 --=20
 khorben=
 


Home | Main Index | Thread Index | Old Index