Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196564 - app-emulation/vice-1.21-r1 doesn't start if compiled with --enable-fullscreen and no xrandr is available
Summary: app-emulation/vice-1.21-r1 doesn't start if compiled with --enable-fullscreen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-21 00:31 UTC by sECuRE
Modified: 2015-02-11 03:18 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sECuRE 2007-10-21 00:31:31 UTC
vice 1.21-r1 is compiled with --enable-fullscreen, which is hardcoded (!) in the ebuild. If you run Xorg without xrandr, the emulator does not start at all. I "fixed" this by manually changing --enable-fullscreen to --disable-fullscreen

Reproducible: Always

Steps to Reproduce:
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2007-10-21 01:23:49 UTC
please attach your emerge --info output and reopen
Comment 2 sECuRE 2007-10-21 10:03:19 UTC
> please attach your emerge --info output and reopen
I don't see of what use this could be as this is a clear error in the ebuild-file, but here you go:

Portage 2.1.2.12 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8-codebox x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8-codebox x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 14 Sep 2007 09:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.1_p17
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ "
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow aac acl alsa amd64 berkdb bitmap-fonts caps cli cracklib crypt cups dri esd fortran gdbm gpm iconv isdnlog jpeg jpg mad midi mmx mp3 mudflap ncurses nptl nptlonly ogg openmp pam pcre png pppd python readline reflection sdl session spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts x264 xinerama xorg 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 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" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-10-21 13:59:33 UTC
What's the command that's failing?
Comment 4 sECuRE 2007-10-21 14:05:42 UTC
(In reply to comment #3)
> What's the command that's failing?
x128 and x64 are what I've tested. Both say:
Xrandr not available
Exiting...
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2007-10-21 23:45:03 UTC
"Xrandr not available" doesn't see to appear in the source so please post the whole output of trying to run /usr/games/bin/x128

Also, please try 1.22 and see if that works better for you.

works fine for me with no xrandr to be found on my system.
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2007-10-30 19:17:59 UTC
need info
Comment 7 sECuRE 2007-10-31 00:38:23 UTC
(In reply to comment #5)
> "Xrandr not available" doesn't see to appear in the source so please post the
> whole output of trying to run /usr/games/bin/x128
$ x128
Set fontpath: `xset fp+ /usr/games/lib/vice/fonts'.
Reading configuration file `/home/michael/.vice/vicerc'.
*** VICE Version 1.22 ***
 
Welcome to x128, the free portable C128 Emulator.
 
Current VICE team members:
A. Boose, D. Lem, T. Biczo, A. Dehmel, T. Bretz, A. Matthies,
M. Pottendorfer, M. Brenner, S. Trikaliotis, M. van den Heuvel.
 
This is free software with ABSOLUTELY NO WARRANTY.
See the "About VICE" command for more info.
 
X11: Found 24bit visual.
XRandR: X11 XRandR extension not available, using default display mode.

Exiting...

> Also, please try 1.22 and see if that works better for you.
Did so.

Sorry for replying so late, -ENOTIME ;-)
Comment 8 Patrice Levesque 2009-07-10 03:27:13 UTC
Exactly the same issue occurs with =app-emulation/vice-2.1 and suggested ebuild patch by the original submitter fixes the problem.
Comment 9 Sebastian Pipping gentoo-dev 2010-04-04 22:01:02 UTC
Bug report QA messages:

 * Please use full package qualifiers
   (e.g. "sys-apps/portage", not just "portage")
   in bug report titles, at the beginning ideally,
   in the future.  Thank you!
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2015-02-11 03:18:42 UTC
fullscreen USE flag is available in vice-2.4.16-r1