pkgsrc-Bugs archive

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

Re: pkg/44130



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

From: "Mark E. Perkins" <perkinsm%bway.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/44130
Date: Sat, 15 Jan 2011 21:39:32 -0700

 This looks like a problem with what Fortran is expected (and in a very
 strange way).  I have f2c-20100903 and libf2c-20090201nb3 installed, and
 the build phase for math/py-numpy finishes (apparently) successfully, but
 the install step fails, and there are many complaints about not finding f90
 or f95 (f2c does not supply these):
 
 ===> Installing for py26-numpy-1.4.1
 
     ...
 
        <stuff about searching for math libs deleted>
 
     ...
 
 /system_info.py:1299: UserWarning:
     Atlas (http://math-atlas.sourceforge.net/) libraries not found.
     Directories to search for the libraries can be specified in the
     numpy/distutils/site.cfg file (section [atlas]) or by setting
     the ATLAS environment variable.
   warnings.warn(AtlasNotFoundError.__doc__)
 lapack_info:
   FOUND:
     libraries = ['lapack']
     library_dirs = ['/usr/pkg/lib']
     language = f77
 
   FOUND:
     libraries = ['lapack', 'blas']
     library_dirs = ['/usr/pkg/lib']
     define_macros = [('NO_ATLAS_INFO', 1)]
     language = f77
 
 running install
 running build
 running config_cc
 unifing config_cc, config, build_clib, build_ext, build commands --compiler
 options
 running config_fc
 unifing config_fc, config, build_clib, build_ext, build commands
 --fcompiler options
 running build_src
 build_src
 building py_modules sources
 building library "npymath" sources
 customize NAGFCompiler
 Could not locate executable f95
 Found executable /Volumes/badger_HD2/pkgsrc/math/py-numpy/work/.wrapper/bin/f77
 nag: no Fortran 90 compiler found
 nag: no Fortran 90 compiler found
 nag: no Fortran 90 compiler found
 customize AbsoftFCompiler
 Could not locate executable f90
 absoft: no Fortran 90 compiler found
 absoft: no Fortran 90 compiler found
 absoft: no Fortran 90 compiler found
 absoft: no Fortran 90 compiler found
 absoft: no Fortran 90 compiler found
 absoft: no Fortran 90 compiler found
 customize IBMFCompiler
 Could not locate executable xlf90
 ibm: no Fortran 90 compiler found
 Could not locate executable xlf95
 ibm: no Fortran 90 compiler found
 customize IntelFCompiler
 Could not locate executable ifort
 Could not locate executable ifc
 intel: no Fortran 90 compiler found
 intel: no Fortran 90 compiler found
 customize GnuFCompiler
 gnu: no Fortran 90 compiler found
 Found executable /Volumes/badger_HD2/pkgsrc/math/py-numpy/work/.wrapper/bin/g77
 gnu: no Fortran 90 compiler found
 customize Gnu95FCompiler
 Could not locate executable gfortran
 gnu95: no Fortran 90 compiler found
 gnu95: no Fortran 90 compiler found
 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
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/core.py",
 line 186, in setup
     return old_setup(**new_attr)
   File "/usr/pkg/lib/python2.6/distutils/core.py", line 152, in setup
     dist.run_commands()
   File "/usr/pkg/lib/python2.6/distutils/dist.py", line 975, in run_commands
     self.run_command(cmd)
   File "/usr/pkg/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/install.py",
 line 55, in run
     r = old_install.run(self)
   File "/usr/pkg/lib/python2.6/distutils/command/install.py", line 577, in run
     self.run_command('build')
   File "/usr/pkg/lib/python2.6/distutils/cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "/usr/pkg/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build.py",
 line 37, in run
     old_build.run(self)
   File "/usr/pkg/lib/python2.6/distutils/command/build.py", line 134, in run
     self.run_command(cmd_name)
   File "/usr/pkg/lib/python2.6/distutils/cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "/usr/pkg/lib/python2.6/distutils/dist.py", line 995, in run_command
     cmd_obj.run()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py",
 line 152, in run
     self.build_sources()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py",
 line 163, in build_sources
     self.build_library_sources(*libname_info)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py",
 line 298, in build_library_sources
     sources = self.generate_sources(sources, (lib_name, build_info))
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py",
 line 385, in generate_sources
     source = func(extension, build_dir)
   File "numpy/core/setup.py", line 655, in get_mathlib_info
     st = config_cmd.try_link('int main(void) { return 0;}')
   File "/usr/pkg/lib/python2.6/distutils/command/config.py", line 257, in
 try_link
     self._check_compiler()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/config.py",
 line 73, in _check_compiler
     c_compiler=self.compiler)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py",
 line 809, in new_fcompiler
     c_compiler=c_compiler)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py",
 line 791, in get_default_fcompiler
     c_compiler=c_compiler)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py",
 line 740, in _find_existing_fcompiler
     c.customize(dist)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py",
 line 493, in customize
     fflags = self.flag_vars.flags + dflags + oflags + aflags
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/environment.py",
 line 37, in __getattr__
     return self._get_var(name, conf_desc)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/environment.py",
 line 51, in _get_var
     var = self._hook_handler(name, hook)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py",
 line 665, in _environment_hook
     return hook()
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/gnu.py",
 line 262, in get_flags
     arch_flags = self._universal_flags(self.compiler_f90)
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/gnu.py",
 line 256, in _universal_flags
     if _can_target(cmd, arch):
   File
 
"/Volumes/badger_HD2/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/gnu.py",
 line 328, in _can_target
     newcmd = cmd[:]
 TypeError: 'NoneType' object is unsubscriptable
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/badger_HD2/pkgsrc/math/py-numpy
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/badger_HD2/pkgsrc/math/py-numpy
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/badger_HD2/pkgsrc/math/py-numpy
 


Home | Main Index | Thread Index | Old Index