Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177335 - app-emulation/virtualbox-1.3.8 needs media-libs/libsdl compiled with X use flag enabled
Summary: app-emulation/virtualbox-1.3.8 needs media-libs/libsdl compiled with X use fl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-06 14:23 UTC by Robert A.
Modified: 2007-05-13 09:04 UTC (History)
1 user (show)

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


Attachments
app-emulation/virtualbox-1.3.8 ebuild patch (virtualbox-1.3.8.ebuild.diff,614 bytes, patch)
2007-05-08 11:26 UTC, Alessio Cassibba (X-Drum)
Details | Diff
app-emulation/virtualbox-bin-1.3.8-r1 ebuild patch (virtualbox-bin-1.3.8-r1.ebuild.diff,595 bytes, patch)
2007-05-08 11:28 UTC, Alessio Cassibba (X-Drum)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert A. 2007-05-06 14:23:52 UTC
ssia

Reproducible: Always

Steps to Reproduce:
1. USE=-X emerge libsdl
2. emerge virtualbox



Expected Results:  

virtualbox ebuild should complain because libsdl was compiled with X use flag disabled (and not start building)


emerge info:

Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Core(TM) Duo CPU      L2500  @ 1.83GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 03 May 2007 01:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://INTERNAL_SERVER/gentoo/ http://gentoo.inode.at/"
MAKEOPTS="-j6"
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/local/portage"
SYNC="rsync://INTERNAL_SERVER/gentoo-portage"
USE="alsa arts bash-completion berkdb bitmap-fonts cli cracklib crypt cups divx dri fortran gdbm gpm iconv idn isdnlog ithreads kde kdeenablefinal libg++ midi mmx mp3 ncurses nptl nptlonly opengl pam pcre perl ppds pppd python quicktime readline real realmedia reflection session spl sse sse2 ssl threads truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert A. 2007-05-06 14:25:11 UTC

actual results (bugzilla argued that the comment was too long):

ld: Installing VBoxManage => /tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/VBoxManage
kmk[4]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxManage'
kmk[4]: Entering directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL'
kBuild: Compiling VBoxSDL - VBoxSDL.cpp
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In function 'int main(int, char**)':
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:1831: error: 'struct SDL_SysWMinfo' has no member named 'info'
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2493: error: 'struct SDL_SysWMinfo' has no member named 'info'
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:2507: error: 'struct SDL_SysWMinfo' has no member named 'info'
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In function 'void SetPointerShape(const PointerShapeChangeData*)':
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:3554: error: 'struct SDL_SysWMinfo' has no member named 'info'
/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:3573: error: 'struct SDL_SysWMinfo' has no member named 'info'
kmk[4]: *** [/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o] Error 1
The failing command:
        @g++ -c -O2 -g -Wall -Wno-long-long -Wno-trigraphs -Wno-variadic-macros -pipe -O2 -fno-omit-frame-pointer -fno-strict-aliasing  -DNDEBUG -DTRIMMED -DVBOX_WITH_XPCOM -O -Wall -fno-rtti -fno-exceptions -Wno-non-virtual-dtor -Wno-long-long -fshort-wchar -pthread -pipe -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include/xpcom -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include/xpcom/nsprpub -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include/xpcom/string -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include/xpcom/xpcom -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/bin/sdk/include/xpcom/ipcd -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL -I/usr/include/SDL -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/include -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL -I/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release -DVBOX -DVBOX_OSE -D__LINUX__ -D_FILE_OFFSET_BITS=64 -D__X86__ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=32 -D_GNU_SOURCE -Wp,-MD,/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o.dep -Wp,-MT,/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o -Wp,-MP -o /tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/out/linux.x86/release/obj/src/VBox/Frontends/VBoxSDL/VBoxSDL/VBoxSDL.o /tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
kmk[4]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends/VBoxSDL'
kmk[3]: *** [pass_binaries_before] Error 2
kmk[3]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox/Frontends'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/tmp/portage/app-emulation/virtualbox-1.3.8/work/vbox-ose-1.3.8/src'
kmk: *** [pass_binaries_before] Error 2

!!! ERROR: app-emulation/virtualbox-1.3.8 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3345:   Called src_compile
  virtualbox-1.3.8.ebuild, line 52:   Called die

!!! kmk failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/tmp/portage/app-emulation/virtualbox-1.3.8/temp/build.log'.

Comment 2 Alessio Cassibba (X-Drum) 2007-05-08 11:15:30 UTC
(In reply to comment #0) 
> virtualbox ebuild should complain because libsdl was compiled with X use flag
> disabled (and not start building)

Hi,
the same problem occurs here,
in addition there are problems running VBoxSDL with:
app-emulation/virtualbox-bin-1.3.8-r1

when media-libs/libsdl is compiled without the X useflag.
Comment 3 Alessio Cassibba (X-Drum) 2007-05-08 11:26:53 UTC
Created attachment 118547 [details, diff]
app-emulation/virtualbox-1.3.8 ebuild patch

VBoxSDL needs media-libs/libsdl compiled with the X useflag,
added a check in pkg_setup
Comment 4 Alessio Cassibba (X-Drum) 2007-05-08 11:28:02 UTC
Created attachment 118549 [details, diff]
app-emulation/virtualbox-bin-1.3.8-r1 ebuild patch

VBoxSDL needs media-libs/libsdl compiled with the X useflag,
added a check in pkg_setup
Comment 5 Markus Ullmann (RETIRED) gentoo-dev 2007-05-13 09:04:24 UTC
Meh, I should stop slacking... committed fixes provided by Alessio. thankies ;)