First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 130023
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mr. Bones. <mr_bones_@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dangerdeep-0.1.1.ebuild dangerdeep-0.1.1.ebuild text/plain Mr. Bones. 2006-04-14 23:49 0000 819 bytes Details
dangerdeep-0.1.1.ebuild games-simulation/dangerdeep-0.1.1.ebuild text/plain Cristiano Chiucchiolo 2006-04-17 11:53 0000 1.09 KB Details
dangerdeep-destdirs.patch files/dangerdeep-destdirs.patch patch Cristiano Chiucchiolo 2006-04-17 11:54 0000 1.34 KB Details | Diff
dangerdeep-0.1.1.ebuild dangerdeep-0.1.1.ebuild text/plain Tristan Heaven 2006-04-27 22:01 0000 1.20 KB Details
dangerdeep-0.1.1-build.patch dangerdeep-0.1.1-build.patch patch Tristan Heaven 2006-04-27 22:02 0000 1.07 KB Details | Diff
dangerdeep-0.1.1-build.patch dangerdeep-0.1.1-build.patch patch Tristan Heaven 2006-04-28 22:57 0000 1.11 KB Details | Diff
dangerdeep-0.1.1-build.patch dangerdeep-0.1.1-build.patch patch Tristan Heaven 2006-04-29 01:17 0000 640 bytes Details | Diff
dangerdeep-0.1.1.ebuild dangerdeep-0.1.1.ebuild text/plain Tristan Heaven 2006-08-22 23:18 0000 1.16 KB Details
dangerdeep-0.1.1-build.patch dangerdeep-0.1.1-build.patch patch Tristan Heaven 2006-08-22 23:18 0000 679 bytes Details | Diff
dangerdeep-0.2.0.ebuild dangerdeep-0.2.0.ebuild text/plain Matt Lawrence 2006-10-12 13:56 0000 1.27 KB Details
dangerdeep-0.2.0.ebuild Updated 0.2.0 ebuild text/plain Bernard Cafarelli 2006-10-13 01:21 0000 1.26 KB Details
dangerdeep-0.2.0-build.patch Build patch updated for 0.2.0 patch Bernard Cafarelli 2006-10-13 01:21 0000 694 bytes Details | Diff
ARTWORK_LICENSE dangerdeep-artwork license text/plain Matt Lawrence 2006-10-16 14:16 0000 874 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130023 depends on: Show dependency tree
Bug 130023 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: 2006-04-14 23:48 0000
Someone make this work.  Gives me sandbox violations from scons.

------- Comment #1 From Mr. Bones. 2006-04-14 23:49:04 0000 -------
Created an attachment (id=84686) [edit]
dangerdeep-0.1.1.ebuild

Not so working ebuild.

------- Comment #2 From Mr. Bones. 2006-04-16 16:17:52 0000 -------
*** Bug 130191 has been marked as a duplicate of this bug. ***

------- Comment #3 From Cristiano Chiucchiolo 2006-04-17 11:53:58 0000 -------
Created an attachment (id=84851) [edit]
games-simulation/dangerdeep-0.1.1-r1.ebuild

This new ebuild works perfectly on amd64. Can someone test it on x86?

------- Comment #4 From Cristiano Chiucchiolo 2006-04-17 11:54:28 0000 -------
Created an attachment (id=84852) [edit]
files/dangerdeep-destdirs.patch

------- Comment #5 From Mr. Bones. 2006-04-17 12:30:57 0000 -------
(From update of attachment 84851 [edit])
-r is for in-portage rev bumps

------- Comment #6 From Mr. Bones. 2006-04-17 12:32:55 0000 -------
Should dynamically replace the directories with the variables from games.eclass
(GAMES_BINDIR, GAMES_DATADIR...)

------- Comment #7 From Bernard Cafarelli 2006-04-22 03:28:51 0000 -------
Also, after reading http://ponto-dot.com/dftd/viewtopic.php?t=42, I suggest the
following src_compile() :

    if use amd64
    then
        USEX86SSE=3
    else
        if use sse
        then
            USEX86SSE=1
        else
            USEX86SSE=-1
        fi
    fi

    scons usex86sse=${USEX86SSE} || die "make failed"

and adding sse to the USE flags.

This will use asm sse optimizations on x86 when sse flag is set, and intrisics
ones by default for amd64 (since all amd64 have sse). According to the post,
the performance boost is quite nice ;)

------- Comment #8 From Norman Jonas 2006-04-22 03:42:55 0000 -------
I built it on amd64. I noticed that

- dangerdeep depends on media-libs/libsdl built with joystick
- I got some access violations caused by scons

I will post the actual ACCESS_VIOLATION when an update is there.

Other than that it builts and runs fine.

------- Comment #9 From Tristan Heaven 2006-04-27 22:01:37 0000 -------
Created an attachment (id=85635) [edit]
dangerdeep-0.1.1.ebuild

------- Comment #10 From Tristan Heaven 2006-04-27 22:02:41 0000 -------
Created an attachment (id=85636) [edit]
dangerdeep-0.1.1-build.patch

Respect flags and fix sandbox violations

------- Comment #11 From Thomas Beinicke 2006-04-28 12:00:06 0000 -------
I just tried the new ebuild but it failed with these errors:

 * Applying dangerdeep-0.1.1-build.patch ...                                   
                                                      [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dangerdeep-0.1.1/work/dangerdeep-0.1.1 ...
scons: Reading SConscript files ...
Compiling for Unix/Posix/Linux Environment
KeyError: 'LDFLAGS':
  File "SConstruct", line 180:
    env.Append(LINKFLAGS = os.environ['LDFLAGS'])
  File "/usr/lib64/python2.4/UserDict.py", line 17:
    def __getitem__(self, key): return self.data[key]

!!! ERROR: games-simulation/dangerdeep-0.1.1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  dangerdeep-0.1.1.ebuild, line 43:   Called die

!!! scons failed


I am running amd64 unstable.

------- Comment #12 From Thomas Beinicke 2006-04-28 13:20:53 0000 -------
Ok, I should have had a closer look.
I didn't have any LDFLAGS specified in my make.conf and that's why it failed.
So I added LDFLAGS in it and now it compiles.

------- Comment #13 From Tristan Heaven 2006-04-28 22:57:42 0000 -------
Created an attachment (id=85730) [edit]
dangerdeep-0.1.1-build.patch

You shouldn't have to have it set. Try this one...

------- Comment #14 From Thomas Beinicke 2006-04-28 23:40:43 0000 -------
It seems to work now, with and without settings the LDFLAGS.

Thank you :)

------- Comment #15 From Tristan Heaven 2006-04-29 01:17:03 0000 -------
Created an attachment (id=85740) [edit]
dangerdeep-0.1.1-build.patch

This is probably better. Sorry for spam.

------- Comment #16 From Mr. Bones. 2006-04-29 23:27:52 0000 -------
segfaults for me.

------- Comment #17 From Tristan Heaven 2006-08-22 23:18:07 0000 -------
Created an attachment (id=94911) [edit]
dangerdeep-0.1.1.ebuild

This doesn't really depend on boost.

------- Comment #18 From Tristan Heaven 2006-08-22 23:18:57 0000 -------
Created an attachment (id=94912) [edit]
dangerdeep-0.1.1-build.patch

Use the right compiler.

------- Comment #19 From Tristan Heaven 2006-09-29 05:31:32 0000 -------
*** Bug 110121 has been marked as a duplicate of this bug. ***

------- Comment #20 From Matt Lawrence 2006-10-12 13:56:47 0000 -------
Created an attachment (id=99472) [edit]
New ebuild

Version 0.2.0 ebuild only tested on ~amd64.
My first try at ebuilds so be gentle ;)

------- Comment #21 From Mr. Bones. 2006-10-12 14:36:07 0000 -------
addwrite /usr/include/GL:/usr/include/SDL:/usr/X11R6/lib is pretty evil.  Feel
like tracking down why that's needed and fixing it?

------- Comment #22 From Mr. Bones. 2006-10-12 17:27:37 0000 -------
Still cores for me right after trying to start a single mission:

0x806ce43 in dangerdeep at ??:0
0x804ebe2 in dangerdeep at ??:0
0xffffe420 in [0xffffe420] at ??:0
0xb7cfa876 in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cfb634 in fftwf_mkplan_dft_ct at ??:0
0xb7cfa9f5 in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf623d in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf6b9c in fftwf_mkplan_d at ??:0
0xb7cfe765 in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf623d in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf6b9c in fftwf_mkplan_d at ??:0
0xb7cfe765 in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf623d in /usr/lib/libfftw3f.so.3 at ??:0
0xb7cf6b9c in fftwf_mkplan_d at ??:0
0xb7cfb679 in fftwf_mkplan_dft_ct at ??:0
0xb7cfb425 in /usr/lib/libfftw3f.so.3 at ??:0

That's fftw-3.0.1-r2

------- Comment #23 From Matt Lawrence 2006-10-13 00:58:39 0000 -------
hrm, I'm using sci-libs/fftw-3.1.2, the addwrite is for scons, I'm not really
into python and such but I know it plays silly buggers with the sandbox and
that was the only way I could get it to work. If anyone knows a better way
around it ?

------- Comment #24 From Bernard Cafarelli 2006-10-13 01:19:47 0000 -------
The build patch from 0.1.1 ebuild solves the sandbox problems, adding it back
to 0.2.0 worked here. 
I also changed the logic for SSE use, since sse use flag is always filtered on
amd64 ans so cannot be enabled

No segfaults here either with unstable fftw, is one of them ready for
stabilizing to solve the problem?

------- Comment #25 From Bernard Cafarelli 2006-10-13 01:21:04 0000 -------
Created an attachment (id=99508) [edit]
Updated 0.2.0 ebuild

* Removed addwrite
* Added back build patch
* Changed sse logic

------- Comment #26 From Bernard Cafarelli 2006-10-13 01:21:34 0000 -------
Created an attachment (id=99509) [edit]
Build patch updated for 0.2.0

------- Comment #27 From Matt Lawrence 2006-10-14 16:03:28 0000 -------
Above patch and ebuild work perfectly for me on ~amd64

------- Comment #28 From Matt Lawrence 2006-10-16 14:16:22 0000 -------
Created an attachment (id=99829) [edit]
dangerdeep-artwork license

The license that the artwork is distributed under, it is included in the data
zip, put here for easy of access.

------- Comment #29 From Renato Caldas 2006-12-15 09:06:08 0000 -------
The ebuild is working perfectly here.

Please put it in portage..

------- Comment #30 From Mr. Bones. 2007-01-03 20:39:18 0000 -------
In portage.

First Last Prev Next    No search results available      Search page      Enter new bug