Bug#767738: FTBFS: hardcoded path to libgeotiff.so missing Multi-Arch component

2014-11-02 Thread Ondřej Surý
Package: src:ossim
Version: 1.8.16-2+b2
Severity: serious
Justification: fails to build from source (but built successfully in the past)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Dear maintainer,

libgeotiff-dfsg has switched to Multi-Arch in 1.4.0-3 and this breaks
ossim build as it has a hardcoded path (why?).  You should either add
support for M-A paths or don't use hardcoded path[1] and let the linker
pick the correct path itself.

1. Replace -DGEOTIFF_LIBRARY=/usr/lib/libgeotiff.so with 
-DGEOTIFF_LIBRARY=-lgeotiff
   (Same for -DGEOS_LIB and -DGEOS_LIBRARY)

Build log failure snippet:

[...]
make[4]: *** No rule to make target '/usr/lib/libgeotiff.so', needed by 
'None/libossim.so.1.8.16'.  Stop.
[...]

Cheers,
Ondrej

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQJ8BAEBCgBmBQJUVgP1XxSAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHbzcP/0ybad0wKW8Kym8M16/P/MWB
VLfcGtda433htuwTZf+zv1k3jNQ2cIC1FC1RviRayPHRAl0sqG66RmAVxmXCP5tF
J4dSxgFCnOb+JgbpisiEqRW99YN1EmsQHyrHL6ausEwUgvoEukoLTmJ54IZt7Wrx
XxC1Xhi8w7M4bFB1AvgIhf9sO+sEfpHMDLGwJtbQmvxPUCJK25rsOXpdAz89OQuU
9xnGNx3bqG2yEWbW3m7Hadu33Wp4B95nynSzG2hdxuIep+ZYGoceV/QaJDyGcnjU
aigh2B6/5Y7bSZjW4pQ15XRE7BMcMYpHnWF5VawhNte/GEeBOuI+o7vyQH2aZznK
kzZDxjG63egVelBfhYwLbK5PkbUWx5Ii24QrpTPLw+ibTnzwd3G5P/C4hzjhyGct
p2MQAG2Ct3ldkW63f87D3LrdZJBIePRIcCmgYB9MRFTeYCX/I1/ZHJCmzGbYxI7Q
/kZyHHTLF6IYEhD+RvbqWj6OJJzFYBNsI2looljyDsudQhtypy26p2rd5gDqakvS
7QHXHZTfYcOvtsG+lRBju9f0CUWKzCYUCzEG67vKztNMe/7eBReBpw5oAZ2x5SVs
2DkMV01bcwZCqyAPNSwOkMptANDXmwPDja3QlM4hZqTQukXRhFpd2eo/iuOf9ABG
VyALEW6F6ksemiQKUlQV
=MeI+
-END PGP SIGNATURE-

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#767738: FTBFS: hardcoded path to libgeotiff.so missing Multi-Arch component

2014-11-02 Thread Sebastiaan Couwenberg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Control: tags -1 pending

Hi Ondřej,

Thanks for reporting this issue.

On 11/02/2014 11:14 AM, Ondřej Surý wrote:
 libgeotiff-dfsg has switched to Multi-Arch in 1.4.0-3 and this 
 breaks ossim build as it has a hardcoded path (why?).  You should 
 either add support for M-A paths or don't use hardcoded path[1]
 and let the linker pick the correct path itself.

I've fixed debian/rules to use the Multi-Arch path which seems the
most targeted fix.

During the jessie+1 development cycle we should tweak the CMake build
system to find the library instead of hardcoding the path.

I'll request an unblock from the Release Team after the package is
uploaded.

Kind Regards,

Bas

- -- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBCgAGBQJUVkJKAAoJEGdQ8QrojUrxEL0P/RA6LS5WlGsxt6kG2d26jXis
X5Uuc6lyfXmiPYvLzstzJ4qbJ9+u9cwytNGEaYtX0SCLs2TnoGQln2GIB37b8jpQ
ZnLcWdf1auOl4RA3WzE8gvlqk0f91DPFZ7+AKlDZsUSGKbOgXoCZXnCcHm7KaOzV
tV5BLMb8w/JXBpCKfEfMHl2c+gJnuLVbUlM1/itI4YSGsrkYQXYw8gwMgou4pHcA
ZzX3QilehJ/UV6+RwrjrpdYQ+nP5UAaCPGmz2DqOxbtbxrx1XiaGknycGjHXs6Ma
L1KbeILlkXvxbMXwACv34xP2FainlTBcx0rmV87I9fxCI7EfpKY1LIV9CKGUNook
zowvu5NR6D43n4LXQwVUopMxDJv/mlthHTr7h9oxPeeVxTKSXiyG9ZLGGQ/8dI+F
r0s2a0bQDP+1mqK01Oa174N9Yps65cu0BSUX01zpAhFjV5zGzigzBKCs9hFwKQfc
xwL5nRF+I1vBqdlyvGNV/4uYIAqiZmOeCWAL5Qsjen4lfSGl9poHZ3dxQJgnWFaq
xtVK1jneq6Ez0Py4Obz2/gX3dqJDp3iRgUyfZ7XyQBfnkWvulI0kObph8Lz2OX0R
QXqt7AVMGGpMPLvNN452AXmDaFV0R7fk2Z+JPoVK4Ce2zS00gLmRQ+6epa15qJ73
XFdNaQHbGitFDTbS7RIK
=ZBku
-END PGP SIGNATURE-

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel