libchipcard version 5.0.0-1 failed to build on i386

Bug #749239 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libchipcard (Debian)
Fix Released
Unknown
libchipcard (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

libchipcard version 5.0.0-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2399084

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2399084/+files/buildlog_ubuntu-natty-i386.libchipcard_5.0.0-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1467 lines into the build log:

client.c:1013:10: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1018:4: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1019:36: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1023:8: error: 'LC_CLIENT' has no member named 'lastUsedReader'
client.c:1028:6: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1034:4: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1040:14: error: 'LC_CLIENT' has no member named 'readerCount'
client.c:1042:9: error: 'LC_CLIENT' has no member named 'lastUsedReader'
client.c:1043:61: error: 'LC_CLIENT' has no member named 'readerStates'
client.c:1043:79: error: 'LC_CLIENT' has no member named 'readerCount'
make[6]: *** [client.lo] Error 1
make[6]: Leaving directory `/build/buildd/libchipcard-5.0.0/src/lib/client/base'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/build/buildd/libchipcard-5.0.0/src/lib/client'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/build/buildd/libchipcard-5.0.0/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/libchipcard-5.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/libchipcard-5.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/libchipcard-5.0.0'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110403-0918
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/libchipcard-5.0.0

Tags: ftbfs patch natty
Revision history for this message
Micha Lenk (micha) wrote :

The real error is some lines earlier in the log:

make[6]: Entering directory `/build/buildd/libchipcard-5.0.0/src/lib/client/base'
/bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_CONFIG_DIR=\"/etc/chipcard\" -DLC_CLIENT_CONFIG_FILE=\"chipcardc.conf\" -DLC_CLIENT_XML_DIR=\"/usr/share/chipcard\" -I. -I../../../.. -I../../../../libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/include/gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/include/gwenhywfar4 -fvisibility=hidden -g -O2 -c -o client.lo client.c
libtool: compile: gcc -DHAVE_CONFIG_H -DBUILDING_CHIPCARD -DLC_CLIENT_CONFIG_DIR=\"/etc/chipcard\" -DLC_CLIENT_CONFIG_FILE=\"chipcardc.conf\" -DLC_CLIENT_XML_DIR=\"/usr/share/chipcard\" -I. -I../../../.. -I../../../../libchipcard5 -I/usr/include -I/usr/include/PCSC -I/usr/include/gwenhywfar4 -I.. -I./.. -I../../../.. -I/usr/include/gwenhywfar4 -fvisibility=hidden -g -O2 -c client.c -fPIC -DPIC -o .libs/client.o
In file included from client.c:16:0:
client_p.h:45:3: error: expected specifier-qualifier-list before 'SCARD_READERSTATE_A'

... which is the same as in Debian Bug #614460.

Changed in libchipcard (Ubuntu):
status: New → Confirmed
Revision history for this message
Micha Lenk (micha) wrote :
tags: added: patch
Revision history for this message
Micha Lenk (micha) wrote :

This was fixed in libchipcard 5.0.1test-2:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 26 Feb 2011 18:50:08 +0100
Source: libchipcard
Binary: libchipcard-dev libchipcard6 libchipcard-data libchipcard-tools libchipcard-libgwenhywfar60-plugins
Architecture: source i386 all
Version: 5.0.1test-2
Distribution: unstable
Urgency: low
Maintainer: Micha Lenk <email address hidden>
Changed-By: Micha Lenk <email address hidden>
Description:
 libchipcard-data - configuration files for libchipcard
 libchipcard-dev - API for smartcard readers
 libchipcard-libgwenhywfar60-plugins - crypttoken plugin to libgwenhywfar
 libchipcard-tools - tools for accessing chipcards
 libchipcard6 - library for accessing smartcards
Closes: 614460
Changes:
 libchipcard (5.0.1test-2) unstable; urgency=low
 .
   * Switch to dpkg-source 3.0 (quilt) format
   * Add patch Fix_deprecated_SCARD_READERSTATE_A.patch (closes: #614460)
Checksums-Sha1:
 38fa717fa499515654a4e85dddcac072030d2c0a 1371 libchipcard_5.0.1test-2.dsc
 22e597c837b5e35fd8f4deea42a54c59ca0938e9 16252 libchipcard_5.0.1test-2.debian.tar.gz
 282a8804337d7dc059842f8144c363b1f712b7a5 36636 libchipcard-dev_5.0.1test-2_i386.deb
 cfcdc2da084943bbe737ddbb2472e92418fb9c25 132578 libchipcard6_5.0.1test-2_i386.deb
 9d517f3f6016e3a9fcfc367093b7c09d005d04ac 34718 libchipcard-data_5.0.1test-2_all.deb
 4e5b529fb5f97d4839d9b2fd5efe0e7f3e188553 44198 libchipcard-tools_5.0.1test-2_i386.deb
 eae1062b54d07fa0d92f06177066ba76594dc500 38646 libchipcard-libgwenhywfar60-plugins_5.0.1test-2_i386.deb
Checksums-Sha256:
 a2295ba3701d7fb619ddbce809de0d05c6fe0187903dc0bb78c859e53eef9ee3 1371 libchipcard_5.0.1test-2.dsc
 7f6c31c05878d5818d7a77084674dc793a9cb53a0add8e8f1eaa77923a492a78 16252 libchipcard_5.0.1test-2.debian.tar.gz
 219868c8e300cbf65f7872871e1d0e5975da2f179816ce0b3216241f7a20762a 36636 libchipcard-dev_5.0.1test-2_i386.deb
 71687d23999f334645eb01c87d1ef5a6ef3f7b3d1da691b7416d754d6f384558 132578 libchipcard6_5.0.1test-2_i386.deb
 60d09d9e9a5a987664e1e5034f62a120bba0961ee9f0ebddb0e182748fa1050d 34718 libchipcard-data_5.0.1test-2_all.deb
 1502ca65851c4ddd2e092d81558f0221cde93cc3cba318e48c117a493ab38ff8 44198 libchipcard-tools_5.0.1test-2_i386.deb
 97e3c7d0308aa5c569e942b8bf0ae46e2d3b1fe448d6c54d045bb6bdf08ca390 38646 libchipcard-libgwenhywfar60-plugins_5.0.1test-2_i386.deb
Files:
 1b9c46926e5bf5df07148c5a77a4cc4a 1371 libs optional libchipcard_5.0.1test-2.dsc
 7a875ea95ad83aa8dcbea7806d93e93b 16252 libs optional libchipcard_5.0.1test-2.debian.tar.gz
 ff7793af10dc9fe90b238698341253fb 36636 libdevel extra libchipcard-dev_5.0.1test-2_i386.deb
 f44e1ddfbc3d23669c752229ddb1a20c 132578 libs optional libchipcard6_5.0.1test-2_i386.deb
 4b55360836537f064038678e01303b34 34718 libs optional libchipcard-data_5.0.1test-2_all.deb
 7e1a48c09a8291f18e29a9fc1cb09788 44198 misc optional libchipcard-tools_5.0.1test-2_i386.deb
 220a830847af2ce6011111e777ffc03c 38646 misc optional libchipcard-libgwenhywfar60-plugins_5.0.1test-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk1pQ14ACgkQWN0/4pnhQbTs7QCfUnbIQFevb2ghgy0DhgZGqrYf
YTQAoKX0Igea30vWa6I1czjPrG7f92bd
=7Sv/
-----END PGP SIGNATURE-----

Changed in libchipcard (Ubuntu):
status: Confirmed → Fix Released
Changed in libchipcard (Debian):
importance: Unknown → Undecided
status: Unknown → New
status: New → Fix Released
importance: Undecided → Unknown
status: Fix Released → Unknown
Changed in libchipcard (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.