Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 6687
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mike Styne <mike@sixthiteration.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 6687 depends on: Show dependency tree
Bug 6687 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-08-18 13:13 0000
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.

------- Comment #1 From Mike Styne 2002-08-18 13:16:07 0000 -------
Apologies, obviously I meant xosd 0.7.0, not 0.70

------- Comment #2 From Daniel Ahlberg (RETIRED) 2002-08-25 15:35:46 0000 -------
Please try to compile against the new xosd 1.0.2.

------- Comment #3 From Mike Styne 2002-08-25 20:47:54 0000 -------
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 .

------- Comment #4 From Daniel Ahlberg (RETIRED) 2002-09-01 09:35:32 0000 -------
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.

------- Comment #5 From Mike Styne 2002-09-01 10:49:11 0000 -------
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)

------- Comment #6 From Daniel Ahlberg (RETIRED) 2002-09-01 11:00:31 0000 -------
What CFLAGS and CXXFLAGS are you using?

------- Comment #7 From Mike Styne 2002-09-01 11:06:45 0000 -------
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=${CFLAGS}

------- Comment #8 From Daniel Ahlberg (RETIRED) 2002-09-01 11:30:00 0000 -------
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.

------- Comment #9 From Mike Styne 2002-09-01 11:43:04 0000 -------
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.

------- Comment #10 From Daniel Ahlberg (RETIRED) 2002-09-11 14:07:04 0000 -------
Ive commited a masked hotkeys-0.5.5 ebuild. This version should fix your
problems with the compile errors. Please test.

------- Comment #11 From Daniel Ahlberg (RETIRED) 2002-09-25 08:42:09 0000 -------
Mike, is this version working?

------- Comment #12 From Mike Styne 2002-09-25 11:40:41 0000 -------
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.

------- Comment #13 From Daniel Ahlberg (RETIRED) 2002-09-26 02:45:25 0000 -------
Sorry, forgot to upload the 0.5.5 version to ibiblio. Please try again.

------- Comment #14 From Mike Styne 2002-09-26 09:57:23 0000 -------
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



------- Comment #15 From Daniel Ahlberg (RETIRED) 2002-09-27 11:22:37 0000 -------
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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug