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
Created attachment 95901 [details] output from emerge --info
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.
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.
(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.
*** Bug 147786 has been marked as a duplicate of this bug. ***
*** Bug 150235 has been marked as a duplicate of this bug. ***
*** Bug 153790 has been marked as a duplicate of this bug. ***