Opened 12 years ago

Last modified 7 years ago

#37627 assigned defect

py-pyproj is not UsingTheRightCompiler

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: petrrr
Port: py-pyproj

Description

py-pyproj is not UsingTheRightCompiler, nor any -arch flags.

--->  Building py27-pyproj
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py27-pyproj)
DEBUG: Environment: CFLAGS='-arch x86_64 -arch i386' CXXFLAGS='-arch x86_64 -arch i386' CPATH='/opt/local/include' MACOSX_DEPLOYMENT_TARGET='10.8' LIBRARY_PATH='/opt/local/lib' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pyproj/py27-pyproj/work/.CC_PRINT_OPTIONS' LDFLAGS='-arch x86_64 -arch i386' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64 -arch i386' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pyproj/py27-pyproj/work/pyproj-1.9.3" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pyproj/py27-pyproj/work/pyproj-1.9.3" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
cc -Isrc -c nad2bin.c -o nad2bin.o
cc: Error: You should be using ${configure.cc}
See https://trac.macports.org/wiki/UsingTheRightCompiler
Traceback (most recent call last):
  File "setup.py", line 14, in <module>
    objects = cc.compile(['nad2bin.c', 'src/pj_malloc.c'])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/ccompiler.py", line 572, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/unixccompiler.py", line 180, in _compile
    raise CompileError, msg
distutils.errors.CompileError: command 'cc' failed with exit status 1

Change History (3)

comment:1 Changed 11 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:2 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Cc: stromnov removed
Owner: changed from landonf@… to stromnov
Status: newassigned
Note: See TracTickets for help on using tickets.