Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489286 - dev-db/mongodb-2.4.7 - src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__128' locally defined but not used [-Werror=unused-local-typedefs]
Summary: dev-db/mongodb-2.4.7 - src/third_party/v8/src/checks.h:251:22: error: typedef...
Status: RESOLVED DUPLICATE of bug 482576
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 18:31 UTC by Chris Smith
Modified: 2013-10-25 14:19 UTC (History)
0 users

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


Attachments
mongo-2.4.7 build log (mongodb-build.log,227.78 KB, text/x-log)
2013-10-24 18:31 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2013-10-24 18:31:13 UTC
dev-db/mongodb-2.4.7 fails to compile (gcc-4.8.1)

Reproducible: Always

Actual Results:  
In file included from src/third_party/v8/src/v8globals.h:32:0,
                 from src/third_party/v8/src/v8.h:53,
                 from src/third_party/v8/src/x64/assembler-x64.cc:28:
src/third_party/v8/src/v8utils.h: In function 'void v8::internal::CopyWords(T*, T*, int)':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__128' locally defined but not used [-Wer     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:304:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(kIsIndirectStringTag != 0);
   ^
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__305' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:305:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT((kIsIndirectStringMask & kStringEncodingMask) == 0);
   ^
src/third_party/v8/src/objects-inl.h: In member function 'bool v8::internal::String::IsTwoByteRepresentationUnderneath()':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__320' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:320:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(kIsIndirectStringTag != 0);
   ^
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__321' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:321:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT((kIsIndirectStringMask & kStringEncodingMask) == 0);
   ^
src/third_party/v8/src/objects-inl.h: In member function 'bool v8::internal::Object::IsJSReceiver()':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__493' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:493:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(LAST_JS_RECEIVER_TYPE == LAST_TYPE);
   ^
src/third_party/v8/src/objects-inl.h: In member function 'bool v8::internal::Object::IsJSObject()':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__500' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:500:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(LAST_JS_OBJECT_TYPE == LAST_TYPE);
   ^
src/third_party/v8/src/objects-inl.h: In member function 'v8::internal::String* v8::internal::String::GetUnderlying()':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__2385' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:2385:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(ConsString::kFirstOffset == SlicedString::kParentOffset);
   ^
src/third_party/v8/src/objects-inl.h: In member function 'void v8::internal::Code::set_flags(v8::internal::Code::Flags)':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__3038' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/objects-inl.h:3038:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(Code::NUMBER_OF_KINDS <= KindField::kMax + 1);
   ^
src/third_party/v8/src/api.h: In function 'T v8::ToCData(v8::internal::Object*)':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__120' locally defined but not used [-Werror=unused-local-typedefs]
   ^
src/third_party/v8/src/api.h: In function 'v8::internal::Handle<v8::internal::Object> v8::FromCData(T)':
src/third_party/v8/src/checks.h:251:22: error: typedef '__StaticAssertTypedef__129' locally defined but not used [-Werror=unused-local-typedefs]
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
                      ^
src/third_party/v8/src/checks.h:241:39: note: in definition of macro 'SEMI_STATIC_JOIN_HELPER'
 #define SEMI_STATIC_JOIN_HELPER(a, b) a##b
                                       ^
src/third_party/v8/src/checks.h:251:5: note: in expansion of macro 'SEMI_STATIC_JOIN'
     SEMI_STATIC_JOIN(__StaticAssertTypedef__, __LINE__)
     ^
src/third_party/v8/src/checks.h:283:30: note: in expansion of macro 'STATIC_CHECK'
 #define STATIC_ASSERT(test)  STATIC_CHECK(test)
                              ^
src/third_party/v8/src/api.h:129:3: note: in expansion of macro 'STATIC_ASSERT'
   STATIC_ASSERT(sizeof(T) == sizeof(v8::internal::Address));
   ^
cc1plus: all warnings being treated as errors
scons: *** [build/linux2/cc_x86_64-pc-linux-gnu-gcc/cxx_x86_64-pc-linux-gnu-g++/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/usev8/third_party/v8/src/x64/assembler-x64.o] Error 1
scons: building terminated because of errors.


emerge --info '=dev-db/mongodb-2.4.7::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.1, glibc-2.17, 3.11.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.11.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32897936 total,   1695536 free
KiB Swap:    6291452 total,   6291452 free
Timestamp of tree: Thu, 24 Oct 2013 16:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.12
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.3
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo desktop server
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="V=1 -j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/desktop /usr/local/portage/server"
SYNC="rsync://rsync11.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 audiofile avahi bash-completion berkdb bluray branding btrfs bzip2 cairo caps cdaudio cdda cddb cdparanoia cdr cdrdao chm cli consolekit cracklib crypt cups curl cxx dbus declarative designer-plugin djvu dri dts dv dvb dvd dvdr ebook emboss encode exif fam ffmpeg firefox flac fortran gdbm gif gmp gphoto2 gpm graphite gstreamer gtk gtk3 iconv icu ieee1394 imagemagick imap imlib introspection ipv6 jack java jpeg jpeg2k kde kipi kpathsea lame lcms libffi libnotify mad marble midi mmap mmx mng modules mozilla mp3 mp4 mpeg mtp mudflap multilib musicbrainz mythtv ncurses network nls nodrm nptl nsplugin nvidia ofx ogg opencl openexr opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime readline rtmp samba sasl scanner sdl semantic-desktop session slp smp sndfile spell sse sse2 ssl startup-notification subversion svg theora threads tiff tk transparency truetype udev udisks unicode upower usb v4l vaapi vcd vdpau vim-syntax vorbis vpx wav wavpack wmf wxwidgets x264 xattr xcomposite xine xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel hdsp hpet hrtimer rtctimer seqdummy virmidi" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" NGINX_MODULES_HTTP="autoindex fancyindex fastcgi gzip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

emerge -pqv '=dev-db/mongodb-2.4.7::gentoo'
[ebuild     U ] dev-db/mongodb-2.4.7 [2.4.6-r1] USE="ssl -kerberos -mms-agent -sharedclient -spidermonkey -static-libs (-embedded-v8%)"
Comment 1 Chris Smith 2013-10-24 18:31:54 UTC
Created attachment 361814 [details]
mongo-2.4.7 build log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-25 14:19:50 UTC

*** This bug has been marked as a duplicate of bug 482576 ***