Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176751 - sooperlooper-1.1.0 fails to compile
Summary: sooperlooper-1.1.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-02 00:49 UTC by JTRiley
Modified: 2007-05-07 01:37 UTC (History)
2 users (show)

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


Attachments
build.log from sooperlooper-1.1.0 failure (build.log,79.41 KB, text/plain)
2007-05-02 00:51 UTC, JTRiley
Details
emerge info at the time of compile (emerge.info,4.91 KB, text/plain)
2007-05-02 00:52 UTC, JTRiley
Details
amd64-patch for 1.0.8c (sooperlooper-amd64.patch,873 bytes, patch)
2007-05-06 18:23 UTC, Klaus Zimmermann
Details | Diff
sooperlooper-1.1.0-amd64.patch (sooperlooper-1.1.0-amd64.patch,905 bytes, patch)
2007-05-07 01:37 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description JTRiley 2007-05-02 00:49:44 UTC
media-sound/sooperlooper-1.1.0 fails to compile on amd64 using 2006.1 profile from what seems to be an issue with wxGTK.  I'm currently running an ~amd64 system with x11-libs/wxGTK-2.6.3.3 .  Attached is my build.log and emerge-info.
Comment 1 JTRiley 2007-05-02 00:51:05 UTC
Created attachment 117916 [details]
build.log from sooperlooper-1.1.0 failure
Comment 2 JTRiley 2007-05-02 00:52:30 UTC
Created attachment 117918 [details]
emerge info at the time of compile
Comment 3 Klaus Zimmermann 2007-05-06 18:20:43 UTC
This is an upstream bug related to the creative use of pointer variables.
The problem is, that the author uses pointers reserved in wx structures
for the passing of arbitrary data to pass integers immediately.
Then on 64 the casts break because pointer and integer size don't match anymore.

I made a patch for 1.0.8c which somehow solves this. However it is ugly and may even break x86. I'll attach it anyway for reference.

Unfortunately I don't have time to do it right. :(
Comment 4 Klaus Zimmermann 2007-05-06 18:23:10 UTC
Created attachment 118371 [details, diff]
amd64-patch for 1.0.8c

This makes sooperlooper-1.0.8c work on amd64.
It is practically untested, but served a couple of testing runs fine.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-05-07 01:37:24 UTC
Created attachment 118397 [details, diff]
sooperlooper-1.1.0-amd64.patch

funny we haven't seen this until now.  i've applied the following patch to cast to long instead.  thanks :D