[Debian-med-packaging] Bug#884236: [Help] How to relace PADDED define (Was: Bug#884236: fis-gtm FTBFS with linux-libc-dev 4.14.2-1)
Juhani Numminen
juhaninumminen0 at gmail.com
Fri Dec 22 11:41:20 UTC 2017
Andreas Tille kirjoitti 20.12.2017 klo 09:25:
>> Any hint how to replace this define?
>
> Thanks for any help
>
> Andreas.
>
> ----- Forwarded message from Adrian Bunk <bunk at debian.org> -----
> ...
> /build/1st/fis-gtm-6.3-002/sr_port/gtm_libaio.h:72:8: error: field 'PADDED' declared as a function
> __u32 PADDED(aio_key, aio_reserved1);
> ^~~~~~
> CMakeFiles/gtm_threadgbl_deftypes.dir/build.make:65: recipe for target 'CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o' failed
> make[3]: *** [CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o] Error 1
>
>
> The PADDED define was removed from /usr/include/linux/aio_abi.h
A comment in fis-gtm says[1]:
> /* This struct mimics the structure of struct iocb, but adds a few fields
> * to the end for our own use. See <linux/aio_abi.h>::struct iocb.
That worked until linux devs did some refactoring[2]. To adapt, fis-gtm
will probably have to mirror that change.
Regards,
Juhani
[1] https://sources.debian.org/src/fis-gtm/6.3-002-3/sr_port/gtm_libaio.h/#L66
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/diff/include/uapi/linux/aio_abi.h?id=ddef7ed2b5
More information about the Debian-med-packaging
mailing list