tags 701424 +patch
thanks

It seems this was caused by a change in unistd.h

wheezy: extern int setreuid (__uid_t __ruid, __uid_t __euid) __THROW;
sid: extern int setreuid (__uid_t __ruid, __uid_t __euid) __THROW __wur;

The attatched patch fixes the build failure by removing -Werror from AM_CFLAGS. No intent to nmu
diff -u mach-0.9.1/debian/changelog mach-0.9.1/debian/changelog
--- mach-0.9.1/debian/changelog
+++ mach-0.9.1/debian/changelog
@@ -1,3 +1,10 @@
+mach (0.9.1-3.2) UNRELEASED; urgency=medium
+
+  * Patch proposed to BTS, no intent to NMU
+    Disable Werror to fix build failure with eglibc 2.17
+
+ -- root <root@debian>  Wed, 23 Apr 2014 00:58:56 +0100
+
 mach (0.9.1-3.1) unstable; urgency=medium
 
   * Non-maintainer upload.
only in patch2:
unchanged:
--- mach-0.9.1.orig/src/Makefile.am
+++ mach-0.9.1/src/Makefile.am
@@ -1,7 +1,7 @@
 sbin_PROGRAMS = mach-helper
 
 mach_helper_SOURCES = mach-helper.c
-AM_CFLAGS = -Wall -Werror
+AM_CFLAGS = -Wall
 
 if SELINUX_ENABLED
 lib_LTLIBRARIES = libselinux-mach.la
only in patch2:
unchanged:
--- mach-0.9.1.orig/src/Makefile.in
+++ mach-0.9.1/src/Makefile.in
@@ -212,7 +212,7 @@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
 mach_helper_SOURCES = mach-helper.c
-AM_CFLAGS = -Wall -Werror
+AM_CFLAGS = -Wall
 @SELINUX_ENABLED_TRUE@lib_LTLIBRARIES = libselinux-mach.la
 @SELINUX_ENABLED_TRUE@libselinux_mach_la_SOURCES = selinux-mach.c
 all: all-am

Reply via email to