Created attachment 395018 [details] build.log.gz This is with dev-libs/protobuf-2.6.1-r1: Generating vtkPVMessage.pb.h, vtkPVMessage.pb.cc cd /var/tmp/portage/sci-visualization/paraview-4.2.0-r1/work/paraview-4.2.0_build/ParaViewCore/ServerImplementation/Core && protoc --cpp_out=dllexport_decl=VTKPVSERVERIMPLEMENTATIONCORE_EXPORT:/var/tmp/portage/sci-visualization/paraview-4.2.0-r1/work/paraview-4.2.0_build/ParaViewCore/ServerImplementation/Core --proto_path /var/tmp/portage/sci-visualization/paraview-4.2.0-r1/work/ParaView-v4.2.0-source/ParaViewCore/ServerImplementation/Core /var/tmp/portage/sci-visualization/paraview-4.2.0-r1/work/ParaView-v4.2.0-source/ParaViewCore/ServerImplementation/Core/vtkPVMessage.proto vtkPVMessage.proto:65:14: Message extensions cannot have required fields. vtkPVMessage.proto:68:14: Message extensions cannot have required fields. vtkPVMessage.proto:103:14: Message extensions cannot have required fields. vtkPVMessage.proto:104:14: Message extensions cannot have required fields. vtkPVMessage.proto:209:14: Message extensions cannot have required fields. vtkPVMessage.proto:222:14: Message extensions cannot have required fields. vtkPVMessage.proto:245:14: Message extensions cannot have required fields. vtkPVMessage.proto:246:14: Message extensions cannot have required fields. vtkPVMessage.proto:259:14: Message extensions cannot have required fields. ParaViewCore/ServerImplementation/Core/CMakeFiles/protobuf_code_generation.dir/build.make:55: recipe for target 'ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h' failed make[2]: *** [ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h] Error 1 Portage 2.2.15 (python 2.7.9-final-0, hardened/linux/amd64, gcc-4.9.2, glibc-2.20-r1, 3.13.0-44-generic x86_64) ================================================================= System uname: Linux-3.13.0-44-generic-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v2_@_2.80GHz-with-gentoo-2.2 KiB Mem: 65897496 total, 11831848 free KiB Swap: 67035132 total, 66952556 free Timestamp of tree: Mon, 26 Jan 2015 14:00:01 +0000 sh bash 4.3_p33-r1 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33-r1 dev-lang/perl: 5.20.1-r4 dev-lang/python: 2.7.9-r1, 3.3.5-r1 dev-util/cmake: 3.1.0 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.9.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.5 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.18 (virtual/os-headers) sys-libs/glibc: 2.20-r1 Repositories: gentoo x-portage ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA @FREE -@EULA -AGPL-3" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -g -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 -g -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug 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.UTF-8" LDFLAGS="-Wl,--hash-style=gnu" MAKEOPTS="-j32" 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" USE="X acl amd64 berkdb bindist bzip2 clang cli cracklib crypt cxx dri fortran gbm gdbm gudev hardened iconv icu ipv6 justify libkms minizip mmx modules multilib ncurses nls nptl opengl openmp pam pax_kernel pcre readline session sse sse2 ssl subversion tcpd unicode urandom xa xattr xtpax xvfb zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="ptp2" 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 ublox ubx" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
*** Bug 542884 has been marked as a duplicate of this bug. ***
Any news?
(In reply to Juergen Rose from comment #2) > Any news? This is now fixed in version 4.2.0 and 4.3.1 *paraview-4.3.1 (19 Apr 2015) 19 Apr 2015; Matthias Maier <tamiko@gentoo.org> +files/paraview-4.1.0-vtk-freetype.patch, +files/paraview-4.2.0-protobuf-2.patch, +files/paraview-4.2.0-protobuf.patch, +paraview-4.3.1.ebuild, -files/paraview-4.2.0-Protobuf.patch, -paraview-4.0.1-r2.ebuild, paraview-4.1.0-r2.ebuild, paraview-4.2.0-r1.ebuild: version bump (bug #538690), fix dependencies (bug #538168), fix freetype-2.5.5 compatibility also in 4.1.0-r2 (bug #541012), fix protobuf compatibility in 4.2.0 and 4.3.1 (bug #537988)
*sigh* No, not fixed.
(In reply to Matthias Maier from comment #3) > (In reply to Juergen Rose from comment #2) > > Any news? > > This is now fixed in version 4.2.0 and 4.3.1 > > *paraview-4.3.1 (19 Apr 2015) > > 19 Apr 2015; Matthias Maier <tamiko@gentoo.org> > +files/paraview-4.1.0-vtk-freetype.patch, > +files/paraview-4.2.0-protobuf-2.patch, > +files/paraview-4.2.0-protobuf.patch, > +paraview-4.3.1.ebuild, -files/paraview-4.2.0-Protobuf.patch, > -paraview-4.0.1-r2.ebuild, paraview-4.1.0-r2.ebuild, > paraview-4.2.0-r1.ebuild: > version bump (bug #538690), fix dependencies (bug #538168), fix > freetype-2.5.5 > compatibility also in 4.1.0-r2 (bug #541012), fix protobuf compatibility in > 4.2.0 and 4.3.1 (bug #537988) 'MAKEOPTS=-j1 emerge -v1 paraview' for paraview-4.3.1 fails here with ... /var/tmp/portage/sci-visualization/paraview-4.3.1/work/paraview-4.3.1_build/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: note: template argument deduction/substitution failed: /var/tmp/portage/sci-visualization/paraview-4.3.1/work/paraview-4.3.1_build/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h: In substitution of ‘template<class _proto_TypeTraits, unsigned char _field_type, bool _is_packed> typename _proto_TypeTraits::Repeated::ConstType paraview_protobuf::Message::GetExtension(const google::protobuf::internal::ExtensionIdentifier<paraview_protobuf::Message, _proto_TypeTraits, _field_type, _is_packed>&, int) const [with _proto_TypeTraits = google::protobuf::internal::PrimitiveTypeTraits<bool>; unsigned char _field_type = 8u; bool _is_packed = false]’: /var/tmp/portage/sci-visualization/paraview-4.3.1/work/ParaView-v4.3.1-source/ParaViewCore/ServerManager/Rendering/vtkSMCameraLink.cxx:367:45: required from here /var/tmp/portage/sci-visualization/paraview-4.3.1/work/paraview-4.3.1_build/ParaViewCore/ServerImplementation/Core/vtkPVMessage.pb.h:608:3: error: no type named ‘Repeated’ in ‘class google::protobuf::internal::PrimitiveTypeTraits<bool>’ ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/build.make:199: recipe for target 'ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o' failed make[2]: *** [ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/vtkSMCameraLink.cxx.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sci-visualization/paraview-4.3.1/work/paraview-4.3.1_build' CMakeFiles/Makefile2:9109: recipe for target 'ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/all' failed make[1]: *** [ParaViewCore/ServerManager/Rendering/CMakeFiles/vtkPVServerManagerRendering.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/sci-visualization/paraview-4.3.1/work/paraview-4.3.1_build' Makefile:139: recipe for target 'all' failed make: *** [all] Error 2
(In reply to Juergen Rose from comment #5) > (In reply to Matthias Maier from comment #3) > > (In reply to Juergen Rose from comment #2) > > > Any news? > > > > This is now fixed in version 4.2.0 and 4.3.1 > > The same here. The bug is not fixed, yet.
(In reply to Juergen Rose from comment #5) (In reply to Helmut Jarausch from comment #6) > The bug is not fixed, yet. Yes, I know. I was a bit too fast with this one (i.e. the first problem is resolved, but I missed the compilation error at around 90%). I will have a look at which patches are applied to sci-libs/vtk wrt protobuf. If one of you two want to speed up the process and investigate a bit for yourself - patches welcome :-] (I hope to find some time for this in the next 2 days...)
(In reply to Matthias Maier from comment #7) > (In reply to Juergen Rose from comment #5) > > (In reply to Helmut Jarausch from comment #6) > > The bug is not fixed, yet. > > Yes, I know. I was a bit too fast with this one (i.e. the first problem is > resolved, but I missed the compilation error at around 90%). > > I will have a look at which patches are applied to sci-libs/vtk wrt > protobuf. If one of you two want to speed up the process and investigate a > bit for yourself - patches welcome :-] (I hope to find some time for this in > the next 2 days...) Any news?
(In reply to Juergen Rose from comment #8) > Any news? This is not yet fixed upstream.
+ 26 May 2015; Patrick Lauer <patrick@gentoo.org> paraview-4.1.0-r2.ebuild, + paraview-4.2.0-r1.ebuild, paraview-4.3.1.ebuild: + Fix protobuf dep #537988 Feel free to relax the dependency once there's a working fix
Created attachment 412010 [details, diff] paraview-4.3.1-protobuf-2.6.patch (In reply to Patrick Lauer from comment #10) > Feel free to relax the dependency once there's a working fix Note 34997 in the upstream bug http://www.vtk.org/Bug/view.php?id=15442#c34997 seems to have a working fix. It makes sense in the context and allows the compilation to finish.
commit 1b6729b01b86fe46347b9547efd931fe1e999192 Author: Matthias Maier <tamiko@gentoo.org> Date: Sat Sep 19 21:53:17 2015 -0500 sci-visualization/paraview: Fix compilation with protobuf-2.6 (bug #537988) Gentoo-Bug: 537988 Package-Manager: portage-2.2.20.1