Bug#772980: Bug #772980: libhdf4: FTBFS on mips64el - Assertion `sizeof(hdf_pint_t)==sizeof(void *)' failed.

James Cowgill james410 at cowgill.org.uk
Fri Feb 27 23:53:51 UTC 2015


Control: tags -1 patch

On Fri, 12 Dec 2014 17:40:06 +0000 James Cowgill <james410 at cowgill.org.uk> wrote:
> Hi,
> 
> libhdf4 FTBFS on mips64el because it chooses the size of hdf_pint_t
> incorrectly. This results in a lot of warnings and causes this assertion
> to fail near the end of the log:

So I had a look at fixing this and it seems that there was already
another bug (#753493) on this issue and you tried to fix it in this
commit:

https://anonscm.debian.org/cgit/pkg-grass/hdf4.git/commit/?id=683f409c2e11b4cd3f20f62bc01ba02f839656bc

Unfortunately, you changed the typedefs for ARM instead of MIPS so the
bug wasn't fixed. Thankfully since int and long are the same on 32-bit
ARM, it had no effect there and nothing broke.

I've attached a patch to the hdfi.h patch which has the correct line
numbers against 4.2.10-3.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hdf4-mips64.patch
Type: text/x-patch
Size: 862 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20150227/68bf69b1/attachment.bin>


More information about the Pkg-grass-devel mailing list