Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 263174 - www-plugins/gnash-0.8.4 failed ... error: 'boost::int32_t' has not been declared
Summary: www-plugins/gnash-0.8.4 failed ... error: 'boost::int32_t' has not been declared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 21:13 UTC by chris
Modified: 2009-11-28 12:22 UTC (History)
3 users (show)

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


Attachments
build.log file (build.log,165.76 KB, text/plain)
2009-03-21 03:13 UTC, chris
Details
emerge --info output from x86_64 installation (emerge_info.txt,5.19 KB, text/plain)
2009-06-20 07:24 UTC, Guenther Brunthaler
Details
ebuild output from x86_64 installation (www-plugins:gnash-0.8.4:20090620-070836.log,159.41 KB, text/plain)
2009-06-20 07:26 UTC, Guenther Brunthaler
Details
config.log from failed x86_64 installation (config.log.lzma,17.88 KB, application/octet-stream)
2009-06-20 07:29 UTC, Guenther Brunthaler
Details
Patch fixing the problem (boost-int32_t.patch,884 bytes, patch)
2009-06-20 19:43 UTC, Guenther Brunthaler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris 2009-03-20 21:13:18 UTC
When " emerge -av gnash " it claims that 'boost::int32_t' has notbeen declared and fails everytime.  I am compiling on athlon64, using -march=athlon64, but I am not trying to make 64bit executables if that is of any help.

Reproducible: Always

Steps to Reproduce:
1. # emerge gnash
2.
3.

Actual Results:  
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../libnet -I../../backend -I../../libcore -I../../libcore/swf -I../../libcore/parser -I../../libcore/vm -I../../libbase -I../../libamf -I../../libltdl -I../../libmedia -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/freetype2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../libmedia/gst -O2 -march=athlon64 -fomit-frame-pointer -DNO_DEBUG -DNDEBUG -pipe -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -MT System_as.lo -MD -MP -MF .deps/System_as.Tpo -c System_as.cpp  -fPIC -DPIC -o .libs/System_as.o
../../libcore/parser/character_def.h:73: error: 'boost::int32_t' has not been declared
../../libcore/parser/character_def.h:73: error: 'boost::int32_t' has not been declared
make[3]: *** [System_as.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libcore/asobj'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libcore'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4'
make: *** [all] Error 2



# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-_64_Processor_3700+-with-glibc2.0
Timestamp of tree: Sun, 15 Mar 2009 01:45:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -fomit-frame-pointer -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -DNO_DEBUG -DNDEBUG -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi alsa apache2 apm archive aspell audiofile berkdb bittorrent bzip2 c++ cairo cdaudio cdda cddax cddb cdr chm chroot cli colordiff compress cpudetection cpufreq cracklib crypt cups curl cursors dbus dhcpcd dri dvd dvdnav dvdr fax festival ffmpeg file flac flash ftp fuse gdbm gif gimp git glade glib glut gnutella gphoto2 gpm grub gtk hal httpd iconv ipv6 isdnlog java javascript joystick jpeg kate kde kdm kipi ladspa lame libass libcaca libssh2 libv4l2 libwww mad midi mjpeg mmx mmxext mng mozdevelop mozdom mozembed mozilla mp2 mp3 mp4 mpeg mpeg2 msn mudflap multiuser mysql mysqli ncurses network networkmanager nls nptl nptlonly nsplugin nspr ntfs nvidia odbc ode ogg ogg123 opengl openmp openssl pam pango parport parted pcre pdf perl php png posix pppd python qt3 qt4 quicktime rar rdesktop readline realmedia reflection rpm scanner science screenshot sdl sdl-image sdl-sound sdlaudio seamonkey search session sftp sounds sox speech speex spell spl sse sse2 ssh ssl subversion svg symlink sysfs tcpd theora thesaurus threads tiff timidity truetype unicode unzip usb v4l v4l2 valgrind vcd vcdinfo vcdx vga vim vim-with-x vlc voice vorbis wavpack wifi winpopup wireshark wma wmf wmp wxwindows x264 x86 xhtml xine xmame xml xorg xpm xrender xscreensaver xslt xterm xterm-color xulrunner xv xvid xvmc zip 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 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="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-21 01:24:40 UTC
Please attach the build.log file.
Comment 2 chris 2009-03-21 03:13:34 UTC
Created attachment 185692 [details]
build.log file
Comment 3 Guenther Brunthaler 2009-06-20 07:20:11 UTC
I encountered the same problem, and I am running an actual 64 bit system (with multilib support enabled though).
Comment 4 Guenther Brunthaler 2009-06-20 07:24:16 UTC
Created attachment 195248 [details]
emerge --info output from x86_64 installation
Comment 5 Guenther Brunthaler 2009-06-20 07:26:32 UTC
Created attachment 195249 [details]
ebuild output from x86_64 installation
Comment 6 Guenther Brunthaler 2009-06-20 07:29:03 UTC
Created attachment 195251 [details]
config.log from failed x86_64 installation

Text file, LZMA compressed because of size. Use "unlzma <file>" to unpack.
Comment 7 Guenther Brunthaler 2009-06-20 07:31:32 UTC
The failed x86_64 installation was about to be installed with the following USE flags ("emerge -av"):

[ebuild  N    ] www-plugins/gnash-0.8.4  USE="agg cairo dbus ffmpeg gtk kde nsplugin opengl qt3 sdl -fbcon -gstreamer" VIDEO_CARDS="-i810" 0 kB
Comment 8 Guenther Brunthaler 2009-06-20 19:43:41 UTC
Created attachment 195300 [details, diff]
Patch fixing the problem

This patch fixes the problem - at least for me. It should only be
applied, however, if actually necessary (i. e. if compilation fails).

In order to install the failing package using the patch, save the patch to some directory $DIR_WHERE_PATCH_SAVED and execute the following commands (after unmasking gnash if necessary):

$ ebuild $(equery which gnash) unpack
$ cd /var/tmp/portage/www-plugins/gnash-0.8.4/work/*
$ patch -p1 < $DIR_WHERE_PATCH_SAVED/boost-int32_t.patch
$ cd
$ ebuild $(equery which gnash) install
$ ebuild $(equery which gnash) qmerge
$ emerge --noreplace gnash
Comment 9 Guenther Brunthaler 2009-06-20 19:47:20 UTC
If the

$ cd /var/tmp/portage/www-plugins/gnash-0.8.4/work/*

from my last post is replaced by

$ cd /var/tmp/portage/www-plugins/gnash-*/work/*

the procedure might work for Gnash package versions other than 0.8.4 as well.
Comment 10 Sebastian Luther (few) 2009-11-24 19:14:47 UTC
Is this still a problem? If so, it would be nice to know the minimal use flag configuration for gnash to reproduce. 

This patch is just a hack shouldn't be used.
Comment 11 Guenther Brunthaler 2009-11-28 11:25:58 UTC
(In reply to comment #10)
> Is this still a problem?

No. I just managed to install the newer version www-plugins/gnash-0.8.6 and the problem did no longer show.

However, I was forced to switch off the USE-flag "kde" in order to avoid build failure. But that's a new bug.

I was using the following effective USE flags in my successful install:
agg cairo dbus doc ffmpeg gtk nls nsplugin opengl sdl speex ssl

As far as I am concerned, this bug can be closed. Seems upstream has fixed it.
Comment 12 Sebastian Luther (few) 2009-11-28 12:22:08 UTC
(In reply to comment #11)
> As far as I am concerned, this bug can be closed. Seems upstream has fixed it.
> 

Thanks for testing. Closing as fixed.