pkgsrc-Users archive

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

Re: Python 2.5 ?



On Mon, Jan 14, 2008 at 12:46:07PM +0000, Chavdar Ivanov wrote:
> On 14/01/2008, Tobias Nygren <tnn%netbsd.org@localhost> wrote:
> > On Mon, 14 Jan 2008 09:58:15 +0100
> > Geert Hendrickx <ghen%telenet.be@localhost> wrote:
> >
> > > Hi,
> > >
> > > Python 2.5 has been out for more than a year now (2.5 released in 
> > > September
> > > 2006, 2.5.1 released in April 2007).  Are there plans to import it in 
> > > pkgsrc?
> > > Any problems due to which it has not been imported so far?
> 
> It's in wip. Compiles cleanly. Quite a few errors running 'make test', though.
> 


It compiles cleanly on NetBSD 4.0 but not on 3.1:


running build
running build_ext
Traceback (most recent call last):
  File "./setup.py", line 1322, in <module>
    main()
  File "./setup.py", line 1317, in main
    'Lib/smtpd2.5.py']
  File "/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/core.py", 
line 151, in setup
    dist.run_commands()
  File "/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/dist.py", 
line 974, in run_commands
    self.run_command(cmd)
  File "/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/dist.py", 
line 994, in run_command
    cmd_obj.run()
  File 
"/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/command/build.py", 
line 112, in run
    self.run_command(cmd_name)
  File "/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/cmd.py", 
line 333, in run_command
    self.distribution.run_command(command)
  File "/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/dist.py", 
line 994, in run_command
    cmd_obj.run()
  File 
"/scratch/work/wip/python25/work/Python-2.5.1/Lib/distutils/command/build_ext.py",
 line 290, in run
    self.build_extensions()
  File "./setup.py", line 97, in build_extensions
    self.detect_modules()
  File "./setup.py", line 608, in detect_modules
    if bdb_type == "db2" or  bdb_type == "db3" or bdb_type == "db4":
UnboundLocalError: local variable 'bdb_type' referenced before assignment
*** Error code 1

Stop.
make: stopped in /scratch/work/wip/python25/work/Python-2.5.1
*** Error code 1


        Geert





Home | Main Index | Thread Index | Old Index