Bug 171255
| Summary: | [GTK] ImageDiff should be executed with the JHBuild wrapper. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | bugs-noreply, lforschler, mcatanzaro |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Alberto Lopez Perez
After r215179 <http://trac.webkit.org/changeset/215179> ImageDiff links with icu, and we ship our own version of ICU on the moduleset.
This causes that on systems with an ICU older than the one we ship (Debian 8) the linker is unable to resolve the dependency unless we run ImageDiff with the jhbuild wrapper:
$ ldd WebKitBuild/Release/bin/ImageDiff |grep icu
libicudata.so.55 => not found
libicui18n.so.55 => not found
libicuuc.so.55 => not found
$ Tools/jhbuild/jhbuild-wrapper --gtk run ldd WebKitBuild/Release/bin/ImageDiff |grep icu
libicudata.so.55 => /home/clopez/webkit/webkit/WebKitBuild/DependenciesGTK/Root/lib/libicudata.so.55 (0x00007f9d4afe7000)
libicui18n.so.55 => /home/clopez/webkit/webkit/WebKitBuild/DependenciesGTK/Root/lib/libicui18n.so.55 (0x00007f9d4ab6a000)
libicuuc.so.55 => /home/clopez/webkit/webkit/WebKitBuild/DependenciesGTK/Root/lib/libicuuc.so.55 (0x00007f9d4a7d1000)
This causes that ImageDiff doesn't work anymore for me.
I see that on the bots this is not happening, because the ImageDiff binary on the bots has the RPATH set to the JHBuild library dir, meanwhile I'm getting an ImageDiff binary without RPATH set. No idea why, perhaps some difference on the toolchain or the environment
But in any case, we should fix the main problem: ImageDiff should be executed with the JHBuild wrapper if the wrapper was used for building it.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Michael Catanzaro
*** This bug has been marked as a duplicate of bug 168036 ***