Op Thu, Dec 10, 2015 at 12:05:42AM +0100 schreef Joost van Baal-Ilić:
> Looking into this.
> 
> Found cpqarrayd for Red Hat: * Jan 12 2012 - 2.3-17.  Unfortunately no new
> patches, I guess this one won't build with linux 4.2 either.
> 
> We succesfully build on i386 and armel with linux 4.1.
> 
> s390x fails with linux 4.1 :
> https://buildd.debian.org/status/fetch.php?pkg=cpqarrayd&arch=s390x&ver=2.3-4&stamp=1439019282

amd64 succeeds with linux 4.2: just did build it in sid chroot.

removing debian/linux/linux-source-4.2/include from -I, and making sure 
linux/compiler.h is found (e.g. by
just putting it under cpqarrayd-2.3/ ) yields a succesfull build on amd64 with 
linux 4.2.  This might
also yield succesful build on other platforms.

Reproduce like this:

(sid)joostvb@dijkstra:~/lo.../cpqarrayd/cpqarrayd-2.3% mkdir linux
(sid)joostvb@dijkstra:~/lo.../cpqarrayd/cpqarrayd-2.3% cp 
debian/linux/linux-source-4.2/include/linux/compiler.h linux 

 gcc -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 
-I./debian/linux/linux-source-4.2/drivers/block -g -O2 -fstack-protector-strong 
-O2 -MT cpqarrayd.o -MD -MP -MF .deps/cpqarrayd.Tpo -c -o cpqarrayd.o 
cpqarrayd.c




> Op Wed, Dec 09, 2015 at 10:58:20PM +0100 schreef Joost van Baal-Ilić:
> > Package: cpqarrayd
> > Severity: critical
> > 
> > 
> > Seems like it's our/cpqarrayd's fault:
> > 
> > 
> > Op Wed, Dec 09, 2015 at 06:25:15PM +0100 schreef Debian buildds:
> > >  * Source package: cpqarrayd
> > >  * Version: 2.3-4
> > >  * Architecture: ppc64el
> > >  * State: failed
> > >  * Suite: sid
> > >  * Builder: ppc64el-osuosl-01.debian.org
> > >  * Build log: 
> > > https://buildd.debian.org/status/fetch.php?pkg=cpqarrayd&arch=ppc64el&ver=2.3-4&stamp=1449679745&file=log
> > > 
> > > Please note that these notifications do not necessarily mean bug reports
> > > in your package but could also be caused by other packages, temporary
> > > uninstallabilities and arch-specific breakages.  A look at the build log
> > > despite this disclaimer would be appreciated however.
> > 
> > 
> > make[3]: Leaving directory '/«PKGBUILDDIR»/scripts'
> > make[3]: Entering directory '/«PKGBUILDDIR»'
> > gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 
> > -I/«PKGBUILDDIR»/debian/linux/linux-source-4.2/drivers/block 
> > -I/«PKGBUILDDIR»/debian/linux/linux-source-4.2/include  -g -O2 
> > -fstack-protector-strong -O2 
> > -I/«PKGBUILDDIR»/debian/linux/linux-source-4.2/drivers/block 
> > -I/«PKGBUILDDIR»/debian/linux/linux-source-4.2/include -MT cpqarrayd.o -MD 
> > -MP -MF .deps/cpqarrayd.Tpo -c -o cpqarrayd.o cpqarrayd.c
> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:14:26: 
> > error: conflicting types for 'fd_set'
> >  typedef __kernel_fd_set  fd_set;
> >                           ^
> > In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:219:0,
> >                  from /usr/include/stdlib.h:314,
> >                  from cpqarrayd.c:27:
> > /usr/include/powerpc64le-linux-gnu/sys/select.h:75:5: note: previous 
> > declaration of 'fd_set' was here
> >    } fd_set;
> >      ^



> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:15:25: 
> > error: conflicting types for 'dev_t'
> >  typedef __kernel_dev_t  dev_t;
> >                          ^
> > In file included from /usr/include/stdlib.h:314:0,
> >                  from cpqarrayd.c:27:
> > /usr/include/powerpc64le-linux-gnu/sys/types.h:60:17: note: previous 
> > declaration of 'dev_t' was here
> >  typedef __dev_t dev_t;
> >                  ^

> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:19:17: 
> > error: conflicting types for 'nlink_t'
> >  typedef __u32   nlink_t;
> >                  ^
> > In file included from /usr/include/stdlib.h:314:0,
> >                  from cpqarrayd.c:27:
> > /usr/include/powerpc64le-linux-gnu/sys/types.h:75:19: note: previous 
> > declaration of 'nlink_t' was here
> >  typedef __nlink_t nlink_t;
> >                    ^
> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:25:26: 
> > error: conflicting types for 'timer_t'
> >  typedef __kernel_timer_t timer_t;
> >                           ^
> > In file included from /usr/include/powerpc64le-linux-gnu/sys/types.h:132:0,
> >                  from /usr/include/stdlib.h:314,
> >                  from cpqarrayd.c:27:
> > /usr/include/time.h:103:19: note: previous declaration of 'timer_t' was here
> >  typedef __timer_t timer_t;
> >                    ^
> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:45:26: 
> > error: conflicting types for 'loff_t'
> >  typedef __kernel_loff_t  loff_t;
> >                           ^
> > In file included from /usr/include/stdlib.h:314:0,
> >                  from cpqarrayd.c:27:
> > /usr/include/powerpc64le-linux-gnu/sys/types.h:44:18: note: previous 
> > declaration of 'loff_t' was here
> >  typedef __loff_t loff_t;
> >                   ^
> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:134:23: 
> > error: conflicting types for 'blkcnt_t'
> >  typedef unsigned long blkcnt_t;
> >                        ^
> > In file included from /usr/include/stdlib.h:314:0,
> >                  from cpqarrayd.c:27:
> > /usr/include/powerpc64le-linux-gnu/sys/types.h:235:20: note: previous 
> > declaration of 'blkcnt_t' was here
> >  typedef __blkcnt_t blkcnt_t;  /* Type to count number of disk blocks.  */
> >                     ^
> > In file included from /usr/include/powerpc64le-linux-gnu/asm/ptrace.h:27:0,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/asm/sigcontext.h:11,
> >                  from 
> > /usr/include/powerpc64le-linux-gnu/bits/sigcontext.h:27,
> >                  from /usr/include/signal.h:308,
> >                  from cpqarrayd.c:49:
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:154:9: 
> > error: unknown type name 'u32'
> >  typedef u32 dma_addr_t;
> >          ^
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:164:9: 
> > error: unknown type name 'u32'
> >  typedef u32 phys_addr_t;
> >          ^
> > /«PKGBUILDDIR»/debian/linux/linux-source-4.2/include/linux/types.h:216:9: 
> > error: unknown type name 'u64'
> >  typedef u64 cycle_t;
> >          ^
> > cpqarrayd.c: In function 'main':
> > cpqarrayd.c:267:5: warning: implicit declaration of function 
> > 'cciss_status_check' [-Wimplicit-function-declaration]
> >      cciss_status_check(opts);
> >      ^
> > Makefile:464: recipe for target 'cpqarrayd.o' failed
> > make[3]: *** [cpqarrayd.o] Error 1
> > 
> > -- 
> > Joost van Baal-Ilić <joos...@uvt.nl>       irc://irc.uvt.nl/joostvb
> > http://abramowitz.uvt.nl/                            (013-466-)3519
> > do afwezig                                              kamer G 236
> > LIS Unix                     https://doc.uvt.nl/its-id/its-unix-sm/
> > 
> -- 
> Joost van Baal-Ilić <joos...@uvt.nl>       irc://irc.uvt.nl/joostvb
> http://abramowitz.uvt.nl/                            (013-466-)3519
> do afwezig                                              kamer G 236
> LIS Unix                     https://doc.uvt.nl/its-id/its-unix-sm/


-- 
Joost van Baal-Ilić <joos...@uvt.nl>       irc://irc.uvt.nl/joostvb
http://abramowitz.uvt.nl/                            (013-466-)3519
do afwezig                                              kamer G 236
LIS Unix                     https://doc.uvt.nl/its-id/its-unix-sm/

Attachment: signature.asc
Description: Digital signature

Reply via email to