Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168446 - =dev-libs/openct-0.6.11-r1 doesn't compile with =sys-apps/pcsc-lite-1.4.0 (1.3.3 works!)
Summary: =dev-libs/openct-0.6.11-r1 doesn't compile with =sys-apps/pcsc-lite-1.4.0 (1....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: petre rodan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 12:09 UTC by Wolfram Schlich (RETIRED)
Modified: 2007-03-31 19:25 UTC (History)
1 user (show)

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


Attachments
openct-0.6.11-pcsc.patch (openct-0.6.11-pcsc.patch,1.56 KB, patch)
2007-02-26 14:39 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
openct-0.6.11-r1.ebuild.diff (openct-0.6.11-r1.ebuild.diff,846 bytes, patch)
2007-02-26 14:41 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2007-02-26 12:09:38 UTC
--8<--
In file included from pcsc.c:38:
ifdhandler.h:20: warning: 'LPTSTR' is deprecated
ifdhandler.h:21: warning: 'LPTSTR' is deprecated
ifdhandler.h:23: warning: 'LPTSTR' is deprecated
ifdhandler.h:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHCreateChannel'
ifdhandler.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHCloseChannel'
ifdhandler.h:130: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHGetCapabilities'
ifdhandler.h:131: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHSetCapabilities'
ifdhandler.h:132: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHSetProtocolParameters'
ifdhandler.h:133: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHPowerICC'
ifdhandler.h:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHTransmitToICC'
ifdhandler.h:135: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHControl'
ifdhandler.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHICCPresence'
ifdhandler.h:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IO_Create_Channel'
ifdhandler.h:143: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IO_Close_Channel'
ifdhandler.h:144: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Get_Capabilities'
ifdhandler.h:145: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Set_Capabilities'
ifdhandler.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Set_Protocol_Parameters'
ifdhandler.h:147: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Power_ICC'
ifdhandler.h:148: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Swallow_ICC'
ifdhandler.h:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Eject_ICC'
ifdhandler.h:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Confiscate_ICC'
ifdhandler.h:151: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Transmit_to_ICC'
ifdhandler.h:152: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Is_ICC_Present'
ifdhandler.h:153: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFD_Is_ICC_Absent'
pcsc.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHCreateChannel'
pcsc.c:126: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHCloseChannel'
pcsc.c:162: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHGetCapabilities'
pcsc.c:208: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHSetCapabilities'
pcsc.c:220: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHSetProtocolParameters'
pcsc.c:271: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHPowerICC'
pcsc.c:380: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHTransmitToICC'
pcsc.c:427: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHControl'
pcsc.c:472: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'IFDHICCPresence'
make[3]: *** [pcsc.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.11-r1/work/openct-0.6.11/src/pcsc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.11-r1/work/openct-0.6.11/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/openct-0.6.11-r1/work/openct-0.6.11'
make: *** [all] Error 2

!!! ERROR: dev-libs/openct-0.6.11-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 2986:   Called src_compile
  openct-0.6.11-r1.ebuild, line 25:   Called die
--8<--
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2007-02-26 12:10:18 UTC
--8<--
vesta etc # emerge --info
Portage 2.1.2-r11 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-suspend2-1 i686)
=================================================================
System uname: 2.6.20-suspend2-1 i686 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 26 Feb 2007 01:50:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/local/portage/distfiles"
FEATURES="autoconfig buildpkg candy ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.intergenia.de"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/local/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /local/portage/layman/wschlich"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X X509 a52 aac aalib accounting acl acpi adns aim alsa ansi arts artworkextra audiofile authdaemond authfile automount avi bacula-console bash-completion bcmath berkdb bidi bind-mysql bitmap-fonts bl bluetooth bonobo browserplugin bzip2 cairo calendar caps ccache cdb cddb cdparanoia cdr cgi chipcard chroot command-args courier cpudetection cpulimit cracklib crypt cscope css csv ctype cups curl curlwrappers customlog cvsgraph cyrus dba dbi dbm dbus dbx devmap dga dhcp directfb dlloader dlopen dnsdb dri dts dv dvd dvdr dvdread ecc eds encode esd exif expat fam fame fastcgi fbcon fbsplash ffmpeg firefox flac flash flatfile font-server fontconfig foomaticdb fpx ftp gd gdbm gif gimp gimpprint gnokii gnome gnome-print gphoto2 gpm gssapi gstreamer gtk gtk2 gzip hal howl hpn http iconv icq idea idled idn ieee1394 imagemagick imap imlib imlib2 inifile innodb ipalias ipv6 jabber jack java jpeg jpeg2k kde kdeenablefinal ldap libwww lm_sensors lmtp logrotate logwatch mad mailbox maildir maildrop mailwrapper matrox mbox mcal memlimit mgetty mhash mime mimencode ming mjpeg mmap mmx mmxext mono mp3 mpeg mpi mplayer mpm-prefork mppe-mppc musepack mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas nautilus ncurses netboot network nfs nis nls nntp nptl nptlonly nsplugin nvidia oav odbc ogg oggvorbis opengl openssh openssl pam pam_chroot pam_console pam_timestamp parse-clocks pcntl pcre pcsc-lite pda pdf pdfkit pdflib perl php png posix postfix postgres povray ppds procmail pwdb python qdbm qt qt3 qt4 quicktime quotas radius rdesktop readline real recode reiserfs rrdtool rss rtc samba sample sasl scanner screen sdl sendfile sensord session sftp sftplogging shaper shared sharedext sharedmem simplexml skey slang slp smartcard smime smp sms smtp sndfile snmp soap sockets socks5 sox spamassassin sql sqlite3 sse sse2 ssl stream subversion svg svga sysfs syslog sysvipc tcltk tcpd tetex theora threads tiff tokenizer tools transparent-proxy truetype truetype-fonts type1-fonts unicode usb userlocales utempter utf8 v4l vcd vhosts vim vim-pager virtual-users virus-scan vorbis wifi win32codecs withsamplescripts wxgtk1 x86 xattr xcomposite xfs xine xinerama xinetd xml xml2 xmlrpc xorg xosd xpm xprint xscreensaver xsl xslt xv xvid xvmc yahoo yv12 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse vmmouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv nvidia vesa vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS

vesta etc #
--8<--
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-26 14:39:16 UTC
Created attachment 111298 [details, diff]
openct-0.6.11-pcsc.patch

Remove ifdhandler.h, define proper interface version.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-26 14:41:10 UTC
Created attachment 111300 [details, diff]
openct-0.6.11-r1.ebuild.diff

Modified ebuild, eautoreconf did not work in my configuration, so I have made some adjustments...
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2007-02-26 14:42:39 UTC
kaiowas: I can commit this if you want.
Comment 5 petre rodan (RETIRED) gentoo-dev 2007-02-27 15:31:38 UTC
@alon: thanks for the quick patch :)

@wolfram: does this fix work for you? I am not using pcsc flavored openct on any of my systems.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-02 18:21:16 UTC
wschlich: ???
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-09 21:16:11 UTC
wschlich?
Comment 8 Wolfram Schlich (RETIRED) gentoo-dev 2007-03-10 14:43:21 UTC
I am quite busy since a few days, will be able to check until the end of next week.
Comment 9 Wolfram Schlich (RETIRED) gentoo-dev 2007-03-25 02:06:25 UTC
compiled fine with your changes :)
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-25 05:47:22 UTC
I know that!
Is it WORKING?
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-31 16:32:32 UTC
kaiowas: Please apply the patch... I think we are done waiting. Users cooperate better...

BTW: Do you like to maintain this package or do you wish to turn it into the crypto herd?
Comment 12 petre rodan (RETIRED) gentoo-dev 2007-03-31 18:53:17 UTC
(In reply to comment #11)
> kaiowas: Please apply the patch...

0.6.11-r1 patched. I'll not add a new revision for this fix since stabilization of this package takes a very long time.

> BTW: Do you like to maintain this package or do you wish to turn it into the
> crypto herd?

I use openct on a daily basis, so I'm not bothered by it's maintenance. if you want it bad you can take it, or we can co-maintain it.
Comment 13 Alon Bar-Lev (RETIRED) gentoo-dev 2007-03-31 19:25:03 UTC
Thanks!
If you happy with maintaining this it is great!