<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>6687</bug_id>
          
          <creation_ts>2002-08-18 13:13 0000</creation_ts>
          <short_desc>Hotkeys 0.5.4 fails using xosd 1.0.0-r1 and 1.0.2</short_desc>
          <delta_ts>2003-02-04 19:42:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mike@sixthiteration.org</reporter>
          <assigned_to>aliz@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-08-18 13:13:58 0000</bug_when>
            <thetext>Hotkeys, which compiled with the previous version of xosd, (probably 0.70) does
not compile against the new version. Here&apos;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&apos;:
hotkeys.c:1418: too few arguments to function `xosd_init&apos;
hotkeys.c: In function `main&apos;:
hotkeys.c:1500: warning: passing arg 1 of `initializeX&apos; from incompatible
pointer type
hotkeys.c:1538: warning: passing arg 3 of `pthread_create&apos; 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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4&apos;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-08-18 13:16:07 0000</bug_when>
            <thetext>Apologies, obviously I meant xosd 0.7.0, not 0.70</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-08-25 15:35:46 0000</bug_when>
            <thetext>Please try to compile against the new xosd 1.0.2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-08-25 20:47:54 0000</bug_when>
            <thetext>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&apos;:
hotkeys.c:1418: too few arguments to function `xosd_init&apos;
hotkeys.c: In function `main&apos;:
hotkeys.c:1500: warning: passing arg 1 of `initializeX&apos; from incompatible
pointer type
hotkeys.c:1538: warning: passing arg 3 of `pthread_create&apos; 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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4&apos;
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 .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-01 09:35:32 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-09-01 10:49:11 0000</bug_when>
            <thetext>Still fails.It seems that the 1.0 series of xosd broke some backwards
compatibility, as this doesn&apos;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&apos;:
hotkeys.c:1418: too few arguments to function `xosd_init&apos;
hotkeys.c: In function `main&apos;:
hotkeys.c:1500: warning: passing arg 1 of `initializeX&apos; from incompatible
pointer type
hotkeys.c:1538: warning: passing arg 3 of `pthread_create&apos; 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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hotkeys-0.5.4/work/hotkeys-0.5.4&apos;
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 5, Exitcode 2
!!! (no error message)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-01 11:00:31 0000</bug_when>
            <thetext>What CFLAGS and CXXFLAGS are you using?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-09-01 11:06:45 0000</bug_when>
            <thetext>CFLAGS=&quot;-O2 -mcpu=i686 -pipe&quot;
CXXFLAGS=${CFLAGS}</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-01 11:30:00 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-09-01 11:43:04 0000</bug_when>
            <thetext>After rm -r&apos;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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-11 14:07:04 0000</bug_when>
            <thetext>Ive commited a masked hotkeys-0.5.5 ebuild. This version should fix your
problems with the compile errors. Please test.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-25 08:42:09 0000</bug_when>
            <thetext>Mike, is this version working?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-09-25 11:40:41 0000</bug_when>
            <thetext>Well, it *might* work : ) -- although it appears the source isn&apos;t available.


Calculating dependencies ...done!
&gt;&gt;&gt; emerge x11-misc/hotkeys-0.5.5 to /
&gt;&gt;&gt; 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
           =&gt; `/usr/portage/distfiles/hotkeys-0.5.5.tar.bz2&apos;
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.

&gt;&gt;&gt; Downloading http://ypwong.org/hotkeys/hotkeys-0.5.5.tar.bz2
--12:32:58--  http://ypwong.org/hotkeys/hotkeys-0.5.5.tar.bz2
           =&gt; `/usr/portage/distfiles/hotkeys-0.5.5.tar.bz2&apos;
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&apos;t download hotkeys-0.5.5.tar.bz2. Aborting.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-26 02:45:25 0000</bug_when>
            <thetext>Sorry, forgot to upload the 0.5.5 version to ibiblio. Please try again.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mike@sixthiteration.org</who>
            <bug_when>2002-09-26 09:57:23 0000</bug_when>
            <thetext>Two things:

The configure script is borked:
checking for version of libxosd... &lt; 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 &gt; 0.7.0....


Also, the ebuild&apos;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   &lt;------- This is wrong
[ebuild    U ] x11-misc/hotkeys-0.5.5


</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aliz@gentoo.org</who>
            <bug_when>2002-09-27 11:22:37 0000</bug_when>
            <thetext>The version for xosd-0.7.0 is right. Since version 1.0 xosd changed something
that made hotkeys incompatible with xosd. That&apos;s why hotkeys depends on 0.7.0.
So be sure that xosd 0.7.0 is installed before xosd 1.0</thetext>
          </long_desc>
      
    </bug>

</bugzilla>