It's time to stabilize e-uae-0.8.28-r1. * Currently stable version does not contaion modular X fixes while this version has. * It's more than 1 month in the tree. * New version has some bugfixes ;) I created one bug for e-uae and caps, as e-uae is the only application in the tree that uses this caps library. So it's good idea to stabilise them together.
This version just segfaults on me before the GUI even appears.
(In reply to comment #1) > This version just segfaults on me before the GUI even appears. Can you, please, post emerge --info. What USE/CFLAGS did you use for e-uae?
Removing LDFLAGS had no effect incase you thought it was those. Portage 2.1.1_pre2-r8 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 x86_64) ================================================================= System Settings ================================================================= System uname: 2.6.17-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3 -ftracer" 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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="en_GB" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 16bit 3ds 64bit 7zip X a52 aac acpi aim alsa amr apm asf audacious audiofile automount avahi avi bash-completion berkdb bitmap-fonts bluetooth bonjour bzip2 cairo cdda cddb cdinstall cdio cdparanoia cdr cdrom chipcard chipcard2 cjk cli crypt cups dbus dga dlloader dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode evo exif fat ffmpeg fftw firefox flac foomatic foomaticdb fortran gadu gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal hfs howl-compat icq ieee1394 imlib ipv6 isdnlog jabber java javascript jfs jikes joystick jpeg jpeg2k kdeenablefinal kqemu lcms libsamplerate lzo lzw lzw-tiff mad matroska meanwhile mikmod mjpeg mmap mng modplug mono mp3 mp4 mpeg mplayer msn musepack musicbrainz ncurses nfs nls nptl nptlonly nsplugin ntfs nvidia nvtv ogg openexr opengl pam pcre pdf pdflib perl png ppds pppd python quicktime rar readline reflection reiser4 reiserfs rle rtc samba scanner sdl session sid silc smartcard smp sndfile speex spell spl ssl svg swat szip tcpd tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode upnp ups usb userlocales v4l v4l2 vcd vfat vorbis wma wmf x264 xanim xfs xft xine xorg xpm xv xvid xvmc yahoo yv12 zeroconf zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick input_devices_aiptek kernel_linux linguas_en_GB userland_GNU video_cards_nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Ben: I did not encounter such behaviour both on amd64 and x86. So... Can you gather and post backtrace? Also what do you have in the console output? Can you try to build e-uae-0.8.27. (I know that ebuild is not backported on modular X (and that is one of the reasons I'd like to stabilize e-uae-8.28), but you may try to either use 0.28 ebuild (chage version && remove epatch) or compile it manually) Does 0.8.27 works for you? It's really hard to say what problem is, but you may try to play for example with this ~/.uaerc options: bsdsocket_emu=false scsi=false Also you may try to compile with EXTRA_CONF="--enable-bsdsock-new". Thank you.
.27 doesn't build. ------------------------------------ In file included from ../../src/keymap/keymap_all.h:10, from rawkeys.c:18: ../../src/keymap/x11pc_rawkeys.h:11: error: array type has incomplete element type In file included from ../../src/keymap/keymap_all.h:11, from rawkeys.c:18: ../../src/keymap/quartz_rawkeys.h:10: error: array type has incomplete element type In file included from ../../src/keymap/keymap_all.h:12, from rawkeys.c:18: ../../src/keymap/beos_rawkeys.h:10: error: array type has incomplete element type make[3]: *** [rawkeys.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/e-uae-0.8.27/work/e-uae-0.8.27/src/gfx-sdl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/e-uae-0.8.27/work/e-uae-0.8.27/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/e-uae-0.8.27/work/e-uae-0.8.27/src' make: *** [all-recursive] Error 1 !!! ERROR: app-emulation/e-uae-0.8.27 failed.
Adding those options to the .uaerc file didn't help. The entire terminal output is... ---------------------------------- E-UAE 0.8.28 Build date: Jul 6 2006 17:05:15 UAE is not running as root, DGA extension disabled. X11GFX: Initialized. Found 1 joystick(s) X11GFX: Raw key-mapping disabled. Opening cfgfile '/home/enverex/.uaerc'...okay. Testing the RDTSC instruction ... done. TSC frequency: 2011.000000 MHz Testing system sleep function........... Average duration of a 1ms sleep: 2 ms Found 1 joystick(s) X11GFX: Raw key-mapping disabled. Segmentation fault
(In reply to comment #6) > Segmentation fault and backtrace, please... :)
Erm, I don't know how to do that, heh.
Well. Try this link: http://www.gentoo.org/proj/en/qa/backtraces.xml
hmm, I can't run dgb without being root and when I try and run e-uae as root I get: E-UAE 0.8.28 Build date: Jul 14 2006 22:53:20 The program 'UAE' received an X Window System error. This probably reflects a bug in the program. The error was 'XF86DGANoDirectVideoMode'. (Details: serial 11 error_code 158 request_code 137 minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
(In reply to comment #10) > I can't run dgb without being root Why? Try to run from the root: # gdb e-uae {skip} (gdb) run --sync BTW. Try to build e-uea with sdl library: env USE="-X sdl" emerge -a e-uae And in any case I'd like to return to original subject. Ben. I think it's good idea to open another bug (assign it on me) with this report, so we could continue work on your problem. There are many things that can cause segfault. For example, you have dual core, and I do not know if upstream dev, ever tested this program with such hardware. So your problem should be solved, but I do not think this should stop stabilization of rather old e-uae-0.8.28. Hey arch teams. Please, try e-uae and stabilize! :) It's really time to drop old uncompilable, without modular X support software... And there are always bugs in software ;) In any case we need to return to original subject
Last post on the matter. It is already build with SDL support and doing what you said doesn't work as I already pointed out WHY I can't run it as root (it errors out before reaching the point where it segfaults but you ommited quoting that from your post).
Ben and all interested: bug 140460 was added to database. This is currently the only bug with e-uae-0.8.28-r1! So... And arch teams: Please, start work! :) Previous version (that is now stable) even does not compile.
Well. Just a small update on issue reported by Ben. The bug was specific for new compiler versions on amd64. Hopefully it is fixed in e-uae-0.8.28-r1. see bug 140460 for details. Thus. I'd say amd64 should stabilize 0.8.28-r1. All other archs ... as you whish. Patch to fix the problem is really small (one line :) ), so may be it's better to stabilize e-uae-0.8.28-r2...
caps-20060612 and uae-0.8.22-r1 both emerge fine here on amd64, just lacking some way to test functionality... emerge --info Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-suspend2-r3-Dudebox-Edition x86_64) ================================================================= System uname: 2.6.17-suspend2-r3-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.4 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -msse3" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://server/gentoo-portage" USE="amd64 X alsa apache2 arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl opengl pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_dummy" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
in amd64 we trust
It looks ok on ppc up to the point where you start running the ROM -- I can't test any farther since I have no amiga to get a ROM from. Think it's reasonable to go ahead and stable ue-uae and caps anyways? Is the setup GUI coming up a good indicator that the emulation will work on an arch?
Hello, in x86 both app-emulation/e-uae-0.8.28-r1 and games-emulation/caps-20060612 1) emerges fine 2) passes collision tests 3) work Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.4 distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-Os -mcpu=i686 -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo" CXXFLAGS="-Os -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux linguas_es userland_GNU video_cards_i915 video_cards_i810 video_cards_i830 video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Hello in x86 and gcc-4.1 both app-emulation/e-uae-0.8.28-r1 and games-emulation/caps-20060612 1) emerges fine 2) passes collision tests 3) work Portage 2.1-r2 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686) ================================================================= System uname: 2.6.17-gentoo-r4 i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/splash /etc/terminfo" CXXFLAGS="-Os -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xorg xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_synaptics kernel_linux linguas_es userland_GNU video_cards_i915 video_cards_i810 video_cards_i830 video_cards_vesa video_cards_fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Works fine here on ppc, marked ppc stable.
x86 stable. Closing bug, as we're the last.