Opened 8 years ago

Closed 7 years ago

#52961 closed defect (fixed)

grass7 @7.0.5_1+postgresql95+sqlite: destroot fails

Reported by: MasakiOita Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc: basmac
Port: grass7

Description

When trying to upgrade grass7 from 7.0.5_0 to 7.0.5_1, I ran into an error during the destroot phase. According to main.log (attached), several errors were ignored, but the following was not ignored:

:info:destroot /bin/sh: /opt/local/var/macports/build/_opt_local_var_macports_so
urces_rsync.macports.org_release_tarballs_ports_gis_grass7/grass7/work/destroot/
opt/local/share/grass-7.0.5/etc/fontcap: No such file or directory
:info:destroot make[2]: *** [/opt/local/share/grass-7.0.5/etc/fontcap] Error 1

There is no directory such as '${portbuildpath}/work/destroot/opt/local/share/grass-7.0.5', which might be the cause of the error.

Attachments (1)

main.log (9.8 MB) - added by MasakiOita 8 years ago.

Change History (6)

Changed 8 years ago by MasakiOita

Attachment: main.log added

comment:1 Changed 8 years ago by Veence (Vincent)

Yeah, this is a known bug I’ve to correct. Just do this:

sudo mkdir /opt/local/var/macports/build/_opt_local_var_macports_so
urces_rsync.macports.org_release_tarballs_ports_gis_grass7/grass7/work/destroot/
opt/local/share/grass-7.0.5/etc

sudo touch /opt/local/var/macports/build/_opt_local_var_macports_so
urces_rsync.macports.org_release_tarballs_ports_gis_grass7/grass7/work/destroot/
opt/local/share/grass-7.0.5/etc/fontcap

and re-run your port command. It should work.

Last edited 8 years ago by Veence (Vincent) (previous) (diff)

comment:2 Changed 8 years ago by MasakiOita

Thanks, Vincent. Your suggestion worked well.

comment:3 Changed 8 years ago by fhgwright (Fred Wright)

The above instructions didn't work as is, since there were two levels of missing directory (.../grass-7.0.5/etc), and "-p" wasn't specified. With "-p" added to the mkdir, the above instructions worked around the problem.

comment:4 Changed 8 years ago by basmac

Cc: basmac added

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

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