Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146198 - dev-libs/openct-0.6.8 fails with "ifdhandler.h:20: error: expected specifier-qualifier-list before 'LPTSTR'"
Summary: dev-libs/openct-0.6.8 fails with "ifdhandler.h:20: error: expected specifier-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: petre rodan (RETIRED)
URL:
Whiteboard:
Keywords:
: 147786 150235 153790 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-03 17:22 UTC by Joseph Pingenot
Modified: 2006-11-02 02:07 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from emerge --info (emergeinfo.txt,5.47 KB, text/plain)
2006-09-03 17:23 UTC, Joseph Pingenot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pingenot 2006-09-03 17:22:39 UTC
when compiling openct (pulled in by opensc, iirc), I get the following error:
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/ctapi -I../../src/include -I../../src/include -I../../src/include -I../../src/include -Wall -O2 -pipe -march=pentium-m -fschedule-insns2 -fexpensive-optimizations -fomit-frame-pointer -falign-functions -mmmx -msse -msse2 -mfpmath=sse -ftracer -MT pcsc.lo -MD -MP -MF .deps/pcsc.Tpo -c pcsc.c  -fPIC -DPIC -o .libs/pcsc.o
In file included from pcsc.c:37:
ifdhandler.h:20: error: expected specifier-qualifier-list before 'LPTSTR'
make[3]: *** [pcsc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/openct-0.6.8/work/openct-0.6.8/src/pcsc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/openct-0.6.8/work/openct-0.6.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/openct-0.6.8/work/openct-0.6.8'
make: *** [all] Error 2

!!! ERROR: dev-libs/openct-0.6.8 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  openct-0.6.8.ebuild, line 24:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info will be attached shortly
Comment 1 Joseph Pingenot 2006-09-03 17:23:32 UTC
Created attachment 95901 [details]
output from emerge --info
Comment 2 petre rodan (RETIRED) gentoo-dev 2006-09-06 04:02:27 UTC
you must be using an old version of pcsc-lite.

either upgrade to latest ~x86 pcsc-lite (or remove it if you don't really need it), and then re-merge openct.

you might want to open a stabilisation request bug for pcsc-lite.

reopen if this does not solve the issue for you.
Comment 3 @4u 2006-09-09 03:57:05 UTC
Unmerging and re-emerging pcsc-lite (stable 1.2.0) doesn't work. If an unstable version is required to get this software working, than I think it should depend on the unstable version - this is a better solution than letting emerge fail every time ... Depending on an ~x86 version of pcsc-lite results in an emerge tree dependency error which is more helful that "error: expected ...".

Now merging unstable pcsc-lite.
Comment 4 petre rodan (RETIRED) gentoo-dev 2006-09-09 05:28:31 UTC
(In reply to comment #3)
> If an unstable version is required to get this software working,
> than I think it should depend on the unstable version 
> this is a better solution than letting emerge fail
> every time ... Depending on an ~x86 version of pcsc-lite results in an emerge
> tree dependency error which is more helful that "error: expected ...".

why exactly is better to have a broken tree then a compile error due to an antique library version? not to mention that pcsc-lite is in no way a dependency for openct.

> Now merging unstable pcsc-lite.

this bug will not be hit once bug# 145145 will be closed.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-16 02:51:04 UTC
*** Bug 147786 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-06 00:27:42 UTC
*** Bug 150235 has been marked as a duplicate of this bug. ***
Comment 7 petre rodan (RETIRED) gentoo-dev 2006-11-02 02:07:08 UTC
*** Bug 153790 has been marked as a duplicate of this bug. ***