[Debian-med-packaging] Bug#822772: vxl FTBFS on Alpha; patch fix_alphacomp.patch needs updating.

Michael Cree mcree at orcon.net.nz
Wed Apr 27 10:29:15 UTC 2016


Source: vxl
Version: 1.17.0.dfsg2-4
Severity: important
Justification: fails to build from source (but built in past)
User: debian-alpha at lists.debian.org
Usertags: alpha

vxl FTBFS on Alpha with [1]:

cd /«PKGBUILDDIR»/obj-alpha-linux-gnu/vcl/tests && /usr/bin/c++   -DVXL_LEGACY_ERROR_REPORTING -DVXL_WARN_DEPRECATED -DVXL_WARN_DEPRECATED_ONCE -I/«PKGBUILDDIR»/obj-alpha-linux-gnu/vcl -I/«PKGBUILDDIR»/vcl -I/«PKGBUILDDIR»/obj-alpha-linux-gnu/core -I/«PKGBUILDDIR»/core  -g -O2 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2     -o CMakeFiles/vcl_test_all.dir/test_iterator.o -c /«PKGBUILDDIR»/vcl/tests/test_iterator.cxx
In file included from /«PKGBUILDDIR»/v3p/Qv/QvLib.cxx:69:0:
/«PKGBUILDDIR»/v3p/Qv/QvDict.cxx: In member function 'QvDictEntry*& QvDict::findEntry(const char*) const':
/«PKGBUILDDIR»/v3p/Qv/QvDict.cxx:97:24: error: 'intptr_t' was not declared in this scope
     entry = &buckets[ (intptr_t)key % tableSize];

In the file v3p/Qv/QvDict.cxx there is some conditional compilation
depending on the macro __alpha, presumably put there to support
Alpha OSF1 Unix, but is incorrect for Alpha Linux.  The first hunk
in the patch debian/patches/fix_alphacomp.patch attempts to correct
this but botches the fix. The best solution is to entirely remove
the conditional compilation on the macro __alpha and leave Alpha
Linux to use the generic Linux compilation path.  I attach an updated
fix_alphacomp.patch.  With that vxl builds to completion on Alpha.

Cheers
Michael.

[1] https://buildd.debian.org/status/fetch.php?pkg=vxl&arch=alpha&ver=1.17.0.dfsg2-4&stamp=1460289377
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_alphacomp.patch
Type: text/x-diff
Size: 2482 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160427/b9e85cd7/attachment.patch>


More information about the Debian-med-packaging mailing list