Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93576 - dev-games/ogre-1.0.1 fails to build
Summary: dev-games/ogre-1.0.1 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 09:45 UTC by Karol Krizka
Modified: 2005-05-22 23:45 UTC (History)
1 user (show)

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 Karol Krizka 2005-05-22 09:45:53 UTC
I tried to emerge dev-games/ogre-1.0.1 and it failed.

Reproducible: Always
Steps to Reproduce:
1.emerge orge
2.
3.

Actual Results:  
config.status: creating OgreMain/include/config.h
config.status: executing depfiles commands
Making all in OgreMain
make[1]: Entering directory `/var/tmp/portage/ogre-1.0.1/work/ogrenew/OgreMain'
Making all in src
make[2]: Entering directory `/var/tmp/portage/ogre-1.0.1/work/ogrenew/OgreMain/src'
if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H
-I. -I. -I../../OgreMain/include  -I/usr/include/freetype2
-I../../OgreMain/include -DOGRE_NONCLIENT_BUILD      -O2 -march=athlon64 -O2
-pipe -fPIC -I/usr/include/SDL -D_REENTRANT -MT OgreAnimation.lo -MD -MP -MF
".deps/OgreAnimation.Tpo" \  -c -o OgreAnimation.lo `test -f 'OgreAnimation.cpp'
|| echo './'`OgreAnimation.cpp; \
then mv -f ".deps/OgreAnimation.Tpo" ".deps/OgreAnimation.Plo"; \
else rm -f ".deps/OgreAnimation.Tpo"; exit 1; \
fi
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../OgreMain/include
-I/usr/include/freetype2 -I../../OgreMain/include -DOGRE_NONCLIENT_BUILD -O2
-march=athlon64 -O2 -pipe -fPIC -I/usr/include/SDL -D_REENTRANT -MT
OgreAnimation.lo -MD -MP -MF .deps/OgreAnimation.Tpo -c OgreAnimation.cpp  -fPIC
-DPIC -o .libs/OgreAnimation.o
In file included from ../../OgreMain/include/OgrePrerequisites.h:88,
                 from ../../OgreMain/include/OgreAnimation.h:29,
                 from OgreAnimation.cpp:26:
../../OgreMain/include/OgreStdHeaders.h:84:45: boost/thread/recursive_mutex.hpp:
No such file or directory
In file included from ../../OgreMain/include/OgreResource.h:30,
                 from ../../OgreMain/include/OgreSkeleton.h:30,
                 from OgreAnimation.cpp:30:
../../OgreMain/include/OgreSharedPtr.h:49: error: `boost' has not been declared
../../OgreMain/include/OgreSharedPtr.h:49: error: ISO C++ forbids declaration of
`recursive_mutex' with no type
../../OgreMain/include/OgreSharedPtr.h:49: error: expected `;' before '*' token
../../OgreMain/include/OgreSharedPtr.h: In constructor
`Ogre::SharedPtr<T>::SharedPtr(T*)':
../../OgreMain/include/OgreSharedPtr.h:57: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSharedPtr.h:57: error: (Each undeclared identifier is
reported only once for each function it appears in.)
../../OgreMain/include/OgreSharedPtr.h:57: error: `boost' has not been declared
../../OgreMain/include/OgreSharedPtr.h:57: error: `recursive_mutex' has not been
declared
../../OgreMain/include/OgreSharedPtr.h: In copy constructor
`Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T>&)':
../../OgreMain/include/OgreSharedPtr.h:62: error: `boost' has not been declared
../../OgreMain/include/OgreSharedPtr.h:62: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreSharedPtr.h:62: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreSharedPtr.h:63: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSharedPtr.h: In member function `Ogre::SharedPtr<T>&
Ogre::SharedPtr<T>::operator=(const Ogre::SharedPtr<T>&)':
../../OgreMain/include/OgreSharedPtr.h:77: error: `boost' has not been declared
../../OgreMain/include/OgreSharedPtr.h:77: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreSharedPtr.h:77: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreSharedPtr.h:78: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSharedPtr.h: In member function `void
Ogre::SharedPtr<T>::bind(T*)':
../../OgreMain/include/OgreSharedPtr.h:102: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSharedPtr.h:102: error: `boost' has not been
declared../../OgreMain/include/OgreSharedPtr.h:102: error: `recursive_mutex' has
not been declared
../../OgreMain/include/OgreSharedPtr.h:103: error: `boost' has not been
declared../../OgreMain/include/OgreSharedPtr.h:103: error: `scoped_lock'
undeclared (first use this function)
../../OgreMain/include/OgreSharedPtr.h:103: error: expected `;' before
"ogreAutoMutexLock"
../../OgreMain/include/OgreSharedPtr.h: In member function `bool
Ogre::SharedPtr<T>::unique() const':
../../OgreMain/include/OgreSharedPtr.h:108: error: `boost' has not been
declared../../OgreMain/include/OgreSharedPtr.h:108: error: `scoped_lock'
undeclared (first use this function)
../../OgreMain/include/OgreSharedPtr.h:108: error: expected `;' before
"ogreAutoMutexLock"
../../OgreMain/include/OgreSharedPtr.h: In member function `unsigned int
Ogre::SharedPtr<T>::useCount() const':
../../OgreMain/include/OgreSharedPtr.h:109: error: `boost' has not been
declared../../OgreMain/include/OgreSharedPtr.h:109: error: `scoped_lock'
undeclared (first use this function)
../../OgreMain/include/OgreSharedPtr.h:109: error: expected `;' before
"ogreAutoMutexLock"
../../OgreMain/include/OgreSharedPtr.h: In member function `void
Ogre::SharedPtr<T>::setNull()':
../../OgreMain/include/OgreSharedPtr.h:121: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSharedPtr.h: In member function `void
Ogre::SharedPtr<T>::release()':
../../OgreMain/include/OgreSharedPtr.h:130: error: `boost' has not been
declared../../OgreMain/include/OgreSharedPtr.h:130: error: `scoped_lock'
undeclared (first use this function)
../../OgreMain/include/OgreSharedPtr.h:130: error: expected `;' before
"ogreAutoMutexLock"
../../OgreMain/include/OgreSharedPtr.h: In member function `virtual void
Ogre::SharedPtr<T>::destroy()':
../../OgreMain/include/OgreSharedPtr.h:151: error: `mutex' undeclared (first use
this function)
In file included from ../../OgreMain/include/OgreSkeleton.h:30,
                 from OgreAnimation.cpp:30:
../../OgreMain/include/OgreResource.h: At global scope:
../../OgreMain/include/OgreResource.h:70: error: `boost' has not been declared
../../OgreMain/include/OgreResource.h:70: error: ISO C++ forbids declaration of
`recursive_mutex' with no type
../../OgreMain/include/OgreResource.h:70: error: expected `;' before "mutex"
../../OgreMain/include/OgreResource.h: In member function `bool
Ogre::Resource::isLoaded() const':
../../OgreMain/include/OgreResource.h:190: error: `boost' has not been declared
../../OgreMain/include/OgreResource.h:190: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreResource.h:190: error: expected `;' before
"ogreAutoMutexLock"
In file included from OgreAnimation.cpp:30:
../../OgreMain/include/OgreSkeleton.h: In constructor
`Ogre::SkeletonPtr::SkeletonPtr(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreSkeleton.h:315: error: `boost' has not been declared
../../OgreMain/include/OgreSkeleton.h:315: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreSkeleton.h:315: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreSkeleton.h:316: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSkeleton.h:316: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
../../OgreMain/include/OgreSkeleton.h: In member function `Ogre::SkeletonPtr&
Ogre::SkeletonPtr::operator=(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreSkeleton.h:332: error: `boost' has not been declared
../../OgreMain/include/OgreSkeleton.h:332: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreSkeleton.h:332: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreSkeleton.h:333: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreSkeleton.h:333: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
In file included from ../../OgreMain/include/OgreRenderable.h:33,
                 from ../../OgreMain/include/OgreNode.h:34,
                 from ../../OgreMain/include/OgreBone.h:30,
                 from OgreAnimation.cpp:31:
../../OgreMain/include/OgreMaterial.h: In constructor
`Ogre::MaterialPtr::MaterialPtr(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreMaterial.h:574: error: `boost' has not been declared
../../OgreMain/include/OgreMaterial.h:574: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreMaterial.h:574: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreMaterial.h:575: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreMaterial.h:575: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
../../OgreMain/include/OgreMaterial.h: In member function `Ogre::MaterialPtr&
Ogre::MaterialPtr::operator=(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreMaterial.h:591: error: `boost' has not been declared
../../OgreMain/include/OgreMaterial.h:591: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreMaterial.h:591: error: expected `;' before "ogrenameLock"
../../OgreMain/include/OgreMaterial.h:592: error: `mutex' undeclared (first use
this function)
../../OgreMain/include/OgreMaterial.h:592: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
In file included from ../../OgreMain/include/OgreRenderable.h:35,
                 from ../../OgreMain/include/OgreNode.h:34,
                 from ../../OgreMain/include/OgreBone.h:30,
                 from OgreAnimation.cpp:31:
../../OgreMain/include/OgreGpuProgram.h: In constructor
`Ogre::GpuProgramPtr::GpuProgramPtr(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreGpuProgram.h:880: error: `boost' has not been declared
../../OgreMain/include/OgreGpuProgram.h:880: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreGpuProgram.h:880: error: expected `;' before
"ogrenameLock"
../../OgreMain/include/OgreGpuProgram.h:881: error: `mutex' undeclared (first
use this function)
../../OgreMain/include/OgreGpuProgram.h:881: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
../../OgreMain/include/OgreGpuProgram.h: In member function
`Ogre::GpuProgramPtr& Ogre::GpuProgramPtr::operator=(const Ogre::ResourcePtr&)':
../../OgreMain/include/OgreGpuProgram.h:897: error: `boost' has not been declared
../../OgreMain/include/OgreGpuProgram.h:897: error: `scoped_lock' undeclared
(first use this function)
../../OgreMain/include/OgreGpuProgram.h:897: error: expected `;' before
"ogrenameLock"
../../OgreMain/include/OgreGpuProgram.h:898: error: `mutex' undeclared (first
use this function)
../../OgreMain/include/OgreGpuProgram.h:898: error: 'const class
Ogre::SharedPtr<Ogre::Resource>' has no member named 'mutex'
../../OgreMain/include/OgreSharedPtr.h: In copy constructor
`Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T>&) [with T =
Ogre::Skeleton]':
../../OgreMain/include/OgreSkeleton.h:311:   instantiated from here
../../OgreMain/include/OgreSharedPtr.h:63: error: 'const class
Ogre::SharedPtr<Ogre::Skeleton>' has no member named 'mutex'
../../OgreMain/include/OgreSharedPtr.h: In copy constructor
`Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T>&) [with T =
Ogre::Material]':
../../OgreMain/include/OgreMaterial.h:570:   instantiated from here
../../OgreMain/include/OgreSharedPtr.h:63: error: 'const class
Ogre::SharedPtr<Ogre::Material>' has no member named 'mutex'
../../OgreMain/include/OgreSharedPtr.h: In copy constructor
`Ogre::SharedPtr<T>::SharedPtr(const Ogre::SharedPtr<T>&) [with T =
Ogre::GpuProgram]':
../../OgreMain/include/OgreGpuProgram.h:876:   instantiated from here
../../OgreMain/include/OgreSharedPtr.h:63: error: 'const class
Ogre::SharedPtr<Ogre::GpuProgram>' has no member named 'mutex'
make[2]: *** [OgreAnimation.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/ogre-1.0.1/work/ogrenew/OgreMain/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ogre-1.0.1/work/ogrenew/OgreMain'
make: *** [all-recursive] Error 1


Expected Results:  
orge should have compiled

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/kkrizka/Code/Ebuilds"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi aim allegro alsa amuled
apache2 athena audiofile avi backward-compatible bash-completion bcmath berkdb
berkkdb bidi bitmap-fonts bl bonobo bzip2 bzlib calendar canna caps cdb cddb
cdparanoia cdparanois cdr cegui cg chasen cjk clanJavaScript clanVoice
cpdflibcrypt cpudetection crypt cscope css ctype cups curl curlwrappers
custom-cflags db2 dba dbase dbm dbx dedicated devil dga dio directfb
directfbdivx4linux djbfft dnd doc double-precision dpms dts dv dvb dvd dvdr
dvdread dxr3 edl eds emacs emacs-w3 emul-linux-x86 encode epiphany esd evo
examples exif expat f77 fam fame fbcon ffmpeg fftw flac flash flatfile
font-server foomaticdb fortan fortran fping fpx freetds freetype freewnn ftp gb
gcj gd gd-external gdbm geoip gg ggi gif giff gii gimpprint ginac glut gnome
gnomedb gnustep gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml guile hal
howl iconv icq ieee1394 imagemagick imap imlib inifile innodb ipv6 irc ithreads
jabber java javascript jbig jikes jp2 jpeg lcms ldap leim libcaca libedit libg++
libgda libvisual libwww live lj lzo lzw lzw-tiff mad maildir mailwrapper
matroska matrox mbox mcal mcve md5sum mdb migemo mikmod mime ming mjpeg mng
motif mozdevelop mozilla mozillampg3 mozsvg mp3 mpeg mpi mplayer msn mssql mule
mysql mysqli mythtv nas ncurses neXt network nfs nls nntp nowin nptl nvidia oci8
odbc offensive ofx ogg oggvorbis openal openexr opengl openntpd oracle oss pam
parse-clocks pcmcia pcre pda pdflib perl php physfs plotutils png pnp posix
postgres ppds python qmail quicktime rar readlibe readline real remote rss rtc
ruby samba sblive scanner sdk sdl silc slang sndfile sockets sox speex spell spl
sqlite ssl stats subtitles svg symlink synlinkszip sysfs tcltk tcpd tga theora
threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb
userlocales v4l v4l2 vcd videos vidix vorbis wifi wmf wxgtk1 wxwindows xanim
xbase xchatdccserver xchattext xface xine xml xml2 xmlrpc xmms xosd xpm xprint
xrandr xsl xv xvid xvmc yahoo yaz yv12 zeo zlib zvbi userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 SpanKY gentoo-dev 2005-05-22 16:41:53 UTC
what version of boost ?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-05-22 18:34:07 UTC
Sounds fixed to me.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-05-22 18:34:27 UTC
bah.  stupid bugzilla.
Comment 4 Karol Krizka 2005-05-22 20:52:51 UTC
Huh? Boost? What boost? Maybe you should add it to the dependencies because I
didn't have that installed. I did emerge it now and it works.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-05-22 22:00:10 UTC
builds fine for me without boost.  Here are the use flags I had turned on though:

[ebuild  N    ] dev-games/ogre-1.0.1  -cegui -cg -devil -doc -double-precision
+gtk -openexr +opengl +sdl -threads
Comment 6 Karol Krizka 2005-05-22 22:02:33 UTC
It is because you have some of the use flags turned off. I tried to compile the
latest CVS version and it worked with just ./configure. As soon as I added some
enables it failed.
Comment 7 SpanKY gentoo-dev 2005-05-22 23:45:06 UTC
hrm, i thought i had put threads? ( boost ) in DEPEND but i guess i forgot

fixed now