[MacPorts] #42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar
#42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar -------------------------------+---------------------------- Reporter: macsforever2000@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: geoexpress-sdk -------------------------------+---------------------------- Please update geoexpress-sdk to use MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar which is the current version of the SDK. -- Ticket URL: <https://trac.macports.org/ticket/42328> MacPorts <http://www.macports.org/> Ports system for OS X
#42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar --------------------------------+----------------------- Reporter: macsforever2000@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: geoexpress-sdk | --------------------------------+----------------------- Comment (by macsforever2000@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/42328#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar --------------------------------+----------------------- Reporter: macsforever2000@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: geoexpress-sdk | --------------------------------+----------------------- Comment (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. -- Ticket URL: <https://trac.macports.org/ticket/42328#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar --------------------------------+----------------------- Reporter: macsforever2000@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: geoexpress-sdk | --------------------------------+----------------------- Comment (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. -- Ticket URL: <https://trac.macports.org/ticket/42328#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42328: geoexpress-sdk: Update for latest SDK version MrSID_DSDK-9.0.0.3864-darwin12.universal.gccA42.tar --------------------------------+----------------------- Reporter: macsforever2000@… | Owner: landonf@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: geoexpress-sdk | --------------------------------+----------------------- Changes (by macsforever2000@…): * keywords: => haspatch * type: defect => update * version: 2.2.1 => * resolution: => fixed * status: new => closed Comment: Nice work. Thanks! r116693. -- Ticket URL: <https://trac.macports.org/ticket/42328#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts