libtool: compile: powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -pthread -I/usr/include/PCSC -O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -Wall -Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -MT libPHONES_la-pcsc.lo -MD -MP -MF .deps/libPHONES_la-pcsc.Tpo -c pcsc.c -fPIC -DPIC -o .libs/libPHONES_la-pcsc.o pcsc.c: In function 'get_gn_error': pcsc.c:202: error: 'SCARD_W_INSERTED_CARD' undeclared (first use in this function) pcsc.c:202: error: (Each undeclared identifier is reported only once pcsc.c:202: error: for each function it appears in.) mv -f .deps/libPHONES_la-fake.Tpo .deps/libPHONES_la-fake.Plo gmake[2]: *** [libPHONES_la-pcsc.lo] Error 1 [ebuild R ] sys-apps/pcsc-lite-1.6.6 USE="-usb" 0 kB [ebuild N ] app-mobilephone/gnokii-0.6.27-r2 USE="X nls -bluetooth -debug -ical -irda -mysql -postgres -sms -usb" LINGUAS="-cs -de -et -fi -fr -it -nl -pl -pt -sk -sl -sv -zh_CN" 0 kB Portage 2.1.9.25 (default/linux/powerpc/ppc32/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 ppc64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-ppc64-PPC970FX,_altivec_supported-with-gentoo-1.12.14 Timestamp of tree: Thu, 13 Jan 2011 07:30:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm iconv ipv6 jpeg kde modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png policykit ppc pppd python qt3support qt4 readline session ssl sysfs tcpd threads unicode xml xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 259737 [details] build log
That's an old problem, caused by changes in pcsc-lite. gnokii upstream simply removed that define (no release yet).
Version 0.6.30 has been released 5 days ago... hopefully it will be included soon in portage.
I've tried again and now I cannot reproduce it. Removing blocker for bug 332043 also let's make this bug useful...
Could you please make a use-flag for sys-apps/pcsc-lite ? We may want (useful) builds without it.
Created attachment 307615 [details] app-mobilephone/gnokii-0.6.31.ebuild with pcsc-lite USE flag This is an ebuild for the latest release version. Things I changed: 1. depend on most recent bluez version 2. depend on most recent pcsc-lite version, configurable vie pcsc-lite USE flag 3. add a patch to re-add xgnokii, the configure.in script has a typo. The ebuild and the mentioned patch are also available from my overlay (layman -a seden). I need this version of gnokii, as the previous ones do not fully support my new company phone while this one works like a charm.
Created attachment 307617 [details, diff] mentioned patch to reenable xgnokii The said patch.
Finally, bumped.
(In reply to comment #8) > Finally, bumped. Not quite, you forgot a patch :P (how did repoman allow that anyway?)