[MacPorts] #44367: arb @6.0: failed to detect COMPILER_NAME (got 'unknown', expected 'clang' or 'gcc'). Stop.

MacPorts noreply at macports.org
Fri Jul 18 01:33:21 PDT 2014


#44367: arb @6.0: failed to detect COMPILER_NAME (got 'unknown', expected 'clang'
or 'gcc').  Stop.
--------------------------+-----------------------------
 Reporter:  ryandesign@…  |      Owner:  matt.cottrell@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.1
 Keywords:                |       Port:  arb
--------------------------+-----------------------------
 arb 6.0 failed to build on the Snow Leopard (10.6) buildslave (using
 Xcode's gcc 4.2):

 {{{
 --->  Building arb
 DEBUG: Executing org.macports.build (arb)
 DEBUG: Environment:
 ARBHOME='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 PATH='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
 PREFIX='/opt/local'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/g++-4.2 CC=/usr/bin/gcc-4.2'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/g++-4.2 CC=/usr/bin/gcc-4.2
 Problems detecting compiler type:
 dumpedVersion='4.2.1
 '
 detailedVersion='i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc.
 build 5666) (dot 3)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 '
 make: Entering directory
 `/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 Makefile:116: *** failed to detect COMPILER_NAME (got 'unknown', expected
 'clang' or 'gcc').  Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/g++-4.2 CC=/usr/bin/gcc-4.2
 Exit code: 2
 Error: org.macports.build for port arb returned: command execution failed
 DEBUG: Error code: CHILDSTATUS 83776 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 Warning: targets not executed for arb: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port arb for details:
 /opt/local/var/macports/logs/_opt_mports_dports_science_arb/arb/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port arb failed
 }}}

 And on the Mountain Lion (10.8) buildbot (using Xcode's clang):

 {{{
 --->  Building arb
 DEBUG: Executing org.macports.build (arb)
 DEBUG: Environment:
 ARBHOME='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 PATH='/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
 PREFIX='/opt/local'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/clang++ CC=/usr/bin/clang'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/clang++ CC=/usr/bin/clang
 Problems detecting compiler type:
 dumpedVersion='4.2.1
 '
 detailedVersion='Apple clang version 4.1 (tags/Apple/clang-421.11.66)
 (based on LLVM 3.1svn)
 Target: x86_64-apple-darwin12.5.0
 Thread model: posix
 '
 make: Entering directory
 `/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 Makefile:116: *** failed to detect COMPILER_NAME (got 'unknown', expected
 'clang' or 'gcc').  Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_science_arb/arb/work/arbsrc_12378"
 && /usr/bin/make -j8 -w all CXX=/usr/bin/clang++ CC=/usr/bin/clang
 Exit code: 2
 Error: org.macports.build for port arb returned: command execution failed
 DEBUG: Error code: CHILDSTATUS 27300 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 Warning: targets not executed for arb: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port arb for details:
 /opt/local/var/macports/logs/_opt_mports_dports_science_arb/arb/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port arb failed
 }}}

 It succeeded on the Mavericks (10.9) buildslave (using Xcode clang).

-- 
Ticket URL: <https://trac.macports.org/ticket/44367>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list