Opened 6 years ago

Closed 6 years ago

#55513 closed defect (fixed)

grass7 @7.2.2_1: Does not build

Reported by: mankoff (Ken Mankoff) Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: grass7

Description

According to sudo port selfupdate && port outdated, there has been an update to the grass7 package, but it does not build on my computer (OS X 10.12.6). This package is unmaintained. I've tried uninstalling and re-installing, and that didn't fix it, which means I can't work (this package is essential to me).

The log file is ~14 MB. Should I post it somewhere? The last few lines are:

:info:destroot make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot tar cBCf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2/dist.x86_64-apple-darwin16.7.0 - . | tar xBCf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2 - 2>/dev/null
:info:destroot make[1]: [real-install] Error 1 (ignored)
:info:destroot rm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/grass72.tmp
:info:destroot rm: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/grass72.tmp: No such file or directory
:info:destroot make[1]: [real-install] Error 1 (ignored)
:info:destroot /Applications/Xcode.app/Contents/Developer/usr/bin/make /opt/local/bin/grass72
:info:destroot make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot sed -e 's#'@GISBASE@'#'/opt/local/share/grass-7.2.2'#g' \
:info:destroot         -e 's#'@LD_LIBRARY_PATH_VAR@'#'DYLD_LIBRARY_PATH'#g' \
:info:destroot         -e 's#'@CONFIG_PROJSHARE@'#'/opt/local/share/proj'#g' \
:info:destroot         /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2/dist.x86_64-apple-darwin16.7.0/grass72.tmp > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/bin/grass72
:info:destroot chmod a+x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/bin/grass72
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot rm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/etc/fontcap
:info:destroot rm: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/etc/fontcap: No such file or directory
:info:destroot make[1]: [real-install] Error 1 (ignored)
:info:destroot /Applications/Xcode.app/Contents/Developer/usr/bin/make /opt/local/share/grass-7.2.2/etc/fontcap
:info:destroot make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot sed -e 's#/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2/dist.x86_64-apple-darwin16.7.0#/opt/local/share/grass-7.2.2#g' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2/dist.x86_64-apple-darwin16.7.0/etc/fontcap > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/etc/fontcap
:info:destroot /bin/sh: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot/opt/local/share/grass-7.2.2/etc/fontcap: No such file or directory
:info:destroot make[2]: *** [/opt/local/share/grass-7.2.2/etc/fontcap] Error 1
:info:destroot make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot make[1]: *** [real-install] Error 2
:info:destroot make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot make: *** [install] Error 2
:info:destroot make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2'
:info:destroot Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/grass-7.2.2" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/work/destroot
:info:destroot Exit code: 2
:error:destroot Failed to destroot grass7: command execution failed
:debug:destroot Error code: CHILDSTATUS 73828 2
:debug:destroot Backtrace: command execution failed
:debug:destroot     while executing
:debug:destroot "system {*}$notty {*}$nice $fullcmdstring"
:debug:destroot     invoked from within
:debug:destroot "command_exec destroot"
:debug:destroot     (procedure "portdestroot::destroot_main" line 2)
:debug:destroot     invoked from within
:debug:destroot "$procedure $targetname"
:error:destroot See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_grass7/grass7/main.log for details.

Change History (5)

comment:1 Changed 6 years ago by mankoff (Ken Mankoff)

Cc: mankoff added

comment:2 Changed 6 years ago by mankoff (Ken Mankoff)

Based on https://trac.macports.org/ticket/52961 I think the issue is that the version was updated to 7.2.2 but the PortFile lines 172-174 (see https://github.com/macports/macports-ports/blob/03ffa7b9beb4f956b61ddfccc8cd3b5fb50dd02b/gis/grass7/Portfile#L172-L174 ) reference 7.2.0 and not 7.2.2.

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

Cc: mankoff removed

As reporter, you do not need to Cc yourself.

Please attach the main.log to this ticket. Since it is above the size limit, you will need to compress it first.

comment:4 Changed 6 years ago by mf2k (Frank Schima)

Actually, no need to attach the log. I'll see if I can fix this.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to mf2k
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.