Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311103 - dev-python/numpy-1.4.0 fails to build on IRIX
Summary: dev-python/numpy-1.4.0 fails to build on IRIX
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 10:41 UTC by Stuart Shelton
Modified: 2011-12-15 18:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-03-24 10:41:00 UTC
On IRIX, numpy-1.4.0 fails with:

compile options: '-Inumpy/core/src/private -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/include -I/opt/gentoo/usr/include/python2.6 -c'
cc: _configtest.c
removing: _configtest.c _configtest.o
Traceback (most recent call last):
  File "setup.py", line 187, in <module>
    setup_package()
  File "setup.py", line 180, in setup_package
    configuration=configuration )
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/core.py", line 186, in setup
    return old_setup(**new_attr)
  File "/opt/gentoo/usr/lib32/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/opt/gentoo/usr/lib32/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/opt/gentoo/usr/lib32/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/command/build.py", line 37, in run
    old_build.run(self)
  File "/opt/gentoo/usr/lib32/python2.6/distutils/command/build.py", line 134, in run
    self.run_command(cmd_name)
  File "/opt/gentoo/usr/lib32/python2.6/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/opt/gentoo/usr/lib32/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/command/build_src.py", line 152, in run
    self.build_sources()
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/command/build_src.py", line 169, in build_sources
    self.build_extension_sources(ext)
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/command/build_src.py", line 328, in build_extension_sources
    sources = self.generate_sources(sources, ext)
  File "/usr/opt/gentoo/var/tmp/portage/dev-python/numpy-1.4.0/work/numpy-1.4.0/numpy/distutils/command/build_src.py", line 385, in generate_sources
    source = func(extension, build_dir)
  File "numpy/core/setup.py", line 416, in generate_config_h
    rep = check_long_double_representation(config_cmd)
  File "numpy/core/setup_common.py", line 136, in check_long_double_representation
    type = long_double_representation(pyod(object))
  File "numpy/core/setup_common.py", line 244, in long_double_representation
    raise ValueError("Unrecognized format (%s)" % saw)
ValueError: Unrecognized format (['001', '043', '105', '147', '211', '253', '315', '357', '301', '235', '157', '064', '124', '000', '000', '000', '000', '000', '000', '000', '000', '000', '000', '000', '376', '334', '272', '230', '166', '124', '062', '020'])
 * ERROR: dev-python/numpy-1.4.0 failed:
 *   Building failed with CPython 2.6 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called call-ebuildshell 'src_compile'
 *   environment, line  942:  Called src_compile
 *   environment, line 5009:  Called distutils_src_compile
 *   environment, line 1366:  Called python_execute_function 'distutils_building'
 *   environment, line 3770:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";


... however, prior to this, there are many instances of:

cc-1094 cc: ERROR File = _configtest.c, Line = 5
  The constant array dimension size is not a positive integral type.

      static int test_array [1 - 2 * !(((long) (sizeof (npy_check_sizeof_type))) <= 31)];
                             ^

1 error detected in the compilation of "_configtest.c".

... so the source may not be configured correctly in the first place.

This may be the same problem as Bug 306237 - in which case this problem may extend to all non-x86 :(
Comment 1 Fabian Groffen gentoo-dev 2010-04-02 19:55:23 UTC
hmmm, well I seem to have dev-python/numpy-1.4.0 installed on my ppc-macos box...
Comment 2 Fabian Groffen gentoo-dev 2011-12-15 18:54:42 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.