Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58948 closed defect (fixed)

gdal @3.0.1_1 mtree violation warning

Reported by: EJFielding (Eric Fielding) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gdal

Description

I did the usual migration procedure from 10.13 to 10.14 and it installed the new gdal port gdal-3.0.1_1. It is great to see the new GDAL 3.x support! I have been waiting a while for this as I have some need for this version.

It gave a warning when it was preparing the install after the build, but it seems to work anyway:

--->  Computing dependencies for gdal
--->  Fetching archive for gdal
--->  Attempting to fetch gdal-3.0.1_1+hdf5+netcdf+openmpi.darwin_18.x86_64.tbz2 from https://packages.macports.org/gdal
--->  Attempting to fetch gdal-3.0.1_1+hdf5+netcdf+openmpi.darwin_18.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/gdal
--->  Attempting to fetch gdal-3.0.1_1+hdf5+netcdf+openmpi.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/gdal
--->  Fetching distfiles for gdal
--->  Attempting to fetch gdal-3.0.1.tar.gz from https://distfiles.macports.org/gdal
--->  Verifying checksums for gdal
--->  Extracting gdal
--->  Configuring gdal
--->  Building gdal
--->  Staging gdal into destroot
Warning: violation by /opt/local/opt
Warning: gdal violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
--->  Installing gdal @3.0.1_1+hdf5+netcdf+openmpi
--->  Cleaning gdal
--->  Computing dependencies for gdal
--->  Activating gdal @3.0.1_1+hdf5+netcdf+openmpi
--->  Cleaning gdal

Attachments (1)

gdalfileslist (15.7 KB) - added by EJFielding (Eric Fielding) 5 years ago.
gdalfilelist

Download all attachments as: .zip

Change History (9)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Cc: vince@… removed
Owner: set to Veence
Status: newassigned
Summary: gdal 3.0.1_1 configuration warninggdal @3.0.1_1 mtree violation warning

comment:2 Changed 5 years ago by Veence (Vincent)

Darn.

You should have a compressed (txz) tar file in /opt/local/var/macports/software/gdal (I can’t give you a name, since it depends on the variants you selected). Could you do this:

tar tvfz /opt/local/var/macports/software/gdal/{the_name_of_this_file} > gdalfileslist

And post the gdalfileslist file thus created here?

Thanks!

Changed 5 years ago by EJFielding (Eric Fielding)

Attachment: gdalfileslist added

gdalfilelist

comment:3 Changed 5 years ago by EJFielding (Eric Fielding)

I found the file and ran:

tar tvfz /opt/local/var/macports/software/gdal/gdal-3.0.1_1+hdf5+netcdf+openmpi.darwin_18.x86_64.tbz2 > gdalfileslist

I attach the file output.

comment:4 Changed 5 years ago by jmroot (Joshua Root)

port contents gdal would also work. :)

Anyway this seems to be the problem:

-rw-r--r--  0 root   admin   20705 Sep  6 21:22 ./opt/local/opt/local/etc/bash_completion.d/gdal-bash-completion.sh

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

Priority: LowNormal

comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:7 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In d0545de12a168ad3e2ba36a7fd3415ac7f5f518f/macports-ports (master):

gdal: fix install location of bash-completion file

Fixes #58948

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

Wow. Efficient! :) Thanks a lot Marcus! I really appreciate it!

Note: See TracTickets for help on using tickets.