Opened 10 years ago

Closed 10 years ago

#42328 closed update (fixed)

geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar

Reported by: mf2k (Frank Schima) Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: cooljeanius (Eric Gallager)
Port: geoexpress-sdk

Description

Please update geoexpress-sdk to use MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar which is the current version of the SDK.

Attachments (2)

Portfile-geoexpress-sdk.diff (3.2 KB) - added by mf2k (Frank Schima) 10 years ago.
Updated attempt
geoexpress-sdk.diff (4.6 KB) - added by jsm@… 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

My efforts to update it failed due to library errors:

$ sudo port install
Portfile changed since last build; discarding previous state.
--->  Fetching archive for geoexpress-sdk
--->  Attempting to fetch geoexpress-sdk-9.0.0.3864_0.darwin_13.x86_64.tbz2 from http://packages.macports.org/geoexpress-sdk
--->  Attempting to fetch geoexpress-sdk-9.0.0.3864_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/geoexpress-sdk
--->  Attempting to fetch geoexpress-sdk-9.0.0.3864_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/geoexpress-sdk
--->  Fetching distfiles for geoexpress-sdk
--->  Verifying checksums for geoexpress-sdk
--->  Extracting geoexpress-sdk
--->  Configuring geoexpress-sdk
--->  Building geoexpress-sdk
--->  Staging geoexpress-sdk into destroot
--->  Installing geoexpress-sdk @9.0.0.3864_0
--->  Activating geoexpress-sdk @9.0.0.3864_0
--->  Cleaning geoexpress-sdk
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 99.3%
Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/bin/lidardecode uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/bin/lidardecode uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.4%
Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/bin/lidarinfo uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/bin/lidarinfo uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.4%
Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/lib/liblti_lidar_dsdk.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/lib/liblti_lidar_dsdk.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.5%
Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/lib/liblti_lidar_dsdk.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Lidar_DSDK/lib/liblti_lidar_dsdk.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.5%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/bin/mrsiddecode uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.6%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/bin/mrsidinfo uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.6%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.2.3.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.2.3.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.6%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.2.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.7%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.7%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.1.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.8%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.1.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.8%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libgeos_c.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.9%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.9.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 99.9%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libltidsdk.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.
--->  Scanning binaries for linking errors: 100.0%
Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

Warning: /opt/local/share/Geo_DSDK/Raster_DSDK/lib/libtbb.dylib uses /usr/lib/libstdc++.6.dylib as C++ standard library although macports::cxx_stdlib is set to libc++.

--->  Found 18 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     geoexpress-sdk @9.0.0.3864 

Then it fails after doing this a few times.

Changed 10 years ago by mf2k (Frank Schima)

Updated attempt

comment:2 Changed 10 years ago by jsm@…

I have tried to install the port with your changes. I changed the name of the port, the destination directory (to /opt/local/share/Geo_DSDK-9) and the name of the linked binaries for testing purposes.

There are a couple of problems with the library paths. I did not get the same warnings but some linking errors. The binary files link to the libraries through a weird path:

Could not open /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/../../../../dist/darwin12.universal.gccA42/Release/lib/libgeos_c.1.dylib

I tried to fool the system by creating a link to the libraries with this path...

mkdir -p /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/darwin12.universal.gccA42/Release/src/geos-2.2.3/
ln -s /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib /data/builds/Bob/darwin12.universal.gccA42__default/xt_lib_geos/dist/darwin12.universal.gccA42/Release/lib

Dirty hack just to carry on with the debuging. I reckon this should be reported to Lizartech (?). I do not know if there is any way to patch those paths to reasonable values.

The hack worked and the second linking error is related to libtdd.dylib, which is provided with the SDK (we will not need to add "tbb" as a dependency).

--->  Scanning binaries for linking errors
Could not open libtbb.dylib: Error opening or reading file (referenced from /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode)
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsiddecode as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsidinfo as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/bin/mrsidinfo as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.9.dylib as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.9.dylib as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.dylib as broken
DEBUG: Marking /opt/local/share/Geo_DSDK-9/Raster_DSDK/lib/libltidsdk.dylib as broken

I could not find a workaround to that.

I hope this helps with the debugging/patching.

Update I have just realized that these are the same problems that macsforever2000@… tried to solve with the first patch.

Last edited 10 years ago by jsm@… (previous) (diff)

Changed 10 years ago by jsm@…

Attachment: geoexpress-sdk.diff added

comment:3 Changed 10 years ago by jsm@…

I have attached a patch (geoexpress-sdk.diff) that appears to be working. I will upload a patch to gdal in a moment to allow the use of the +mrsid option (see #36496). Please, confirm if the patch works for you.

comment:4 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Keywords: haspatch added
Resolution: fixed
Status: newclosed
Type: defectupdate
Version: 2.2.1

Nice work. Thanks! r116693.

Note: See TracTickets for help on using tickets.