Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171621 - dev-scheme/drscheme-360-r1 has some problems on AMD64
Summary: dev-scheme/drscheme-360-r1 has some problems on AMD64
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL: http://bugs.plt-scheme.org/query/?cmd...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 21:26 UTC by David Leverton
Modified: 2007-06-14 19:54 UTC (History)
1 user (show)

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


Attachments
drscheme-360-amd64.patch (drscheme-360-amd64.patch,2.03 KB, patch)
2007-03-20 21:27 UTC, David Leverton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Leverton 2007-03-20 21:26:50 UTC
DrScheme has (at least) two 64-bit related bugs.

1) Window manager hints are set incorrectly, for example, the main window of the plt-games program does not have any window borders.

2) The foreign function interface converts integers incorrectly, for example, in the "Gobblet" game, it is impossible to drag the pieces.  It prints many messages like "Scheme->C: expects argument of type <uint32>; given 2959577344" (with different numbers) to the console.

The attached patch fixes both these issues.
Comment 1 David Leverton 2007-03-20 21:27:43 UTC
Created attachment 113926 [details, diff]
drscheme-360-amd64.patch
Comment 2 Daniel Fort 2007-03-25 22:36:26 UTC
I applied the patch but am still getting:

setup-plt: Error during Early Install for Plot library (/var/tmp/portage/dev-scheme/drscheme-360-r1/image/usr/lib64/plt/collec
ts/plot)
setup-plt:   link-extension: command failed
make: *** [install] Error 1
Comment 3 David Leverton 2007-03-25 23:25:01 UTC
(In reply to comment #2)
> I applied the patch but am still getting:

That's a different issue, the patch only fixes runtime bugs, not build failures.
Comment 4 Marijn Schouten (RETIRED) gentoo-dev 2007-06-12 15:04:24 UTC
have you sent this patch upstream?
Comment 5 David Leverton 2007-06-12 15:22:12 UTC
(In reply to comment #4)
> have you sent this patch upstream?
> 

No, I thought the policy was to report bugs here and let the devs go upstream if appropriate.  Has that changed?  I've been asked that a lot recently.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2007-06-14 17:58:17 UTC
(In reply to comment #5)
> No, I thought the policy was to report bugs here and let the devs go upstream
> if appropriate.  Has that changed?  I've been asked that a lot recently.

It is customary to report bugs here first, cause it might be Gentoo's problem. But if you are already sure it is an upstream problem, then you should just go straight to upstream. This goes double if you have a patch that you want upstream to apply. They are the best judge of such things.
Comment 7 David Leverton 2007-06-14 19:54:52 UTC
(In reply to comment #6)
> But if you are already sure it is an upstream problem, then you should just go
> straight to upstream. This goes double if you have a patch that you want
> upstream to apply. They are the best judge of such things.

Fair enough.  Upstream report is at http://bugs.plt-scheme.org/query/?cmd=view&pr=8744