pkgsrc-Bugs archive

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

pkg/39042: "lang/python25" fails to build under Mac OS X Leopard



>Number:         39042
>Category:       pkg
>Synopsis:       "lang/python25" fails to build under Mac OS X Leopard
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 26 11:55:00 +0000 2008
>Originator:     Matthias Scheler
>Release:        Darwin 9.3.0
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: Darwin excalibur.zhadum.org.uk 9.3.0 Darwin Kernel Version 9.3.0: Fri 
May 23 00:51:20 PDT 2008; root:xnu-1228.5.18~1/RELEASE_PPC Power Macintosh
Architecture: powerpc
Machine: Power Macintosh
>Description:
Building the "python25" package fails under Mac OS X Leopard:

=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Checking for vulnerabilities in python25-2.5.2nb1
=> Checksum SHA1 OK for Python-2.5.2.tar.bz2
=> Checksum RMD160 OK for Python-2.5.2.tar.bz2
===> Installing dependencies for python25-2.5.2nb1
==========================================================================
The following variables will affect the build process of this package,
python25-2.5.2nb1.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * SSLBASE = /usr
        * SSLCERTS = /etc/ssl/certs
        * SSLDIR = /etc/ssl
        * SSLKEYS = /etc/ssl/private

Based on these variables, the following variables have been set:

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1

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.
==========================================================================
=> Build dependency checkperms>=1.1: found checkperms-1.10
=> Full dependency gettext-lib>=0.14.5: found gettext-lib-0.14.6
===> Overriding tools for python25-2.5.2nb1
===> Extracting for python25-2.5.2nb1

[...]

building 'zlib' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd 
-fno-common -DNDEBUG -pipe -O2 -I/usr/include -I/usr/pkg/include -I. 
-I/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/./Include 
-I/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/./Mac/Include -I. 
-IInclude -I./Include -I/usr/include -I/usr/pkg/include 
-I/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Include 
-I/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2 -c 
/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Modules/zlibmodule.c 
-o 
build/temp.macosx-10.3-ppc-2.5/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Modules/zlibmodule.o
Traceback (most recent call last):
  File "./setup.py", line 1337, in <module>
    main()
  File "./setup.py", line 1332, in main
    'Lib/smtpd2.5.py']
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/core.py",
 line 151, in setup
    dist.run_commands()
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/dist.py",
 line 974, in run_commands
    self.run_command(cmd)
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/dist.py",
 line 994, in run_command
    cmd_obj.run()
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/command/build.py",
 line 112, in run
    self.run_command(cmd_name)
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/cmd.py",
 line 333, in run_command
    self.distribution.run_command(command)
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/dist.py",
 line 994, in run_command
    cmd_obj.run()
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/command/build_ext.py",
 line 290, in run
    self.build_extensions()
  File "./setup.py", line 179, in build_extensions
    build_ext.build_extensions(self)
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/command/build_ext.py",
 line 416, in build_extensions
    self.build_extension(ext)
  File "./setup.py", line 188, in build_extension
    build_ext.build_extension(self, ext)
  File 
"/Users/tron/obj/lang/python25/work.excalibur/Python-2.5.2/Lib/distutils/command/build_ext.py",
 line 509, in build_extension
    extra_args.extend(string.split(os.environ['LDFLAGS']))
AttributeError: 'tuple' object has no attribute 'extend'
gnumake: *** [sharedmods] Error 1
*** Error code 2

Building the "python24" package works without problems. I'm not sure
whether it is relevant but Mac OS X Leopard comes with Python 2.5.1
in the base system.

>How-To-Repeat:
cd pkgsrc/lang/python25
make

>Fix:
Not known.



Home | Main Index | Thread Index | Old Index