Package: pilot-qof
Version: 0.0.10-1
Severity: normal

Hello,

pilot-link 0.12.0 is now stable and available. The Debian package is
available from experimental. Before uploading it to unstable and replace
libpisock8 by libpisock9 I try to recompile every package using libpisock8.

pilot-qof fails to build with:

cc -DHAVE_CONFIG_H -I. -I. -I..    -I.. -I../..  
-DLOCALE_DIR=\""/usr/share/locale"\" -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/qof -I/usr/include/libxml2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -Wall -O2 -g2 -Wall  
-Werror -Wdeclaration-after-statement -Wno-pointer-sign -c qof-address.c
In file included from pilot-qof.h:92,
                 from qof-address.c:35:
bridge.h:75: erreur: redeclaration of enumerator ‘address_v1’
/usr/include/pi-address.h:12: erreur: previous definition of ‘address_v1’ was 
here
bridge.h:75: erreur: conflicting types for ‘addressType’
/usr/include/pi-address.h:13: erreur: previous declaration of ‘addressType’ was 
here
In file included from pilot-qof.h:92,
                 from qof-address.c:35:
bridge.h:105: erreur: redefinition of ‘struct pi_buffer_t’
In file included from pilot-qof.h:93,
                 from qof-address.c:35:
/usr/include/pi-expense.h:62: erreur: two or more data types in declaration 
specifiers
/usr/include/pi-expense.h:68: erreur: two or more data types in declaration 
specifiers
cc1: warnings being treated as errors
qof-address.c: In function ‘address_pack’:
qof-address.c:536: attention : passing argument 2 of ‘pack_Address’ from 
incompatible pointer type
qof-address.c: In function ‘address_unpack’:
qof-address.c:563: attention : passing argument 2 of ‘unpack_Address’ from 
incompatible pointer type
make[3]: *** [qof-address.o] Erreur 1
make[3]: quittant le répertoire « 
/home/NoBackup/Debian/libpisock9/pilot-qof/pilot-qof-0.0.10/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « 
/home/NoBackup/Debian/libpisock9/pilot-qof/pilot-qof-0.0.10 »
make[1]: *** [all] Erreur 2
make[1]: quittant le répertoire « 
/home/NoBackup/Debian/libpisock9/pilot-qof/pilot-qof-0.0.10 »
make: *** [debian/stamp-makefile-build] Erreur 2
debuild: fatal error at line 1224:
debian/rules build failed


I have no patch at this time to correct the problem. You should talk with
pilot-qof upstream.

Note that I had to modify configure.ac:

--- pilot-qof-0.0.10.orig/configure.ac
+++ pilot-qof-0.0.10/configure.ac
@@ -271,8 +271,8 @@
 dnl ******************************
 dnl Pilot Link Check
 dnl ******************************
-PILOT_LINK_CHECK(0.11.8)
-AC_DEFINE(COMPATIBILITY_MODE,"1",use 0.11.8 and libpisock8)
+PILOT_LINK_CHECK(0.12.0)
+AC_DEFINE(COMPATIBILITY_MODE,"1",use 0.12.0 and libpisock9)

 dnl *************************************
 dnl QOF


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.11-bios
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Reply via email to