Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483972 - dev-db/mariadb with >=dev-libs/boost-1.54.0 - ../work/mysql/storage/oqgraph/graphcore.cc:578:35: required from here /usr/include/boost/graph/named_graph.hpp:318:1: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<
Summary: dev-db/mariadb with >=dev-libs/boost-1.54.0 - ../work/mysql/storage/oqgraph/g...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: https://mariadb.atlassian.net/browse/...
Whiteboard:
Keywords:
: 508542 (view as bug list)
Depends on:
Blocks: boost-1.54
  Show dependency tree
 
Reported: 2013-09-06 11:25 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2014-04-25 00:40 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,473.64 KB, text/x-log)
2013-09-06 11:25 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Patch fixing the CMakeLists.txt detection of oqgraph boost support (oqgraph.patch,1.72 KB, patch)
2014-03-20 19:18 UTC, Andrés Becerra Sandoval
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-09-06 11:25:11 UTC
Created attachment 358034 [details]
build.log

[ 52%] Building CXX object storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o
cd /var/tmp/portage/dev-db/mariadb-5.5.32/work/mariadb-5.5.32_build/storage/oqgraph && /usr/bin/x86_64-pc-linux-gnu-g++  -DHAVE_CONFIG_H -DHAVE_OQGRAPH -DMYSQL_DYNAMIC_PLUGIN -Doqgraph_EXPORTS  -Wall -march=barcelona -mtune=barcelona -O2
 -pipe -fno-strict-aliasing -felide-constructors -fno-rtti   -fno-strict-aliasing  -Wno-unused-parameter   -fno-rtti -Wno-deprecated -fno-strict-aliasing -O2 -g -DNDEBUG -DDBUG_OFF -fPIC -I/var/tmp/portage/dev-db/mariadb-5.5.32/work/mari
adb-5.5.32_build/include -I/var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/include -I/var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/sql -I/var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/regex    -o CMakeFiles/oqgraph.dir/graphcore
.cc.o -c /var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/storage/oqgraph/graphcore.cc
In file included from /usr/include/boost/graph/adjacency_list.hpp:45:0,
                 from /var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/storage/oqgraph/graphcore.cc:40:
/usr/include/boost/graph/named_graph.hpp: In instantiation of ‘void boost::graph::named_graph<Graph, Vertex, VertexProperty>::removing_vertex(Vertex, VertexIterStability) [with VertexIterStability = boost::graph_detail::unstable_tag; Gra
ph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>; Vertex = long unsigned int; VertexProperty = open_query::VertexInfo]’:
/usr/include/boost/graph/detail/adjacency_list.hpp:2203:7:   required from ‘void boost::remove_vertex(typename Config::vertex_descriptor, boost::vec_adj_list_im
pl<G, C, B>&) [with Graph = boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>; Config = boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config; Base = boost::bidirectional_graph_helper_with_property<boost::detail::adj_list_gen<boost::adjacency_list<boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo>, boost::vecS, boost::vecS, boost::bidirectionalS, open_query::VertexInfo, open_query::EdgeInfo, boost::no_property, boost::listS>::config>; typename Config::vertex_descriptor = long unsigned int]’
/var/tmp/portage/dev-db/mariadb-5.5.32/work/mysql/storage/oqgraph/graphcore.cc:578:35:   required from here
/usr/include/boost/graph/named_graph.hpp:318:1: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE<false>’
make[2]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/graphcore.cc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-db/mariadb-5.5.32/work/mariadb-5.5.32_build'
make[1]: *** [storage/oqgraph/CMakeFiles/oqgraph.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/mariadb-5.5.32/work/mariadb-5.5.32_build'
make: *** [all] Error 2
 * ERROR: dev-db/mariadb-5.5.32::gentoo failed (compile phase):
 *   emake failed


# emerge --info
Portage 2.2.1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3-asneeded, glibc-2.15-r3, 3.10.10 x86_64)
=================================================================
System uname: Linux-3.10.10-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.2
KiB Mem:     8243196 total,    198724 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 06 Sep 2013 06:00: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-r2, 3.2.5-r2, 3.3.2-r2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo kde-sunset poly-c
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
CHOST="x86_64-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 /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --misspell-suggestions=n --autounmask=n --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/opt/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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 c++0x cairo caps cdda cdr cli cracklib crypt css cups cxx dbus declarative dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac gdbm gif gmp gnutls gtk iconv icu idn imagemagick inotify jpeg jpeg2k kde kipi lame lcms libnotify lzma mac mad matroska midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf phonon plasma png ppds qt3support qt4 quicktime readline rtmp schroedinger sdl session slang speex spell sse sse2 ssl startup-notification svg theora threads tiff truetype twolame udev unicode upower usb vaapi vcd vorbis vpx wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel usb-audio" APACHE2_MODULES="access_compat alias authn_anon auth_basic authn_core authn_default authn_file authz_core authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dir env file_cache filter headers include info log_config mime mime_magic rewrite status unique_id unixd userdir vhost_alias" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

# emerge -qpv mariadb
[ebuild     U ] dev-db/mariadb-5.5.32 [5.5.31] USE="(-berkdb%) -cluster community -debug -embedded -extraengine -jemalloc latin1 -max-idx-128 -minimal -oqgraph pam (-pbxt) -perl -profiling (-selinux) -sphinx ssl -static -systemtap -tcmalloc {-test}"
Comment 1 Brian Evans (RETIRED) gentoo-dev 2013-09-27 16:28:01 UTC
Recent changes to mysql-cmake.eclass in the overlay should have oqgraph skipped when not selected.

Of course, this should still be a concern for USE="oqgraph"
Comment 2 Hector Martin 2014-03-12 00:02:52 UTC
Still broken in main portage, even with USE=-oqgraph. Can we get the fix to disable it when the USE flag is off, so it at least builds in that case?
Comment 3 Andrés Becerra Sandoval 2014-03-20 19:18:09 UTC
Created attachment 373136 [details, diff]
Patch fixing the CMakeLists.txt detection of oqgraph boost support

Patch fixing the problem for me in two boxes, downloaded from:

http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4045
Comment 4 Brian Evans (RETIRED) gentoo-dev 2014-03-21 12:28:44 UTC
(In reply to Andrés Becerra Sandoval from comment #3)
> Created attachment 373136 [details, diff] [details, diff]
> Patch fixing the CMakeLists.txt detection of oqgraph boost support
> 
> Patch fixing the problem for me in two boxes, downloaded from:
> 
> http://bazaar.launchpad.net/~maria-captains/maria/5.5/revision/4045

This was included in mariadb-5.5.35

Newer versions of mariadb can be found in the mysql overlay available via layman
Comment 5 Brian Evans (RETIRED) gentoo-dev 2014-04-23 18:00:58 UTC
*** Bug 508542 has been marked as a duplicate of this bug. ***
Comment 6 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2014-04-25 00:40:29 UTC
Closing now that 5.5.37 is in the tree.