[MacPorts] #41243: cross/avr-gcc not build

MacPorts noreply at macports.org
Thu Nov 7 12:41:22 PST 2013


#41243: cross/avr-gcc not build
---------------------------+--------------------------------
  Reporter:  minimumlaw@…  |      Owner:  macports-tickets@…
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:  invalid       |   Keywords:  mavericks
      Port:  avr-gcc       |
---------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: g5pw@… (added)
 * keywords:   => mavericks
 * resolution:   => invalid
 * port:   => avr-gcc


Old description:

> Mac Os X 10.9
> XCode 5.0.1
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
>
> Try to build avr-gcc
>
> {{{
> bash-3.2# sudo port install avr-binutils avr-gcc avr-libc avrdude
> --->  Computing dependencies for avr-binutils
> --->  Cleaning avr-binutils
> --->  Computing dependencies for avr-gcc
> --->  Dependencies to be installed: llvm-gcc42
> --->  Building llvm-gcc42
> Error: org.macports.build for port llvm-gcc42 returned: command execution
> failed
> Error: Failed to install llvm-gcc42
> Please see the log file for port llvm-gcc42 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/main.log
> Error: The following dependencies were not installed: llvm-gcc42
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port avr-gcc failed
> bash-3.2#
> }}}
>

> Latest string in log files is:
>
> {{{
> :info:build /bin/sh
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
> gcc42/work/objroot/src/gcc/../move-if-change tmp-macro_list macro_list
> :info:build echo timestamp > s-macro_list
> :info:build The directory that should contain system headers does not
> exist:
> :info:build   /usr/include
> :info:build make[5]: *** [stmp-fixinc] Error 1
> :info:build make[4]: *** [all-stage1-gcc] Error 2
> :info:build make[3]: *** [stage1-bubble] Error 2
> :info:build make[2]: *** [all] Error 2
> :info:build + exit 1
> :info:build make[1]: *** [llvmgcc42] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
> gcc42/work/llvmgcc42-2336.11'
> :info:build make: *** [install] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
> gcc42/work/llvmgcc42-2336.11'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
> gcc42/work/llvmgcc42-2336.11" && /usr/bin/make -j2 -w install
> CC="/usr/bin/clang -pipe -std=gnu89" PREFIX="/opt/local"
> SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
> gcc42/work/llvmgcc42-2336.11"
> OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot"
> SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/symroot"
> DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/destroot"
> RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64"
> RC_ProjectSourceVersion="2336" RC_ProjectSourceSubversion="11"
> CXX="/usr/bin/clang++ -pipe -stdlib=libstdc++" TARGETS="i386"
> :info:build Exit code: 2
> :error:build org.macports.build for port llvm-gcc42 returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 725 2
> :debug:build 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
> "$procedure $targetname"
> :info:build Warning: targets not executed for llvm-gcc42:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :error:build Failed to install llvm-gcc42
> :debug:build Registry error: llvm-gcc42 not registered as installed &
> active.
>     invoked from within
> "registry_active ${subport}"
>     invoked from within
> "$workername eval registry_active \${subport}"
> :notice:build Please see the log file for port llvm-gcc42 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/main.lo
> }}}

New description:

 Mac Os X 10.9 [[br]]
 XCode 5.0.1 [[br]]
 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) [[br]]
 Target: x86_64-apple-darwin13.0.0 [[br]]
 Thread model: posix

 Try to build avr-gcc

 {{{
 bash-3.2# sudo port install avr-binutils avr-gcc avr-libc avrdude
 --->  Computing dependencies for avr-binutils
 --->  Cleaning avr-binutils
 --->  Computing dependencies for avr-gcc
 --->  Dependencies to be installed: llvm-gcc42
 --->  Building llvm-gcc42
 Error: org.macports.build for port llvm-gcc42 returned: command execution
 failed
 Error: Failed to install llvm-gcc42
 Please see the log file for port llvm-gcc42 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/main.log
 Error: The following dependencies were not installed: llvm-gcc42
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port avr-gcc failed
 bash-3.2#
 }}}


 Latest string in log files is:

 {{{
 :info:build /bin/sh
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
 gcc42/work/objroot/src/gcc/../move-if-change tmp-macro_list macro_list
 :info:build echo timestamp > s-macro_list
 :info:build The directory that should contain system headers does not
 exist:
 :info:build   /usr/include
 :info:build make[5]: *** [stmp-fixinc] Error 1
 :info:build make[4]: *** [all-stage1-gcc] Error 2
 :info:build make[3]: *** [stage1-bubble] Error 2
 :info:build make[2]: *** [all] Error 2
 :info:build + exit 1
 :info:build make[1]: *** [llvmgcc42] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
 gcc42/work/llvmgcc42-2336.11'
 :info:build make: *** [install] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
 gcc42/work/llvmgcc42-2336.11'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
 gcc42/work/llvmgcc42-2336.11" && /usr/bin/make -j2 -w install
 CC="/usr/bin/clang -pipe -std=gnu89" PREFIX="/opt/local"
 SRCROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-
 gcc42/work/llvmgcc42-2336.11"
 OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/objroot"
 SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/symroot"
 DSTROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/work/destroot"
 RC_NONARCH_CFLAGS="-pipe -std=gnu89" RC_OS="macos" RC_ARCHS="x86_64"
 RC_ProjectSourceVersion="2336" RC_ProjectSourceSubversion="11"
 CXX="/usr/bin/clang++ -pipe -stdlib=libstdc++" TARGETS="i386"
 :info:build Exit code: 2
 :error:build org.macports.build for port llvm-gcc42 returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 725 2
 :debug:build 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
 "$procedure $targetname"
 :info:build Warning: targets not executed for llvm-gcc42:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install llvm-gcc42
 :debug:build Registry error: llvm-gcc42 not registered as installed &
 active.
     invoked from within
 "registry_active ${subport}"
     invoked from within
 "$workername eval registry_active \${subport}"
 :notice:build Please see the log file for port llvm-gcc42 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_lang_llvm-gcc42/llvm-gcc42/main.lo
 }}}

--

Comment:

 The relevant portion of your log is:
 {{{
 :info:build The directory that should contain system headers does not
 exist:
 :info:build   /usr/include
 }}}
 This means you have not installed the Xcode command line tools, as our
 documentation explains you must do, so please do so by running `xcode-
 select --install`

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


More information about the macports-tickets mailing list