Aníbal Monsalve Salazar wrote: > Please do it.
Work in progress here: https://github.com/lamby/pkg-cpio/commits/debian/experimental Just having issues compiling the mingw part: make[4]: Entering directory '/tmp/buildd/cpio-2.12/obj-win32/lib' CC exit.o CC exit-status.o CC rtapelib.o ../../lib/rtapelib.c: In function 'do_command': ../../lib/rtapelib.c:124:46: error: 'SIGPIPE' undeclared (first use in this function) RETSIGTYPE (*pipe_handler) (int) = signal (SIGPIPE, SIG_IGN); ^~~~~~~ ../../lib/rtapelib.c:124:46: note: each undeclared identifier is reported only once for each function it appears in ../../lib/rtapelib.c: In function 'rmt_open__': ../../lib/rtapelib.c:473:9: warning: implicit declaration of function 'pipe' [-Wimplicit-function-declaration] if (pipe (to_remote[remote_pipe_number]) == -1 ^~~~ ../../lib/rtapelib.c:482:14: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration] status = fork (); ^~~~ In file included from ../../lib/rtapelib.c:35:0: ../../lib/system.h:478:12: warning: implicit declaration of function 'setuid' [-Wimplicit-function-declaration] if (! (setuid (getuid ()) == 0 && setgid (getgid ()) == 0)) \ ^ ../../lib/rtapelib.c:506:2: note: in expansion of macro 'sys_reset_uid_gid' sys_reset_uid_gid (); ^~~~~~~~~~~~~~~~~ ../../lib/system.h:478:20: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] if (! (setuid (getuid ()) == 0 && setgid (getgid ()) == 0)) \ ^ ../../lib/rtapelib.c:506:2: note: in expansion of macro 'sys_reset_uid_gid' sys_reset_uid_gid (); ^~~~~~~~~~~~~~~~~ ../../lib/system.h:478:39: warning: implicit declaration of function 'setgid' [-Wimplicit-function-declaration] if (! (setuid (getuid ()) == 0 && setgid (getgid ()) == 0)) \ ^ ../../lib/rtapelib.c:506:2: note: in expansion of macro 'sys_reset_uid_gid' sys_reset_uid_gid (); ^~~~~~~~~~~~~~~~~ ../../lib/system.h:478:47: warning: implicit declaration of function 'getgid' [-Wimplicit-function-declaration] if (! (setuid (getuid ()) == 0 && setgid (getgid ()) == 0)) \ ^ ../../lib/rtapelib.c:506:2: note: in expansion of macro 'sys_reset_uid_gid' sys_reset_uid_gid (); ^~~~~~~~~~~~~~~~~ ../../lib/rtapelib.c: In function 'rmt_write__': ../../lib/rtapelib.c:609:26: error: 'SIGPIPE' undeclared (first use in this function) pipe_handler = signal (SIGPIPE, SIG_IGN); ^~~~~~~ Makefile:1195: recipe for target 'rtapelib.o' failed make[4]: *** [rtapelib.o] Error 1 make[4]: Leaving directory '/tmp/buildd/cpio-2.12/obj-win32/lib' Makefile:1138: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/tmp/buildd/cpio-2.12/obj-win32/lib' Makefile:1258: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/tmp/buildd/cpio-2.12/obj-win32' Makefile:1197: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/tmp/buildd/cpio-2.12/obj-win32' debian/rules:59: recipe for target 'build-win32' failed make: *** [build-win32] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1100: dpkg-buildpackage -rfakeroot -us -uc --hook-check=cd ..; --changes-option=-S --check-command=lintian failed Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-