#38054 closed defect (fixed)
grass fails to install
Reported by: | basmac | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | manuel.deljesuspe@…, cooljeanius (Eric Gallager) | |
Port: | grass |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
MacOs 10.8.2, XCode 4.5, MP 2.1.3
---> Fetching archive for grass ---> Attempting to fetch grass-6.4.2_3.darwin_12.x86_64.tbz2 from http://packages.macports.org/grass ---> Attempting to fetch grass-6.4.2_3.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/grass ---> Attempting to fetch grass-6.4.2_3.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/grass ---> Fetching distfiles for grass ---> Verifying checksum(s) for grass ---> Extracting grass ---> Applying patches to grass ---> Configuring grass ---> Building grass Error: org.macports.build for port grass returned: command execution failed
Log file attached
Attachments (2)
Change History (7)
Changed 12 years ago by basmac
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | grass removed |
Hmm, the log seems to be filled with a zillion errors starting with:
Status: Preprocessing /tmp/tmpsoOT1L.h Status: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include -U __BLOCKS__ -U __GNUC__ -dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1" "-D__uint16_t=uint16_t" "-D__uint32_t=uint32_t" "-D__uint64_t=uint64_t" /tmp/tmpsoOT1L.h Error: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include: In file included from /usr/include/stdio.h:64, Error: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include: from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include/grass/gis.h:24, Error: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include: from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include/grass/stats.h:5, Error: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include: from /tmp/tmpsoOT1L.h:1: Error: /usr/bin/llvm-gcc-4.2 -E -I/opt/local/include -DPACKAGE="grasslibs" -DPACKAGE="grasslibs" -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_grass/grass/work/grass-6.4.2/dist.i386-apple-darwin12.2.0/include: /usr/include/sys/cdefs.h:81:2: warning: #warning "Unsupported compiler detected"
Curious that it says llvm-gcc-4.2 is not a supported compiler; we previously switched the port from clang to llvm-gcc-4.2; see #32790.
Can you try updating to Xcode 4.6? Also ensure the Xcode command line tools are up to date (open Xcode, go to Preferences > Downloads and install or update the command line tools from there).
Note that even once you get past this error, grass still won't build with tcl / tk 8.6; see #37578.
Changed 12 years ago by basmac
comment:4 Changed 11 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
debug file