On Thu, Mar 01, 2007 at 08:23:04AM +0100, Christian Perrier wrote:
> Package: libgcr410
> Severity: serious
> 
> Trying to build the package with pbuilder fails with:
> 
> cc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC
> -c -o gserial.o gserial.c
> In file included from gserial.c:58:
> ./ifdhandler.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHCreateChannel'
> ./ifdhandler.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHCloseChannel'
> ./ifdhandler.h:117: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHGetCapabilities'
> ./ifdhandler.h:119: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHSetCapabilities'
> ./ifdhandler.h:120: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHSetProtocolParameters'
> ./ifdhandler.h:122: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHPowerICC'
> ./ifdhandler.h:123: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHTransmitToICC'
> ./ifdhandler.h:126: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHControl'
> ./ifdhandler.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__'
> before 'IFDHICCPresence'
> make[1]: *** [gserial.o] Error 1
> make[1]: Leaving directory /tmp/buildd/libgcr410-2.4.0'
> make: *** [build-stamp] Error 2
> pbuilder: Failed autobuilding of package
> 
> This happened while trying to build a l10n NMU. In case someone fixes this,
> please also fix the pending l10n updates. See attached patch.
> 


What version of pbuilder are you using and what distribution are you
using ? I can't reproduce the problem here with the latest pbuilder
(0.164) and the etch distribution. I built a clean pbuilder chroot
before doing the libgcr build. From your log, it looks like
/usr/include/PCSC/wintypes.h is missing, but that file is part of
libpcsclite-dev which is part of the build dependencies. 

Cheers,

Peter (p2).

-- 
Goa is a state of mind
W: /home/p2/.pbuilderrc does not exist
I: using fakeroot in build.
pbuilder-buildpackage/i386 $Id$
$Id$

Current time: Thu Mar  1 16:55:25 CET 2007
pbuilder-time-stamp: 1172764525
Building the build Environment
 -> extracting base tarball [/var/cache/pbuilder/base.tgz]
 -> creating local configuration
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
Installing the build-deps
 -> Attempting to parse the build-deps $
 -> Considering build-dep debhelper (>= 4.1.16)
   -> Trying debhelper
 -> Considering build-dep libpcsclite-dev (>> 1.2.9)
   -> Trying libpcsclite-dev
 -> Considering build-dep po-debconf
   -> Trying po-debconf
 -> Installing  debhelper libpcsclite-dev po-debconf
Reading package lists...
Building dependency tree...
The following extra packages will be installed:
  file gettext gettext-base html2text intltool-debian libmagic1 libpcsclite1
Suggested packages:
  dh-make cvs gettext-doc
Recommended packages:
  curl wget lynx pcscd libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  debhelper file gettext gettext-base html2text intltool-debian libmagic1
  libpcsclite-dev libpcsclite1 po-debconf
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3693kB of archives.
After unpacking 11.8MB of additional disk space will be used.
Selecting previously deselected package libmagic1.
(Reading database ... 9583 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.17-5_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.17-5_i386.deb) ...
Selecting previously deselected package gettext-base.
Unpacking gettext-base (from .../gettext-base_0.16.1-1_i386.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) 
...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42_all.deb) ...
Selecting previously deselected package libpcsclite1.
Unpacking libpcsclite1 (from .../libpcsclite1_1.3.2-5_i386.deb) ...
Selecting previously deselected package libpcsclite-dev.
Unpacking libpcsclite-dev (from .../libpcsclite-dev_1.3.2-5_i386.deb) ...
Setting up libmagic1 (4.17-5) ...

Setting up file (4.17-5) ...
Setting up gettext-base (0.16.1-1) ...

Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42) ...
Setting up libpcsclite1 (1.3.2-5) ...

Setting up libpcsclite-dev (1.3.2-5) ...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Copying back the cached apt archive contents
Copying source file
    -> copying [libgcr410_2.4.0-6.dsc]
    -> copying [./libgcr410_2.4.0.orig.tar.gz]
    -> copying [./libgcr410_2.4.0-6.diff.gz]
Extracting source
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (1234)
dpkg-source: warning: extracting unsigned source package 
(./libgcr410_2.4.0-6.dsc)
dpkg-source: extracting libgcr410 in libgcr410-2.4.0
dpkg-source: unpacking libgcr410_2.4.0.orig.tar.gz
dpkg-source: applying ./libgcr410_2.4.0-6.diff.gz
 -> Building the package
su: Authentication service cannot retrieve authentication info.
(Ignored)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1234)
dpkg-buildpackage: source package is libgcr410
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1234)
dpkg-buildpackage: source version is 2.4.0-6
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1234)
dpkg-buildpackage: source changed by  Peter De Schrijver (p2) <[EMAIL 
PROTECTED]>
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 2.4.0-6
dpkg-checkbuilddeps: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
/usr/bin/make clean
make[1]: Entering directory `/tmp/buildd/libgcr410-2.4.0'
rm -f *.o *.so 
make[1]: Leaving directory `/tmp/buildd/libgcr410-2.4.0'
dh_clean
dh_clean: Compatibility levels before 4 are deprecated.
 dpkg-source -b libgcr410-2.4.0
dpkg-source: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-source: building libgcr410 using existing libgcr410_2.4.0.orig.tar.gz
dpkg-source: building libgcr410 in libgcr410_2.4.0-6.diff.gz
dpkg-source: building libgcr410 in libgcr410_2.4.0-6.dsc
 debian/rules build
dh_testdir
/usr/bin/make
make[1]: Entering directory `/tmp/buildd/libgcr410-2.4.0'
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o apdubuil.o apdubuil.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o apduspli.o apduspli.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o debug.o debug.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o gserial.o gserial.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o gtgbp.o gtgbp.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o gttimout.o gttimout.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o ifdhandler.o ifdhandler.c
ifdhandler.c: In function 'IFDHPowerICC':
ifdhandler.c:636: warning: pointer targets in passing argument 3 of 
'G_Oros3Exchange' differ in signedness
ifdhandler.c:651: warning: pointer targets in passing argument 3 of 
'G_Oros3Exchange' differ in signedness
ifdhandler.c:729: warning: pointer targets in passing argument 3 of 
'G_Oros3Exchange' differ in signedness
ifdhandler.c:744: warning: pointer targets in passing argument 3 of 
'G_Oros3Exchange' differ in signedness
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or32gem.o or32gem.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3confi.o or3confi.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3gbpcl.o or3gbpcl.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3gbpco.o or3gbpco.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3gbpop.o or3gbpop.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3icc.o or3icc.c
or3icc.c: In function 'G_Oros3IsoInput':
or3icc.c:312: warning: comparison is always true due to limited range of data 
type
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o or3utils.o or3utils.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o t0case1.o t0case1.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o t0case2.o t0case2.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o t0case3.o t0case3.c
gcc -Wall -O2 -fPIC -I. -DG_UNIX -DHAVE_PTHREAD_H -g -I/usr/include/PCSC    -c 
-o t0case4.o t0case4.c
gcc -shared apdubuil.o apduspli.o debug.o gserial.o gtgbp.o gttimout.o 
ifdhandler.o or32gem.o or3confi.o or3gbpcl.o or3gbpco.o or3gbpop.o or3icc.o 
or3utils.o t0case1.o t0case2.o t0case3.o t0case4.o -o libgcr410.so
make[1]: Leaving directory `/tmp/buildd/libgcr410-2.4.0'
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_clean: Compatibility levels before 4 are deprecated.
dh_installdirs
dh_installdirs: Compatibility levels before 4 are deprecated.
cp libgcr410.so 
/tmp/buildd/libgcr410-2.4.0/debian/libgcr410/usr/lib/pcsc/drivers/serial
dh_testdir
dh_testroot
dh_installdebconf
dh_installdebconf: Compatibility levels before 4 are deprecated.
dh_installchangelogs
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dh_installchangelogs: Compatibility levels before 4 are deprecated.
dh_installdocs
dh_installdocs: Compatibility levels before 4 are deprecated.
dh_strip
dh_strip: Compatibility levels before 4 are deprecated.
dh_compress
dh_compress: Compatibility levels before 4 are deprecated.
dh_fixperms
dh_fixperms: Compatibility levels before 4 are deprecated.
dh_installdeb
dh_installdeb: Compatibility levels before 4 are deprecated.
dh_shlibdeps
dh_shlibdeps: Compatibility levels before 4 are deprecated.
dpkg-shlibdeps: warning: no utmp entry available and LOGNAME not defined; using 
uid of process (0)
dh_gencontrol
dh_gencontrol: Compatibility levels before 4 are deprecated.
dpkg-gencontrol: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (0)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (0)
dh_md5sums
dh_md5sums: Compatibility levels before 4 are deprecated.
dh_builddeb
dh_builddeb: Compatibility levels before 4 are deprecated.
dpkg-deb: building package `libgcr410' in `../libgcr410_2.4.0-6_i386.deb'.
 dpkg-genchanges
dpkg-genchanges: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
dpkg-parsechangelog: warning: no utmp entry available and LOGNAME not defined; 
using uid of process (1234)
debian: warning: no utmp entry available and LOGNAME not defined; using uid of 
process (1234)
dpkg-genchanges: not including original source code in upload
dpkg-buildpackage: binary and diff upload (original source NOT included)
Copying back the cached apt archive contents
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
Current time: Thu Mar  1 16:55:49 CET 2007
pbuilder-time-stamp: 1172764549
 -> cleaning the build env 
    -> removing directory /var/cache/pbuilder/build//31871 and its 
subdirectories

Reply via email to