Package: uphpmvault
Version: 0.7
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.6

The package fails to build with gcc-4.6. The reason is that 'offsetof' is a
macro defined in stddef.h, which is not included from uphpmvault.cc.

The following patch was used in Ubuntu to fix the problem.
https://launchpad.net/ubuntu/+source/units-filter/3.3-1ubuntu1

diff -Nru uphpmvault-0.7/uphpmvault.cc uphpmvault-0.7ubuntu1/uphpmvault.cc
--- uphpmvault-0.7/uphpmvault.cc        2011-05-02 21:07:29.000000000 +0400
+++ uphpmvault-0.7ubuntu1/uphpmvault.cc 2011-07-03 20:01:41.000000000 +0400
@@ -58,6 +58,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdint.h>
+#include <stddef.h>
 #include <fcntl.h>
 #include <errno.h>
 #include <memory.h>

Link to log of failed build in Ubuntu:
https://launchpadlibrarian.net/70988900/buildlog_ubuntu-oneiric-i386.uphpmvault_0.7_FAILEDTOBUILD.txt.gz

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric
  APT policy: (500, 'oneiric')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-10-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to