| Summary: | sci-visualization/paraview-4.2.0-r1 fails to build with >=dev-libs/protobuf-2.6.1: vtkPVMessage.proto:65:14: Message extensions cannot have required fields. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paweł Hajdan, Jr. (RETIRED) <phajdan.jr> |
| Component: | Current packages | Assignee: | Matthias Maier <tamiko> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | atoth, dschridde+gentoobugs, jarausch, joost.ruis, jouni.kosonen, mail, marko.vendelin, phil.tooley, rose |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.vtk.org/Bug/view.php?id=15442 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 525560 | ||
| Attachments: |
build.log.gz
paraview-4.3.1-protobuf-2.6.patch |
||
|
Description
Paweł Hajdan, Jr. (RETIRED)
2015-01-27 15:42:29 UTC
*** 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 |