Some problems in Fedora 18 :(
#1
This is very embarrassing, and I assume this is just me, but the rpm package I have created for Fedora 18 throws an error on my machine (nobody else seems to have complained)
I have a brand new install of Fedora 18 so maybe I am missing something or maybe it is something strange with my hardware....?

Anyway pcsx2 GUI starts fine, but crashes when I load an iso (with any plugin):

Code:
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!

(pcsx2:3053): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
glX-Version 1.4 with Direct Rendering
Supported Opengl version: 3.3.0 NVIDIA 304.64
GL_ARB_shading_language_420pack is not supported
convert.glsl (entry vs_main, prog 2) :

convert.glsl (entry gs_main, prog 3) :

convert.glsl (entry ps_main0, prog 4) :

convert.glsl (entry ps_main1, prog 5) :

convert.glsl (entry ps_main2, prog 6) :

convert.glsl (entry ps_main3, prog 7) :

convert.glsl (entry ps_main4, prog 8) :

convert.glsl (entry ps_main5, prog 9) :

convert.glsl (entry ps_main6, prog 10) :

convert.glsl (entry ps_main7, prog 11) :

merge.glsl (entry ps_main0, prog 12) :

merge.glsl (entry ps_main1, prog 13) :

interlace.glsl (entry ps_main0, prog 14) :

interlace.glsl (entry ps_main1, prog 15) :

interlace.glsl (entry ps_main2, prog 16) :

interlace.glsl (entry ps_main3, prog 17) :

shadeboost.glsl (entry ps_main, prog 18) :
#define SB_SATURATION 50
#define SB_BRIGHTNESS 50
#define SB_CONTRAST 50

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA ATI SB: VT2020 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA ATI SB: VT2020 Digital (hw:0,1)' (ALSA)
*** Device 2: 'HDA ATI SB: VT2020 HP (hw:0,2)' (ALSA)
*** Device 3: 'HDA NVidia: HDMI 0 (hw:1,3)' (ALSA)
*** Device 4: 'HDA NVidia: HDMI 0 (hw:1,7)' (ALSA)
*** Device 5: 'HDA NVidia: HDMI 0 (hw:1,8)' (ALSA)
*** Device 6: 'HDA NVidia: HDMI 0 (hw:1,9)' (ALSA)
*** Device 7: 'sysdefault' (ALSA)
*** Device 8: 'front' (ALSA)
*** Device 9: 'surround40' (ALSA)
*** Device 10: 'surround41' (ALSA)
*** Device 11: 'surround50' (ALSA)
*** Device 12: 'surround51' (ALSA)
*** Device 13: 'surround71' (ALSA)
*** Device 14: 'iec958' (ALSA)
*** Device 15: 'spdif' (ALSA)
*** Device 16: 'pulse' (ALSA)
*** Device 17: 'dmix' (ALSA)
*** Device 18: 'default' (ALSA) (selected)
terminate called after throwing an instance of 'Exception::CannotCreateStream'
Aborted (core dumped)

Can you offer me a clue if this is an upsteam issue...?

This is almost a separate issue, but I also find I cannot build trunk correctly on x86_64 as cmake does not detect all the libraries required (this is r5567):

Code:
$cmake ..
CMake Warning at CMakeLists.txt:48 (message):
  

          PCSX2 does not support a 64-bits environment and has no plan to support a 64-bits architecture in the future.
          It would need a complete rewrite of the core emulator and a lot of time.

  

          You can still run a 32-bits binary if you install all 32-bits libraries (runtime and dev).

  

          Ubuntu users, please upgrade to 12.04.


-- Enable the stripping by default in Release build !!!
-- Enable the building of po files by default in Release build !!!
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
-- Could NOT find AIO (missing:  AIO_LIBRARIES AIO_INCLUDE_DIR)
-- Could NOT find SoundTouch (missing:  SOUNDTOUCH_LIBRARIES SOUNDTOUCH_INCLUDE_DIR)
-- Could NOT find SparseHash_new (missing:  SPARSEHASE_NEW_INCLUDE_DIR)
-- Skip build of common libraries: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), sparsehash (>=1.5)
-- Skip build of pcsx2 core: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=2.16), zlib (>=1.2.4), pcsx2 common libs
-- Skip build of zzogl: miss some dependencies
-- check these libraries -> glew (>=1.6), jpeg (>=6.2), opengl, X11, nvidia-cg-toolkit (>=2.1), pcsx2 common libs
-- Skip build of spu2-x: miss some dependencies
-- check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), pcsx2 common libs
-- Skip build of zerospu2: miss some dependencies
-- check these libraries -> soundtouch (>=1.5), alsa
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mythtv/pcsx2-read-only

But these libraries are present:
Code:
$rpm -qa | grep sparsehash
sparsehash-devel-1.12-2.fc18.x86_64

$yum provides */densehashtables.h
sparsehash-devel-1.12-2.fc18.x86_64 : Extremely memory-efficient C++ hash_map
                                    : implementation
Repo        : @fedora
Matched from:
Filename    : /usr/include/google/sparsehash/densehashtable.h


$rpm -qa | grep */wx
wxGTK-devel-2.8.12-5.fc18.i686 : Development files for the wxGTK2 library

Repo        : fedora
Matched from:
Filename    : /usr/include/wx-2.8/wx
Filename    : /usr/lib/wx
Filename    : /usr/lib/wx/include/gtk2-unicode-release-2.8/wx

$rpm -qa | grep */wx
$sudo yum install wxGTK-devel.i686
Package wxGTK-devel-2.8.12-5.fc18.i686 already installed and latest version
Nothing to do

The machine I use for packaging in i686 is building and running the rpm okay BTW Smile
Reply

Sponsored links

#2
Try a debug build maybe it will give us a backtrace.

On cmake topic:
* Forget sparseharsh errror, this one isn't important.
* libaio is a new dependency be sure to update your package.
* let's concentrate on soundtouch first. Wxwidget is too complex Wink
Normally it will be happy if
1/ run the command, normally it must be an i386 ELF (or symbolic link to an i386 ELF)
file /usr/lib/libSoundTouch.so
2/ /usr/include/soundtouch/SoundTouch.h exists.
Reply
#3
Okay, I've made a debug build and here is the backtrace:

Code:
$ gdb /usr/bin/pcsx2
GNU gdb (GDB) Fedora (7.5.1-32.fc18)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/pcsx2...Reading symbols from /usr/lib/debug/usr/bin/pcsx2.debug...done.
done.
(gdb) run
Starting program: /usr/bin/pcsx2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Detaching after fork from child process 5375.
Detaching after fork from child process 5376.
Detaching after fork from child process 5377.
Command line parsing...
Command line parsed!
[New Thread 0xf6169b40 (LWP 5378)]

(pcsx2:5371): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Detaching after fork from child process 5379.
[New Thread 0xf169db40 (LWP 5380)]
[New Thread 0xf0cffb40 (LWP 5381)]
[Thread 0xf0cffb40 (LWP 5381) exited]
warning: cannot close "/usr/lib/gio/modules/libgsettingsgconfbackend.so": Invalid operation
warning: cannot close "/lib/libgconf-2.so.4": Invalid operation
warning: cannot close "/lib/libdbus-glib-1.so.2": Invalid operation
warning: cannot close "/lib/libdbus-1.so.3": Invalid operation
[New Thread 0xf0cffb40 (LWP 5382)]
[New Thread 0xe8cd9b40 (LWP 5383)]
glX-Version 1.4 with Direct Rendering
Supported Opengl version: 3.3.0 NVIDIA 304.64
GL_ARB_shading_language_420pack is not supported
convert.glsl (entry vs_main, prog 2) :

convert.glsl (entry gs_main, prog 3) :

convert.glsl (entry ps_main0, prog 4) :

convert.glsl (entry ps_main1, prog 5) :

convert.glsl (entry ps_main2, prog 6) :

convert.glsl (entry ps_main3, prog 7) :

convert.glsl (entry ps_main4, prog 8) :

convert.glsl (entry ps_main5, prog 9) :

convert.glsl (entry ps_main6, prog 10) :

convert.glsl (entry ps_main7, prog 11) :

merge.glsl (entry ps_main0, prog 12) :

merge.glsl (entry ps_main1, prog 13) :

interlace.glsl (entry ps_main0, prog 14) :

interlace.glsl (entry ps_main1, prog 15) :

interlace.glsl (entry ps_main2, prog 16) :

interlace.glsl (entry ps_main3, prog 17) :

shadeboost.glsl (entry ps_main, prog 18) :
#define SB_SATURATION 50
#define SB_BRIGHTNESS 50
#define SB_CONTRAST 50

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
jack_client_new: deprecated
[New Thread 0xe84d8b40 (LWP 5384)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[Thread 0xe84d8b40 (LWP 5384) exited]
jack_client_new: deprecated
[New Thread 0xe84d8b40 (LWP 5385)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
[Thread 0xe84d8b40 (LWP 5385) exited]
[New Thread 0xe1786b40 (LWP 5386)]
[Thread 0xe1786b40 (LWP 5386) exited]
[New Thread 0xe1786b40 (LWP 5387)]
[Thread 0xe1786b40 (LWP 5387) exited]
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[New Thread 0xe1786b40 (LWP 5388)]
[Thread 0xe1786b40 (LWP 5388) exited]
[New Thread 0xe1786b40 (LWP 5389)]
[Thread 0xe1786b40 (LWP 5389) exited]
[New Thread 0xe84d8b40 (LWP 5390)]
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
* SPU2-X: Enumerating PortAudio devices:
[Thread 0xe84d8b40 (LWP 5390) exited]
*** Device 0: 'HDA ATI SB: VT2020 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA ATI SB: VT2020 Digital (hw:0,1)' (ALSA)
*** Device 2: 'HDA ATI SB: VT2020 HP (hw:0,2)' (ALSA)
*** Device 3: 'HDA NVidia: HDMI 0 (hw:1,3)' (ALSA)
*** Device 4: 'HDA NVidia: HDMI 0 (hw:1,7)' (ALSA)
*** Device 5: 'HDA NVidia: HDMI 0 (hw:1,8)' (ALSA)
*** Device 6: 'HDA NVidia: HDMI 0 (hw:1,9)' (ALSA)
*** Device 7: 'sysdefault' (ALSA)
*** Device 8: 'front' (ALSA)
*** Device 9: 'surround40' (ALSA)
*** Device 10: 'surround41' (ALSA)
*** Device 11: 'surround50' (ALSA)
*** Device 12: 'surround51' (ALSA)
*** Device 13: 'surround71' (ALSA)
*** Device 14: 'iec958' (ALSA)
*** Device 15: 'spdif' (ALSA)
*** Device 16: 'pulse' (ALSA)
*** Device 17: 'dmix' (ALSA)
*** Device 18: 'default' (ALSA) (selected)
[New Thread 0xe1786b40 (LWP 5391)]
[New Thread 0xe0f85b40 (LWP 5392)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf0cffb40 (LWP 5382)]
0x082ac6aa in xWrite<unsigned short> (val=4083) at /usr/src/debug/pcsx2-1.0.0/common/include/x86emitter/internal.h:39
39                      *(T*)x86Ptr = val;
Missing separate debuginfos, use: debuginfo-install GConf2-3.2.5-3.fc18.i686 SDL-1.2.15-3.fc18.i686 alsa-lib-1.0.26-2.fc18.i686 alsa-plugins-jack-1.0.26-2.fc18.i686 alsa-plugins-pulseaudio-1.0.26-2.fc18.i686 atk-2.6.0-1.fc18.i686 cairo-1.12.14-1.fc18.i686 celt-0.11.1-4.fc18.i686 dbus-glib-0.100-1.fc18.i686 dbus-libs-1.6.8-2.fc18.i686 expat-2.1.0-4.fc18.i686 flac-1.2.1-10.fc18.i686 fontconfig-2.10.2-1.fc18.i686 freetype-2.4.10-3.fc18.i686 gdk-pixbuf2-2.26.5-1.fc18.i686 glib2-2.34.2-2.fc18.i686 glibc-2.16-28.fc18.i686 graphite2-1.1.1-4.fc18.i686 gsm-1.0.13-7.fc18.i686 gtk2-2.24.13-1.fc18.i686 harfbuzz-0.9.12-2.fc18.i686 jack-audio-connection-kit-1.9.9.5-1.fc18.i686 jbigkit-libs-2.0-7.fc18.i686 json-c-0.10-2.fc18.i686 libGLEW-1.7.0-3.fc18.i686 libICE-1.0.8-2.fc18.i686 libSM-1.2.1-2.fc18.i686 libX11-1.5.0-3.fc18.i686 libXau-1.0.6-4.fc18.i686 libXcomposite-0.4.3-4.fc18.i686 libXcursor-1.1.13-2.fc18.i686 libXdamage-1.1.3-4.fc18.i686 libXext-1.3.1-2.fc18.i686 libXfixes-5.0-3.fc18.i686 libXi-1.6.2-1.fc18.i686 libXinerama-1.1.2-2.fc18.i686 libXrandr-1.4.0-1.fc18.i686 libXrender-0.9.7-2.fc18.i686 libXtst-1.2.1-3.fc18.i686 libXxf86vm-1.1.2-2.fc18.i686 libasyncns-0.8-4.fc18.i686 libdrm-2.4.42-1.fc18.i686 libffi-3.0.10-3.fc18.i686 libgcc-4.7.2-8.fc18.i686 libicu-49.1.1-5.fc18.i686 libjpeg-turbo-1.2.1-3.fc18.i686 libogg-1.3.0-2.fc18.i686 libpng-1.5.13-1.fc18.i686 libselinux-2.1.12-7.fc18.i686 libsndfile-1.0.25-4.fc18.i686 libstdc++-4.7.2-8.fc18.i686 libtiff-4.0.3-2.fc18.i686 libuuid-2.22.2-3.fc18.i686 libvorbis-1.3.3-3.fc18.i686 libwayland-client-1.0.3-1.fc18.i686 libwayland-server-1.0.3-1.fc18.i686 libxcb-1.9-1.fc18.i686 mesa-libEGL-9.0.1-4.fc18.i686 mesa-libGLU-9.0.0-1.fc18.i686 mesa-libgbm-9.0.1-4.fc18.i686 mesa-libglapi-9.0.1-4.fc18.i686 pango-1.32.3-1.fc18.i686 pcre-8.31-4.fc18.i686 pixman-0.26.2-5.fc18.i686 portaudio-19-14.fc18.i686 pulseaudio-libs-2.1-6.fc18.i686 soundtouch-1.4.0-6.fc18.i686 systemd-libs-197-1.fc18.1.i686 tcp_wrappers-libs-7.6-70.fc18.i686 wxBase-2.8.12-5.fc18.i686 wxGTK-2.8.12-5.fc18.i686 zlib-1.2.7-9.fc18.i686
(gdb) bt full
#0  0x082ac6aa in xWrite<unsigned short> (val=4083) at /usr/src/debug/pcsx2-1.0.0/common/include/x86emitter/internal.h:39
No locals.
#1  x86Emitter::xWrite16 (val=4083) at /usr/src/debug/pcsx2-1.0.0/common/src/x86emitter/x86emitter.cpp:82
No locals.
#2  0x082a9c83 in x86Emitter::SimdPrefix (prefix=prefix@entry=243 '\363', opcode=opcode@entry=16)
    at /usr/src/debug/pcsx2-1.0.0/common/src/x86emitter/simd.cpp:104
        is16BitOpcode = false
        __PRETTY_FUNCTION__ = "void x86Emitter::SimdPrefix(u8, u16)"
#3  0x082ac1f4 in x86Emitter::xOpWrite0F<x86Emitter::xRegisterSSE, x86Emitter::xIndirectVoid> (prefix=243 '\363', opcode=16, param1=
    ..., param2=...) at /usr/src/debug/pcsx2-1.0.0/common/include/x86emitter/internal.h:57
No locals.
#4  0x082ab2e8 in x86Emitter::xMOVSSZX (to=..., from=...) at /usr/src/debug/pcsx2-1.0.0/common/src/x86emitter/simd.cpp:740
No locals.
#5  0x08217f0e in VifUnpackSSE_Base::xUPK_S_32 (this=0xf0cfee04) at /usr/src/debug/pcsx2-1.0.0/pcsx2/x86/newVif_UnpackSSE.cpp:73
No locals.
#6  0x08216a66 in VifUnpackSSE_Base::xUnpack (this=this@entry=0xf0cfee04, upknum=upknum@entry=0)
    at /usr/src/debug/pcsx2-1.0.0/pcsx2/x86/newVif_UnpackSSE.cpp:229
        __PRETTY_FUNCTION__ = "virtual void VifUnpackSSE_Base::xUnpack(int) const"
#7  0x082172c6 in nVifGen (curCycle=0, mask=<optimized out>, usn=0) at /usr/src/debug/pcsx2-1.0.0/pcsx2/x86/newVif_UnpackSSE.cpp:290
        i = 0
        usnpart = 0
        maskpart = <optimized out>
        vpugen = {<VifUnpackSSE_Base> = {_vptr.VifUnpackSSE_Base = 0x8382628 <vtable for VifUnpackSSE_Simple+8>, usn = false,
            doMask = false, dstIndirect = {Base = {<x86Emitter::xRegister32> = {<x86Emitter::xRegisterInt> =
    {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                        _vptr.OperandSizedObject = 0x837bed8 <vtable for x86Emitter::xAddressReg+8>}, Id =
    -1}, <No data fields>}, <No data fields>}, <No data fields>}, Index = {<x86Emitter::xRegister32> =
    {<x86Emitter::xRegisterInt> = {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                        _vptr.OperandSizedObject = 0x837bed8 <vtable for x86Emitter::xAddressReg+8>}, Id =
    1}, <No data fields>}, <No data fields>}, <No data fields>}, Factor = 0, Displacement = 0}, srcIndirect = {Base =
    {<x86Emitter::xRegister32> = {<x86Emitter::xRegisterInt> = {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                        _vptr.OperandSizedObject = 0x837bed8 <vtable for x86Emitter::xAddressReg+8>}, Id =
    -1}, <No data fields>}, <No data fields>}, <No data fields>}, Index = {<x86Emitter::xRegister32> =
    {<x86Emitter::xRegisterInt> = {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                        _vptr.OperandSizedObject = 0x837bed8 <vtable for x86Emitter::xAddressReg+8>}, Id =
    2}, <No data fields>}, <No data fields>}, <No data fields>}, Factor = 0, Displacement = 0}, workReg =
    {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                  _vptr.OperandSizedObject = 0x837cb00 <vtable for x86Emitter::xRegisterSSE+8>}, Id = 1}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
            destReg = {<x86Emitter::xRegisterBase> = {<x86Emitter::OperandSizedObject> = {
                  _vptr.OperandSizedObject = 0x837cb00 <vtable for x86Emitter::xRegisterSSE+8>}, Id = 0}, <No data fields>}},
          curCycle = 0}
#8  VifUnpackSSE_Init () at /usr/src/debug/pcsx2-1.0.0/pcsx2/x86/newVif_UnpackSSE.cpp:314
        c = 0
        b = <optimized out>
        a = 0
#9  0x0806f52a in hwInit () at /usr/src/debug/pcsx2-1.0.0/pcsx2/Hw.cpp:40
No locals.
#10 0x0806f58f in hwReset () at /usr/src/debug/pcsx2-1.0.0/pcsx2/Hw.cpp:61
No locals.
#11 0x080a090b in cpuReset () at /usr/src/debug/pcsx2-1.0.0/pcsx2/R5900.cpp:79
No locals.
#12 0x081e15ea in SysCoreThread::DoCpuReset (this=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/pcsx2/System/SysCoreThread.cpp:206
        __PRETTY_FUNCTION__ = "virtual void SysCoreThread::DoCpuReset()"
#13 0x081e1b10 in SysCoreThread::_reset_stuff_as_needed (this=this@entry=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/pcsx2/System/SysCoreThread.cpp:188
No locals.
#14 0x081e1b8e in SysCoreThread::StateCheckInThread (this=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/pcsx2/System/SysCoreThread.cpp:235
No locals.
#15 0x081e14d2 in SysCoreThread::ExecuteTaskInThread (this=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/pcsx2/System/SysCoreThread.cpp:257
No locals.
#16 0x08276c3f in Threading::pxThread::_try_virtual_invoke (this=0x9d32520 <CoreThread>, method=<optimized out>)
    at /usr/src/debug/pcsx2-1.0.0/common/src/Utilities/ThreadTools.cpp:545
No locals.
#17 0x08276f80 in Threading::pxThread::_internal_execute (this=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/common/src/Utilities/ThreadTools.cpp:644
No locals.
#18 0x08277223 in Threading::pxThread::_internal_callback (itsme=0x9d32520 <CoreThread>)
    at /usr/src/debug/pcsx2-1.0.0/common/src/Utilities/ThreadTools.cpp:684
        __clframe = {__cancel_routine = 0x82771c0 <Threading::pxThread::_pt_callback_cleanup(void*)>, __cancel_arg =
    0x9d32520 <CoreThread>, __do_it = 1, __cancel_type = <optimized out>}
        __PRETTY_FUNCTION__ = "static void* Threading::pxThread::_internal_callback(void*)"
        owner = @0x9d32520: {_vptr.pxThread = 0x82eab08 <vtable for AppCoreThread+8>, m_name = {<wxStringBase> = {static npos =
    4294967295, m_pchData = 0x9efa3ac L"EE Core"}, <No data fields>}, m_thread = 4040162112, m_native_id = 4040162112,
---Type <return> to continue, or q <return> to quit---
          m_native_handle = 0, m_sem_event = {_vptr.Semaphore = 0x8392060 <vtable for Threading::Semaphore+8>, m_sema = {__size =
    "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}}, m_sem_startup = {
            _vptr.Semaphore = 0x8392060 <vtable for Threading::Semaphore+8>, m_sema = {__size =
    "\000\000\000\000\200\000\000\000\000\000\000\000\000\000\000", __align = 0}}, m_mtx_InThread = {
            _vptr.Mutex = 0x838f738 <vtable for Threading::Mutex+8>, m_mutex = {__data = {__lock = 1, __count = 0, __owner = 5382,
                __kind = 0, __nusers = 1, {__spins = 0, __list = {__next = 0x0}}}, __size =
    "\001\000\000\000\000\000\000\000\006\025\000\000\000\000\000\000\001\000\000\000\000\000\000", __align = 1}}, m_mtx_start =
    {<Threading::Mutex> = {_vptr.Mutex = 0x838f750 <vtable for Threading::MutexRecursive+8>, m_mutex = {__data = {__lock = 0,
                  __count = 0, __owner = 0, __kind = 1, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size =
    '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\000\000\000", __align = 0}}, <No data fields>}, m_mtx_ThreadName =
    {_vptr.Mutex = 0x838f738 <vtable for Threading::Mutex+8>, m_mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __kind =
    0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 23 times>, __align = 0}}, m_detached = 0,
          m_running = 1, m_except = {m_ptr = 0x0, m_mtx = {_vptr.Mutex = 0x838f738 <vtable for Threading::Mutex+8>, m_mutex = {
                __data = {__lock = 0, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}},
                __size = '\000' <repeats 23 times>, __align = 0}}}, m_evtsrc_OnDelete = {
            _vptr.EventSource = 0x8393708 <vtable for EventSource<Threading::EventListener_Thread>+8>, m_listeners = empty std::list
    , m_cache_copy = empty std::list, m_cache_valid = false, m_listeners_lock = {
              _vptr.Mutex = 0x838f738 <vtable for Threading::Mutex+8>, m_mutex = {__data = {__lock = 0, __count = 0, __owner = 0,
                  __kind = 0, __nusers = 0, {__spins = 0, __list = {__next = 0x0}}}, __size = '\000' <repeats 23 times>, __align =
    0}}}}
#19 0x4a258aff in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#20 0x4a18809e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)

On the cmake topic:
Code:
$ sudo find / -name libSoundTouch.so
[sudo] password for mythtv:
/usr/lib/libSoundTouch.so

$ sudo find / -name SoundTouch.h
[sudo] password for mythtv:
/usr/include/soundtouch/SoundTouch.h

I don't think I know what you mean by "run the command" (or maybe there is a problem):
Code:
$ SoundTouch
bash: SoundTouch: command not found...
$ soundtouch
bash: soundtouch: command not found...
$ /usr/lib/libSoundTouch.so
Segmentation fault (core dumped)
$ sudo /usr/lib/libSoundTouch.so
$
Reply
#4
A bit complicated to explain but this isn't the segmentation fault. Try to run without gdb first.

Actually file is a command. So you can do
sudo file /usr/lib/libSoundTouch.so
Reply
#5
Code:
$ pcsx2
Interface is initializing.  Entering Pcsx2App::OnInit!
Applying operating system default language...
Command line parsing...
Command line parsed!

(pcsx2:2358): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
glX-Version 1.4 with Direct Rendering
Supported Opengl version: 3.3.0 NVIDIA 304.64
GL_ARB_shading_language_420pack is not supported
convert.glsl (entry vs_main, prog 2) :

convert.glsl (entry gs_main, prog 3) :

convert.glsl (entry ps_main0, prog 4) :

convert.glsl (entry ps_main1, prog 5) :

convert.glsl (entry ps_main2, prog 6) :

convert.glsl (entry ps_main3, prog 7) :

convert.glsl (entry ps_main4, prog 8) :

convert.glsl (entry ps_main5, prog 9) :

convert.glsl (entry ps_main6, prog 10) :

convert.glsl (entry ps_main7, prog 11) :

merge.glsl (entry ps_main0, prog 12) :

merge.glsl (entry ps_main1, prog 13) :

interlace.glsl (entry ps_main0, prog 14) :

interlace.glsl (entry ps_main1, prog 15) :

interlace.glsl (entry ps_main2, prog 16) :

interlace.glsl (entry ps_main3, prog 17) :

shadeboost.glsl (entry ps_main, prog 18) :
#define SB_SATURATION 50
#define SB_BRIGHTNESS 50
#define SB_CONTRAST 50

ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
jack_client_new: deprecated
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
* SPU2-X: Enumerating PortAudio devices:
*** Device 0: 'HDA ATI SB: VT2020 Analog (hw:0,0)' (ALSA)
*** Device 1: 'HDA ATI SB: VT2020 Digital (hw:0,1)' (ALSA)
*** Device 2: 'HDA ATI SB: VT2020 HP (hw:0,2)' (ALSA)
*** Device 3: 'HDA NVidia: HDMI 0 (hw:1,3)' (ALSA)
*** Device 4: 'HDA NVidia: HDMI 0 (hw:1,7)' (ALSA)
*** Device 5: 'HDA NVidia: HDMI 0 (hw:1,8)' (ALSA)
*** Device 6: 'HDA NVidia: HDMI 0 (hw:1,9)' (ALSA)
*** Device 7: 'sysdefault' (ALSA)
*** Device 8: 'front' (ALSA)
*** Device 9: 'surround40' (ALSA)
*** Device 10: 'surround41' (ALSA)
*** Device 11: 'surround50' (ALSA)
*** Device 12: 'surround51' (ALSA)
*** Device 13: 'surround71' (ALSA)
*** Device 14: 'iec958' (ALSA)
*** Device 15: 'spdif' (ALSA)
*** Device 16: 'pulse' (ALSA)
*** Device 17: 'dmix' (ALSA)
*** Device 18: 'default' (ALSA) (selected)
terminate called after throwing an instance of 'Exception::CannotCreateStream'
Aborted (core dumped)

Not sure there's any more info

for second problem:
Code:
$ file /usr/lib/libSoundTouch.so
/usr/lib/libSoundTouch.so: symbolic link to `libSoundTouch.so.1.4.0'
Reply
#6
Feel like an issue of read or write permission. How did you compile PCSX2?

And what give you a "file /usr/lib/libSoundTouch.so.1.4.0" ? By the way 1.4 is very old !
Reply
#7
Lightbulb 
Hmm. Permissions? I compiled the rpm on another machine in Fedora 16 xi686, ran an automated chroot of Fedora 18 i386 to recompile the rpm - which is the same way I created the rpm normally.

I just checked the iso permission but that's okay... Also ran pcsx2 as rootExcl but also hanging on iso boot...

To cmake in x86_64 I did the normal:
Code:
svn checkout http://pcsx2.googlecode.com/svn/trunk/ pcsx2-read-only && cd pcsx2-read-only && mkdir my_build && cd my_build && cmake ../CMakeLists.txt -DCMAKE_BUILD_TYPE=Release && cd.. && make && sudo make install
(although the process will not build the pcsx2 core due to missing libraries....)

For soundtouch:

Code:
$ file /usr/lib/libSoundTouch.so.1.4.0
/usr/lib/libSoundTouch.so.1.4.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x705ecd48b25e654baba7d9f24b41ad7c9cf9277d, stripped

I also did a backtrace in abrt (sorry I understood I should do this a bit late):

Code:
--- Running report_uReport ---
Generating backtrace

--- Running analyze_CCpp ---
Ok to upload core dump? (It may contain sensitive data). If your answer is 'No', a stack trace will be generated locally. (It may download a huge amount of data). 'YES'
Querying server settings
Retrace server is unable to process package 'pcsx2-1.0.0-1.fc18.x86_64'.
Is it a part of official Fedora release 18 (Spherical Cow) repositories?
Unknown package sent to Retrace server.
Do you want to generate a stack trace localy? (It may download a huge amount of data but reporting can't continue without stack trace). 'YES'
Analyzing coredump 'coredump'
Missing build id: libGL.so.1
Missing build id: libnvidia-tls.so.304.64
Missing build id: libnvidia-glcore.so.304.64
Coredump references 108 debuginfo files, 100 of them are not installed
Setting up yum repositories
Looking for needed packages in repositories
Can't find packages for 100 debuginfo files
Missing debuginfo file: /usr/lib/debug/.build-id/cf/7bdd994de74c7d4a0cff6a0293d96b64681e06.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a1/fdf0dbcc07bb3d87d6125fc50b5bee9ba0ab8d.debug
Missing debuginfo file: /usr/lib/debug/.build-id/f5/17f124a1d77afbf6e57e1bdbe55c591760b6cc.debug
Missing debuginfo file: /usr/lib/debug/.build-id/7c/abac3e4200a96521ac2a0a2fd937523b9f1267.debug
Missing debuginfo file: /usr/lib/debug/.build-id/3f/9936f2eab123fa19db7e6c9bf3f1f21d2e5852.debug
Missing debuginfo file: /usr/lib/debug/.build-id/6b/7c17420d68eda9eb8fc9b1e4b167dfc13ec432.debug
Missing debuginfo file: /usr/lib/debug/.build-id/9d/fed966c992d4a78aa13e4ca2a58771fc289991.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a5/163c4322ba02e3d239135cab427189b8f1efa5.debug
Missing debuginfo file: /usr/lib/debug/.build-id/88/caefa505266778a80c7105c55647c03536e4fe.debug
Missing debuginfo file: /usr/lib/debug/.build-id/46/46fbbfc7dd12006f9767fdf98e022d4348e273.debug
Missing debuginfo file: /usr/lib/debug/.build-id/df/252c0704ab3cc88d188a40954f0a8ec5e916a3.debug
Missing debuginfo file: /usr/lib/debug/.build-id/29/9ee95736fa8a19e4216ace01686161f2f9eb8e.debug
Missing debuginfo file: /usr/lib/debug/.build-id/33/b510c9f9ddb06b92d85a92827a0b65fde2d1d5.debug
Missing debuginfo file: /usr/lib/debug/.build-id/d1/3ad2009428a5d324d34aeff7add9ce84d1f5e4.debug
Missing debuginfo file: /usr/lib/debug/.build-id/cc/8b33433b6f973b16a63cb250f61bb6c1d48bb3.debug
Missing debuginfo file: /usr/lib/debug/.build-id/6c/56f94cfd256f82b8682a35e2d4e41d24220daf.debug
Missing debuginfo file: /usr/lib/debug/.build-id/91/9bd4f40b05a4466fa000ba3752a5b5d840a490.debug
Missing debuginfo file: /usr/lib/debug/.build-id/9f/1c9f9a6dddcda446b1a3440d50ef84313252f0.debug
Missing debuginfo file: /usr/lib/debug/.build-id/6c/73b0716d974fc439191b09c7d0099d02e26948.debug
Missing debuginfo file: /usr/lib/debug/.build-id/0f/0529535e903f5f02f85a5d061cfd7bfdede710.debug
Missing debuginfo file: /usr/lib/debug/.build-id/f0/09015e98b2f8429303a878f39c23ea159091b4.debug
Missing debuginfo file: /usr/lib/debug/.build-id/60/58f1fc4a445de444fb1dd289e88a260fd68aec.debug
Missing debuginfo file: /usr/lib/debug/.build-id/0b/d8459739dfb33ca722450043aa44e2a82fccbf.debug
Missing debuginfo file: /usr/lib/debug/.build-id/68/300c0f9493447371b7dee10ffa4d5a52a82036.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c4/c471072e7642d330ca0ab36df744207b62c4cf.debug
Missing debuginfo file: /usr/lib/debug/.build-id/ec/3f5d086c1a5423d30ef0bdf01a110ec4fcc278.debug
Missing debuginfo file: /usr/lib/debug/.build-id/82/3dfcf300d95f811c5501b03168a03c7b4282d4.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e6/cdf2af8997a7c19969c3e70521f94e7aaba006.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a7/67931618a76d70635039b0aaa9d5d0fb0100c1.debug
Missing debuginfo file: /usr/lib/debug/.build-id/6b/d078566ed64935f05f72e84565c2589b04dbd6.debug
Missing debuginfo file: /usr/lib/debug/.build-id/7a/966dfa64ff470923b9bc973e23e90afed39811.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c5/5cb956c0ce6b97959bc27a19f6bc867682618a.debug
Missing debuginfo file: /usr/lib/debug/.build-id/28/091fedbc9e9d8909bbabaab60fb94cfb74cc02.debug
Missing debuginfo file: /usr/lib/debug/.build-id/0c/fe7ab24b6db0c4af513a1448212643177e5090.debug
Missing debuginfo file: /usr/lib/debug/.build-id/ef/e840327e755bb7aa1fa8d60422fe95d8e5395e.debug
Missing debuginfo file: /usr/lib/debug/.build-id/27/e67200f4ecb59a6230e7e2734b2ca7549a2531.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a5/f6254cd11180f15b2ecb8033cae721f7b0af68.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e1/b3f52506444c31d419d31e345584e584393a61.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c7/2e6189a5d3f32e94829f96db24c085ec4f4909.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a1/0e23294131561890c2295ee4aaab6fa1824970.debug
Missing debuginfo file: /usr/lib/debug/.build-id/8d/3f07ca2fc5e6ef46c362e73cc521c565cf47e3.debug
Missing debuginfo file: /usr/lib/debug/.build-id/ef/9dc52731408a0261b11eeaf58af6f090912167.debug
Missing debuginfo file: /usr/lib/debug/.build-id/37/695c4648e2c67d3a2a262634f3d335e17f7786.debug
Missing debuginfo file: /usr/lib/debug/.build-id/57/ff587a6a93a85811653e837544978ef30ba528.debug
Missing debuginfo file: /usr/lib/debug/.build-id/63/aa2b9991cd562d67ab74956a67d9a115706a79.debug
Missing debuginfo file: /usr/lib/debug/.build-id/fe/e6b38b835d449f1267df8d4be05c575b06404a.debug
Missing debuginfo file: /usr/lib/debug/.build-id/5d/a4aa9008845688362cf5e9956ff946b1cd4de2.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e7/10b504f426951a885fa9a6a45a20e2497fc1b9.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e7/f2930dea78e310709a5dde647ff847133acbf0.debug
Missing debuginfo file: /usr/lib/debug/.build-id/d2/c16830fb08c107af0ecbc9df7268b67699ae67.debug
Missing debuginfo file: /usr/lib/debug/.build-id/29/1aad48fc90d3d2f599cf701c513abc72d02ef5.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c3/1828b73b261384208f7b4b421f009048e27f63.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e7/3ea3e24049e2a20341d7b944d663e11a1f4375.debug
Missing debuginfo file: /usr/lib/debug/.build-id/39/4d5eb08b7f9b894d81229e195130cf335d6ddf.debug
Missing debuginfo file: /usr/lib/debug/.build-id/2f/7436ec8a8b697ea829697f637e2d63ca14da4d.debug
Missing debuginfo file: /usr/lib/debug/.build-id/fa/3222fad500a453da88da3389aa2b1a33c443ed.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e2/04aaf9ba57c66ed2a07193b42d7a587d114cf6.debug
Missing debuginfo file: /usr/lib/debug/.build-id/9a/bcd852f98dceb395f6b04319010160aa3568de.debug
Missing debuginfo file: /usr/lib/debug/.build-id/b3/6a4c478d79db46e65c7a0a8c2996e1e8c3d96b.debug
Missing debuginfo file: /usr/lib/debug/.build-id/cb/73b1eddd33cd3e0c639ca5241f6b17d02a7980.debug
Missing debuginfo file: /usr/lib/debug/.build-id/3b/27792a0b7bc6e72a9c9c7837082931408e3089.debug
Missing debuginfo file: /usr/lib/debug/.build-id/fd/705e8c7f68d06da713e54474dc8eaa5180b622.debug
Missing debuginfo file: /usr/lib/debug/.build-id/45/7c2718e74f419bc6e18dce8f1fcaedfc102b76.debug
Missing debuginfo file: /usr/lib/debug/.build-id/f6/8841ac68425d6fbaae87a8d385142438e23c69.debug
Missing debuginfo file: /usr/lib/debug/.build-id/e6/279f352fa7954e0c874a754080c132f986b9bc.debug
Missing debuginfo file: /usr/lib/debug/.build-id/9a/afc21c11d7b2b1ffc5d87851b2f2f38402368c.debug
Missing debuginfo file: /usr/lib/debug/.build-id/ec/0d8a2fee5fc0b11a1771b14e32e5cbe3d9dd8f.debug
Missing debuginfo file: /usr/lib/debug/.build-id/52/5bf286bf1e35be2289d719f2c000e3fe4816fd.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c0/e2659a542b7fd9c250e8ae23940387b32f342b.debug
Missing debuginfo file: /usr/lib/debug/.build-id/af/7f4f8e492c1df49da76c8b1690e24b6133f231.debug
Missing debuginfo file: /usr/lib/debug/.build-id/ce/9fe50044f7a26ced2e91dc502c00af398ec68a.debug
Missing debuginfo file: /usr/lib/debug/.build-id/68/449a0f57b888915ea19666cf3855a569656b90.debug
Missing debuginfo file: /usr/lib/debug/.build-id/fe/c03945359fed3c93343a41d387b84c7012c5d9.debug
Missing debuginfo file: /usr/lib/debug/.build-id/27/02fc3a9845af94101c7ecf6a3beb1b254dffaa.debug
Missing debuginfo file: /usr/lib/debug/.build-id/9b/574fc26bd7d36f651d7ad2a6ddc8238a6bd442.debug
Missing debuginfo file: /usr/lib/debug/.build-id/be/14755af216ddc3d3d20ae403141eb9a20373e1.debug
Missing debuginfo file: /usr/lib/debug/.build-id/75/75caba3feccdf9d6a96e927df0f2c4b6ecfbe6.debug
Missing debuginfo file: /usr/lib/debug/.build-id/4b/c43d4989077b2a11cb155a0e6631a92652d83c.debug
Missing debuginfo file: /usr/lib/debug/.build-id/bb/d3d539e5858f997fcdb51d034a194a38bba030.debug
Missing debuginfo file: /usr/lib/debug/.build-id/68/23dec1ecbedc87cbf8baa07a48acc7a2ead45f.debug
Missing debuginfo file: /usr/lib/debug/.build-id/8b/1ad0eb93012a9d9ca9b6978fc86ff00f2ddaf9.debug
Missing debuginfo file: /usr/lib/debug/.build-id/40/77d9d4b6eceae7c24893dea3a5026d141a62a5.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c7/7e4218f5f5e9d1ff73f85b3ecda510e429f6af.debug
Missing debuginfo file: /usr/lib/debug/.build-id/bc/884d1ef43459d8da597248a04294ee31d90089.debug
Missing debuginfo file: /usr/lib/debug/.build-id/48/cd5e704b655eb2f2d9a7ab7cad414b7d27f99c.debug
Missing debuginfo file: /usr/lib/debug/.build-id/91/33a2847845503a2986800eeea64973e7e03675.debug
Missing debuginfo file: /usr/lib/debug/.build-id/0f/fadb581ed8d5bb9ca4ce3c8e21d48fca470035.debug
Missing debuginfo file: /usr/lib/debug/.build-id/f2/fc239c6bbc317b28bbd5bfba3fe21d10481979.debug
Missing debuginfo file: /usr/lib/debug/.build-id/1a/ff7644fdf420bdeb0557ac543900370794c2a8.debug
Missing debuginfo file: /usr/lib/debug/.build-id/43/d56956d5d468b82a973cbc8017584a4766f9fb.debug
Missing debuginfo file: /usr/lib/debug/.build-id/7d/7a50cb727f54fdde18886915af1c84406dd234.debug
Missing debuginfo file: /usr/lib/debug/.build-id/88/5120a552a3b6cb622e078465fcf33442cdfc81.debug
Missing debuginfo file: /usr/lib/debug/.build-id/f6/b7c2aedba62973010c2a9a307c66478aacb90b.debug
Missing debuginfo file: /usr/lib/debug/.build-id/54/ef596c18990097a23ff86452256561ab8a6323.debug
Missing debuginfo file: /usr/lib/debug/.build-id/a5/9e17f55bc3fba7d6e483b830a9742270090599.debug
Missing debuginfo file: /usr/lib/debug/.build-id/c5/77a85acb062f6bbd33a51fe30c58ecedcc7406.debug
Missing debuginfo file: /usr/lib/debug/.build-id/72/bbc2333f7d28a07881940ba5e2d59141d681a8.debug
Missing debuginfo file: /usr/lib/debug/.build-id/04/95e0cf00ec2f4d2c85c662be80f0d486a19519.debug
Missing debuginfo file: /usr/lib/debug/.build-id/01/aa06bb004cc02276a52935a434561a7d07f4f3.debug
Missing debuginfo file: /usr/lib/debug/.build-id/83/16610927375cbc4a547932dabf17b313722b5b.debug
Generating backtrace
Backtrace is generated and saved, 26661 bytes
Reply
#8
I don't see the backtrace, how do you generate it? Is there a window popup when the abort appear? If yes, you can attach gdb when it appears otherwise it would be more difficult.

Don't know what is going on with cmake! Which version of cmake do you have?
Reply
#9
Okay I see there is no backtrace in the output. Not sure where the "saved" backtrace is kept. I'm not at home, but there's no popup I think; is there some better way to use gdb than my output above?

I will play more with abrt and see if I can generate something better.

As far as cmake goes, I think fedora 18 ships with cmake 2.8.10.2 - as ever these packages get modified for fedora, but I could see no strange build options in the latest src rpm although there were many changes for bugfixes: //ftp.icm.edu.pl/vol/rzm2/linux-fedora-secondary/updates/testing/18/SRPMS/cmake-2.8.10.2-3.fc18.src.rpm
Reply
#10
If you remember I stripped out some of the cflags to make the package compatible with Fedora repository build policy.
Code:
#patch to alter cflags in build and strip out -m32 to comply with fedora build policy
--- pcsx2-1.0.0/cmake/BuildParameters.cmake
+++ pcsx2-1.0.0/cmake/BuildParameters.cmake
@@ -125,7 +125,7 @@
# Set some default compiler flags
#-------------------------------------------------------------------------------
set(DEFAULT_WARNINGS "-Wno-write-strings -Wno-format -Wno-unused-parameter -Wno-unused-value -Wstrict-aliasing -Wno-unused-function")
-set(DEFAULT_GCC_FLAG "-m32 -msse -msse2 -march=i686 -pthread ${DEFAULT_WARNINGS}")
+set(DEFAULT_GCC_FLAG "-msse -msse2 -march=i686 -pthread ${DEFAULT_WARNINGS}")
set(DEFAULT_CPP_FLAG "${DEFAULT_GCC_FLAG} -Wno-invalid-offsetof")

I wondered if these were the problem and have been trying to compile a package with normal cflags, but I can't get this far.... This is because the cmake problem is not just aproblem with Fedora 18 x86_64, but seems to affect Fedora 18 i686 too. I have just tried building a snapshot of r5565. It builds fine in Fedora 16 i686, but when I try to repackage it in a Fedora 18 i686 chroot, I get a similar error to the one I get in x86_64:


Code:
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oqFF2s
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pcsx2-snapshot-5565
+ /usr/bin/gzip -dc /builddir/build/SOURCES/pcsx2-snapshot_5565.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pcsx2-snapshot-5565
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ chmod -x pcsx2/Docs/GPL.txt pcsx2/Docs/License.txt pcsx2/Docs/readme-Docs.txt pcsx2/Docs/PCSX2_FAQ.doc pcsx2/Docs/PCSX2_Readme.doc bin/docs/pcsx2.1 linux_various/pcsx2.xpm
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WK3WdL
+ umask 022
+ cd /builddir/build/BUILD
+ cd pcsx2-snapshot-5565
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules'
+ export FFLAGS
+ LDFLAGS='-Wl,-z,relro '
+ export LDFLAGS
+ /usr/bin/cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DBUILD_SHARED_LIBS:BOOL=ON . -DPACKAGE_MODE=TRUE -DGLSL_SHADER_DIR=/usr/lib/pcsx2 -DBUILD_REPLAY_LOADERS=FALSE -DXDG_STD=TRUE -DGLSL_API=FALSE -DCMAKE_INSTALL_PREFIX=/usr -DPLUGIN_DIR=/usr/lib/pcsx2 -DGAMEINDEX_DIR=/usr/share/pcsx2 -DFORCE_INTERNAL_SOUNDTOUCH=FALSE -DFORCE_INTERNAL_SDL=FALSE -DCMAKE_BUILD_STRIP=FALSE -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DDOC_DIR=/usr/share/doc/pcsx2
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /usr/lib/ccache/cc
-- Check for working C compiler: /usr/lib/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Enable the building of po files by default in Release build !!!
-- Found Freetype: /usr/lib/libfreetype.so (found version "2.4.10")
-- Found GTK2_GTK: /usr/lib/libgtk-x11-2.0.so  
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found ALSA: /usr/lib/libasound.so (found version "1.0.26")
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.1")
-- Found JPEG: /usr/lib/libjpeg.so  
-- Found OpenGL: /usr/lib/libGL.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Found SDL: /usr/lib/libSDL.so (found version "1.2.15")
-- Could NOT find Subversion (missing:  Subversion_SVN_EXECUTABLE)
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.7")
-- Found AIO: /usr/lib/libaio.so  
-- Found Cg: /usr/lib/libCg.so;/usr/lib/libCgGL.so  
-- Found GLEW: /usr/lib/libGLEW.so  
-- Found Libc: /usr/lib/librt.so;/usr/lib/libdl.so;/usr/lib/libm.so  
-- Found PortAudio: /usr/lib/libportaudio.so  
-- Found SoundTouch: /usr/lib/libSoundTouch.so  
-- Found SparseHash: /usr/include  
-- Could NOT find SparseHash_new (missing:  SPARSEHASE_NEW_INCLUDE_DIR)
-- Skip build of common libraries: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), sparsehash (>=1.5)
-- Skip build of pcsx2 core: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=2.16), zlib (>=1.2.4), pcsx2 common libs
-- Skip build of zzogl: miss some dependencies
-- check these libraries -> glew (>=1.6), jpeg (>=6.2), opengl, X11, nvidia-cg-toolkit (>=2.1), pcsx2 common libs
-- Skip build of spu2-x: miss some dependencies
-- check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), pcsx2 common libs
-- Configuring done
-- Generating done

I notice that in SearchForStuff.cmake there are special options for Fedora - can you remember where these come from? - perhaps more need to be added (or taken away) for Fedora 18?

Code:
# Fedora uses an extra non-standard option ...
if(Fedora)
    set(wxWidgets_CONFIG_OPTIONS --unicode=yes --arch i686)
else()
    set(wxWidgets_CONFIG_OPTIONS --unicode=yes)
endif()

When I run wx-config ---list on fedora\ 18 x86_64 I get:

Code:
$ wx-config --list

    Default config is gtk2-unicode-release-2.8

  Default config will be used for output


Anyway, back to the first problem I will try to package the 1.0.0 branch without the cflags options and see if this helps. I'll also look a abrt as I promised - I have sought some advice on the fedora forum.
Reply




Users browsing this thread: 1 Guest(s)