Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#41243 closed defect (invalid)

cross/avr-gcc not build

Reported by: minimumlaw@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: g5pw (Aljaž Srebrnič)
Port: avr-gcc

Description (last modified by ryandesign (Ryan Schmidt))

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: 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:
Error: The following dependencies were not installed: llvm-gcc42
To report a bug, follow the instructions in the guide:
Error: Processing of port avr-gcc failed

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 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.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:

Attachments (1)

main.log (990.4 KB) - added by minimumlaw@… 5 years ago.
Build log

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by minimumlaw@…

Attachment: main.log added

Build log

comment:1 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: g5pw@… added
Description: modified (diff)
Keywords: mavericks added
Port: avr-gcc added
Resolution: invalid
Status: newclosed

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

comment:2 Changed 5 years ago by g5pw (Aljaž Srebrnič)

Thanks ryan. Please, minimumlaw, remember to Cc maintainers in future.

Last edited 5 years ago by g5pw (Aljaž Srebrnič) (previous) (diff)

comment:3 Changed 5 years ago by minimumlaw@…

Thanks for fast answer Ryan, it's work!

But comms/minicom and sysutils/mc was builded without command line tools (only Xcode installed). I confused...

Note: See TracTickets for help on using tickets.