pkgsrc-Bugs archive

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

pkg/29263: lang/python24 build fails with TypeError: iteration over non-sequence



>Number:         29263
>Category:       pkg
>Synopsis:       lang/python24 build fails with TypeError: iteration over 
>non-sequence
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 07 12:27:00 +0000 2005
>Originator:     Jon Giddy
>Release:        RedHat Linux 7.1
>Organization:
>Environment:
Linux hostname.deleted 2.4.2-2smp #1 SMP Sun Apr 8 20:21:34 EDT 2001 i686 
unknown

>Description:
In the setup.py file (as patched by patch-am), line 552, if db.h is not a db1 
header file and db_185.h does not exist, a NotFound exception is raised.

This is caught at line 577 and db_incs is set to None.

At line 592, db_incs is passed to find_file, which expects it to be a sequence. 
 This raises:
  File "./setup.py", line 97, in build_extensions
    self.detect_modules()
  File "./setup.py", line 592, in detect_modules
    elif find_file("ndbm.h", db_incs, []) is not None:
  File "./setup.py", line 40, in find_file
    for dir in std_dirs:
TypeError: iteration over non-sequence

BDB settings from build:
==========================================================================
The following variables will affect the build process of this package,
python24-2.4nb4.  Their current value is shown below:

        * BDBBASE (defined)
        * BDB_TYPE = db1
        * SSLBASE (defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================

>How-To-Repeat:
On a machine with BDB1 and BDB2 libraries, and no db_185.h file, 
build lang/python24.

>Fix:




Home | Main Index | Thread Index | Old Index