Thanks David, I've tried the patch on the latest ipmitool source but I have a few problems : - the patch does not apply on top of the already existing patch_memcpy_param.patch : I removed the latter from ubuntu debian/patches and I could apply all the series. - when I compile the package I got this : make[3]: Entering directory `/home/ubuntu/tmp/ipmitool-1.8.13/lib' /bin/bash ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -fno-strict-aliasing -Wreturn-type -I /lib/modules/3.16.0-45-generic/build/include -MT helper.lo -MD -MP -MF .deps/helper.Tpo -c -o helper.lo helper.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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/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 helper.c:33: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/include/linux/types.h:15:25: error: conflicting types for 'dev_t' typedef __kernel_dev_t dev_t; ^ In file included from helper.c:33:0: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/include/linux/types.h:19:17: error: conflicting types for 'nlink_t' typedef __u32 nlink_t; ^ In file included from helper.c:33:0: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/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 helper.c:33: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/include/linux/types.h:45:26: error: conflicting types for 'loff_t' typedef __kernel_loff_t loff_t; ^ In file included from helper.c:33:0: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/include/linux/types.h:134:23: error: conflicting types for 'blkcnt_t' typedef unsigned long blkcnt_t; ^ In file included from helper.c:33:0: /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:332, from helper.c:41: /lib/modules/3.16.0-45-generic/build/include/linux/types.h:149:1: error: unknown type name 'u32' typedef u32 dma_addr_t; ^ /lib/modules/3.16.0-45-generic/build/include/linux/types.h:165:1: error: unknown type name 'u32' typedef u32 phys_addr_t; ^ helper.c: In function 'ipmi_start_daemon': helper.c:659:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ helper.c:668:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ helper.c:669:5: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ make[3]: *** [helper.lo] Error 1 make[3]: Leaving directory `/home/ubuntu/tmp/ipmitool-1.8.13/lib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/ubuntu/tmp/ipmitool-1.8.13' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ubuntu/tmp/ipmitool-1.8.13' make: *** [build-arch-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 What am I missing ? did I do something wrong or is there some build dependency ( linux-libc-dev ?) ? Did you try the patch on top of the ipmitool 1.8.13-1ubuntu0.3 ? Thanks