pkgsrc-Bugs archive

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

pkg/44626: gnome metapackage fails to compile on Mac OS 10.6



>Number:         44626
>Category:       pkg
>Synopsis:       gnome metapackage fails to compile on Mac OS 10.6
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 23 06:55:00 +0000 2011
>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:



Home | Main Index | Thread Index | Old Index