Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 109379
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: step <step@step.ee>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ccid-0.9.3.1-ifdhandler.patch Patch for ifdhandler.c text/plain Steven Coutts 2005-10-17 06:24 0000 296 bytes Details
ccid-0.9.3.1-r1.ebuild Ebuild to use ifdhandler patch text/plain Steven Coutts 2005-10-17 06:25 0000 915 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 109379 depends on: Show dependency tree
Bug 109379 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-10-15 10:01 0000
app-crypt/ccid-0.9.3.1 failed


...
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig'
Making all in aclocal
make[2]: Entering directory
`/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig/aclocal'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig/aclocal'
Making all in src
make[2]: Entering directory `/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig/src'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I..    -pthread -I/usr/include/PCSC   -O3
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-ccid.lo -MD -MP -MF ".deps/libccid_la-ccid.Tpo" -c -o
libccid_la-ccid.lo `test -f 'ccid.c' || echo './'`ccid.c; \
then mv -f ".deps/libccid_la-ccid.Tpo" ".deps/libccid_la-ccid.Plo"; else rm -f
".deps/libccid_la-ccid.Tpo"; exit 1; fi
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/PCSC
-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-ccid.lo -MD -MP -MF .deps/libccid_la-ccid.Tpo -c ccid.c  -fPIC -DPIC
-o .libs/libccid_la-ccid.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/PCSC
-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-ccid.lo -MD -MP -MF .deps/libccid_la-ccid.Tpo -c ccid.c -o
libccid_la-ccid.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I..    -pthread -I/usr/include/PCSC   -O3
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-commands.lo -MD -MP -MF ".deps/libccid_la-commands.Tpo" -c -o
libccid_la-commands.lo `test -f 'commands.c' || echo './'`commands.c; \
then mv -f ".deps/libccid_la-commands.Tpo" ".deps/libccid_la-commands.Plo"; else
rm -f ".deps/libccid_la-commands.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/PCSC
-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-commands.lo -MD -MP -MF .deps/libccid_la-commands.Tpo -c commands.c 
-fPIC -DPIC -o .libs/libccid_la-commands.o
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/PCSC
-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-commands.lo -MD -MP -MF .deps/libccid_la-commands.Tpo -c commands.c
-o libccid_la-commands.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc
-DHAVE_CONFIG_H -I. -I. -I..    -pthread -I/usr/include/PCSC   -O3
-march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-ifdhandler.lo -MD -MP -MF ".deps/libccid_la-ifdhandler.Tpo" -c -o
libccid_la-ifdhandler.lo `test -f 'ifdhandler.c' || echo './'`ifdhandler.c; \
then mv -f ".deps/libccid_la-ifdhandler.Tpo" ".deps/libccid_la-ifdhandler.Plo";
else rm -f ".deps/libccid_la-ifdhandler.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -I/usr/include/PCSC
-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe -Wall -MT
libccid_la-ifdhandler.lo -MD -MP -MF .deps/libccid_la-ifdhandler.Tpo -c
ifdhandler.c  -fPIC -DPIC -o .libs/libccid_la-ifdhandler.o
ifdhandler.c: In function `IFDHGetCapabilities':
ifdhandler.c:247: error: `SCARD_ATTR_ATR_STRING' undeclared (first use in this
function)
ifdhandler.c:247: error: (Each undeclared identifier is reported only once
ifdhandler.c:247: error: for each function it appears in.)
make[2]: *** [libccid_la-ifdhandler.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ccid-0.9.3.1/work/ccid-0.9.3.orig'
make: *** [all] Error 2

!!! ERROR: app-crypt/ccid-0.9.3.1 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed


Reproducible: Always
Steps to Reproduce:
1. emerge app-crypt/ccid

------- Comment #1 From Steven Coutts 2005-10-15 10:07:55 0000 -------
I confirm I get the same error 

------- Comment #2 From step 2005-10-15 10:49:39 0000 -------
i was told, that if I add a line "#include <PCSC/reader.h>" to ifdhander.c ,
the
ccid will compile fine.





------- Comment #3 From Steven Coutts 2005-10-17 06:24:55 0000 -------
Created an attachment (id=70845) [details]
Patch for ifdhandler.c

Patch to add #include <PCSC/reader.h> to ifdhandler.c

------- Comment #4 From Steven Coutts 2005-10-17 06:25:22 0000 -------
Created an attachment (id=70846) [details]
Ebuild to us ifdhandler patch

------- Comment #5 From Steven Coutts 2005-10-17 06:26:01 0000 -------
Using this patch and ebuild it now compiles and installs on my machine.

------- Comment #6 From Marcelo Goes 2005-10-29 11:50:33 0000 -------
Works for me too. In cvs. Thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug