smtk master build

There is an issue building smtk master this morning:
/home/aron.helser/projects/cmb/smtk/src/smtk/extension/paraview/appcomponents/pqSMTKAttributePanel.cxx:34:40: fatal error: vtkSMGlobalPropertiesProxy.h: No such file or directory

@ben.boeckel has a fix in the latest MR:
- #include "vtkSMGlobalPropertiesProxy.h"
auto paletteProxy = pxm ? pxm->GetProxy("global_properties", "ColorPalette") : nullptr;

Take a look here.

After I make that fix, and build and try to run modelbuilder:

(   0.576s) [paraview        ]vtkSIProxyDefinitionMan:495   WARN| vtkSIProxyDefinitionManager (0x1820a00): Extension for (misc, ColorPalette) ignored since could not find core definition.
Process started
Unrecognized OpenGL version
Unrecognized OpenGL version
(   1.229s) [paraview        ]     vtkOpenGLState.cxx:1442  WARN| Hardware does not support the number of textures defined.
(   1.229s) [paraview        ]     vtkOpenGLState.cxx:1442  WARN| Hardware does not support the number of textures defined.

@ben.boeckel you’ve updated modelbuilder - wondering if you’ve seen this?

I upgraded to Ubuntu 18.04 today, and did a complete clean rebuild, and the OpenGL error went away.

I do have to set LD_LIBRARY_PATH now to QT and superbuild/install/lib to get modelbuilder to run, where I didn’t before on 16.04.

I’m also seeing some weird test errors with modelbuilder - it’s acting like it doesn’t have any readers loaded when running ctest. Readers work fine interactively.

Setting LD_LIBRARY_PATH to superbuild/install/lib looks fishy :face_with_monocle:

That’s weird. Could you dump the readelf -d modelbuilder output here? Rpaths should be being used with ParaView and VTK master, but there may be holes.

It’s a RelWithDebInfo, separate “developer” build. Here’s the dump: the “Library runpath” looks identical to what I need to set LD_LIBRARY_PATH to for modelbuilder to run.

Dynamic section at offset 0x1e310 contains 44 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libpqApplicationComponents-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpqComponents-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpqCore-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkqttesting-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkGUISupportQt-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Widgets.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Gui.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Core.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkPVServerImplementation-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkPVCoreKit-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libpython2.7.so.1.0]
 0x0000000000000001 (NEEDED)             Shared library: [libvtksys-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkCommon-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libvtkPVServerManager-pv5.7.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000001d (RUNPATH)            Library runpath: [/home/aron.helser/projects/cmb/cmb-superbuild/build_master/install/lib:/home/aron.helser/projects/Qt/5.13.1/gcc_64/lib:]
 0x000000000000000c (INIT)               0xaa90
 0x000000000000000d (FINI)               0x16004
 0x0000000000000019 (INIT_ARRAY)         0x21d868
 0x000000000000001b (INIT_ARRAYSZ)       112 (bytes)
 0x000000000000001a (FINI_ARRAY)         0x21d8d8
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x298
 0x0000000000000005 (STRTAB)             0x2b48
 0x0000000000000006 (SYMTAB)             0x370
 0x000000000000000a (STRSZ)              16766 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x21e610
 0x0000000000000002 (PLTRELSZ)           6192 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x9260
 0x0000000000000007 (RELA)               0x7148
 0x0000000000000008 (RELASZ)             8472 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000000000001e (FLAGS)              BIND_NOW
 0x000000006ffffffb (FLAGS_1)            Flags: NOW PIE
 0x000000006ffffffe (VERNEED)            0x7018
 0x000000006fffffff (VERNEEDNUM)         6
 0x000000006ffffff0 (VERSYM)             0x6cc6
 0x000000006ffffff9 (RELACOUNT)          156
 0x0000000000000000 (NULL)               0x0

Might this be the issue? https://stackoverflow.com/questions/51952784/embed-rpath-instead-of-runpath-in-when-building-shared-objects-on-ubuntu-18-04