Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76366 - login-app built fails
Summary: login-app built fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
: 86431 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-01 18:56 UTC by Dirk Olmes
Modified: 2005-06-17 13:39 UTC (History)
4 users (show)

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


Attachments
Patch to fix login-app for the new windowmaker version (login-app-windowmaker.patch,737 bytes, patch)
2005-01-19 02:28 UTC, Gunnar Wrobel (RETIRED)
Details | Diff
Modified ebuild for the windowmaker patch (login-app-2.0.0_alpha7.ebuild,1.00 KB, text/plain)
2005-01-19 02:29 UTC, Gunnar Wrobel (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Olmes 2005-01-01 18:56:37 UTC
compile fails with compiler errors

Reproducible: Always
Steps to Reproduce:
1. emerge login-app

Actual Results:  
compile log:

>>> emerge (2 of 2) x11-misc/login-app-2.0.0_alpha7 to /
>>> md5 src_uri ;-) Login.app-2.0.0-Alpha-7.tar.gz
>>> Unpacking source...
>>> Unpacking Login.app-2.0.0-Alpha-7.tar.gz to /var/tmp/portage/login-app-2.0.0_alpha7/work
>>> Source unpacked.
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
main.o main.c
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
preferences.o preferences.c
In file included from preferences.c:25:
preferences.h:55:49: warning: C++ style comments are not allowed in ISO C90
preferences.h:55:49: warning: (this will be reported only once per input file)
In file included from panel.h:25,
                 from main.c:24:
preferences.h:55:49: warning: C++ style comments are not allowed in ISO C90
preferences.h:55:49: warning: (this will be reported only once per input file)
main.c: In function `main':
main.c:66: warning: implicit declaration of function `strcmp'
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
resources.o resources.c
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
switchuser.o switchuser.c
switchuser.c:128:33: warning: C++ style comments are not allowed in ISO C90
switchuser.c:128:33: warning: (this will be reported only once per input file)
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
panel.o panel.c
In file included from resources.c:25:
preferences.h:55:49: warning: C++ style comments are not allowed in ISO C90
preferences.h:55:49: warning: (this will be reported only once per input file)
In file included from panel.c:33:
preferences.h:55:49: warning: C++ style comments are not allowed in ISO C90
preferences.h:55:49: warning: (this will be reported only once per input file)
panel.c: In function `destroyPanel':
panel.c:308: warning: implicit declaration of function `RDestroyImage'
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
graphics.o graphics.c
panel.c:727:10: warning: C++ style comments are not allowed in ISO C90
panel.c:727:10: warning: (this will be reported only once per input file)
cc -g -Wall -pedantic -D_GNU_SOURCE `get-wraster-flags --cflags` -DSHADOW_PASSWD   -c -o 
util.o util.c
In file included from panel.h:25,
                 from graphics.c:25:
preferences.h:55:49: warning: C++ style comments are not allowed in ISO C90
preferences.h:55:49: warning: (this will be reported only once per input file)
graphics.c: In function `setCombinedWindowImage':
graphics.c:76: warning: implicit declaration of function `RDestroyImage'
graphics.c: In function `drawText':
graphics.c:89: warning: implicit declaration of function `strlen'
cc -o Login main.o preferences.o resources.o switchuser.o panel.o graphics.o util.o `get-wraster-
flags --ldflags` `get-wraster-flags --libs` -lXmu -lPropList -lcrypt
panel.o(.text+0x7cf): In function `destroyPanel':
/var/tmp/portage/login-app-2.0.0_alpha7/work/Login.app-2.0.0-Alpha-7/panel.c:308: undefined 
reference to `RDestroyImage'
graphics.o(.text+0x1c3): In function `setCombinedWindowImage':
/var/tmp/portage/login-app-2.0.0_alpha7/work/Login.app-2.0.0-Alpha-7/graphics.c:76: undefined 
reference to `RDestroyImage'
collect2: ld returned 1 exit status
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2005-01-19 02:27:11 UTC
A function in the wrlib library of windowmaker has been renamed (http://cvs.windowmaker.org/co.php/wm/wrlib/NEWS). A small patch is necessary to fix login-app (http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2004-October/044429.html).
The problem also applies to the latest tar-archive that I found on the homepage of the author (http://largo.windowmaker.org/files/Login.app/Login.app-2.1.0-Alpha-3.tar.gz)

I attached the patch and a working ebuild.
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2005-01-19 02:28:20 UTC
Created attachment 48925 [details, diff]
Patch to fix login-app for the new windowmaker version
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2005-01-19 02:29:00 UTC
Created attachment 48926 [details]
Modified ebuild for the windowmaker patch
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-23 16:03:27 UTC
*** Bug 86431 has been marked as a duplicate of this bug. ***
Comment 5 Jonathan Smith (RETIRED) gentoo-dev 2005-06-17 11:04:48 UTC
according to http://largo.windowmaker.org/Login.app/downloads.php, a new
(stable?) version of the 2.1.x line will be released within 24 hours. i will
wait for that before committing. if the problem still exists, then i will apply
your patch to the new version and make it a bump at the same time
Comment 6 Armando Di Cianno (RETIRED) gentoo-dev 2005-06-17 13:12:18 UTC
just an fyi, that page also states:
"Last modified: Wednesday, July 17, 8:34:42AM PST, 2002."

IIRC, that '24 hours' message has been there for a long, long time.
Comment 7 Jonathan Smith (RETIRED) gentoo-dev 2005-06-17 13:23:12 UTC
(In reply to comment #6)
> just an fyi, that page also states:
> "Last modified: Wednesday, July 17, 8:34:42AM PST, 2002."
> 
> IIRC, that '24 hours' message has been there for a long, long time.

right you are... sorry, i did a quick scan, and saw the "17" and thought it was
today...
Comment 8 Jonathan Smith (RETIRED) gentoo-dev 2005-06-17 13:39:10 UTC
fixed in cvs... thanks