Bug#884236: [Help] How to relace PADDED define (Was: Bug#884236: fis-gtm FTBFS with linux-libc-dev 4.14.2-1)

2017-12-22 Thread Juhani Numminen
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  -
> ...
> /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 ::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



Bug#884236: How to relace PADDED define (Was: Bug#884236: fis-gtm FTBFS with linux-libc-dev 4.14.2-1)

2017-12-21 Thread Andreas Tille
Control: tags -1 help

Any hint how to replace this define?

Thanks for any help

   Andreas.

- Forwarded message from Adrian Bunk <b...@debian.org> -

Date: Tue, 12 Dec 2017 22:28:40 +0200
From: Adrian Bunk <b...@debian.org>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Subject: Bug#884236: fis-gtm FTBFS with linux-libc-dev 4.14.2-1
X-Debian-PR-Message: report 884236
X-Debian-PR-Package: src:fis-gtm
X-Debian-PR-Keywords: 
X-Debian-PR-Source: fis-gtm

Source: fis-gtm
Version: 6.3-002-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fis-gtm.html

...
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-D_XOPEN_SOURCE=600 -I/build/1st/fis-gtm-6.3-002/obj-x86_64-linux-gnu/gen 
-I/build/1st/fis-gtm-6.3-002/sr_linux -I/build/1st/fis-gtm-6.3-002/sr_x86_64 
-I/build/1st/fis-gtm-6.3-002/sr_x86_regs 
-I/build/1st/fis-gtm-6.3-002/sr_unix_gnp 
-I/build/1st/fis-gtm-6.3-002/sr_unix_cm -I/build/1st/fis-gtm-6.3-002/sr_unix 
-I/build/1st/fis-gtm-6.3-002/sr_port_cm -I/build/1st/fis-gtm-6.3-002/sr_port 
-I/build/1st/fis-gtm-6.3-002/obj-x86_64-linux-gnu -I/usr/local/include 
-I/usr/local/ssl/include  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -ansi -fPIC  
-fsigned-char -Wmissing-prototypes -Wreturn-type -Wpointer-sign 
-fno-omit-frame-pointer -O2 -DNDEBUG   -o 
CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o   -c 
/build/1st/fis-gtm-6.3-002/sr_port/gtm_threadgbl_deftypes.c
In file included from /build/1st/fis-gtm-6.3-002/sr_port/gdsfhead.h:29:0,
 from 
/build/1st/fis-gtm-6.3-002/sr_port/gtm_threadgbl_deftypes.c:43:
/build/1st/fis-gtm-6.3-002/sr_port/gtm_libaio.h:72:2: warning: parameter names 
(without types) in function declaration
  __u32 PADDED(aio_key, aio_reserved1);
  ^
/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

___
Debian-med-packaging mailing list
debian-med-packag...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging


- End forwarded message -

-- 
http://fam-tille.de



Bug#884236: fis-gtm FTBFS with linux-libc-dev 4.14.2-1

2017-12-12 Thread Adrian Bunk
Source: fis-gtm
Version: 6.3-002-3
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fis-gtm.html

...
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE 
-D_XOPEN_SOURCE=600 -I/build/1st/fis-gtm-6.3-002/obj-x86_64-linux-gnu/gen 
-I/build/1st/fis-gtm-6.3-002/sr_linux -I/build/1st/fis-gtm-6.3-002/sr_x86_64 
-I/build/1st/fis-gtm-6.3-002/sr_x86_regs 
-I/build/1st/fis-gtm-6.3-002/sr_unix_gnp 
-I/build/1st/fis-gtm-6.3-002/sr_unix_cm -I/build/1st/fis-gtm-6.3-002/sr_unix 
-I/build/1st/fis-gtm-6.3-002/sr_port_cm -I/build/1st/fis-gtm-6.3-002/sr_port 
-I/build/1st/fis-gtm-6.3-002/obj-x86_64-linux-gnu -I/usr/local/include 
-I/usr/local/ssl/include  -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -ansi -fPIC  
-fsigned-char -Wmissing-prototypes -Wreturn-type -Wpointer-sign 
-fno-omit-frame-pointer -O2 -DNDEBUG   -o 
CMakeFiles/gtm_threadgbl_deftypes.dir/sr_port/gtm_threadgbl_deftypes.c.o   -c 
/build/1st/fis-gtm-6.3-002/sr_port/gtm_threadgbl_deftypes.c
In file included from /build/1st/fis-gtm-6.3-002/sr_port/gdsfhead.h:29:0,
 from 
/build/1st/fis-gtm-6.3-002/sr_port/gtm_threadgbl_deftypes.c:43:
/build/1st/fis-gtm-6.3-002/sr_port/gtm_libaio.h:72:2: warning: parameter names 
(without types) in function declaration
  __u32 PADDED(aio_key, aio_reserved1);
  ^
/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