Emerging any version of sci-visualization/visit does not install the necessary headers for building visit plugins Reproducible: Always Actual Results: Installed header files (total 28): /opt/visit/2.9.0 $ find . -iname *.h ./linux-x86_64/include/visit/include/visit-config.h ./linux-x86_64/include/visit/include/visit-python-config.h ./linux-x86_64/include/visit/include/visit-hdf5.h ./linux-x86_64/libsim/V2/include/VisItControlInterface_V2.h ./linux-x86_64/libsim/V2/include/VisItControlInterface_V2_plotting.h ./linux-x86_64/libsim/V2/include/VisItDataInterface_V2.h ./linux-x86_64/libsim/V2/include/VisItInterfaceTypes_V2.h ./linux-x86_64/libsim/V2/include/VisIt_CSGMesh.h ./linux-x86_64/libsim/V2/include/VisIt_CommandMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_CurveData.h ./linux-x86_64/libsim/V2/include/VisIt_CurveMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_CurvilinearMesh.h ./linux-x86_64/libsim/V2/include/VisIt_DomainBoundaries.h ./linux-x86_64/libsim/V2/include/VisIt_DomainList.h ./linux-x86_64/libsim/V2/include/VisIt_DomainNesting.h ./linux-x86_64/libsim/V2/include/VisIt_ExpressionMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_MaterialData.h ./linux-x86_64/libsim/V2/include/VisIt_MaterialMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_MeshMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_NameList.h ./linux-x86_64/libsim/V2/include/VisIt_PointMesh.h ./linux-x86_64/libsim/V2/include/VisIt_RectilinearMesh.h ./linux-x86_64/libsim/V2/include/VisIt_SimulationMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_SpeciesData.h ./linux-x86_64/libsim/V2/include/VisIt_SpeciesMetaData.h ./linux-x86_64/libsim/V2/include/VisIt_UnstructuredMesh.h ./linux-x86_64/libsim/V2/include/VisIt_VariableData.h ./linux-x86_64/libsim/V2/include/VisIt_VariableMetaData.h Expected Results: Expect a lot more header files installed, from the binary distribution get a total of ~5000, particularly I need the headers in include/visit/common, for building headers: ./2.9.2/linux-x86_64/include/visit/common/ ./2.9.2/linux-x86_64/include/visit/common/plugin/DatabasePluginInfo.h ./2.9.2/linux-x86_64/include/visit/common/plugin/DatabasePluginManager.h ./2.9.2/linux-x86_64/include/visit/common/plugin/InvalidDirectoryException.h ./2.9.2/linux-x86_64/include/visit/common/plugin/InvalidPluginException.h ./2.9.2/linux-x86_64/include/visit/common/plugin/OperatorPluginInfo.h ./2.9.2/linux-x86_64/include/visit/common/plugin/OperatorPluginManager.h ./2.9.2/linux-x86_64/include/visit/common/plugin/PlotPluginInfo.h ./2.9.2/linux-x86_64/include/visit/common/plugin/PlotPluginManager.h ./2.9.2/linux-x86_64/include/visit/common/plugin/PluginBroadcaster.h ./2.9.2/linux-x86_64/include/visit/common/plugin/PluginManager.h ./2.9.2/linux-x86_64/include/visit/common/plugin/database_plugin_exports.h ./2.9.2/linux-x86_64/include/visit/common/plugin/operator_plugin_exports.h ./2.9.2/linux-x86_64/include/visit/common/plugin/plot_plugin_exports.h ./2.9.2/linux-x86_64/include/visit/common/plugin/plugin_exports.h ./2.9.2/linux-x86_64/include/visit/common/plugin/plugin_vartypes.h Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.2, glibc-2.20-r2, 4.0.1-gentoo x86_64) ================================================================= System uname: Linux-4.0.1-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_v3_@_2.60GHz-with-gentoo-2.2 KiB Mem: 131952640 total, 624660 free KiB Swap: 134217720 total, 134217720 free Timestamp of repository gentoo: Wed, 17 Jun 2015 01:00:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25 p1.2) 2.25 app-shells/bash: 4.3_p39::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.20.2-r1::gentoo dev-lang/python: 2.7.9-r2::gentoo, 3.4.3::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r3::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.16.3::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.25-r1::gentoo sys-devel/gcc: 4.9.2::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 crossdev location: /usr/local/crossdev masters: gentoo Installed sets: @ankh, @core, @hardware, @media, @print, @qemu, @science, @utils, @xbase, @xfull ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA @FREE FraunhoferFDK Mendeley-terms Oracle-BCLA-JavaSE AdobeFlash-11.x Intel-SDP" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" 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" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j40" 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" USE="X acl aes-ni alsa amd64 avx avx2 berkdb bzip2 cdda cddb cli cracklib crypt cscope cups cxx dri dvd encode exif fdk ffmpeg flac fma fma3 fortran gdbm gmp hdf5 iconv icu ipv6 ipython jpeg latex mac matplotlib mmx mmxext modules mp3 mpeg multilib ncurses nls nptl ogg opengl openmp pam pcre pdf png postscript pstricks readline rendering schroedinger session sse sse2 sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssl ssse3 svg tcl tcpd theora threads tiff tk truetype unicode vorbis wmf x264 x265 xft xpm xvid 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en de" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="slurm" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nouveau" 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" USE_PYTHON="3.4 2.7" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can you please if you've got all needed headers now after re-emerge? Remember to "emerge --sync" before checking.
Hi there, Thanks for the quick turnaround on the patch,that adds all the headers, I need. Unfortunately though I am continuing to run into problems related to the plugin build process. It is a combination of needing VisIt to install certain CMake files (the easy bit), and the fact that there are some incorrect hardcoded assumptions in that file once I get it to install. The cmake files I need to have are: /opt/visit/2.9.0/linux-x86_64/include/PluginVsInstall.cmake /opt/visit/2.9.0/linux-x86_64/include/VisItLibraryDependencies.cmake /opt/visit/2.9.0/linux-x86_64/include/VisItMacros.cmake and following your lead for installing the header files I have added the relevant logic to the CMakeLists.txt patch for this. The hard bit then turns out to be fixing the contents of PluginVsInstall.cmake, which lists the include paths for vtk, mesa etc, in the form: --SNIP-- SET(VISIT_COMMON_INCLUDES ${VISIT_INCLUDE_DIR}/visit/include ${VISIT_INCLUDE_DIR}/visit/common/Exceptions/Database ${VISIT_INCLUDE_DIR}/visit/common/Exceptions/Pipeline ${VISIT_INCLUDE_DIR}/visit/common/Exceptions/Plotter --SNIP-- # Set up VTK SET(VTK_INCLUDE_DIRS ${VISIT_INCLUDE_DIR}/vtk/vtk-6.1) SET(VTK_LIBRARY_DIRS ${VISIT_LIBRARY_DIR}) # Set up Mesa SET(MESA_INCLUDE_DIR ${VISIT_INCLUDE_DIR}/mesa/include) SET(MESA_LIBRARY_DIR ${VISIT_LIBRARY_DIR}) --SNIP-- So you can set VISIT_INCLUDE_DIR to either correctly resolve the visit headers, or correctly resolve the system lib headers, but not both. Since building plugins is likely a corner case usage for VisIt I'm not expecting you to fix this (unless you really want to). Feel free to mark the bug FIXED and I will figure out a patch myself when I have time. I have begun to teach myself cmake since I first filed the bug so I think I understand enough to get this fixed myself and the upload the patch as an enhancement.
Created attachment 405718 [details, diff] Make sure Plugin cmake files get installed I'm not sure if the change to PATTERN "CMakeFiles" is overkill here or not.
I'm glad I could help. Unfortunately I'm not a cmake guru, so we have to ask someone more skilled in this topic. Anyway, I'll try to do some research with your problem. If you'll find a solution, please post it here.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c987881e192becd6236fcb681e6cd58a46b35b3a commit c987881e192becd6236fcb681e6cd58a46b35b3a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2019-12-28 16:04:46 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2019-12-28 16:09:53 +0000 sci-visualization/visit: Remove last-rited package Closes: https://bugs.gentoo.org/552374 Closes: https://bugs.gentoo.org/657952 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> profiles/package.mask | 5 - sci-visualization/visit/Manifest | 1 - .../visit/files/visit-2.12.3-cmakelist.patch | 10 -- .../visit-2.12.3-dont_symlink_visit_dir.patch | 18 --- .../visit/files/visit-2.12.3-findpython.patch | 19 --- .../visit/files/visit-2.12.3-findsilo.patch | 12 -- .../visit/files/visit-2.12.3-findvtk.patch | 29 ----- .../visit/files/visit-2.12.3-qwt.patch | 14 --- .../visit/files/visit-2.12.3-vtklibs.patch | 133 --------------------- .../visit/files/visit-2.12.3-vtkmpi.patch | 46 ------- sci-visualization/visit/metadata.xml | 21 ---- sci-visualization/visit/visit-2.12.3-r1.ebuild | 119 ------------------ 12 files changed, 427 deletions(-)