NetBSD Problem Report #44626

From www@NetBSD.org  Wed Feb 23 06:51:26 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5BA1863B880
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 23 Feb 2011 06:51:26 +0000 (UTC)
Message-Id: <20110223065125.20BFD63B842@www.NetBSD.org>
Date: Wed, 23 Feb 2011 06:51:25 +0000 (UTC)
From: info@computerizedmeter.com
Reply-To: info@computerizedmeter.com
To: gnats-bugs@NetBSD.org
Subject: py-numpy fails to compile on Mac OS 10.6
X-Send-Pr-Version: www-1.0


>Number:         44626
>Category:       pkg
>Synopsis:       py-numpy fails to compile on Mac OS 10.6
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    macos-pkg-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 23 06:55:00 +0000 2011
>Closed-Date:    
>Last-Modified:  Wed Mar 07 10:08:49 +0000 2012
>Originator:     nick collin
>Release:        using pkgsrc current on Mac OS 10.6
>Organization:
>Environment:
Darwin nick-collinss-iMac.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov 17 01:24:40 EST 2009; annappirtrvh v2:xnu-1486.2.11/BUILD/obj/RELEASE_I386 i386
>Description:
The Meta-package for the GNOME desktop fails to compile using on Mac OS 10.6 with Xcode 3.2.  Compile error message is a s follows: 
Could not locate executable f95
Found executable /Volumes/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/command/build_src.py", line 152, in run
    self.build_sources()
  File "/Volumes/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/pkgsrc/math/py-numpy/work/numpy-1.4.1/numpy/distutils/fcompiler/__init__.py", line 665, in _environment_hook
    return hook()
  File "/Volumes/pkgsrc/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/pkgsrc/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/pkgsrc/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/pkgsrc/pkgsrc/math/py-numpy
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/math/py-numpy
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/math/py-numpy
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/x11/py-gtk2
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/x11/py-gnome2
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/x11/alacarte
*** Error code 1


Stop.
bmake: stopped in /Volumes/pkgsrc/pkgsrc/meta-pkgs/gnome


>How-To-Repeat:
Attempt to begin compile process for gnome metapackage:
cd /usr/pkgsrc/meta-pkgs/gnome
sudo bmake
>Fix:


>Release-Note:


>Audit-Trail:


Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Wed, 23 Feb 2011 12:22:36 +0000
Responsible-Changed-Why:
Darwin pkgsrc PR
(fixed the synopsis to mention that the problem is in py-numpy, not
in the gnome metapackage)




State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 30 Nov 2011 17:19:22 +0000
State-Changed-Why:
Did the fix for PR 44130 also fix this problem? (It looks like it might
or might not be related...)




Responsible-Changed-From-To: darwin-pkg-people->macos-pkg-people
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 07 Mar 2012 10:08:49 +0000
Responsible-Changed-Why:
darwin-pkg-people has been changed to macos-pkg-people




>Unformatted:

 



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.