Hotkeys, which compiled with the previous version of xosd, (probably 0.70) does not compile against the new version. Here's how I discovered this: Installed hotkeys, xosd a while ago Worked Recently upgraded xmms-xosd and xosd together Noticed that hotkeys OSD no longer worked Tried to re-emerge hotkeys Failed with following: hotkeys.c: In function `initXOSD': hotkeys.c:1418: too few arguments to function `xosd_init' hotkeys.c: In function `main': hotkeys.c:1500: warning: passing arg 1 of `initializeX' from incompatible pointer type hotkeys.c:1538: warning: passing arg 3 of `pthread_create' from incompatible pointer type make[2]: *** [hotkeys.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-misc/hotkeys/hotkeys-0.5.4.ebuild . Right now the only fix I can suggest is downgrading to hotkeys 0.70.
Apologies, obviously I meant xosd 0.7.0, not 0.70
Please try to compile against the new xosd 1.0.2.
The ebuild still fails with xosd 1.0.2 (using hotkeys 0.5.4) In fact, it would seem to be the same error. Output below: hotkeys.c: In function `initXOSD': hotkeys.c:1418: too few arguments to function `xosd_init' hotkeys.c: In function `main': hotkeys.c:1500: warning: passing arg 1 of `initializeX' from incompatible pointer type hotkeys.c:1538: warning: passing arg 3 of `pthread_create' from incompatible pointer type make[2]: *** [hotkeys.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-misc/hotkeys/hotkeys-0.5.4.ebuild .
Could you try removing /var/tmp/portage/hotkeys-0.5.4/ before emerging hotkeys so we are sure we get a completley new build of the package.
Still fails.It seems that the 1.0 series of xosd broke some backwards compatibility, as this doesn't seem to be a hotkeys problem. Also, this was from a fresh copy of source for hotkeys 0.5.4 -- there was no such directory in /var/tmp/portage prior to this emerge. Errors (same as BOTH above) follows: hotkeys.c: In function `initXOSD': hotkeys.c:1418: too few arguments to function `xosd_init' hotkeys.c: In function `main': hotkeys.c:1500: warning: passing arg 1 of `initializeX' from incompatible pointer type hotkeys.c:1538: warning: passing arg 3 of `pthread_create' from incompatible pointer type make[2]: *** [hotkeys.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4' make: *** [all-recursive-am] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 5, Exitcode 2 !!! (no error message)
What CFLAGS and CXXFLAGS are you using?
CFLAGS="-O2 -mcpu=i686 -pipe" CXXFLAGS=${CFLAGS}
This is very strange. On my system hotkeys compiles on every gcc version I have, even with your CFLAGS. Could you try to change emake to make in the ebuild and try to compile again.
After rm -r'ing the /var/tmp/portage/hotkeys-0.5.4 directory, ensuring my CFLAGS were as reported, and even going so far as to remove the tarball from /usr/portage/distfiles, to grab a new copy from source, and changing emake to make in the ebuild, it still does not compile, exiting with the same errors as above.
Ive commited a masked hotkeys-0.5.5 ebuild. This version should fix your problems with the compile errors. Please test.
Mike, is this version working?
Well, it *might* work : ) -- although it appears the source isn't available. Calculating dependencies ...done! >>> emerge x11-misc/hotkeys-0.5.5 to / >>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/hotkeys-0.5.5.tar.bz2 --12:32:58-- http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/hotkeys-0.5.5.tar.bz2 => `/usr/portage/distfiles/hotkeys-0.5.5.tar.bz2' Resolving www.ibiblio.org... done. Connecting to www.ibiblio.org[152.2.210.81]:80... connected. HTTP request sent, awaiting response... 404 Not Found 12:32:58 ERROR 404: Not Found. >>> Downloading http://ypwong.org/hotkeys/hotkeys-0.5.5.tar.bz2 --12:32:58-- http://ypwong.org/hotkeys/hotkeys-0.5.5.tar.bz2 => `/usr/portage/distfiles/hotkeys-0.5.5.tar.bz2' Resolving ypwong.org... done. Connecting to ypwong.org[202.181.238.134]:80... connected. HTTP request sent, awaiting response... 404 Not Found 12:33:06 ERROR 404: Not Found. !!! Couldn't download hotkeys-0.5.5.tar.bz2. Aborting.
Sorry, forgot to upload the 0.5.5 version to ibiblio. Please try again.
Two things: The configure script is borked: checking for version of libxosd... < 0.7.0, failed *** The version of XOSD library installed is not 0.7.0 or *** above, make sure the correct version is installed. !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 6, Exitcode 1 !!! ./configure failed I would imagine it should be looking for libxosd > 0.7.0.... Also, the ebuild's dependencies need to be fixed: These are the packages that I would merge, in order. Calculating dependencies ...done! [ebuild U ] x11-libs/xosd-0.7.0 <------- This is wrong [ebuild U ] x11-misc/hotkeys-0.5.5
The version for xosd-0.7.0 is right. Since version 1.0 xosd changed something that made hotkeys incompatible with xosd. That's why hotkeys depends on 0.7.0. So be sure that xosd 0.7.0 is installed before xosd 1.0