Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43264 - xscreensaver 1.5 fails to build with kerberos
Summary: xscreensaver 1.5 fails to build with kerberos
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 43293 43445 43731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-29 02:25 UTC by Alex Vandiver
Modified: 2004-07-23 22:42 UTC (History)
5 users (show)

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


Attachments
xscreensaver patch (xscreensaver-4.15-tktfile.patch,512 bytes, patch)
2004-02-29 02:27 UTC, Alex Vandiver
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Vandiver 2004-02-29 02:25:38 UTC
xscreensaver fails while building, due to what appears to be a typo in driver/passwd-kerberos.c; 'newtktfile' is referenced instead of 'newtkfile' several times.

Reproducible: Always
Steps to Reproduce:
1. USE="kerberos" emerge =x11-misc/xscreensaver-4.15
Comment 1 Alex Vandiver 2004-02-29 02:27:47 UTC
Created attachment 26569 [details, diff]
xscreensaver patch

Replaces occurances of newtktfile with newtkfile; note that while this is most
probably what was intended, I am not wholly certain of it, as kerberos is a
testy and obscure beast.
Comment 2 Aaron Peterson 2004-03-01 02:05:30 UTC
How do I apply the patch?

find / -iname 'passwd-kerberos.c'
didn't find anything on my system... and I believe it all gets unpacked on next emerge of it.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-03-01 02:15:06 UTC
*** Bug 43293 has been marked as a duplicate of this bug. ***
Comment 4 Derek Berube 2004-03-01 19:24:16 UTC
I downloaded the patch file xscreensaver-4.1.5-tkfile.patch and placed it in the /usr/portage/x11-misc/xscreensaver/files directory.

I then modified line 78 of the xscreensaver-4.15.ebuild file which was blank and added the following: 

EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-4.15-tkfile.patch

After doing that, I was able to emerge xscreensaver without a problem.
Comment 5 Sven Blumenstein (RETIRED) gentoo-dev 2004-03-01 23:53:21 UTC
*** Bug 43445 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-03-04 20:54:39 UTC
*** Bug 43731 has been marked as a duplicate of this bug. ***
Comment 7 Drakos7 /Greg Wilson/ 2004-03-29 08:00:55 UTC
The patch works successfully for me.

One note: I know this is dumb, but make sure you have the patch file named the same as the addition to the ebuild. Saving the attachment by default is xscreensaver-4.15-tktfile.patch, whereas comment #4 uses "tkfile" (missing the 't'). Took my addled brain a while to see it.
Comment 8 psk 2004-04-06 12:04:47 UTC
Worked for me too.
Thx a lot for patch and explanations.
Regards,

Philippe
Comment 9 Donald R. Gray Jr 2004-06-04 07:26:26 UTC
Working here as well, is there any reason this patch has not made it into the portage ebuild yet?
Comment 10 Drakos7 /Greg Wilson/ 2004-06-08 10:10:07 UTC
Well, considering 4.16 is out now (Bug # 50936) it does not matter too much that 4.15 missed portage.
Comment 11 Aaron Peterson 2004-06-08 11:08:24 UTC
close?

I think I have xscreensaver working now... but it's 4.15
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2004-07-23 22:42:35 UTC
fixed in 4.16, in portage now. sorry for the huge delay.