Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112596

Summary: dev-games/ogre-1.0.5 works on AMD64 if disable usage of "cg" and "gtk"
Product: Gentoo Linux Reporter: Sergey Belyashov <Sergey.Belyashov>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED WONTFIX    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Corrected ebuild for ogre-1.0.5

Description Sergey Belyashov 2005-11-15 02:46:56 UTC
Please add ~amd64 to dev-games/ogre ebuild

Reproducible: Always
Steps to Reproduce:
1. Use amd64 box
2. setup Gentoo (CHOST=x86_64-pc-linux-gnu)
3. echo "dev-games/ogre  -gtk -cg" >>/etc/portage/package.use
4. ACCEPT_KEYWORDS="*" emerge ogre
Actual Results:  
ogre installed with all dependencies


Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.
6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointers"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/
share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /
usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointers"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
LANG="ru_RU.UTF-8"
LINGUAS="en ru"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X a52 acpi alsa amd64 arts audiofile avi bash-completion bitmap-fonts bzip2 
cdr cegui crypt cups devil dga dts dvd dvdr dvdread emboss encode esd exif expat 
fam ffmpeg firefox flac foomaticdb fortran freetype gd gdbm gif glut gnome gpm 
gstreamer gtk gtk2 hal idn imlib ipv6 java jpeg kde kdeenablefinal lcms 
lm_sensors lzw lzw-tiff mad mbox mikmod mmap mng mp3 mpeg nas nasm ncurses nls 
nptl nptlonly nvidia ogg oggvorbis opengl oss pam pam_console pcre pdflib perl 
png python qt quicktime readline rtc samba sdl slang spell ssl subversion tcpd 
threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales 
v4l2 vorbis xinerama xml2 xmms xpm xv xvid xvmc zlib linguas_en linguas_ru 
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-11-15 06:01:54 UTC
no

either everything works or we dont add amd64
Comment 2 Sergey Belyashov 2005-11-16 11:49:55 UTC
Created attachment 73022 [details]
Corrected ebuild for ogre-1.0.5

I found what dependency =dev-cpp/libglade-2.2* is not correct for this package.
Originally ogre needs =dev-cpp/libglade-2.0*. Package dev-cpp/libglade-2.0.1 do
not masked for amd64 and use keyword "amd64".

Dependency >=media-gfx/nvidia-cg-toolkit-1.2 is not correct too. Because only
nvidia-cg-toolkit-1.3.0501.0700 (and may be higher) use special package for
amd64 platform. I add special exception for amd64.

I try to emerge this package with USE="gtk cg sdl cegui devil opengl threads
-doc -double-precision -openexr". Result is OK.