Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193447 - x11-plugins/pidgin-hotkeys-0.2.3 fails to emerge
Summary: x11-plugins/pidgin-hotkeys-0.2.3 fails to emerge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-22 19:49 UTC by Morten Cools
Modified: 2007-10-27 18:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Morten Cools 2007-09-22 19:49:24 UTC
On emerging pidgin-hotkeys, the build fails with the following errors:

In file included from hotkeys.c:49:
hotkeys.h:54: error: expected specifier-qualifier-list before 'KeyCode'
hotkeys.h:73: error: expected ')' before 'keycode'
hotkeys.c:78: warning: excess elements in struct initializer
hotkeys.c:78: warning: (near initialization for 'hotkeys[0]')
hotkeys.c:78: warning: excess elements in struct initializer
hotkeys.c:78: warning: (near initialization for 'hotkeys[0]')
hotkeys.c:78: warning: excess elements in struct initializer
hotkeys.c:78: warning: (near initialization for 'hotkeys[0]')
hotkeys.c:78: warning: excess elements in struct initializer
hotkeys.c:78: warning: (near initialization for 'hotkeys[0]')
hotkeys.c:78: warning: excess elements in struct initializer
hotkeys.c:78: warning: (near initialization for 'hotkeys[0]')
hotkeys.c:79: warning: excess elements in struct initializer
hotkeys.c:79: warning: (near initialization for 'hotkeys[1]')
hotkeys.c:79: warning: excess elements in struct initializer
hotkeys.c:79: warning: (near initialization for 'hotkeys[1]')
hotkeys.c:79: warning: excess elements in struct initializer
hotkeys.c:79: warning: (near initialization for 'hotkeys[1]')
hotkeys.c:79: warning: excess elements in struct initializer
hotkeys.c:79: warning: (near initialization for 'hotkeys[1]')
hotkeys.c:79: warning: excess elements in struct initializer
hotkeys.c:79: warning: (near initialization for 'hotkeys[1]')
hotkeys.c:80: warning: excess elements in struct initializer
hotkeys.c:80: warning: (near initialization for 'hotkeys[2]')
hotkeys.c:80: warning: excess elements in struct initializer
hotkeys.c:80: warning: (near initialization for 'hotkeys[2]')
hotkeys.c:80: warning: excess elements in struct initializer
hotkeys.c:80: warning: (near initialization for 'hotkeys[2]')
hotkeys.c:80: warning: excess elements in struct initializer
hotkeys.c:80: warning: (near initialization for 'hotkeys[2]')
hotkeys.c:80: warning: excess elements in struct initializer
hotkeys.c:80: warning: (near initialization for 'hotkeys[2]')
hotkeys.c:81: warning: excess elements in struct initializer
hotkeys.c:81: warning: (near initialization for 'hotkeys[3]')
hotkeys.c:81: warning: excess elements in struct initializer
hotkeys.c:81: warning: (near initialization for 'hotkeys[3]')
hotkeys.c:81: warning: excess elements in struct initializer
hotkeys.c:81: warning: (near initialization for 'hotkeys[3]')
hotkeys.c:81: warning: excess elements in struct initializer
hotkeys.c:81: warning: (near initialization for 'hotkeys[3]')
hotkeys.c:81: warning: excess elements in struct initializer
hotkeys.c:81: warning: (near initialization for 'hotkeys[3]')
hotkeys.c: In function 'gen_keystr':
hotkeys.c:94: warning: implicit declaration of function 'keycode_to_string'
hotkeys.c:94: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:94: warning: assignment makes pointer from integer without a cast
hotkeys.c:98: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:98: error: 'ShiftMask' undeclared (first use in this function)
hotkeys.c:98: error: (Each undeclared identifier is reported only once
hotkeys.c:98: error: for each function it appears in.)
hotkeys.c:99: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:99: error: 'ControlMask' undeclared (first use in this function)
hotkeys.c:100: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:100: error: 'Mod1Mask' undeclared (first use in this function)
hotkeys.c:101: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:101: error: 'Mod4Mask' undeclared (first use in this function)
hotkeys.c: In function 'grab_keys':
hotkeys.c:195: error: 'struct <anonymous>' has no member named 'enable'
hotkeys.c:195: error: 'struct <anonymous>' has no member named 'code'
hotkeys.c: In function 'hotkey_set_bool':
hotkeys.c:226: error: 'HotkeyEntry' has no member named 'enable'
hotkeys.c:228: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c: In function 'on_entry_key_release_event':
hotkeys.c:258: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:260: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:260: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:261: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c:261: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c: In function 'on_entry_focus_out_event':
hotkeys.c:280: error: 'HotkeyEntry' has no member named 'enable'
hotkeys.c:280: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:280: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:280: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:280: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c:285: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:291: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:291: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:292: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:292: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c:301: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:306: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:306: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:307: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:307: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c: In function 'on_entry_key_press_event':
hotkeys.c:331: error: 'ControlMask' undeclared (first use in this function)
hotkeys.c:337: error: 'Mod1Mask' undeclared (first use in this function)
hotkeys.c:343: error: 'ShiftMask' undeclared (first use in this function)
hotkeys.c:349: error: 'Mod4Mask' undeclared (first use in this function)
hotkeys.c:356: warning: assignment makes pointer from integer without a cast
hotkeys.c:360: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:361: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c:369: error: 'HotkeyEntry' has no member named 'code_'
hotkeys.c:370: error: 'HotkeyEntry' has no member named 'mod_'
hotkeys.c: In function 'reconfig_blist_cb':
hotkeys.c:397: error: 'struct <anonymous>' has no member named 'enable'
hotkeys.c:397: error: 'struct <anonymous>' has no member named 'code'
hotkeys.c: In function 'plugin_load':
hotkeys.c:425: error: 'HotkeyEntry' has no member named 'enable'
hotkeys.c:431: error: 'HotkeyEntry' has no member named 'code'
hotkeys.c:434: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:434: error: 'ShiftMask' undeclared (first use in this function)
hotkeys.c:436: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:436: error: 'ControlMask' undeclared (first use in this function)
hotkeys.c:438: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:438: error: 'Mod1Mask' undeclared (first use in this function)
hotkeys.c:440: error: 'HotkeyEntry' has no member named 'mod'
hotkeys.c:440: error: 'Mod4Mask' undeclared (first use in this function)
hotkeys.c: In function 'plugin_unload':
hotkeys.c:454: error: 'struct <anonymous>' has no member named 'enable'
hotkeys.c: In function 'plugin_config_frame':
hotkeys.c:485: error: 'struct <anonymous>' has no member named 'enable'
hotkeys.c:495: error: 'struct <anonymous>' has no member named 'code'
hotkeys.c:497: error: 'struct <anonymous>' has no member named 'mod'
hotkeys.c:497: error: 'ControlMask' undeclared (first use in this function)
hotkeys.c:499: error: 'struct <anonymous>' has no member named 'mod'
hotkeys.c:499: error: 'Mod1Mask' undeclared (first use in this function)
hotkeys.c:501: error: 'struct <anonymous>' has no member named 'mod'
hotkeys.c:501: error: 'ShiftMask' undeclared (first use in this function)
hotkeys.c:503: error: 'struct <anonymous>' has no member named 'mod'
hotkeys.c:503: error: 'Mod4Mask' undeclared (first use in this function)
make[2]: *** [hotkeys.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-plugins/pidgin-hotkeys-0.2.3/work/pidgin-hotkeys-0.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-plugins/pidgin-hotkeys-0.2.3/work/pidgin-hotkeys-0.2.3'
make: *** [all] Error 2
Comment 1 Morten Cools 2007-09-22 19:52:08 UTC
emerge --info:

Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2400+
Timestamp of tree: Sat, 22 Sep 2007 00:50:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT_MASK="/etc/X11/xinit/xinit.d /etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS="nb no nl en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups curl curlwrappers dbus dri dvd dvdr dvdread eds emboss encode esd evo exif expat fam ffmpeg firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk-html gtk2 hal iconv ipv6 isdnlog jack java jdbc jpeg kde kerberos keyring ldap libnotify lm_sensors lzo mad midi mikmod mmx mmxext motif mp3 mpeg mudflap mysql ncurses nforce2 nls nptl nptlonly nsplugin nvidia odbc offensive ogg openct opengl openmp oss pam pcre pcsc-lite pdf perl php png pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba scanner sdl session smartcard spell spl sse ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vim-syntax vorbis win32codecs wma wmf x86 xml xorg xsl xv xvid zip 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="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb no nl en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-10-26 01:58:40 UTC
Can you show more of the log... there is something very strange on your system.. 
Do you have x11-proto/xproto installed ?
Comment 3 Morten Cools 2007-10-26 17:02:16 UTC
No, sorry.... The log was gone, and when I tried to re-emerge today, it worked without a hitch. And yes, xproto is installed, and was installed when the build failed.
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2007-10-27 18:26:19 UTC
seems like its not reproduceable anymore