Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141626 - Version bump - games-emulation/pcsx2-0.9.6
Summary: Version bump - games-emulation/pcsx2-0.9.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement with 5 votes (vote)
Assignee: Gentoo Games
URL: http://www.pcsx2.net/
Whiteboard:
Keywords: PMASKED
: 351282 (view as bug list)
Depends on: 188554 188556 188561 188563 188566 211744 211839 211842 188557 211837 262414 262477 262484
Blocks: 153668
  Show dependency tree
 
Reported: 2006-07-24 14:01 UTC by Karol
Modified: 2015-08-13 17:44 UTC (History)
36 users (show)

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


Attachments
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,2.95 KB, text/plain)
2007-06-01 23:23 UTC, Daniel Ferreira
Details
pcsx2 user data dir script (pcsx2,1014 bytes, text/plain)
2007-06-01 23:27 UTC, Daniel Ferreira
Details
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,3.26 KB, text/plain)
2007-08-07 10:17 UTC, Russell Harmon
Details
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,3.91 KB, patch)
2007-08-08 06:08 UTC, Russell Harmon
Details | Diff
pcsx2 (pcsx2,887 bytes, text/plain)
2007-08-08 06:09 UTC, Russell Harmon
Details
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,3.90 KB, text/plain)
2007-08-09 05:12 UTC, Russell Harmon
Details
pcsx2 - Launcher Script (pcsx2,829 bytes, text/plain)
2007-08-09 05:12 UTC, Russell Harmon
Details
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,4.73 KB, text/plain)
2007-08-12 10:37 UTC, Russell Harmon
Details
pcsx2-0.9.3-custom-cflags.patch (pcsx2-0.9.3-custom-cflags.patch,597 bytes, patch)
2007-08-12 10:38 UTC, Russell Harmon
Details | Diff
pcsx2 (pcsx2,2.05 KB, text/plain)
2007-08-12 10:38 UTC, Russell Harmon
Details
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,4.84 KB, text/plain)
2007-08-20 07:49 UTC, Russell Harmon
Details
pcsx2-0.9.3-add-nls.patch (pcsx2-0.9.3-add-nls.patch,711 bytes, patch)
2007-08-20 07:49 UTC, Russell Harmon
Details | Diff
pcsx2-0.9.3-custom-cflags.patch (pcsx2-0.9.3-custom-cflags.patch,925 bytes, patch)
2007-08-20 07:50 UTC, Russell Harmon
Details | Diff
pcsx2-0.9.3-fix-without-devbuild.patch (pcsx2-0.9.3-fix-without-devbuild.patch,7.14 KB, patch)
2007-08-20 07:50 UTC, Russell Harmon
Details | Diff
pcsx2-0.9.3.ebuild (pcsx2-0.9.3.ebuild,4.79 KB, text/plain)
2007-08-22 02:00 UTC, Russell Harmon
Details
pcsx2 (pcsx2,2.04 KB, text/plain)
2007-08-22 02:01 UTC, Russell Harmon
Details
pcsx2 (pcsx2,2.33 KB, text/plain)
2007-08-22 10:03 UTC, Russell Harmon
Details
pcsx2 (pcsx2,2.49 KB, text/plain)
2007-08-22 12:19 UTC, Russell Harmon
Details
pcsx2 (pcsx2,2.74 KB, text/plain)
2007-08-23 05:14 UTC, Russell Harmon
Details
pcsx2 (pcsx2,3.27 KB, text/plain)
2007-08-23 05:16 UTC, Russell Harmon
Details
pcsx2 (pcsx2,3.07 KB, text/plain)
2007-08-23 06:30 UTC, Russell Harmon
Details
pcsx2-0.9.4.ebuild (pcsx2-0.9.4.ebuild,3.71 KB, text/plain)
2008-02-28 00:02 UTC, James Le Cuirot
Details
pcsx2-0.9.4-add-nls.patch (pcsx2-0.9.4-add-nls.patch,708 bytes, patch)
2008-02-28 00:03 UTC, James Le Cuirot
Details | Diff
pcsx2-0.9.4-custom-cflags.patch (pcsx2-0.9.4-custom-cflags.patch,773 bytes, patch)
2008-02-28 00:03 UTC, James Le Cuirot
Details | Diff
pcsx2-0.9.4-plugin-inis.patch (pcsx2-0.9.4-plugin-inis.patch,630 bytes, patch)
2008-02-28 00:03 UTC, James Le Cuirot
Details | Diff
pcsx2 (pcsx2,242 bytes, text/plain)
2008-02-28 00:04 UTC, James Le Cuirot
Details
pcsx2-0.9.4.ebuild (pcsx2-0.9.4.ebuild,3.63 KB, text/plain)
2008-03-01 11:49 UTC, James Le Cuirot
Details
pcsx2-0.9.4.ebuild (pcsx2-0.9.4.ebuild,3.34 KB, text/plain)
2008-03-02 18:36 UTC, James Le Cuirot
Details
pcsx2-0.9.4-add-nls.patch (pcsx2-0.9.4-add-nls.patch,708 bytes, text/plain)
2008-03-02 18:36 UTC, James Le Cuirot
Details
pcsx2-0.9.4-custom-cflags.patch (pcsx2-0.9.4-custom-cflags.patch,841 bytes, text/plain)
2008-03-02 18:37 UTC, James Le Cuirot
Details
pcsx2-0.9.4-plugin-inis.patch (pcsx2-0.9.4-plugin-inis.patch,630 bytes, text/plain)
2008-03-02 18:37 UTC, James Le Cuirot
Details
Fixes compilation with gcc 4.3 (pcsx2-gcc43.patch,274 bytes, patch)
2008-06-03 15:43 UTC, Michał Ziąbkowski
Details | Diff
pcsx2-0.9.4.ebuild (pcsx2-0.9.4.ebuild,3.35 KB, text/plain)
2008-06-06 02:28 UTC, Russell Harmon
Details
pcsx2-9999.ebuild (pcsx2-9999.ebuild,3.54 KB, text/plain)
2008-06-10 04:07 UTC, Russell Harmon
Details
pcsx2-0.9.4.ebuild (pcsx2-0.9.4.ebuild,3.39 KB, text/plain)
2008-06-10 04:07 UTC, Russell Harmon
Details
pcsx2-add-nls.patch (pcsx2-add-nls.patch,708 bytes, patch)
2008-06-10 04:08 UTC, Russell Harmon
Details | Diff
pcsx2-custom-cflags.patch (pcsx2-custom-cflags.patch,841 bytes, patch)
2008-06-10 04:08 UTC, Russell Harmon
Details | Diff
pcsx2-plugin-inis.patch (pcsx2-plugin-inis.patch,630 bytes, patch)
2008-06-10 04:09 UTC, Russell Harmon
Details | Diff
build.log of incompatible libgio-2.0.so (build.log,191.20 KB, text/plain)
2009-03-09 16:34 UTC, Dennis Schridde
Details
another lgio issue. (I think) (build.log,188.22 KB, text/plain)
2009-03-10 22:35 UTC, Daniel Douglas
Details
Build.log gzip format (build.log.gz,2.23 KB, application/octet-stream)
2009-05-18 21:49 UTC, Marcelo Borges Ribeiro
Details
Another faulty building (build_error.log.gz,8.25 KB, application/octet-stream)
2009-05-21 23:00 UTC, Marcelo Borges Ribeiro
Details
games-emulation/pcsx2/pcsx2-9999.ebuild (pcsx2-9999.ebuild,2.27 KB, text/plain)
2011-10-28 15:00 UTC, Account removed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karol 2006-07-24 14:01:45 UTC
There is a new version of PS2 emulator available at homepage (in URL).
I would like to see how it is working under linux.
As I don't know how to make ebuilds myself I'm writing this request ;-).

PS sory for my English.

And one more time the Url for the site (source code is available in the download section)
http://www.pcsx2.net/
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-24 14:35:40 UTC
Please, don't restrict bugs without any reason.
Comment 2 Bernd Buschinski 2006-11-18 15:24:23 UTC
version 0.9.2 is already out
but no http/ftp download source yet
just svn/cvs
Comment 3 Arne Babenhauserheide 2006-12-04 08:35:12 UTC
Link to the source: http://www.pcsx2.net/files/7509
Comment 4 Sander Brabander 2006-12-07 04:28:25 UTC
Any update on the ebuild for this new version ? I think more people can't wait to see this new version in portage :)
Comment 5 Sawk 2006-12-10 14:33:52 UTC
I'm waiting for too...
Comment 6 Kenneth Perry 2007-04-02 18:38:06 UTC
New version of pcsx (0.9.3) is made specificially for linux. The binaries work for me, though i havent gotten the source to compile yet.
Comment 7 Txukie 2007-04-04 09:39:06 UTC
You need to give exec rights to all files build.sh

I've done it with these commands

for file in `find * |grep build.sh`; do chmod +x $file; do
chmod +x $file
done

Then try building with 

sh build.sh all

Worked for me
Comment 8 Kenneth Perry 2007-04-04 12:05:58 UTC
ah thanks : that did it :)
Comment 9 CarloJekko 2007-04-12 09:11:36 UTC
(In reply to comment #7)
> You need to give exec rights to all files build.sh
> 
> I've done it with these commands
> 
> for file in `find * |grep build.sh`; do chmod +x $file; do
> chmod +x $file
> done
> 
> Then try building with 
> 
> sh build.sh all
> 
> Worked for me
> 

Is the same thing to do  : chmod -R +x *
 in the pcsx2 directory??
Comment 10 Nico R. Wohlgemuth 2007-04-21 16:58:16 UTC
I would be happy if pcsx2-0.9.3 were in portage, maybe you will all pcsx2-0.9.3 and pcsx2-0.9.3-bin.
Comment 11 Matteo Azzali (RETIRED) gentoo-dev 2007-04-27 13:23:07 UTC
You can adapt an ebuild from http://forums.ngemu.com/pcsx2-official-forum/87961-0-9-3-subversion-ebuild.html ,
but being distributed as .7z I doubt that it'll be ever inserted in portage...
(no .7z, no .rar, no .ace or cracky .uhl ends in portage)
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2007-04-27 23:26:50 UTC
hmm?  there's no restrictions on archives.  unpack() natively supports 7z and rar.  anything else can be handled manually.
Comment 13 Arne Babenhauserheide 2007-05-02 00:15:54 UTC
Would it be possible to put the new ebuild into a layman overlay? 

That way it would reach far more people, and the portage staff wouldn't have to include 7z. 
Comment 14 Daniel Ferreira 2007-06-01 22:12:34 UTC
(In reply to comment #11)
> You can adapt an ebuild from
> http://forums.ngemu.com/pcsx2-official-forum/87961-0-9-3-subversion-ebuild.html
> ,
> but being distributed as .7z I doubt that it'll be ever inserted in portage...
> (no .7z, no .rar, no .ace or cracky .uhl ends in portage)
> 

0.8.1 is packaged in 7z and is in Portage so I think packaging isn't a problem
Comment 15 Daniel Ferreira 2007-06-01 23:23:08 UTC
Created attachment 120908 [details]
pcsx2-0.9.3.ebuild

it's the svn ebuild modified to work with current release you will also need the pcsx2 file in the PACKAGE_NAME/files directory
Comment 16 Daniel Ferreira 2007-06-01 23:27:32 UTC
Created attachment 120909 [details]
pcsx2 user data dir script

script for creating user data dir
goes in "overlay dir"/games-emulation/pcsx2/files
Comment 17 genuesslichselbstsichererorangutan 2007-07-06 12:25:00 UTC
make[1]: Entering directory `/var/tmp/portage/games-emulation/pcsx2-0.9.3/work/plugins/gs/zerogs/opengl'
gcc -DPACKAGE_NAME=\"ZeroGSogl\" -DPACKAGE_TARNAME=\"zerogsogl\" -DPACKAGE_VERSION=\"0.96.2\" -DPACKAGE_STRING=\"ZeroGSogl\ 0.96.2\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"ZeroGSogl\" -DVERSION=\"0.96.2\" -DNDEBUG=1 -DRELEASE_TO_PUBLIC=1 -DZEROGS_SSE2=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_GL_GLEXT_H=1 -I.  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12    -I/opt/cg/include -L/opt/cg/lib -O2 -fomit-frame-pointer  -MT libZeroGSogl_a-GSmain.o -MD -MP -MF .deps/libZeroGSogl_a-GSmain.Tpo -c -o libZeroGSogl_a-GSmain.o `test -f 'GSmain.cpp' || echo './'`GSmain.cpp
zerogs.h: In function »void* wglGetProcAddress(const char*)«:
zerogs.h:30: Fehler: »glXGetProcAddress« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [libZeroGSogl_a-GSmain.o] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/games-emulation/pcsx2-0.9.3/work/plugins/gs/zerogs/opengl'
make: *** [install-recursive] Fehler 1
Error with building plugins
 *
 * ERROR: games-emulation/pcsx2-0.9.3 failed.
 * Call stack:
 *   ebuild.sh, line 1642:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   pcsx2-0.9.3.ebuild, line 83:   Called die
 *
 * compile failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-0.9.3/temp/build.log'.
 *

wont compile here.
anybody else with this error?
Comment 18 genuesslichselbstsichererorangutan 2007-07-06 12:48:42 UTC
hi,

i had a very ugly work around that works for me.

i run "emerge pcsx2" after unpacking the files i hit strg-z to suspend the emerge process. then i edit /var/tmp/portage/games-emulation/pcsx2-0.9.3/work/plugins/gs/zerogs/opengl/zerogs.h and replace
return (void*)glXGetProcAddress((const GLubyte*)x);
with
return (void*)glXGetProcAddressARB((const GLubyte*)x);
and get emerge pcsx2 back to foreground with "fg 1"

mfg
Comment 19 Russell Harmon 2007-08-07 10:17:07 UTC
Created attachment 127158 [details]
pcsx2-0.9.3.ebuild

Ok, I rewrote the ebuild so it is not such a hack. It now has use flags for sse2, devbuild, and vmbuild. The download location of the sources has also changed and forced me to turn on fetch restrictions in the ebuild. If anyone knows how to automatically fetch from the locations outlined in the ebuild, please do tell!

You still need the pcsx2 script above.
Comment 20 Russell Harmon 2007-08-08 06:08:53 UTC
Created attachment 127240 [details, diff]
pcsx2-0.9.3.ebuild

I added support for the various languages available. Also some minor fixes/changes.
Comment 21 Russell Harmon 2007-08-08 06:09:52 UTC
Created attachment 127242 [details]
pcsx2

New pcsx2 loader script. Obsoletes the old one above. Use with my pcsx2-0.9.3 ebuild.
Comment 22 Russell Harmon 2007-08-09 05:12:00 UTC
Created attachment 127331 [details]
pcsx2-0.9.3.ebuild

Ok, I looked at my ebuild again and hit myself on the head for doing some things really stupidly. So I made a bunch of changes... most of them are just how the ebuild does things, but one noticeable one is now the Lang directory is kept even if you do not install any languages (assuming you may want to some day install languages).
Comment 23 Russell Harmon 2007-08-09 05:12:39 UTC
Created attachment 127332 [details]
pcsx2 - Launcher Script

Launcher script to go with the above ebuild.
Comment 24 Ryan Hill (RETIRED) gentoo-dev 2007-08-11 21:45:41 UTC
in cases like this we mirror the source on our servers and use a SRC_URI like

SRC_URI="mirror://gentoo/pcsx${PV}_and_plugins_src.7z"

but until then the fetch restriction works.  you don't need to use file://, just put the name of the archive

SRC_URI="pcsx${PV}_and_plugins_src.7z"

You need to add app-arch/p7zip to DEPEND.

USE flags shouldn't control CFLAGS, so the -g -> -ggdb seds need to be removed.

The best way to go about this would be to eliminate the usage of build.sh altogether and the ebuild run configure and make directly.  Ie. the ebuild itself should be the build script.  This will work however.
Comment 25 Russell Harmon 2007-08-12 10:37:17 UTC
Created attachment 127836 [details]
pcsx2-0.9.3.ebuild

Okay, I made a great deal of changes. Along with Ryan's suggested changes, I have also split the pcsx2 ebuild from it's plugins. The plugins can now be found at bugs #188554 #188556 #188557 #188561 #188563 and #188566. There is also a new launcher script based upon the launcher script epsxe uses.
Comment 26 Russell Harmon 2007-08-12 10:38:02 UTC
Created attachment 127837 [details, diff]
pcsx2-0.9.3-custom-cflags.patch

This is a patch for the above ebuild to allow custom cflags.
Comment 27 Russell Harmon 2007-08-12 10:38:29 UTC
Created attachment 127839 [details]
pcsx2

The new launcher script:
Comment 28 Marcello Magaldi 2007-08-20 02:08:08 UTC
(In reply to comment #25)
> Created an attachment (id=127836) [edit]
> pcsx2-0.9.3.ebuild
> 
> Okay, I made a great deal of changes. Along with Ryan's suggested changes, I
> have also split the pcsx2 ebuild from it's plugins. The plugins can now be
> found at bugs #188554 #188556 #188557 #188561 #188563 and #188566. There is
> also a new launcher script based upon the launcher script epsxe uses.
> 

I tried your new ebuild but it fails on install saying :
>>> Install pcsx2-0.9.3 into /var/tmp/portage/games-emulation/pcsx2-0.9.3/image/ category games-emulation
install: unable to stat `bin/Langs/it_IT': No such file or directory



Comment 29 Russell Harmon 2007-08-20 07:49:14 UTC
Created attachment 128647 [details]
pcsx2-0.9.3.ebuild

Fixed that, and added a nls feature and fixed the compile crashes when you compile with USE=-devbuild
Comment 30 Russell Harmon 2007-08-20 07:49:41 UTC
Created attachment 128649 [details, diff]
pcsx2-0.9.3-add-nls.patch
Comment 31 Russell Harmon 2007-08-20 07:50:05 UTC
Created attachment 128650 [details, diff]
pcsx2-0.9.3-custom-cflags.patch
Comment 32 Russell Harmon 2007-08-20 07:50:36 UTC
Created attachment 128652 [details, diff]
pcsx2-0.9.3-fix-without-devbuild.patch
Comment 33 Marcello Magaldi 2007-08-20 13:10:31 UTC
(In reply to comment #29)
> Created an attachment (id=128647) [edit]
> pcsx2-0.9.3.ebuild
> 
> Fixed that, and added a nls feature and fixed the compile crashes when you
> compile with USE=-devbuild
> 

now it merges fines 
Comment 34 Marcello Magaldi 2007-08-20 13:48:13 UTC
(In reply to comment #29)
> Created an attachment (id=128647) [edit]
> pcsx2-0.9.3.ebuild
> 
> Fixed that, and added a nls feature and fixed the compile crashes when you
> compile with USE=-devbuild
> 

I emerged it also with nls-patch but it doesn't install my nls, my emerge -pv pcsx2 says :
[ebuild   Rf  ] games-emulation/pcsx2-0.9.3  USE="alsa devbuild hwaccel* nls oss recompiler sse2 -debug -vmbuild" LINGUAS="it -ar -bg -cz -de -du -el -en -es -fr -hb -ja -pe -pl -po -po_BR -ro -ru -sh -sw -tc -tr" 0 kB
but it locale doesn't install.
Comment 35 Russell Harmon 2007-08-20 23:16:23 UTC
That's odd, because if I recompile with LINGUAS="it" it installs the language files... How do you know that they are not installed?
Comment 36 Marcello Magaldi 2007-08-21 19:09:23 UTC
(In reply to comment #35)
> That's odd, because if I recompile with LINGUAS="it" it installs the language
> files... How do you know that they are not installed?
> 

When I use pcsx2 I cannot select it under languages, there's only en
Comment 37 Russell Harmon 2007-08-22 02:00:31 UTC
Created attachment 128821 [details]
pcsx2-0.9.3.ebuild

Fixed the issue of the language files not installing, also removed the en lingua since there is no way to actually remove english from pcsx2. You will also need to remerge ps2emu-FWnull and ps2emu-usbnull using the new ebuilds at bugs 188556 and 188566.
Comment 38 Russell Harmon 2007-08-22 02:01:20 UTC
Created attachment 128822 [details]
pcsx2

Completely rewritten, now recursive launcher script to go with the pcsx2 ebuild.
Comment 39 Russell Harmon 2007-08-22 10:03:50 UTC
Created attachment 128845 [details]
pcsx2

Noticed some errors with the script... now fixed
Comment 40 Marcello Magaldi 2007-08-22 12:15:26 UTC
(In reply to comment #37)
> Created an attachment (id=128821) [edit]
> pcsx2-0.9.3.ebuild
> 
> Fixed the issue of the language files not installing, also removed the en
> lingua since there is no way to actually remove english from pcsx2. You will
> also need to remerge ps2emu-FWnull and ps2emu-usbnull using the new ebuilds at
> bugs 188556 and 188566.
> 

why don't you commit this ebuild to sunrise overlay?
Comment 41 Russell Harmon 2007-08-22 12:19:03 UTC
Created attachment 128857 [details]
pcsx2

Fixed some more minor errors I noticed.
Comment 42 Russell Harmon 2007-08-22 12:20:11 UTC
This is not allowed in sunrise because pcsx2-0.8.1 is in portage.
Comment 43 Russell Harmon 2007-08-23 05:14:56 UTC
Created attachment 128918 [details]
pcsx2

Lots of code cleanup, and removed the .keep file from showing up in the langs. The launcher is now flexible enough that it can be easily used in similar situations.

Also added some comments
Comment 44 Russell Harmon 2007-08-23 05:16:53 UTC
Created attachment 128920 [details]
pcsx2

Oops, attached the wrong file =(
Comment 45 Russell Harmon 2007-08-23 06:30:02 UTC
Created attachment 128923 [details]
pcsx2

Bunch of cleanups... should be faster now.
Comment 46 cruzki 2007-08-28 00:38:12 UTC
I'm testing this package in an ~amd64 machine (gcc-4.2, binutils-2.17.50.0.18) with standar CFLAGS. The plugins compiles, the emulator hangs at:


x86_64-pc-linux-gnu-gcc  -O2 -fomit-frame-pointer -march=k8 -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu -o pcsx2 Config.o interface.o GtkGui.o LnxMain.o support.o ../libpcsx2.a ../IPU/libIPU.a ../IPU/mpeg2lib/libmpeg2IPU.a ../RDebug/libRDebug.a ../tinyxml/libtinyxml.a ../x86/libx86recomp.a ../x86/ix86/libix86.a ../DebugTools/libDebugTools.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -lstdc++ -lz
make[1]: se sale del directorio `/var/tmp/portage/games-emulation/pcsx2-0.9.3/work/pcsx2/Linux'


if USE=devbuild (fail in the same point if LDFLAGS="") and hangs at:


x86_64-pc-linux-gnu-gcc  -O2 -fomit-frame-pointer -march=k8 -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu -o pcsx2 Config.o interface.o GtkGui.o LnxMain.o support.o ../libpcsx2.a ../IPU/libIPU.a ../IPU/mpeg2lib/libmpeg2IPU.a ../RDebug/libRDebug.a ../tinyxml/libtinyxml.a ../x86/libx86recomp.a ../x86/ix86/libix86.a ../DebugTools/libDebugTools.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -lstdc++ -lz
../x86/libx86recomp.a(aR5900-64.o): In function `_StartPerfCounter':
(.text+0x188): undefined reference to `lbase'
../x86/libx86recomp.a(aR5900-64.o): In function `_StartPerfCounter':
(.text+0x18f): undefined reference to `lbase'
../x86/libx86recomp.a(aR5900-64.o): In function `_StopPerfCounter':
(.text+0x19f): undefined reference to `lbase'
../x86/libx86recomp.a(aR5900-64.o): In function `_StopPerfCounter':
(.text+0x1a6): undefined reference to `lbase'
collect2: ld devolvió el estado de salida 1


without the useflag devbuild (same with LDFLAGS=""). The first one is very buggy as don't say anythig. If I try the pcsx2-0.8.1 don't work the new spu and the . plugin.

As a side note, the binary version seems to work but... extract, configure, run and segfault

_openfile /home/cruzki/GrimGrimoire.iso 0
detected blocksize = 2048
isoOpen: /home/cruzki/GrimGrimoire.iso ok
offset = 0
blockofs = 24
blocksize = 2048
blocks = 685632
type = 2
ZeroGS: creating
ZeroGS: Only Singlebuffered Visual!
ZeroGS: glX-Version 1.3
Violación de segmento

seems to be a ZeroGS problem, but who knows :S

Comment 47 cruzki 2007-08-28 14:00:33 UTC
I think the problem above is due to gcc-4.2.0 as in ~x86I have the same problems
Comment 48 Russell Harmon 2007-08-29 13:27:00 UTC
I don't think so, i've been testing all this with gcc 4.2.0. Did you say you are getting the error with or without the devbuild use flag?
Comment 49 cruzki 2007-08-29 13:40:55 UTC
my emerge info

Portage 2.1.3.7 (default-linux/amd64/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
Gentoo Base System release 2.0.0_rc3
Timestamp of tree: Wed, 29 Aug 2007 10:20:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0_rc3-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r1
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.netnitco.net http://mir.zyrianes.net/gentoo/ http://ftp.caliu.info/pub/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/"
LANG="es_ES"
LC_ALL="es_ES@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=1800 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi alsa amd64 apm avi berkdb bitmap-fonts branding bzip2 cdr cjk cli cracklib crypt cups dbus dri dts dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg flac fortran ftp gif glitz gmp gpm hal iconv icq imagemagick isdnlog java javascript jpeg kde kdehiddenvisibility lame lm_sensors matroska midi mikmod mmx modplug mp3 mp4 mpeg mplayer mudflap musepack ncurses network nforce2 nls nptl nptlonly nsl nsplugin nvidia ogg oggvorbis opengl openmp pam pcre pdf perl pic pmu png pppd python qt3 qt3support qt4 readline reflection session smp spell spl sse sse2 sse3 ssl svg symlink tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis x264 xcb xcomposite xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


The use option of pcsx2


emerge pcsx2 -aqv
[ebuild  N f  ] games-emulation/ps2emu-ZeroGS-0.96.2  USE="sse2 -debug -devbuild"
[ebuild  N    ] games-emulation/ps2emu-cdvdnull-0.6
[ebuild  N    ] games-emulation/ps2emu-ZeroPAD-0.1  USE="-debug"
[ebuild  N    ] games-emulation/ps2emu-FWnull-0.4
[ebuild    fU ] games-emulation/pcsx2-0.9.3 [0.8.1] USE="alsa%* devbuild%* hwaccel%* nls%* recompiler%* sse2%* -debug% -oss% -vmbuild%" LINGUAS="es%* -ar% -bg% -cz% -de% -du% -el% -fr% -hb% -it% -ja% -pe% -pl% -po% -po_BR% -ro% -ru% -sh% -sw% -tc% -tr%"


And optain this exit in the compilation


 -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"pcsx2\" -DVERSION=\"0.9.3\" -DNDEBUG=1 -DPCSX2_DEVBUILD=1 -D__x86_64__=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_NLS=1 -I. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I./../  -O2 -fomit-frame-pointer    -O2 -fomit-frame-pointer -march=native -O2 -pipe  -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
mv -f .deps/support.Tpo .deps/support.Po
mv -f .deps/GtkGui.Tpo .deps/GtkGui.Po
mv -f .deps/interface.Tpo .deps/interface.Po
x86_64-pc-linux-gnu-gcc  -O2 -fomit-frame-pointer -march=native -O2 -pipe   -Wl,-O1 -Wl,--as-needed -Wl,-znow -Wl,--hash-style=gnu -o pcsx2 Config.o interface.o GtkGui.o LnxMain.o support.o ../libpcsx2.a ../IPU/libIPU.a ../IPU/mpeg2lib/libmpeg2IPU.a ../RDebug/libRDebug.a ../tinyxml/libtinyxml.a ../x86/libx86recomp.a ../x86/ix86/libix86.a ../DebugTools/libDebugTools.a -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt -lglib-2.0   -lstdc++ -lz
make[1]: se sale del directorio `/var/tmp/portage/games-emulation/pcsx2-0.9.3/work/pcsx2/Linux'
 *
 * ERROR: games-emulation/pcsx2-0.9.3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   pcsx2-0.9.3.ebuild, line 125:   Called die
 *
 * dogamesbin failed
Comment 50 cruzki 2007-08-29 13:52:12 UTC
Seems to be a ebuild problem with the ECLASS game as the function that fails belongs to that eclass.

http://www.gentoo.org/proj/en/desktop/games/games-ebuild-howto.xml?style=printable
Comment 51 Russell Harmon 2007-08-29 15:17:39 UTC
Ok, please recompile with FEATURES=keepwork, and then tell me the output of "find /var/tmp/portage/games-emulation/pcsx2-0.9.3/work/ -name pcsx2 -type f"
Comment 52 cruzki 2007-08-29 15:37:49 UTC
madriguera cruzki #  FEATURES=keepwork emerge -q pcsx2
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) games-emulation/pcsx2-0.9.3 to /
 *
 * ERROR: games-emulation/pcsx2-0.9.3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   pcsx2-0.9.3.ebuild, line 125:   Called die
 *
 * dogamesbin failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-0.9.3/temp/build.log'.
 * This ebuild is from an overlay: '/usr/local/overlay/'
 *

 * Messages for package games-emulation/pcsx2-0.9.3:

madriguera cruzki # find /var/tmp/portage/games-emulation/pcsx2-0.9.3/work/ -name pcsx2 -type f
/var/tmp/portage/games-emulation/pcsx2-0.9.3/work/pcsx2/Linux/pcsx2
Comment 53 Russell Harmon 2007-08-29 15:57:57 UTC
Oh, duh... I should have realized this sooner. You need the pcsx2 launcher script which is one of the attachments above. Make sure you have that and the three patches provided in the files directory.

On another note, I fixed a typo in the ps2emu-ZeroGS ebuild (Bug 188561) which this one depends on.
Comment 54 cruzki 2007-08-29 16:24:16 UTC
I put this file https://bugs.gentoo.org/attachment.cgi?id=127332 (note, it's crossed out, can you fix it?) and seems to compile (even the ZeroGS plugins with devbuild use flag that before don't work)

But now I have a problem with the symlink. The ebuild create this one


pcsx2 -> GAMES_BINDIR/pcsx2.bin

and this may be created

cruzki@madriguera ~/.pcsx2 $ ln -s /usr/games/bin/pcsx2 pcsx2

and then, it starts and eats 100% off one of my cores and do nothing :(
Comment 55 cruzki 2007-08-29 16:40:39 UTC
The same problem with a ~x86 machine.
Comment 56 Russell Harmon 2007-08-30 12:53:36 UTC
Can you clarify a bit? I'm not quite understanding the problem you are having.
Comment 57 Russell Harmon 2007-08-30 12:55:37 UTC
Ahh, I see... Please use the latest launcher script http://bugs.gentoo.org/attachment.cgi?id=128923

I stopped naming it Launcher script and just started naming it pcsx2
Comment 58 cruzki 2007-08-30 14:34:31 UTC
Good, now I can compile fine both, pcsx2 and ps2emu-ZeroGV (I need to coment a line in /usr/games/bin/pcsx2 as I don't have cleanlinks, it's important?) but now I have the same problem as before. I run pcsx2 in a shell and I have nothing. Any screen, any line on shell or in syslog-ng. Only a proccess running in top with 15-20% of my CPU.
Comment 59 Matteo Azzali (RETIRED) gentoo-dev 2007-11-06 12:16:17 UTC
That may be glew issue, read official pcsx2 forum, topic 
"Vista 64-bit user trying out 64-bit Gentoo Linux" :
 
Fix may be updating glew to 1.40 or try that patch (registration required)
Comment 60 Marcello Magaldi 2007-11-06 14:02:26 UTC
Is there a hope that we will see soon this pcsx2 new ebuild in the official portage tree ? 
Comment 61 Nathan Todd 2007-11-10 05:32:30 UTC
I have a problem similar to a fellow x86_64 user on the pcsx2 forums.  Someone made a working patch for this problem there, but sadly the pcsx2 forums require you to have an account to download files posted on the forum, and they also don't like free e-mail accounts when you try to register.

Anyway, the thread is at 
http://forums.ngemu.com/pcsx2-official-forum/94144-vista-64-bit-user-trying-out-64-bit-gentoo-linux.html

The patch is glew.patch.7z, just scroll down to find it.  If someone could download that and, with the permission of the author I assume, repost it here (or in the ZeroGS bug, or both), that'd be great.  I'd be willing to try to figure out how to work it into an ebuild myself, but be warned that any mucking about I do is completely blind.

ZeroGS: creating
ZeroGS: Got Doublebuffered Visual!
ZeroGS: glX-Version 1.3
ZeroGS: Depth 24
ZeroGS: you have Direct Rendering!

Program received signal SIGSEGV, Segmentation fault.
0x00002addbfe7daa0 in glGenFramebuffersEXT () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
(gdb) bt
#0  0x00002addbfe7daa0 in glGenFramebuffersEXT () from /usr/lib64/opengl/nvidia/lib/libGL.so.1
#1  0x00002aaab55cc62f in ZeroGS::Create () from plugins/libZeroGSoglr.so.0.96.2
#2  0x00002aaab55828ca in GSopen () from plugins/libZeroGSoglr.so.0.96.2
#3  0x0000000000458ab1 in ?? ()
#4  0x0000000000414aef in ?? ()
#5  0x0000000000414ec3 in ?? ()
#6  0x00002addbd47717a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x00002addbd486ff2 in ?? () from /usr/lib/libgobject-2.0.so.0
#8  0x00002addbd4882e8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9  0x00002addbd4884c0 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x00002addbc3fe77a in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00002addbc30ca40 in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00002addbc30def0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00002addbc300c9d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00002addbd47717a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0x00002addbd487196 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0x00002addbd4880b0 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0x00002addbd4884c0 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0x00002addbc3faace in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00002addbc2fa26e in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00002addbc2fb2d7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#21 0x00002addbc7947bc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#22 0x00002addbdbf084c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0x00002addbdbf36cd in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x00002addbdbf39a6 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#25 0x00002addbc2fb632 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#26 0x000000000041495f in ?? ()
#27 0x000000000041c8a1 in ?? ()
#28 0x00002addbe3bbb74 in __libc_start_main () from /lib/libc.so.6
#29 0x0000000000406349 in ?? ()
#30 0x00007fffeeaf9958 in ?? ()
#31 0x0000000000000000 in ?? ()
Comment 62 Brandon Captain 2007-11-10 21:26:14 UTC
Digestion fails miserably


./pcsx2 is a dangling symlink, removing
./A39517AB.xml is a dangling symlink, removing
Removing empty directories ...
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

./bios
./help
./inis
./logs
./snap
./Langs
./sstates
./.pixmaps
./patches
./plugins/cfg
./plugins
./memcards
.
rmdir: .: Invalid argument

*** Put your BIOS file into ~/.pcsx2/bios/
    or pcsx2 may not work!

/home/user/src/ebuild/games-emulation/pcsx2/pcsx2-0.9.3.ebuild: line 107: /var/tmp/portage/games-emulation/pcsx2-0.9.3/homedir/.pcsx2/pcsx2: No such file or directory
/home/user/src/ebuild/games-emulation/pcsx2/pcsx2-0.9.3.ebuild: line 107: exec: /var/tmp/portage/games-emulation/pcsx2-0.9.3/homedir/.pcsx2/pcsx2: cannot execute: No such file or directory
Comment 63 Andrew Brock 2007-11-11 04:42:04 UTC
0.9.4 is now stable

Link to source:
http://www.pcsx2.net/files/10475

Changelog is here:
http://www.pcsx2.net/#i2167
Comment 64 Charles Christie 2008-02-17 13:59:15 UTC
PCSX2 has a new version out (0.9.4) and it would be very nice if someone could modify this ebuild to use it, and to use the pcsx2 sourceforge site as a mirror instead of pcsx2's website (they recommend using sourceforge anyway).
Comment 65 James Le Cuirot gentoo-dev 2008-02-24 01:09:12 UTC
I've come up with a much cleaner version of the ebuild for 0.9.4 but it's not quite finished yet. I'll post it soon. I also have an idea for a nicer solution to that scary-looking wrapper script but I haven't tried it yet. Watch this space.
Comment 66 James Le Cuirot gentoo-dev 2008-02-28 00:02:39 UTC
Created attachment 144801 [details]
pcsx2-0.9.4.ebuild

Okay so here's my offering. My original plan was to use unionfs-fuse to make mirroring the shared directory easier. In the end, I went for an even simpler solution.

The directories Langs, patches, plugins, .pixmaps and the file A39517AB.xml are symlinked to ~/.pcsx2. These directories do not need to be written to by the user so there is no problem.

What about plugins/inis? This normally stores the user configuration files for some plugins. The only reason pcsx2 tries to use this directory is because it changes to the plugins directory first. I have created a patch that removes this directory change and so these files get put in ~/.pcsx2/inis instead, along with the emulator's own configuration. Problem solved.

But what about plugins/cfg? A few plugins use executables in this directory for their configuration. Without the directory change, it looks in ~/.pcsx2/cfg instead. I solve problem this by creating a symlink to plugins/cfg.

Some plugins are hardcoded to use ~/.PS2E. In order to keep things in the same place, I actually create ~/.pcsx2/inis as a symlink to ~/.PS2E.

The directories logs, memcards and sstates get automatically created so the only directory that the wrapper actually has to create is ~/.pcsx2/bios. All this sounds quite complicated but the wrapper script is very short. Check it out.

I've created new ebuilds for several plugins and they all seem to work fine with this setup. The emulator itself doesn't seem too reliable, it frequently segfaults, but I tried a precompiled copy from Ubuntu with similar results so I'm guessing that's either normal and my fglrx driver is causing problems. Let me know if you think something is wrong. I'll post up the plugin ebuilds soon. I did try to make a new ebuild for GSsoft but this plugin seems to be outdated since it uses GTK1 so it's ZeroGS or nothing.

More files to follow.
Comment 67 James Le Cuirot gentoo-dev 2008-02-28 00:03:10 UTC
Created attachment 144802 [details, diff]
pcsx2-0.9.4-add-nls.patch
Comment 68 James Le Cuirot gentoo-dev 2008-02-28 00:03:35 UTC
Created attachment 144803 [details, diff]
pcsx2-0.9.4-custom-cflags.patch
Comment 69 James Le Cuirot gentoo-dev 2008-02-28 00:03:53 UTC
Created attachment 144804 [details, diff]
pcsx2-0.9.4-plugin-inis.patch
Comment 70 James Le Cuirot gentoo-dev 2008-02-28 00:04:14 UTC
Created attachment 144805 [details]
pcsx2
Comment 71 Brandon Captain 2008-02-29 03:07:52 UTC
helix pcsx2 # ebuild pcsx2-0.9.4.ebuild digest
--- Invalid atom in /etc/portage/package.keywords: media-libs/liblrdf-0.4.0
Removing empty directories ...
find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.

.
rmdir: .: Invalid argument

*** Put your BIOS file into ~/.pcsx2/bios/
    or pcsx2 may not work!

/home/user/src/ebuild/games-emulation/pcsx2/pcsx2-0.9.3.ebuild: line 107: /var/tmp/portage/games-emulation/pcsx2-0.9.3/homedir/.pcsx2/pcsx2: No such file or directory
/home/user/src/ebuild/games-emulation/pcsx2/pcsx2-0.9.3.ebuild: line 107: exec: /var/tmp/portage/games-emulation/pcsx2-0.9.3/homedir/.pcsx2/pcsx2: cannot execute: No such file or directory
!!! getfetchlist(): aux_get() error reading games-emulation/pcsx2-0.9.3; aborting.
helix pcsx2 # ls /var/tmp/portage/games-emulation/pcsx2-0.9.3/homedir/.pcsx2/ -l
total 0
lrwxrwxrwx 1 root root 32 Feb 28 17:06 A39517AB.xml -> GAMES_DATADIR/pcsx2/A39517AB.xml
drwxr-xr-x 2 root root 48 Feb 28 17:06 Langs
drwxr-xr-x 2 root root 48 Feb 28 17:06 bios
drwxr-xr-x 2 root root 48 Feb 28 17:06 help
drwxr-xr-x 2 root root 48 Feb 28 17:06 inis
drwxr-xr-x 2 root root 48 Feb 28 17:06 logs
drwxr-xr-x 2 root root 48 Feb 28 17:06 memcards
drwxr-xr-x 2 root root 48 Feb 28 17:06 patches
lrwxrwxrwx 1 root root 25 Feb 28 17:06 pcsx2 -> GAMES_DATADIR/pcsx2/pcsx2
drwxr-xr-x 3 root root 72 Feb 28 17:06 plugins
drwxr-xr-x 2 root root 48 Feb 28 17:06 snap
drwxr-xr-x 2 root root 48 Feb 28 17:06 sstates
Comment 72 James Le Cuirot gentoo-dev 2008-02-29 11:05:37 UTC
Something tells me you're not doing something right there. I don't use find in my ebuild or my wrapper script so I don't know where that message is coming from. Your output also mentions the old ebuild and stuff from the old wrapper script. Delete the old stuff entirely before trying mine.
Comment 73 James Le Cuirot gentoo-dev 2008-03-01 11:49:48 UTC
Created attachment 144991 [details]
pcsx2-0.9.4.ebuild

Oops. Forgot to remove a couple of plugin dependencies after discovering that they hadn't been updated to GTK2 yet.
Comment 74 Michał Ziąbkowski 2008-03-01 13:45:44 UTC
Nice work, James. Really appreciate the new ebuild and wrapper. I have some nitpicks and suggestions, though:
- The original and modified filenames in patch headers are mixed-up. The patches per se are fine.
- The CFLAGS patch breaks MMX detection from what I see. I don't really know why. The error disappears after commenting out the patch.
- There doesn't seem to be an --enable-sse2 in configure.ac. There is an --enable-sse3, though. SSE2 is a requirement, while SSE3 is optional.
- Does it make sense to have a recompiler flag? I think removing it would decrease the number of headaches, e.g. the user unwittingly compiling an interpreter-only version, which is the current behaviour when no USE flags are set. As an alternative, the "recompiler" flag could be changed to "interpreter-only"/"norecompiler", with proper changes in logic.


Comment 75 James Le Cuirot gentoo-dev 2008-03-01 14:15:04 UTC
You're welcome.

 - Not sure what you mean about the patch headers. I assumed that the --- filename has to match the original in order for it to be found. I usually do -p1 patches rather than -p0 so I might have messed up slightly on the convention!

 - I bet the presence of frame pointers is screwing up the MMX detection. It didn't cause a problem on my amd64 machine because frame pointers are omitted by default on that arch. I did encounter the problem on my x86 machine but I thought it was just the machine being weird. Thanks for the heads up.

 - I'll look into the SSE thing.

 - I had considered dropping the recompiler flag and now I know that the recompiler can be disabled at runtime anyway, I think I'll do that.
Comment 76 Michał Ziąbkowski 2008-03-01 14:33:48 UTC
(In reply to comment #75)
> You're welcome.
> 
>  - Not sure what you mean about the patch headers. I assumed that the ---
> filename has to match the original in order for it to be found. I usually do
> -p1 patches rather than -p0 so I might have messed up slightly on the
> convention!
> 
>  - I bet the presence of frame pointers is screwing up the MMX detection. It
> didn't cause a problem on my amd64 machine because frame pointers are omitted
> by default on that arch. I did encounter the problem on my x86 machine but I
> thought it was just the machine being weird. Thanks for the heads up.
> 
>  - I'll look into the SSE thing.
> 
>  - I had considered dropping the recompiler flag and now I know that the
> recompiler can be disabled at runtime anyway, I think I'll do that.
> 

Actually, the +++ filename is the one that has to match. The other one doesn't really matter.

Regarding MMX, I do have -fomit-frame-pointer in my C(XX)FLAGS. And yes, I'm running x86. Don't really know what's causing it.
Comment 77 Luke-Jr 2008-03-01 15:11:57 UTC
IIRC, no* USE flags are considered bad practice and have been mostly removed from Gentoo.
Comment 78 James Le Cuirot gentoo-dev 2008-03-02 18:36:33 UTC
Created attachment 145123 [details]
pcsx2-0.9.4.ebuild

Okay I've fixed the patches. Those are coming up. I've dropped the recompiler flag. It now automatically builds that for x86 and x86_64, since those are the only archs it's written for. Having seen the source, I'm actually not convinced that pcsx2 will build on any other archs even though it's supposed to but I currently can't test that. Let me know if it works for you. I've removed the sse2 flag as well. Finally, I've more or less solved the MMX detection issue...

The key gcc option was -finline-functions. This is normally only enabled at -O3. By specifying it explicitly, you can build with -O1. -O0 doesn't work and I couldn't even make it work by explicitly specifying all the options that are supposed to be enabled for -O1. That doesn't really make sense but c'est la vie. I also encountered strange linking errors unless I included -march=pentium4 on my x86 machine. Strange but true.

So as a result of all that, I filter -O0 from the CFLAGS and prepend -O1 and -finline-functions to the CFLAGS through the patch. Prepending them allows the user to override -O1 with -O2 or -O3 since the last -O option given is the one that takes effect.
Comment 79 James Le Cuirot gentoo-dev 2008-03-02 18:36:55 UTC
Created attachment 145125 [details]
pcsx2-0.9.4-add-nls.patch
Comment 80 James Le Cuirot gentoo-dev 2008-03-02 18:37:36 UTC
Created attachment 145126 [details]
pcsx2-0.9.4-custom-cflags.patch
Comment 81 James Le Cuirot gentoo-dev 2008-03-02 18:37:55 UTC
Created attachment 145127 [details]
pcsx2-0.9.4-plugin-inis.patch
Comment 82 Michał Ziąbkowski 2008-03-02 19:38:52 UTC
(In reply to comment #78)
> Created an attachment (id=145123) [edit]
> pcsx2-0.9.4.ebuild
> 
> Okay I've fixed the patches. Those are coming up. I've dropped the recompiler
> flag. It now automatically builds that for x86 and x86_64, since those are the
> only archs it's written for. Having seen the source, I'm actually not convinced
> that pcsx2 will build on any other archs even though it's supposed to but I
> currently can't test that. Let me know if it works for you. I've removed the
> sse2 flag as well. Finally, I've more or less solved the MMX detection issue...
> 
> The key gcc option was -finline-functions. This is normally only enabled at
> -O3. By specifying it explicitly, you can build with -O1. -O0 doesn't work and
> I couldn't even make it work by explicitly specifying all the options that are
> supposed to be enabled for -O1. That doesn't really make sense but c'est la
> vie. I also encountered strange linking errors unless I included
> -march=pentium4 on my x86 machine. Strange but true.
> 
> So as a result of all that, I filter -O0 from the CFLAGS and prepend -O1 and
> -finline-functions to the CFLAGS through the patch. Prepending them allows the
> user to override -O1 with -O2 or -O3 since the last -O option given is the one
> that takes effect.
> 

Sadly, this doesn't fix it for me. Changing -O2 to -O3 in make.conf does. What version of gcc are you running? 4.1.2 here.

Anyway, you could just replace -O0/-O1/-O2 with -O3. That should fix it. Incidentally, if want to add -finline-functions, wouldn't it make more sense to use append-flags instead of patching?
Comment 83 James Le Cuirot gentoo-dev 2008-03-02 21:16:04 UTC
That's strange. -O3 only adds three options. That was the first one I tried and it worked. If you run pcsx2 from a terminal, you can see the problem more clearly. The CPU information it prints out is basically garbled. I figured it would be best to find the exact option since I know that certain optimisations can cause problems on some archs but if we have to just go with -O3 then so be it. I didn't use append-flags so I could prepend the flags, thus allowing the user's -O option to take precedence.
Comment 84 Michał Ziąbkowski 2008-03-03 15:12:54 UTC
(In reply to comment #83)
> That's strange. -O3 only adds three options. That was the first one I tried and
> it worked. If you run pcsx2 from a terminal, you can see the problem more
> clearly. The CPU information it prints out is basically garbled. I figured it
> would be best to find the exact option since I know that certain optimisations
> can cause problems on some archs but if we have to just go with -O3 then so be
> it. I didn't use append-flags so I could prepend the flags, thus allowing the
> user's -O option to take precedence.
> 

Okay, problem solved. I had two copies in different overlays. Purged the old one. Now it works like a charm. Sorry for the confusion.
Comment 85 Michał Ziąbkowski 2008-06-03 15:41:50 UTC
I've made a patch which fixes compilation using gcc 4.3. Uploading.
Comment 86 Michał Ziąbkowski 2008-06-03 15:43:17 UTC
Created attachment 155379 [details, diff]
Fixes compilation with gcc 4.3
Comment 87 Russell Harmon 2008-06-06 02:28:59 UTC
Created attachment 155669 [details]
pcsx2-0.9.4.ebuild

Fixed a few typos in elog and einfo messages.
Comment 88 Russell Harmon 2008-06-10 04:07:08 UTC
Created attachment 156151 [details]
pcsx2-9999.ebuild

I wrote a svn ebuild of pcsx2. This ebuild and the following patches changes lots of stuff, so I need to repost a lot of things.

Note: At the time of writing, I am getting best performance with pcsx2-0.9.4 and USE="-debug -devbuild"
Comment 89 Russell Harmon 2008-06-10 04:07:37 UTC
Created attachment 156153 [details]
pcsx2-0.9.4.ebuild
Comment 90 Russell Harmon 2008-06-10 04:08:10 UTC
Created attachment 156155 [details, diff]
pcsx2-add-nls.patch
Comment 91 Russell Harmon 2008-06-10 04:08:41 UTC
Created attachment 156157 [details, diff]
pcsx2-custom-cflags.patch
Comment 92 Russell Harmon 2008-06-10 04:09:51 UTC
Created attachment 156159 [details, diff]
pcsx2-plugin-inis.patch
Comment 93 Russell Harmon 2008-06-10 04:38:43 UTC
Note that I am getting best performance (at the moment) with the svn version of all the plugins and pcsx2-0.9.4 (on FFX) with USE="-devbuild -debug"
Comment 94 Russell Harmon 2008-06-14 21:31:04 UTC
Sorry, I lied... with some more testing, I am getting best performance with the svn ebuild.
Comment 95 Vitalii Morvaniuk 2008-08-07 15:24:11 UTC
Dies with message
 * ERROR: games-emulation/pcsx2-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3176:  Called die
 * The specific snippet of code:
 *       sed -e "s:%GAMES_BINDIR%:${GAMES_BINDIR}:" -e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" -e "s:%GAMES_LIBDIR%:$(games_get_libdir):" "${FILESDIR}/${PN}" > "${D}${GAMES_BINDIR}/${PN}" || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/environment'.
 * 
Gentoo 2008 amd64

emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
Timestamp of tree: Thu, 07 Aug 2008 12:18:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -mssse3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -mssse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://ftp.fi.muni.cz/pub/linux/gentoo/  ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ http://gentoo.ynet.sk/pub "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/open /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X aac acl acpi alsa amd64 apm avahi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dga dri dts dv dvd dvdr ffmpeg fortran gdbm gnome gpm gtk hal iconv isdnlog jpeg jpeg2k matroska midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl pppd python readline reflection samba session spl sse sse2 sse3 ssl ssse3 sysfs tcpd truetype unicode userlocales utf8 vorbis xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 96 Vitalii Morvaniuk 2008-08-07 15:31:00 UTC
Dies with message
 * ERROR: games-emulation/pcsx2-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 3176:  Called die
 * The specific snippet of code:
 *       sed -e "s:%GAMES_BINDIR%:${GAMES_BINDIR}:" -e "s:%GAMES_DATADIR%:${GAMES_DATADIR}:" -e "s:%GAMES_LIBDIR%:$(games_get_libdir):" "${FILESDIR}/${PN}" > "${D}${GAMES_BINDIR}/${PN}" || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/environment'.
 * 
Gentoo 2008 amd64

emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz
Timestamp of tree: Thu, 07 Aug 2008 12:18:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -mssse3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mtune=core2 -mssse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ http://ftp.fi.muni.cz/pub/linux/gentoo/  ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ http://gentoo.ynet.sk/pub "
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/open /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X aac acl acpi alsa amd64 apm avahi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dga dri dts dv dvd dvdr ffmpeg fortran gdbm gnome gpm gtk hal iconv isdnlog jpeg jpeg2k matroska midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl pppd python readline reflection samba session spl sse sse2 sse3 ssl ssse3 sysfs tcpd truetype unicode userlocales utf8 vorbis xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 97 Russell Harmon 2008-08-08 00:23:12 UTC
I'm not seeing that behavior. Try re-downloading the pcsx2 script.
Comment 98 Russell Harmon 2008-08-09 22:06:38 UTC
I finally got not lazy and made an overlay. You can fetch it with:
layman -o http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true -a pcsx2-overlay

This is where I will be commiting all my changes from now on. I will not be posting any more ebuilds here. I will still however use this as a semi-bugtracker, so report problems here.
Comment 99 Markus Doits 2008-08-10 23:00:41 UTC
getting the same error like #96 with the pcsx2-9999.ebuild downloadable from here.



but another error from the overlay from comment #98:

 * 
 * ERROR: games-emulation/pcsx2-9999 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2861:  Called die
 * The specific snippet of code:
 *       use doc && dodoc Docs/*.txt || die;
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-9999/temp/environment'.
 * 


emerge info:
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: 2.6.26-gentoo x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz
Timestamp of tree: Sun, 10 Aug 2008 21:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de de_DE"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pcsx2-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm avi bash-completion berkdb bzip2 cdparanoia cdr cli cpufreq cracklib crypt cups dbus device-mapper divx dri dts dv dvb dvd dvdr dvdread encode exif fat ffmpeg flac fortran gdbm gpm gstreamer gtk hal iconv isdnlog jpeg jpeg2k lame live lm_sensors mad midi mjpeg mmx mono mp3 mpeg mudflap multilib mythtv ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcre pdf perl pmu png pppd python quicktime raw readline reflection session spl sqlite sse sse2 sse3 ssl ssse3 sysfs tcpd threads tiff truetype unicode vcd vorbis x264 xcomposite xinerama xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de de_DE" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 100 Russell Harmon 2008-08-11 02:08:16 UTC
Ok, it should be fixed in the repo.

Note that I am no longer supporting the ebuilds here. All my work just goes in the repo... so if you decide to use the ebuilds here, you are on your own.
Comment 101 Pavel Volkov 2008-11-08 09:38:26 UTC
Cannot compile pcsx2-0.9.4 from the overlay.

aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'                                                    
aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'                                                    
aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'                                                    
aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'                                                    
aVif.S:1629: Error: ambiguous operand size or operands invalid for `pandn'
aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'
aVif.S:1629: Error: ambiguous operand size or operands invalid for `movdqa'
make[2]: *** [aVif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/iVUzerorec.Tpo .deps/iVUzerorec.Po
make[2]: Leaving directory `/var/tmp/portage/games-emulation/pcsx2-0.9.4/work/pcsx2-0.9.4/pcsx2/x86'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-emulation/pcsx2-0.9.4/work/pcsx2-0.9.4/pcsx2/x86'
make: *** [all-recursive] Error 1
 *
 * ERROR: games-emulation/pcsx2-0.9.4 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2829:  Called die
 * The specific snippet of code:
 * emake || die
 * The die message:
 * (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-0.9.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-0.9.4/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/pcsx2-overlay/'
 *

emerge --info:
Portage 2.2_rc13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2melf x86_64)
=================================================================                                            
System uname: Linux-2.6.27-gentoo-r2melf-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5            
Timestamp of tree: Fri, 07 Nov 2008 19:30:13 +0000                                                           
app-shells/bash:     3.2_p39                                                                                 
dev-java/java-config: 1.3.7, 2.1.6-r1                                                                        
dev-lang/python:     2.5.2-r8                                                                                
dev-python/pycrypto: 2.0.1-r6                                                                                
dev-util/cmake:      2.6.2                                                                                   
sys-apps/baselayout: 2.0.0                                                                                   
sys-apps/openrc:     0.3.0-r1                                                                                
sys-apps/sandbox:    1.2.18.1-r3                                                                             
sys-devel/autoconf:  2.13, 2.63                                                                              
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                    
sys-devel/binutils:  2.19                                                                                    
sys-devel/gcc-config: 1.4.0-r4                                                                               
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.27-r2                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-O2 -pipe -march=native -mtune=native"                                                               
CHOST="x86_64-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config"                                                                                     
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"                                                              
CXXFLAGS="-O2 -pipe -march=native -mtune=native"                                                                               
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage/layman/pcsx2-overlay /usr/local/myover/combined"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl acpi alsa amd64 bash-completion berkdb bitmap-fonts bluetooth bzip2 cdr chasen cjk cli cracklib crypt csscups directfb djvu dri dts dvd dvdr encode exif fbcon ffmpeg flac fortran ftp gdbm geoip gif glitz gpm gtk hal iconv idn imap immqt-bc isdnlog jabber jpeg kde kdeprefix lame libcaca matroska midi mmx mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt4 raw readline reflection session spell spl sse sse2 ssl svg sysfs tcpd truetype truetype-fonts type1-fonts unicode usb vorbis wavpack x264 xcomposite xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB ru ja" USERLAND="GNU" VIDEO_CARDS="vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 102 Russell Harmon 2008-11-08 14:52:08 UTC
I'm not sure why this compile error is happening... maybe someone more familiar with asm can tell me. I think svn is just broken right now, but i'm not sure. Just switch back to pcsx2 0.9.4 for now.
Comment 103 Russell Harmon 2008-11-08 14:52:55 UTC
Oh, you're having that problem with 0.9.4... I thought it was with svn... my bad.
Comment 104 Russell Harmon 2008-11-08 15:44:44 UTC
I've added a pcsx2-playground to allow you to build one of the unofficial builds of pcsx2. That one works, use it.

As for pcsx2 itself, I hadn't changed anything in the ebuilds recently, so my best guess as to why the release build is broken is that they changed something in svn and backported it to the release and replaced the tarball that is on sourceforge. I may be wrong, but I really think it's pcsx2's fault (and I don't know how to fix it or I would make a patch to). If someone else can fix it, post a patch and i'll include it in the repo.
Comment 105 James Le Cuirot gentoo-dev 2008-11-08 15:52:01 UTC
Are you sure? It looks more likely that binutils 2.19 is stricter than previous versions. This version only hit the tree a few days okay. If you haven't upgraded yet, try it now, then upgrade and try again, ensuring that a new tarball isn't fetched for pcsx2.
Comment 106 Russell Harmon 2008-11-08 16:03:35 UTC
(In reply to comment #105)
> Are you sure? It looks more likely that binutils 2.19 is stricter than previous
> versions. This version only hit the tree a few days okay. If you haven't
> upgraded yet, try it now, then upgrade and try again, ensuring that a new
> tarball isn't fetched for pcsx2.
> 

No, i'm not sure... my guess is little better than a shot in the dark.
I tried downgrading my binutils (I had already upgraded) and that didn't fix the compile errors.
Comment 107 Pavel Volkov 2008-11-08 16:23:02 UTC
(In reply to comment #104)
> I've added a pcsx2-playground to allow you to build one of the unofficial
> builds of pcsx2. That one works, use it.

I've got compile errors with pcsx2-playground too:

x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pcsx2\" -DPACKAGE_TARNAME=\"pcsx2\" -DPACKAGE_VERSION=\"0.9.4\" -DPACKAGE_STRING=\"pcsx2\ 0.9.4\" -DPACKAGE_BUGREPORT=\"zerofrog@gmail.com\" -DPACKAGE=\"pcsx2\" -DVERSION=\"0.9.4\" -DNDEBUG=1 -D__x86_64__=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_NLS=1 -I. -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I./../  -pipe -O3 -Xlinker -zmuldefs -fomit-frame-pointer -Wall -Wno-format -Wno-unused-value  -O2 -pipe -march=native -mtune=native  -pipe -O3 -Xlinker -zmuldefs -fomit-frame-pointer -Wall -Wno-format -Wno-unused-value -MT ConfigDlg.o -MD -MP -MF .deps/ConfigDlg.Tpo -c -oConfigDlg.o ConfigDlg.cpp
ConfigDlg.cpp: In function ‘void TestPlugin(PluginConf, char*, const char*)’:
ConfigDlg.cpp:79: error: cast from ‘s32 (*)()’ to ‘s32’ loses precision
make[1]: *** [ConfigDlg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/interface.Tpo .deps/interface.Po
make[1]: Leaving directory `/var/tmp/portage/games-emulation/pcsx2-playground-9999/work/pcsx2-playground-9999/pcsx2/Linux'
make: *** [all-recursive] Error 1
 *
 * ERROR: games-emulation/pcsx2-playground-9999 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2845:  Called die
 * The specific snippet of code:
 * emake || die
 * The die message:
 * (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/pcsx2-playground-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/pcsx2-playground-9999/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/pcsx2-overlay/'
 *

>>> Failed to emerge games-emulation/pcsx2-playground-9999, Log file:

>>>  '/var/tmp/portage/games-emulation/pcsx2-playground-9999/temp/build.log'

Comment 108 Alexander Vedernikov 2008-11-11 22:51:49 UTC
e6750 ram32 # layman -o http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true -a pcsx2-overlay
* Overlay "pcsx2-overlay" does not exist!

What does it mean? :(
Comment 109 Russell Harmon 2008-11-12 01:25:58 UTC
(In reply to comment #108)
> e6750 ram32 # layman -o
> http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true
> -a pcsx2-overlay
> * Overlay "pcsx2-overlay" does not exist!
> 
> What does it mean? :(
> 
If you go to http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true do you get the xml file below?

<?xml version="1.0" ?>
<layman>
  <overlay
    type = "git"
    src  = "git://github.com/eatnumber1/pcsx2-overlay.git"
    status = "unofficial"
    contact = "eatnumber1@gmail.com"
    name = "pcsx2-overlay">
    <description>
      Experimental overlay for pcsx2 ebuilds.
    </description>
  </overlay>
</layman>
Comment 110 Pavel Volkov 2008-11-12 07:30:11 UTC
I couldn't add the overlay like that too, but adding the URL to /etc/layman/layman.cfg did the trick
Comment 111 Alexander Vedernikov 2008-11-12 08:39:14 UTC
(In reply to comment #110)
> I couldn't add the overlay like that too, but adding the URL to
> /etc/layman/layman.cfg did the trick
> 

This works for me too, thanks :)
Comment 112 Russell Harmon 2008-11-12 16:55:06 UTC
(In reply to comment #111)
> (In reply to comment #110)
> > I couldn't add the overlay like that too, but adding the URL to
> > /etc/layman/layman.cfg did the trick
> > 
> 
> This works for me too, thanks :)
> 

I wonder if -o is a new feature in layman 1.2.0-r1 (I run ~amd64) what version of layman are you using?
Comment 113 Pavel Volkov 2008-11-12 18:16:20 UTC
(In reply to comment #112)
> I wonder if -o is a new feature in layman 1.2.0-r1 (I run ~amd64) what version
> of layman are you using?

I'm using 1.2.0-r1 on ~amd64, too. It's not that it doesn't recognize the option (man page includes it as well), it tells that overlay doesn't exists (happens with wgetted local file too).

Comment 114 Russell Harmon 2008-11-12 22:39:12 UTC
(In reply to comment #113)
> (In reply to comment #112)
> > I wonder if -o is a new feature in layman 1.2.0-r1 (I run ~amd64) what version
> > of layman are you using?
> 
> I'm using 1.2.0-r1 on ~amd64, too. It's not that it doesn't recognize the
> option (man page includes it as well), it tells that overlay doesn't exists
> (happens with wgetted local file too).
> 

Very strange... it works for me. Fortunately, the other way mentioned above seems to work for the people who are experiencing this problem.

Now the bigger problem is figuring out why pcsx2 doesn't compile any more... which i'm still stumped on (granted I haven't had a lot of time to really look at it).
Comment 115 Alexander Vedernikov 2008-11-13 23:00:48 UTC
(In reply to comment #112)
> (In reply to comment #111)
> > (In reply to comment #110)
> > > I couldn't add the overlay like that too, but adding the URL to
> > > /etc/layman/layman.cfg did the trick
> > > 
> > 
> > This works for me too, thanks :)
> > 
> 
> I wonder if -o is a new feature in layman 1.2.0-r1 (I run ~amd64) what version
> of layman are you using?
> 

I use layman-1.2.0-r1 on ~amd64 too.
Unfortunately, I have the same merging problem as Paul :(
Comment 116 Russell Harmon 2008-11-23 20:41:46 UTC
I just tried compiling pcsx2-9999 and it compiles for me now. pcsx2-0.9.4 is still broken however. I masked pcsx2-0.9.4 until someone figures out why it's broken (I have no idea why).
Comment 117 Russell Harmon 2008-11-23 21:58:17 UTC
Ok, I figured it out. It was being caused by gcc 4.3.2. I added a depends <=sys-devel/gcc-4.3.1-r99 to the ebuild and put it back to KEYWORDS="~amd64 ~x86". I figured it out by looking at the commit messages in svn for pcsx2 (so shouldn't actually get the credit for solving the problem).

I also fixed the pcsx2-playground ebuild so that compiles for me now.

One thing I noted was that there seemed to be a custom-inis patch merged into the pcsx2-playground svn repo. Is one of the pcsx2-playground devs a gentoo user?
Comment 118 pedro 2008-12-19 09:08:32 UTC
(In reply to comment #108)
> e6750 ram32 # layman -o
> http://github.com/eatnumber1/pcsx2-overlay/tree/master%2Flayman-local.cfg?raw=true
> -a pcsx2-overlay
> * Overlay "pcsx2-overlay" does not exist!
> 
> What does it mean? :(
> 

layman -Lk , will list all those overlays that may not appear like this one. see -h for more details. It will then show pcsx2-overlay. 
Comment 119 Russell Harmon 2008-12-21 11:57:22 UTC
Can we remove pcsx2-0.8.1 from the tree? It's old and I don't think it even builds anymore.
Comment 120 Russell Harmon 2008-12-21 11:59:22 UTC
An ebuild for pcsx2-playground-1.0.0395 is now available.
Comment 121 Daniel Douglas 2009-03-09 06:15:08 UTC
0.9.6 has been out since January which merges plaground back into the main branch, and apparantly fixes a lot of bugs. Anyone tried bumping one of the older ebuilds?
Comment 122 Russell Harmon 2009-03-09 13:01:58 UTC
I had been really busy with my school, but I should have time to try to make it work this weekend.
Comment 123 Russell Harmon 2009-03-09 13:08:58 UTC
I should also add the fact that I was not aware that a new version had been released... I thought I was just procrastinating fixing the svn ebuilds. My apologies to the gentoo-pcsx2 community. I will fix it today.
Comment 124 Russell Harmon 2009-03-09 15:31:21 UTC
I just added pcsx2-0.9.6. I dropped pcsx2-9999 since it doesn't work (i'll re-add it when I fix it).

Note that pcsx2-0.9.6 has to check out the tagged version from svn, since downloading the tarball from pcsx2.net is not possible. I've emailed one of the developers who I have a correspondence with asking him to release source tarballs on their googlecode page.
Comment 125 Dennis Schridde 2009-03-09 16:34:00 UTC
Sadly does not build:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libgio-2.0.so when searching for -lgio-2.0                                                                                                                             
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libgio-2.0.a when searching for -lgio-2.0                                                                                                                              
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgio-2.0.so when searching for -lgio-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgio-2.0.a when searching for -lgio-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgio-2.0

I did not yet figure out why it thinks that library is incompatible. There is no obvious mistake as an -m32 in there.

Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r3 x86_64)
=================================================================                                                
System uname: Linux-2.6.28-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.0     
Timestamp of tree: Mon, 09 Mar 2009 15:45:02 +0000                                                               
app-shells/bash:     3.2_p48-r1                                                                                  
dev-java/java-config: 2.1.7                                                                                      
dev-lang/python:     2.6.1                                                                                       
dev-python/pycrypto: 2.0.1-r8                                                                                    
dev-util/cmake:      2.6.3                                                                                       
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r1                                                                                    
sys-apps/sandbox:    1.4                                                                                         
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                   
sys-devel/binutils:  2.19.1                                                                                      
sys-devel/gcc-config: 1.4.1                                                                                      
sys-devel/libtool:   2.2.6a                                                                                      
virtual/os-headers:  2.6.28-r1                                                                                   
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                     
CFLAGS="-pipe -O2 -march=athlon64 -fstack-protector"                                                             
CHOST="x86_64-pc-linux-gnu"                                                                                      
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"         
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                                    
CXXFLAGS="-pipe -O2 -march=athlon64 -fstack-protector"                                                                                                        
DISTDIR="/var/cache/portage/distfiles"                                                                                                                        
EMERGE_DEFAULT_OPTS="--with-bdeps y"                                                                                                                          
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync"                                                                                                                                                
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"        
LANG="en_GB.UTF-8"                                                                                                                                            
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"                                                                                                        
LINGUAS="de"                                                                                                                                                  
MAKEOPTS="-j3"                                                                                                                                                
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/var/cache/portage/layman/sunrise /var/cache/portage/layman/java-overlay /var/cache/portage/layman/pcsx2 /var/cache/portage/layman/x11 /var/cache/portage/layman/kde-testing /var/cache/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
(striped huge USE blob)
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 126 Dennis Schridde 2009-03-09 16:34:47 UTC
Created attachment 184473 [details]
build.log of incompatible libgio-2.0.so
Comment 127 Russell Harmon 2009-03-09 17:59:46 UTC
it seems to be building against amd64 gio instead of x86 gio. pcsx2 no longer supports amd64 builds, but I run amd64 and it works on mine (as a 32-bit build)... i'll try adding -m32 and you can see if that works (in a few hours, don't have time right now).
Comment 128 Dennis Schridde 2009-03-09 18:31:39 UTC
Having -m32 in C(XX)FLAGS does not help.

Something else I noticed: Upstream misdefines PACKAGE_VERSION to 0.9.5.
Comment 129 Dennis Schridde 2009-03-09 18:32:32 UTC
(In reply to comment #128)
> Having -m32 in C(XX)FLAGS does not help.
P.S: Maybe I should add that there is no 32bit libgio-2.0.so on my system.
Comment 130 Russell Harmon 2009-03-09 19:14:58 UTC
In that case, i'm missing one of the emul libraries from the ebuilds dependencies... I have class, but I should be able to figure out which one has libgio after class.
Comment 131 Daniel Douglas 2009-03-09 20:36:29 UTC
Hey thanks for working on this, Russell. Yes, I have the same failure as Dennis on amd64.
Comment 132 Dennis Schridde 2009-03-09 22:28:28 UTC
(In reply to comment #131)
> Yes, I have the same failure as Dennis on amd64.
Could you please post your emerge--info, so we can compare?

Comment 133 Russell Harmon 2009-03-09 23:09:35 UTC
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc6-zen2 x86_64)
=================================================================
System uname: Linux-2.6.29-rc6-zen2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L7500_@_1.60GHz-with-glibc2.2.5
Timestamp of tree: Wed, 25 Feb 2009 21:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
BIBINPUTS=".:/home/russ/doc/tex/::"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=native -g -ggdb -pipe"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="default;default;0"
COLORTERM="rxvt-xpm"
CONFIG_PROTECT="/etc /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=native -g -ggdb -pipe"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --with-bdeps y"
EMERGE_WARNING_DELAY="10"
FEATURES="buildpkg candy distlocks fixpackages installsources parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://gentoo.mirrors.pair.com/"
HOME="/home/russ"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/home/russ/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/russ/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/russ/.gentoo/java-config-2/current-user-vm"
KERNEL="linux"
LADSPA_PATH="/usr/lib64/ladspa"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LDFLAGS="-Wl,-O1,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LINGUAS="en en_US"
LOGNAME="russ"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAIL="/var/mail/russ"
MAKEOPTS="-j5"
MANPATH="/home/russ/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.3/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NNTPSERVER="news.csh.rit.edu"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATCH_OVERLAY="/etc/portage/patches"
PATH="/home/russ/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3:/usr/qt/3/bin:/usr/games/bin"
PBS_SERVER_HOME="/var/spool/torque"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PLUGINS_DIR="/etc/portage/bashrc.plugins"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_COUNTER_HASH="77c6d0b10df282140454a89707ce3229"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="19"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/portage/local/layman/pcsx2-overlay /usr/portage/local/layman/x11 /usr/portage/local/eatnumber1-overlay"
PRELINK_PATH_MASK="/usr/lib64/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PS1="\[\033[01;32m\]\h\[\033[01;34m\] \w $\[\033[00m\] "
PWD="/home/russ"
PYTHONDOCS="/usr/share/doc/python-docs-2.5.1/html/lib"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.3:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="5"
SSH_AGENT_PID="4282"
SSH_AUTH_SOCK="/tmp/ssh-PbRpdu4281/agent.4281"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
TEXINPUTS=".:/home/russ/doc/tex/:/home/russ/.miktex/tex/latex//::"
TMP="/tmp/.private/russ"
TMPDIR="/tmp/.private/russ"
UCLIBC_CPU="686"
USE="X a52 aac acl acpi alsa amd64 ao audiofile bash-completion berkdb bluetooth branding bzip2 cairo calendar cddb cdr cjk cli cracklib crypt ctype cups curl curlwrappers custom-cxxflags cxx dbus djvu doc dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fbcon ffmpeg fftw firefox flac flatfile fontconfig fortran ftp gcj gd gdbm gif glitz gmp gnutls gpm graphviz gtk hal iconv idn imagemagick imlib inifile iodbc ipv6 isdnlog jabber java java5 java6 javascript jbig jpeg jpeg2k ladspa lapack latex lcms libedit libffi libnotify libsamplerate lzma lzo mad matroska mhash midi mikmod mmap mmx modplug mp3 mpeg mpi mudflap multilib musepack ncurses nls nptl nptlonly nsplugin odbc ogg openal openexr opengl openmp pam pcntl pcre pdf perl plotutils png ppds pppd pulseaudio python qdbm qt3support quicktime raw readline recode reflection sasl sdl session sharedext sharedmem smp sndfile sockets socks5 source spell spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog sysvipc taglib tcpd theora threads tidy tiff timidity tokenizer truetype unicode usb vcd vim-syntax vorbis wmf x264 xinetd xml xmlrpc xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="intel"
USER="russ"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="intel"
WINDOWID="8407461"
WINDOWPATH="7"
WMII_9MENU="wmii9menu -font '-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-u' -nf '#888888' -nb '#222222' -sf '#ffffff' -sb '#285577' -br '#4c7899'"
WMII_ADDRESS="unix!/tmp/ns.russ.:0/wmii"
WMII_CONFPATH="/home/russ/.wmii-3.5:/etc/wmii-3.5"
WMII_FOCUSCOLORS="#ffffff #285577 #4c7899"
WMII_FONT="-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-u"
WMII_MENU="dmenu -b -fn '-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-u' -nf '#888888' -nb '#222222' -sf '#ffffff' -sb '#285577'"
WMII_NORMCOLORS="#888888 #222222 #333333"
WMII_NS_DIR="/tmp/ns.russ.:0"
WMII_TERM="urxvtc"
XAUTHORITY="/home/russ/.Xauthority"
XDG_SESSION_COOKIE="a553f6e5dcc0ee92d284383b4988657b-1236639709.123072-235610044"
_="/usr/bin/emerge"
Comment 134 Russell Harmon 2009-03-10 00:09:53 UTC
Odd that you are getting this error at all. pcsx2 on my system doesn't seem to even be trying to use libgio. I can't even find references to gio in the source code!

P.S. I pushed a patch which bumps the compile-time version number.
Comment 135 Russell Harmon 2009-03-10 00:17:30 UTC
I should also point out that pcsx2 on amd64 won't work until I port the plugin ebuilds to build 32-bit plugins.
Comment 136 Luke-Jr 2009-03-10 00:32:03 UTC
FWIW, there is no real amd64 version unless it works with profiles/default/linux/amd64/2008.0/no-multilib/

Why is all this emul nonsense necessary? Did PCSX2 drop amd64 support?
Comment 137 Russell Harmon 2009-03-10 00:33:55 UTC
yes... 64 bit builds are no longer supported.
Comment 138 Luke-Jr 2009-03-10 00:49:46 UTC
Sigh. Oh well, it never really worked anyway. :<

For reference, I did finally find the upstream thread:

http://forums.pcsx2.net/thread-2621-page-1.html
Comment 139 Daniel Douglas 2009-03-10 05:17:09 UTC
Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28.7 x86_64)    
=================================================================                                            
System uname: Linux-2.6.28.7-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5                   
Timestamp of tree: Tue, 10 Mar 2009 02:00:01 +0000                                                           
ccache version 2.4 [enabled]                                                                                 
app-shells/bash:     3.2_p48-r1                                                                              
dev-java/java-config: 2.1.7                                                                                  
dev-lang/python:     2.5.4-r2                                                                                
dev-util/ccache:     2.4-r8                                                                                  
dev-util/cmake:      2.6.3                                                                                   
sys-apps/baselayout: 2.0.0                                                                                   
sys-apps/openrc:     0.4.3-r1                                                                                
sys-apps/sandbox:    1.4                                                                                     
sys-devel/autoconf:  2.13, 2.63                                                                              
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                               
sys-devel/binutils:  2.19.1                                                                                  
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6a                                                                                  
virtual/os-headers:  2.6.28-r1                                                                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-march=native -O3 -pipe"                                                                             
CHOST="x86_64-pc-linux-gnu"                                                                                  
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/layman/science /usr/local/portage/layman/zugaina /usr/local/portage/layman/nx /usr/local/portage/layman/qting-edge /usr/local/portage/layman/pcsx2 /usr/local/portage/layman /usr/local/portage/custom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa alsa-lib amd64 apm bash-completion bluetooth branding bzip2 cairo cdaudio cdparanoia cdr cli cracklib crypt cups daap dbus dri dssi dvd dvdr dvdread eds emboss encode esd evo exif fam fbdev ffmpeg firefox flac fortran fuse gdbm gif gimp glib glitz gphoto2 gpm gstreamer gtk hal htmlhandbook iconv imagemagick isdnlog jack joystick jpeg kde kde4 kdeprefix ldap libnotify mad midi mikmod mmx mng mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly ogg openexr opengl openmp pam pcre pdf perl phonon plotutils png ppds pppd python qt3support qt4 quicktime raster raw readline reflection rtc sdl semantic-desktop session spell spl sse sse2 sse3 sse4 sse4.1 sse4.2 ssl ssse3 startup-notification svg sysfs tcpd theora tiff truetype tunepimp unicode usb vorbis webkit xcomposite xine xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 140 Dennis Schridde 2009-03-10 11:55:02 UTC
The dev9null plugin succeeded, everything else apparently tries to link against gio-2.0 (via "pkg-config --libs gtk+-2.0" probably). (The library would be removed again by --as-needed, but before ld can decide that it is needed.)


Failing ebuilds so far:
 *      ('ebuild', '/', 'games-emulation/pcsx2-0.9.6', 'merge')
 *      ('ebuild', '/', 'games-emulation/ps2emu-zerogs-0.9.6', 'merge')
 *      ('ebuild', '/', 'games-emulation/ps2emu-cdvdlinuz-0.9.6', 'merge')
 *      ('ebuild', '/', 'games-emulation/ps2emu-usbnull-0.9.6', 'merge')
 *      ('ebuild', '/', 'games-emulation/ps2emu-fwnull-0.9.6', 'merge')
 *      ('ebuild', '/', 'games-emulation/ps2emu-cdvdiso-0.9.6', 'merge')


Also note this QA message:
 * QA Notice: Expected CHOST='x86_64-pc-linux-gnu', got 'i686-pc-linux-gnu'
Comment 141 Russell Harmon 2009-03-10 12:10:26 UTC
I don't have libgio in the output from pkg-config
pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
is it a component of the -lglib-2.0?
Comment 142 Dennis Schridde 2009-03-10 12:15:49 UTC
$ pkg-config --libs gtk+-2.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
Comment 143 Russell Harmon 2009-03-10 12:17:59 UTC
Hmm... let me get the pcsx2 ebuilds finished and working for me, then i'll try to help debug your issues.
Comment 144 Russell Harmon 2009-03-10 17:08:07 UTC
Ok, everything works for me. Feel free to start telling me about issues.
Comment 145 Dennis Schridde 2009-03-10 22:21:37 UTC
games-emulation/ps2emu-zeropad-0.2.0 is missing a space after my CFLAGS. (Before -I/usr/include/gtk-2.0)
Comment 146 Dennis Schridde 2009-03-10 22:22:54 UTC
games-emulation/ps2emu-zerogs-0.96.7 depends on libXxf86vm-dev.
And of course still the incompatible libgio-2.0.
Comment 147 Daniel Douglas 2009-03-10 22:33:23 UTC
Same lgio issue issue here. How did you fix that? attached log.
Comment 148 Daniel Douglas 2009-03-10 22:35:12 UTC
Created attachment 184629 [details]
another lgio issue. (I think)
Comment 149 Dennis Schridde 2009-03-10 22:37:16 UTC
games-emulation/ps2emu-zerogs-0.96.7 has some issues in config.log:

configure:4581: checking for a x86-64 CPU
configure:4618: x86_64-pc-linux-gnu-gcc -m32 -o conftest -pipe -O2 -march=athlon64 -fstack-protector  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c$
conftest.c: Assembler messages:
conftest.c:19: Error: Unrecognized token '%'
conftest.c:20: Error: Unrecognized token '%'
[...]
configure:4656: result: no

(Even though I am on x86_64.)


It does not find GLEW, because I have no 32bit version installed:

configure:4912: checking for main in -lGLEW
configure:4941: x86_64-pc-linux-gnu-gcc -m32 -o conftest -pipe -O2 -march=athlon64 -fstack-protector  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libGLEW.$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libGLEW.$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libGLEW.so when searching for -lGLEW
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libGLEW.a when searching for -lGLEW
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGLEW
[...]
configure:4969: result: no


And of course:

configure:5294: checking for main in -lXxf86vm
configure:5323: x86_64-pc-linux-gnu-gcc -m32 -o conftest -pipe -O2 -march=athlon64 -fstack-protector  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed conftest.c$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libgio-2$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../libgio-2$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgio-2.0.so when searching for -lgio-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libgio-2.0.a when searching for -lgio-2.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgio-2.0
[...]
configure:5351: result: no

And this happens during the checks for GL and GLU as well.
Comment 150 Russell Harmon 2009-03-10 23:05:53 UTC
The GLEW issue is because the existing GLEW ebuilds does not build 32bit libraries, and the emul-xlibs does not include them. I modified =media-libs/glew-1.4.0 with a really dirty hack so that it builds both 32bit and 64bit libs. Check that you have =media-libs/glew-1.4.0 from the pcsx2-overlay installed.

You will also need media-gfx/nvidia-cg-toolkit from the pcsx2-overlay installed for the same reason.
Comment 151 Russell Harmon 2009-03-10 23:06:49 UTC
As for the libgio issue, what version of gtk+ and glib do you have installed?
Comment 152 Russell Harmon 2009-03-10 23:28:24 UTC
As a general call out:

I'm looking for another developer to help maintain the pcsx2 ebuilds. Pcsx2 is a rather complex build and requires time that I can't *always* give to it. This is not to say that i'd stop working on it, but someone who could devote their time to working on svn ebuilds (or something along those lines) would be ideal.

So anyone who is familiar with writing ebuilds and the pcsx2 build system, please send me an email (russ@eatnumber1.com).
Comment 153 Daniel Douglas 2009-03-11 03:43:39 UTC
dev-libs/glib-2.18.4 and x11-libs/gtk+-2.14.7-r2

I need to downgrade?

Argh I'd love to help... but school. Every time I want to sit down and write an ebuild it becomes much more complicated than I originally thought.
Comment 154 Dennis Schridde 2009-03-11 09:13:27 UTC
dev-libs/glib-2.18.4
x11-libs/gtk+-2.14.7-r2
Comment 155 Dennis Schridde 2009-03-11 10:16:57 UTC
Maybe app-emulation/emul-linux-x86-gtklibs should ship with pkg-config files. Then you could set PKG_CONFIG_LIBDIR to /usr/lib32/pkgconfig and it would choose the correct configuration.
Comment 156 Russell Harmon 2009-03-11 16:58:28 UTC
I have x11-libs/gtk+-2.12.11 and dev-libs/glib-2.16.6

Try downgrading gtk+ first and see if that works, if it doesn't, try downgrading glib too. If that works, then upgrade gtk+ and see if that breaks it again.
Comment 157 Russell Harmon 2009-03-11 22:50:15 UTC
(In reply to comment #155)
> Maybe app-emulation/emul-linux-x86-gtklibs should ship with pkg-config files.
> Then you could set PKG_CONFIG_LIBDIR to /usr/lib32/pkgconfig and it would
> choose the correct configuration.
> 

I don't see how that would be helpful. In any case, the pkg-config files would be the same between the two archs... the libgio problem (i *think*) is because you are running a later version of gtk+ then is shipped with emul-gtklibs.

P.S. Try upgrading app-emulation/emul-linux-x86-gtklibs to the latest to see if that works.
Comment 158 Dennis Schridde 2009-03-11 23:01:35 UTC
(In reply to comment #157)
> (In reply to comment #155)
> > Maybe app-emulation/emul-linux-x86-gtklibs should ship with pkg-config files.
> > Then you could set PKG_CONFIG_LIBDIR to /usr/lib32/pkgconfig and it would
> > choose the correct configuration.
> I don't see how that would be helpful. In any case, the pkg-config files
> would be the same between the two archs... the libgio problem (i *think*) is
> because you are running a later version of gtk+ then is shipped with emul-
> gtklibs.
It would be helpful, because the pkg-config files would not be the same. pkg-config --list would list the lib32 libraries for the lib32 pkg-config file, and it would list the lib64 libraries for the lib64 pkg-config file. Thus a package using pkg-config --libs would only try to link against the libraries which are actually present for the given arch. If you do not do this, it would always try to link against the libraries which are present for x86_64, but which may be missing on x86.
Comment 159 Dennis Schridde 2009-03-14 11:41:08 UTC
Emerging is only possible with some hacks:
(source /etc/make.conf && CFLAGS="${CFLAGS} -I/opt/nvidia-cg-toolkit/include" CXXFLAGS="${CXXFLAGS} -I/opt/nvidia-cg-toolkit/include" LDFLAGS="${LDFLAGS} -L/opt/nvidia-cg-toolkit/lib" emerge -1uDN @world)

Additionally, I think, you should package the 32bit variants of GLEW and Cg into a emul-linux-x86-opengl.

I created bug #262414 for the pkg-config issue.
Comment 160 Russell Harmon 2009-03-14 19:44:57 UTC
(In reply to comment #159)
> Emerging is only possible with some hacks:
> (source /etc/make.conf && CFLAGS="${CFLAGS} -I/opt/nvidia-cg-toolkit/include"
> CXXFLAGS="${CXXFLAGS} -I/opt/nvidia-cg-toolkit/include" LDFLAGS="${LDFLAGS}
> -L/opt/nvidia-cg-toolkit/lib" emerge -1uDN @world)
> 
> Additionally, I think, you should package the 32bit variants of GLEW and Cg
> into a emul-linux-x86-opengl.
> 
> I created bug #262414 for the pkg-config issue.
> 

I don't need to do that... what makes you have to add the nvidia-cg-toolkit-stuff
Comment 161 Russell Harmon 2009-03-14 21:11:49 UTC
Ok, I figured it out... it should be fixed, as should the libgio issue.
Comment 162 Dennis Schridde 2009-03-16 12:08:47 UTC
After reemerging media-gfx/nvidia-cg-toolkit and media-libs/glew it works. To aid user you should bump the revisions of those in your overlay and then depend on the bumped revisions.

/usr/games/bin/pcsx2 has an issue though, it needs to be started with LD_LIBRARY_PATH=/opt/nvidia-cg-toolkit/lib32/. I propose adding a shell-script wrapper.
Comment 163 Daniel Douglas 2009-03-18 13:34:05 UTC
Next problem:

Can't open libZeroGSogl.so: /home/smorg/.pcsx2/plugins/libZeroGSogl.so: undefined symbol: __glewBindBuffer
Comment 164 Dennis Schridde 2009-03-18 13:49:14 UTC
That happens when you use the "wrong" media-libs/glew. The issue magically vanishes when using the one from the pcsx2 overlay.
I assume the internal copy pcsx2 uses to link against in the absence of a 32bit system GLEW is outdated or otherwise broken.
Comment 165 Daniel Douglas 2009-03-18 14:17:22 UTC
(In reply to comment #164)
> That happens when you use the "wrong" media-libs/glew. The issue magically
> vanishes when using the one from the pcsx2 overlay.
> I assume the internal copy pcsx2 uses to link against in the absence of a 32bit
> system GLEW is outdated or otherwise broken.
> 

I'm using the overlay version according to portage. This only happens when fixing the environment lib paths with LD_LIBRARY_PATH=/opt/nvidia-cg-toolkit/lib32/

Otherwise theres a similar issue just plain launching pcsx2: "Can't open libZeroGSogl.so: libCg.so: cannot open shared object file: No such file or directory"
Comment 166 Russell Harmon 2009-03-18 22:06:01 UTC
I just pushed my current repo... it still has problems with nvidia-cg-toolkit, but i'm hoping you guys might have some insight as i'm stuck.
Comment 167 Daniel Douglas 2009-03-23 23:00:47 UTC
The problem seems to have been caused by using the updated media-gfx/nvidia-cg-toolkit-2.1.0017 from portage. For some reason, this was the version that was installed, and something decided to downgrade it automatically to 2.1.0012 even though pcsx2 doesn't list any version of that package as a dependency, which is how I discovered that this works.

Graphics seem quite choppy and games are basically unplayable due to so many artifacts and glitches, but this is possibly due to fglrx.

Is there a reason that the nvidia-cg-toolkit version in the overlay is 2 versions old, and could this be causing issues? The newest version in portage causes the problems mentioned in my previous posts.
Comment 168 Daniel Douglas 2009-03-23 23:23:11 UTC
I should mention a simple version bump of the pre-existing ebuild in the overlay builds correctly. The difference between the portage and overlay versions seems to have to do with the multilib? ( ${X86_URI} ) line. Without it, I get the problems with not detecting the graphics plugin.

Comment 169 Russell Harmon 2009-05-05 19:26:11 UTC
Ok, the problems with nvidia-cg-toolkit are fixed. You MUST be using the nvidia-cg-toolkit-2.1.0012 from the overlay if you are on an amd64 system. Also, there is a new ebuild ps2emu-zzogl which is a new graphics plugin which is a fork of zerogs.

See here: http://forums.pcsx2.net/thread-4108-page-1.html for more information on zzogl.
Comment 170 Marcelo Borges Ribeiro 2009-05-17 21:17:27 UTC
I cannot build version 0.9.6 in both archs amd64 and x86, always the same error:

cc1plus: error: unrecognized command line option "-fno-dse"
Comment 171 Russell Harmon 2009-05-17 21:59:04 UTC
Please post the build log and your emerge --info
Comment 172 Marcelo Borges Ribeiro 2009-05-18 21:49:33 UTC
Created attachment 191723 [details]
Build.log gzip format

build fail.
Comment 173 Marcelo Borges Ribeiro 2009-05-18 21:52:21 UTC
(In reply to comment #171)
> Please post the build log and your emerge --info
> 
Oh, I'd like to say it is pt_BR and not po_BR in LINGUAS. Thanks


All this information is for the AMD64 arch


~ # emerge --info 
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.1.2,
glibc-2.8_p20080602-r1, 2.6.27-gentoo-r8 x86_64)                   
================================================================= 
System uname:
Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8200_@_2.33GHz-with-glibc2.2.5 
Timestamp of tree: Sat, 16 May 2009 21:00:01 +0000                
ccache version 2.4 [enabled]                                      
app-shells/bash:     3.2_p39                                      
dev-java/java-config: 1.3.7-r1, 2.1.7                             
dev-lang/python:     2.4.4-r13, 2.5.4-r2                          
dev-python/pycrypto: 2.0.1-r6                                     
dev-util/ccache:     2.4-r7                                       
dev-util/cmake:      2.6.3-r1                                     
sys-apps/baselayout: 1.12.11.1                                    
sys-apps/sandbox:    1.6-r2                                       
sys-devel/autoconf:  2.13, 2.63                                   
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2   
sys-devel/binutils:  2.18-r3                                      
sys-devel/gcc-config: 1.4.0-r4                                    
sys-devel/libtool:   1.5.26                                       
virtual/os-headers:  2.6.27-r2                                    
ACCEPT_KEYWORDS="amd64"                                           
CBUILD="x86_64-pc-linux-gnu"                                      
CFLAGS="-march=nocona -O2 -pipe"                                  
CHOST="x86_64-pc-linux-gnu"                                       
CONFIG_PROTECT="/etc /usr/share/config"                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash
/etc/terminfo /etc/udev/rules.d"           
CXXFLAGS="-march=nocona -O2 -pipe"                                
DISTDIR="/usr/portage/distfiles"                                  
EMERGE_DEFAULT_OPTS="--alphabetical"                              
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs
protect-owned sandbox sfperms strict unmerge-orphans userfetch" 
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"                       
LDFLAGS="-Wl,-O1"                                                 
LINGUAS="pt_BR"                                                   
MAKEOPTS="-j5"                                                    
PKGDIR="/usr/portage/packages"                                    
PORTAGE_CONFIGROOT="/"                                            
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"        
PORTAGE_TMPDIR="/var/tmp"                                         
PORTDIR="/usr/portage"                                            
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/roslin /usr/portage/local/layman/pcsx2-overlay"       
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                    
USE="3dnow 3dnowext X a52 aac acl acpi addbookmarks alias alsa amd64 amr
apache2 audiofile avi bash-completion berkdb bluetooth branding browserplugin
bzip2 cairo cdr cli connectionstatus contactnotes cpudetection cracklib crypt
cups dbus divx divx4linux dri dv dvd dvdr dvdread eds emboss encode esd evo fam
fame ffmpeg firefox foomaticdb fortran fuse gb gdbm gif glitz gnome gpg gpm gs
gstreamer gtk gtk2 hal hddtemp highlight history iconv image imagemagick
isdnlog java joystick jpeg kde kdeenablefinal kdexdeltas libnotifylibwww lirc
lm_sensors mad meanwhile midi mikmod mmx mmxext mng mozilla mp3 mpeg mplayer
msn mudflap multilib ncurses netmeeting nls nowlistening nptl nptlonly nsplugin
ntfs nvidia ogg opengl openmp oscar oss pam pcre pdf pdflib perl phonon png
ppds pppd pwdb python qt qt3 qt3support qt4 quicktime rar rdesktop readline
reflection samba sdl session sms spell spl sse sse2 ssl ssse3
startup-notification statistics subtitles svg sysfs tcl tcpd tex texteffect
threads tiff tk truetype unicode usb v4l2 vorbis webkit webpresence winpopup
wlm x264 xcb xcomposite xml xorg xosd xrandr xscreensaverxulrunner xv xvid xvmc
yahoo zip zlib" ALSA_CARDS="hda-intel saa7134" ALSA_PCM_PLUGINS="adpcm alaw
asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mmap_emul mulaw multi null plug rate route share shm
softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfileauthz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magicnegotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR"
LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Attached is my build.log

Comment 174 shanoah 2009-05-19 21:50:52 UTC
That error is from three compiler flags having been put in to fix an optimization issue in gcc 4.3+ that don't exist in gcc 4.1.2. This is an issue that's been fixed in current svn (by detecting the version of gcc, and only applying them to appropriate versions).
Comment 175 Russell Harmon 2009-05-19 22:53:10 UTC
I just added a dependency on >=sys-devel/gcc-4.3. I'll remove it once a new version of pcsx2 comes out.
Comment 176 shanoah 2009-05-20 08:47:53 UTC
Actually, all you'd really need to do is patch configure.ac so that these two lines:
# These optimizations seem to cause issues with GCC 4.3.3, so we'll turn them off. Comment if not on 4.3+
NORMAL_FLAGS+=" -fno-guess-branch-probability -fno-dse -fno-tree-dse "

become:
if test "x$GCC" = "xyes"; then
  dnl get gcc version
  AC_MSG_CHECKING([gcc version])
  gccver=$($CC -dumpversion)
  gccvermajor=$(echo $gccver | cut -d . -f1)
  gccverminor=$(echo $gccver | cut -d . -f2)
  gccverrevision=$(echo $gccver | cut -d . -f3)
  gccvernum=$(expr $gccvermajor "*" 100 + $gccverminor "*" 10 + $gccverrevision)
  AC_MSG_RESULT($gccver)
fi

dnl These optimizations seem to cause issues with GCC 4.3.3, so we'll turn them off. 
    if test "$gccvernum" -ge "433"; then
      NORMAL_FLAGS+=" -fno-guess-branch-probability -fno-dse -fno-tree-dse "
    fi

That's what the current version is doing...
Comment 177 Russell Harmon 2009-05-20 21:56:29 UTC
Ok, I created a patch to make the changes that Shanoah suggested and committed that to the tree. Marcelo, let me know if that fixes your problem
Comment 178 Marcelo Borges Ribeiro 2009-05-21 18:52:25 UTC
(In reply to comment #177)
> Ok, I created a patch to make the changes that Shanoah suggested and committed
> that to the tree. Marcelo, let me know if that fixes your problem
> 

Ok, I will test it today and post here the result.
Comment 179 Marcelo Borges Ribeiro 2009-05-21 22:57:33 UTC
(In reply to comment #178)
> (In reply to comment #177)
> > Ok, I created a patch to make the changes that Shanoah suggested and committed
> > that to the tree. Marcelo, let me know if that fixes your problem
> > 
> 
> Ok, I will test it today and post here the result.
> 
Now I've got another error. I am uploading the new build.log

Comment 180 Marcelo Borges Ribeiro 2009-05-21 23:00:08 UTC
Created attachment 192073 [details]
Another faulty building
Comment 181 Pavel Volkov 2009-10-29 20:09:18 UTC
Is the git tree still up? For me layman returns:

* Errors:
* ------
*
* Failed to sync overlay "pcsx2-overlay".
* Error was: Syncing overlay "pcsx2-overlay" returned status 256!
Comment 182 Vladislav Poluhin 2009-11-20 18:17:37 UTC
(In reply to comment #181)
> Is the git tree still up? For me layman returns:
> 
> * Errors:
> * ------
> *
> * Failed to sync overlay "pcsx2-overlay".
> * Error was: Syncing overlay "pcsx2-overlay" returned status 256!
> 

U may use just "pcsx2".

Comment 183 Ivan Filgueiras 2009-11-22 18:53:22 UTC
I would also like to see this in portage. I'm under amd64 architecture, and I gave up trying to install it from pcsx2 overlay.

I always stopped at the glew something error, even though I installed pcsx2 overlay's glew 1.4.0 version.

Hope to see this working in the future. :)
Comment 184 Russell Harmon 2009-11-22 21:46:25 UTC
(In reply to comment #183)
> I would also like to see this in portage. I'm under amd64 architecture, and I
> gave up trying to install it from pcsx2 overlay.
> 
> I always stopped at the glew something error, even though I installed pcsx2
> overlay's glew 1.4.0 version.
> 
> Hope to see this working in the future. :)
> 
If you are having problems, i'd like to know about them. I do all my pcsx2 packaging work on an amd64 machine.
Comment 185 Ivan Filgueiras 2009-12-01 18:32:37 UTC
Well, I've just tried everything again, from the start.

I've just emerged pcsx2-0.9.7.1736 from the pcsx2 overlay. It installed all of the null plugins (I double checked). I have the bios file in the proper directory (~/.pcsx2/bios).

When I ran pcsx2 for the first time, it tells me that it needs to be configure. I will upload a screenshot of what I see, but I can give you in advance that the dev9, spu and usb null plugins are not detected. I noticed that the plugins were not in the last versions, because the latest ones were keyword masked and the oldest ones weren't.

Then, the emulator got to its main window here for the first time! Alright! Then, I installed the zero's plugins for pad, spu2 and graphics. The first two worked, but the last one got the same error as before:

Can't open libZZogl.so: /home/ivan/.pcsx2/plugins/libZZogl.so: undefined symbol: __glewBindBuffer

My glew version was 1.5 and I got it from the portage main tree. As a last resort, I tried using the 1.4 version provided by the pcsx2 overlay. I reemerged nvidia-cg-toolkit just in case (I have a NVIDIA). The result was the same. No lucky either with glew-1.5.1 in pcsx2 overlay.

So, with the plugins provided, I am unable to use pcsx2 as a PlayStation 2 emulator.

Hope this helps.



(In reply to comment #184)
> (In reply to comment #183)
> > I would also like to see this in portage. I'm under amd64 architecture, and I
> > gave up trying to install it from pcsx2 overlay.
> > 
> > I always stopped at the glew something error, even though I installed pcsx2
> > overlay's glew 1.4.0 version.
> > 
> > Hope to see this working in the future. :)
> > 
> If you are having problems, i'd like to know about them. I do all my pcsx2
> packaging work on an amd64 machine.
> 

Comment 186 Russell Harmon 2009-12-01 22:51:04 UTC
(In reply to comment #185)
> Well, I've just tried everything again, from the start.
> 
> I've just emerged pcsx2-0.9.7.1736 from the pcsx2 overlay. It installed all of
> the null plugins (I double checked). I have the bios file in the proper
> directory (~/.pcsx2/bios).
> 
> When I ran pcsx2 for the first time, it tells me that it needs to be configure.
> I will upload a screenshot of what I see, but I can give you in advance that
> the dev9, spu and usb null plugins are not detected. I noticed that the plugins
> were not in the last versions, because the latest ones were keyword masked and
> the oldest ones weren't.

You shouldn't use the older plugins. Most (if not all) of them won't work. You should be using the latest arch masked packages available.

> 
> Then, the emulator got to its main window here for the first time! Alright!
> Then, I installed the zero's plugins for pad, spu2 and graphics. The first two
> worked, but the last one got the same error as before:
> 
> Can't open libZZogl.so: /home/ivan/.pcsx2/plugins/libZZogl.so: undefined
> symbol: __glewBindBuffer
> 
> My glew version was 1.5 and I got it from the portage main tree. As a last
> resort, I tried using the 1.4 version provided by the pcsx2 overlay. I
> reemerged nvidia-cg-toolkit just in case (I have a NVIDIA). The result was the
> same. No lucky either with glew-1.5.1 in pcsx2 overlay.
> 
I'm using 1.5.1

Make sure you are using the pcsx2-overlay versions of glew and nvidia-cg-toolkit and you are using glew-1.5.1 and nvidia-cg-toolkit-2.1.0017.

Try upgrading the plugins and see if that helps. If not, post again with your emerge --info
Comment 187 Ivan Filgueiras 2009-12-02 00:19:46 UTC
Same problem as before. The versions of the affected packages are shown below:

games-emulation/pcsx2-0.9.7.1736 
media-gfx/nvidia-cg-toolkit-2.1.0017 
media-libs/glew-1.5.1 
games-emulation/ps2emu-zzogl-0.1.166

All of them from the pcsx2 repository.

My emerge --info output:

Portage 2.2_rc54 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-1.12.13
Timestamp of tree: Tue, 01 Dec 2009 14:30:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 ut2003"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment /usr/local/portage/layman/haskell /usr/local/portage/layman/pcsx2 /usr/local/portage/layman/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 beagle berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gnome gnome-keyring gpm gstreamer gtk hal iconv ipv6 jpeg ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis webkit x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 188 Russell Harmon 2009-12-02 00:30:35 UTC
Try using zerogs instead of zzogl
Comment 189 Russell Harmon 2009-12-02 01:01:34 UTC
Also, run ldd on .pcsx2/plugins/libZZogl.so and check if it is linked against /usr/lib32/libGLEW.so.1.5. On my system, that's the library that provides the symbol you are missing.
Comment 190 Ivan Filgueiras 2009-12-02 01:06:13 UTC
It works now. I had to recompile ps2emu-zzogl (or zerogs) after I installed glew.

Maybe we could improve the ebuild by adding a message telling the user that he needs to recompile his graphical plugins after installing glew from the overlay.

What do you think?
Comment 191 Russell Harmon 2009-12-02 01:12:58 UTC
(In reply to comment #190)
> It works now. I had to recompile ps2emu-zzogl (or zerogs) after I installed
> glew.
> 
> Maybe we could improve the ebuild by adding a message telling the user that he
> needs to recompile his graphical plugins after installing glew from the
> overlay.
> 
> What do you think?
> 
It's strange that it was able to compile at all in that case. Let me investigate. Ideally, it would fail to build, and i'll add a message to the build failure.
Comment 192 James Le Cuirot gentoo-dev 2009-12-02 10:08:33 UTC
I haven't looked into this specifically but on Linux, it's possible to link libraries even if there are unresolved symbols. Portage should throw up a warning about this but it won't fail unless --no-undefined was given to ld.
Comment 193 Russell Harmon 2009-12-28 09:21:23 UTC
A belated Christmas present to everyone:
I've made some new versions of the following packages:

ps2emu-zerogs-0.96.7-r2, ps2emu-zzogl-0.1.166-r1:
    They finally included the GLEW libraries in the emul xmlibs, so my glew library is now not needed. Make sure that when you update xlibs you also update gtklibs to 20091226 (see Bug #298615).

ps2emu-zzogl-0.1.205.ebuild:
    A new svn snapshot of what is at the moment, the tip of the tree.

ps2emu-zzogl-9999.ebuild:
    A live ebuild (since 0.1.166 and 0.1.205 are basically just revisions chosen entirely by chance).

P.S. I'm not sure i've ever actually said this, but I depend upon you, the users of my pcsx2 ebuilds, to let me know when things are broken. If you have compile errors, I REALLY WANT TO KNOW. Don't hesitate to post in this bug with your problems.
Comment 194 Russell Harmon 2010-03-04 12:30:41 UTC
I recently discovered that I can become a proxy-maintainer of this package. I would like to do that. Would a developer be willing to make me a proxy maintainer?
Comment 195 Brandon Captain 2010-03-24 15:54:51 UTC
(In reply to comment #193)
> A belated Christmas present to everyone:
> I've made some new versions of the following packages:
> 
> ps2emu-zerogs-0.96.7-r2, ps2emu-zzogl-0.1.166-r1:
>     They finally included the GLEW libraries in the emul xmlibs, so my glew
> library is now not needed. Make sure that when you update xlibs you also update
> gtklibs to 20091226 (see Bug #298615).
> 
> ps2emu-zzogl-0.1.205.ebuild:
>     A new svn snapshot of what is at the moment, the tip of the tree.
> 
> ps2emu-zzogl-9999.ebuild:
>     A live ebuild (since 0.1.166 and 0.1.205 are basically just revisions
> chosen entirely by chance).
> 
> P.S. I'm not sure i've ever actually said this, but I depend upon you, the
> users of my pcsx2 ebuilds, to let me know when things are broken. If you have
> compile errors, I REALLY WANT TO KNOW. Don't hesitate to post in this bug with
> your problems.
> 

(In reply to comment #193)
> A belated Christmas present to everyone:
> I've made some new versions of the following packages:
> 
> ps2emu-zerogs-0.96.7-r2, ps2emu-zzogl-0.1.166-r1:
>     They finally included the GLEW libraries in the emul xmlibs, so my glew
> library is now not needed. Make sure that when you update xlibs you also update
> gtklibs to 20091226 (see Bug #298615).
> 
> ps2emu-zzogl-0.1.205.ebuild:
>     A new svn snapshot of what is at the moment, the tip of the tree.
> 
> ps2emu-zzogl-9999.ebuild:
>     A live ebuild (since 0.1.166 and 0.1.205 are basically just revisions
> chosen entirely by chance).
> 
> P.S. I'm not sure i've ever actually said this, but I depend upon you, the
> users of my pcsx2 ebuilds, to let me know when things are broken. If you have
> compile errors, I REALLY WANT TO KNOW. Don't hesitate to post in this bug with
> your problems.
> 

are those the same packages in the pcsx2 overlay? if so, none of them compile for me, regardless of the shaders USE flag. I'm emailing you some info since this seems like the wrong place to discuss it.
Comment 196 Adam Zajac 2010-04-15 13:47:50 UTC
> P.S. I'm not sure i've ever actually said this, but I depend upon you, the
> users of my pcsx2 ebuilds, to let me know when things are broken. If you have
> compile errors, I REALLY WANT TO KNOW. Don't hesitate to post in this bug with
> your problems.

I have no idea if my problem would trace back to a compile time thing or not.  Everything compiles fine, but when I try to run an iso I get:
ZeroGS: Cannot find ps2hw.dat in working directory. Exiting

Same error happens with zzogl-0.1.205. ps2hw.dat does exist in /usr/games/lib32/ps2emu/plugins, and the error persists even if I move to that directory and then run pcsx2.
Comment 197 PM 2010-09-02 13:07:50 UTC
Are there any plans to bring in the new r3119 beta? It requires 32bit wxGTK. I tried to install it on an 64bit system but failed miserably. Does anyone have any idea how to get it to work?
Comment 198 Russell Harmon 2010-09-02 13:15:55 UTC
I've moved off of gentoo to another distro. I won't be maintaining the pcsx2 packages here anymore.
Comment 199 Jeremy Gove 2010-09-06 01:56:02 UTC
I would also like to make this work.  Unfortunately, the version from the overlay fails with:

Loading plugins...
Could Not Load SPU2 Plugin '/home/jeremy/.pcsx2/plugins/': /home/jeremy/.pcsx2/plugins/: cannot read file data: Is a directory
Can't open libspu2-x.so.1.4.0: libwx_baseu-2.8.so.0: cannot open shared object file: No such file or directory
Configuration failed. Exiting.

64-bit is the way of the future, really.  Isn't it about time to focus on that instead of 32-bit?
Comment 200 Mr. Bones. (RETIRED) gentoo-dev 2011-01-10 20:21:35 UTC
*** Bug 351282 has been marked as a duplicate of this bug. ***
Comment 201 Rick Harris 2011-01-23 07:40:49 UTC
Honestly don't waste your time, it's segfault city on this one.
The upstream code associated with this project is not even close to useable and hasn't been for some years now :(

The official stance from upstream is that Windows is the primary OS, but it doesn't work at a playable level on Windows either.
They have no plans to support 64bit as it will require re-writing a lot of code.
PS2 was also 32bit so I guess it's just easier to develop on ?

I got the the binary release to sort of work in 64bit land via a 32bit chroot, but the graphics were completely garbled.
This could be due to upstream's marriage to Nvidia, and my non-nvidia setup.

So I got the binary release to sort of work on a 32bit nvidia box, but the graphics flickered so badly it was unplayable, and it leaked memory like a sieve when playing a game.

Compiling the same svn snapshot as the official release is based on, results in the basic GUI segfaulting even before anything can be played or tested.
See here for some user experience -> http://forums.pcsx2.net/Thread-Linux-Crash-PCSX2-on-loading-states-r4089

Progress moves slow on the project so don't expect much to work within the next few years.

The old gtk-1 dependant version of this package and all it's associated plugins needs to be removed from the portage tree too.
Comment 202 Dennis Schridde 2011-09-07 21:28:31 UTC
(In reply to comment #201)
> Honestly don't waste your time, it's segfault city on this one.
Is the recently released 0.9.8 any better?
Comment 203 Luke-Jr 2011-09-07 21:46:53 UTC
I played through at least 1 full RPG with 0.9.7 with no issues, FWIW. It did require fglrx, though-- other GPUs don't seem to be compatible.
Comment 204 Account removed 2011-10-28 15:00:13 UTC
Created attachment 291095 [details]
games-emulation/pcsx2/pcsx2-9999.ebuild

non-modular ebuild found on 
https://github.com/funtoo/flora/blob/master/games-emulation/pcsx2/
only issue I have (apart from not being modular) is that zzogl currently searches
ps2hw.dat in pwd. therefore you need to cd to /usr/lib/games/pcsx2
before launching pcsx2
Comment 205 Account removed 2011-10-28 15:02:16 UTC
played through ffx and ffxii with it btw :}
Comment 206 Account removed 2011-10-28 20:29:58 UTC
based on above funtoo ebuild I wrote initial live ebuilds for
pcsx2-meta
pcsx2
ps2emu-cdvdiso
ps2emu-cdvdlinuz
ps2emu-cdvdnull
ps2emu-dev9null
ps2emu-fwnull
ps2emu-gsdx
ps2emu-gsnull
ps2emu-onepad
ps2emu-padnull
ps2emu-spu2null
ps2emu-spu2-x
ps2emu-usbnull
ps2emu-zerogs
ps2emu-zerospu
ps2emu-zzogl

commited to gamerlay. feel free to improve them
Comment 207 Account removed 2011-10-29 08:21:56 UTC
commited pcsx2-0.98 and plugins to gamerlay