Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661860 - sci-libs/xdmf2-1.0_p141226-r2 - CMake Error at CMakeLists.txt:130 (add_dependencies): The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist.
Summary: sci-libs/xdmf2-1.0_p141226-r2 - CMake Error at CMakeLists.txt:130 (add_depend...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 661350
  Show dependency tree
 
Reported: 2018-07-23 08:16 UTC by Juergen Rose
Modified: 2020-05-17 17:51 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,7.51 KB, text/x-log)
2018-07-23 08:16 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2018-07-23 08:16:43 UTC
Created attachment 540560 [details]
build.log

'MAKEOPTS=-j1 emerge -v1 xdmf2' fails with:
...
-- Configuring done
CMake Error at CMakeLists.txt:130 (add_dependencies):
  The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:308 (XDMF_SWIG_PYTHON)


-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r2/work/xdmf2-1.0_p141226_build
 * ERROR: sci-libs/xdmf2-1.0_p141226-r2::gentoo failed (configure phase):
 *   cmake failed





root@lynx:/root(30)# emerge --info '=sci-libs/xdmf2-1.0_p141226-r2::gentoo'
Portage 2.3.43 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r5, 4.17.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.17.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    15905256 total,   4417392 free
KiB Swap:   50331644 total,  49870332 free
Timestamp of repository gentoo: Sat, 21 Jul 2018 23:00:01 +0000
Head commit of repository gentoo: 8054807a4e67591d2c89b33b0dc6271abcffc526
sh bash 4.4_p23
ld GNU ld (Gentoo 2.30 p3) 2.30.0
distcc[26641] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Mar 21 2018 07:00:29 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.12.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r3::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r5::gentoo
Repositories:

gentoo
    location: /usr/portage_lynx
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 1

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 2

ago
    location: /var/lib/layman/ago
    masters: gentoo
    priority: 50

imaging
    location: /var/lib/layman/imaging
    masters: gentoo
    priority: 50

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo science
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=broadwell -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /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="-march=broadwell -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news noclean nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=broadwell -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en fr ru"
MAKEOPTS="-j9"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audiofile aufs automap automount barcode bash-completion berkdb blas blast bluetooth bluray boost branding btrfs bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cilk clang cli cmake collada consolekit contrib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia digitalradio djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evdev evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate libtirpc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds ppp preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qml qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video vim-syntax virt-network virtualbox visio vorbis vpx vtk wav wayland webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xen xetex xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ublox nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="emu efi-64 pc xen" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" L10N="de en fr ru" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LLVM_TARGETS="NVPTX X86" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="nouveau displaylink" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-libs/xdmf2-1.0_p141226-r2::gentoo was built with the following:
USE="doc python -test" ABI_X86="(64)" PYTHON_TARGETS="python2_7"
CXXFLAGS="-march=broadwell -O2 -pipe -std=c++14"



root@lynx:/root(31)# emerge -pqv '=sci-libs/xdmf2-1.0_p141226-r2::gentoo'
[ebuild   R   ] sci-libs/xdmf2-1.0_p141226-r2  USE="doc python {-test}" PYTHON_TARGETS="python2_7"
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-08-02 01:05:55 UTC
Confirmed on a pristiner ~amd64 environment.

The build error is because of an incompatibility with cmake 3.12+. In https://cmake.org/cmake/help/latest/release/3.12.html#modules, there's "The UseSWIG module gained a whole refresh [...]" which is a good hint at the cause of the breakage.

I'm not qualified enough to easily fix this, but I'll soon add an upper dependency guard on cmake to avoid this incompatibility until we can patch this.
Comment 2 Larry the Git Cow gentoo-dev 2018-08-02 01:17:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2896430e5bc38aa4fb4d500169bffeba7f244281

commit 2896430e5bc38aa4fb4d500169bffeba7f244281
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-08-02 01:17:24 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-08-02 01:17:24 +0000

    sci-libs/xdmf2: require cmake < 3.12
    
    As it is, this package is incompatible with cmake 3.12+. Let's document
    that incompatibility until we fix the build.
    
    Bug: https://bugs.gentoo.org/661860
    Package-Manager: Portage-2.3.44, Repoman-2.3.10

 sci-libs/xdmf2/xdmf2-1.0_p141226-r2.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 3 Zakhar 2018-08-17 22:15:11 UTC
any more issues?
Comment 4 Juergen Rose 2018-08-18 07:03:40 UTC
'emerge -v1 xdmf2' works again.
Comment 5 Michael Uleysky 2018-08-27 02:36:46 UTC
The swig required only if python flag is set. Can you lower the constraints to a python? ( <=dev-util/cmake-3.12 )? A small library blocks update of the cmake...
Comment 6 Juergen Rose 2018-08-31 06:43:11 UTC
xdmf2-1.0_p141226-r3 fails now to emerge with the same error:

....
CMake Error at CMakeLists.txt:135 (add_dependencies):
  The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON)


-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build
 * ERROR: sci-libs/xdmf2-1.0_p141226-r3::gentoo failed (configure phase):
 *   cmake failed
Comment 7 Andreas Sturmlechner gentoo-dev 2019-02-16 19:00:08 UTC
*** Bug 664920 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2019-02-16 19:01:58 UTC
Alexey, commit 70c86f14 didn't have the desired outcome it seems.
Comment 9 Andreas Sturmlechner gentoo-dev 2019-02-16 19:45:47 UTC
What do we lose if this is last-rited? Looking at all the open bugs...

Also strange packaging: Package name is xdmf2, ebuild version claims 1.0, package header says 'major 2', 'minor 2', upstream homepage lists v1, v2 and v3, and no one ever made a release?
Comment 10 Juergen Rose 2019-02-18 10:23:12 UTC
(In reply to Andreas Sturmlechner from comment #9)
> What do we lose if this is last-rited? Looking at all the open bugs...
> 
> Also strange packaging: Package name is xdmf2, ebuild version claims 1.0,
> package header says 'major 2', 'minor 2', upstream homepage lists v1, v2 and
> v3, and no one ever made a release?

It seems, that I can't emerge without xdmf2:

root@lynx:/usr/local/portage/sci-libs(93)# USE=-xdmf2 emerge -pv1 oce vtk

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sci-libs/vtk-8.1.0-r3::gentoo  USE="R X boost doc ffmpeg gdal imaging java json mpi mysql odbc postgres python qt5 rendering tbb tcl test theora tk views xdmf2 -all-modules (-aqua) (-examples) -kaapi -offscreen -web" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_5" VIDEO_CARDS="-nvidia" 0 KiB
[ebuild   R    ] sci-libs/oce-0.18.3-r1:0.18.3::gentoo  USE="examples java tbb vtk -freeimage -gl2ps -openmp" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sci-libs/oce-0.18.3-r1::gentoo[vtk]
# required by oce (argument)
>=sci-libs/vtk-8.1.0-r3 xdmf2

 * In order to avoid wasting time, backtracking has terminated early
 * due to the above autounmask change(s). The --autounmask-backtrack=y
 * option can be used to force further backtracking, but there is no
 * guarantee that it will produce a solution.
Comment 11 Attila Tóth 2019-04-02 08:48:34 UTC
Temporarily downgrading cmake to a version below 3.12 makes it possible to emerge this package, until there's a lower version of cmake available in the tree. Xdmf2 is also seems to be necessary to have paraview, therefore vtk.
Comment 12 Luis Ferreira 2019-05-20 16:50:49 UTC
>>> Emerging (1 of 1) sci-libs/xdmf2-1.0_p141226-r3::gentoo
 * xdmf2-1.0_p141226.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking xdmf2-1.0_p141226.tar.xz to /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work
>>> Source unpacked in /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work
>>> Preparing source in /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226 ...
 * Applying xdmf2-1.0_p141226-module.patch ...                                                                                                                                                                                                                          [ ok ]
 * Applying xdmf2-1.0_p141226-cannot-find-hdf5-bug-591302.patch ...                                                                                                                                                                                                     [ ok ]
 * Applying xdmf2-1.0_p141226-cmake-3.12.patch ...                                                                                                                                                                                                                      [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build"
cmake -C /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=1 -DXDMF_BUILD_DOCUMENTATION=no -DBUILD_TESTING=no -DXDMF_WRAP_PYTHON=yes -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build/gentoo_toolchain.cmake  /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226
loading initial cache file /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found SWIG: /usr/bin/swig (found version "3.0.12") 
-- Found PythonInterp: /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/temp/python2.7/bin/python (found version "2.7.15") 
-- Found PythonLibs: /usr/lib/libpython2.7.so (found version "2.7.15") 
-- Found Git: /usr/bin/git (found version "2.21.0") 
-- Boost version: 1.65.0
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib64/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.5")  
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.9") 
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Performing Test HAVE_BOOST_SHARED_DYNAMIC_CAST
-- Performing Test HAVE_BOOST_SHARED_DYNAMIC_CAST - Failed
CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:559 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  CMakeLists.txt:127 (swig_add_module)
  core/CMakeLists.txt:147 (XDMF_SWIG_PYTHON)


CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:600 (message):
  Policy CMP0078 is not set: UseSWIG generates standard target names.  Run
  "cmake --help-policy CMP0078" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library)
  CMakeLists.txt:127 (swig_add_module)
  core/CMakeLists.txt:147 (XDMF_SWIG_PYTHON)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message):
  Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
  flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake/Modules/UseSWIG.cmake:695 (SWIG_ADD_SOURCE_TO_MODULE)
  /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library)
  CMakeLists.txt:127 (swig_add_module)
  core/CMakeLists.txt:147 (XDMF_SWIG_PYTHON)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:559 (message):
  SWIG_ADD_MODULE is deprecated.  Use SWIG_ADD_LIBRARY instead.
Call Stack (most recent call first):
  CMakeLists.txt:127 (swig_add_module)
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON)


CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:600 (message):
  Policy CMP0078 is not set: UseSWIG generates standard target names.  Run
  "cmake --help-policy CMP0078" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library)
  CMakeLists.txt:127 (swig_add_module)
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message):
  Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module
  flag.  Run "cmake --help-policy CMP0086" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

Call Stack (most recent call first):
  /usr/share/cmake/Modules/UseSWIG.cmake:695 (SWIG_ADD_SOURCE_TO_MODULE)
  /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library)
  CMakeLists.txt:127 (swig_add_module)
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMake/XdmfFunctions.cmake:5 (if):
  Policy CMP0054 is not set: Only interpret if() arguments as variables or
  keywords when unquoted.  Run "cmake --help-policy CMP0054" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  Quoted variables like "lib" will no longer be dereferenced when the policy
  is set to NEW.  Since the policy is not set the OLD behavior will be used.
Call Stack (most recent call first):
  CMakeLists.txt:352 (xdmf_create_config_file)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=corei7 -O2 -pipe
C++             -march=corei7 -O2 -pipe -std=c++14
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
CMake Error at CMakeLists.txt:135 (add_dependencies):
  The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON)


-- Generating done
-- Build files have been written to: /var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build
 * ERROR: sci-libs/xdmf2-1.0_p141226-r3::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3880:  Called cmake-utils_src_configure
 *   environment, line 1106:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/xdmf2-1.0_p141226-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/xdmf2-1.0_p141226-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/sci-libs:xdmf2-1.0_p141226-r3:20190520-164415.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build'
 * S: '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226'

>>> Failed to emerge sci-libs/xdmf2-1.0_p141226-r3, Log file:

>>>  '/var/tmp/sci-libs:xdmf2-1.0_p141226-r3:20190520-164415.log'

 * Messages for package sci-libs/xdmf2-1.0_p141226-r3:
 * Log file: /var/tmp/sci-libs:xdmf2-1.0_p141226-r3:20190520-164415.log

 * ERROR: sci-libs/xdmf2-1.0_p141226-r3::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 3880:  Called cmake-utils_src_configure
 *   environment, line 1106:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/xdmf2-1.0_p141226-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/xdmf2-1.0_p141226-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/sci-libs:xdmf2-1.0_p141226-r3:20190520-164415.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226_build'
 * S: '/var/tmp/portage/sci-libs/xdmf2-1.0_p141226-r3/work/xdmf2-1.0_p141226'
Comment 13 Luis Ferreira 2019-05-20 16:51:32 UTC
$ emerge --info '=sci-libs/xdmf2-1.0_p141226-r3::gentoo'
Permission denied: '/var/lib/portage/world'
Permission denied: '/var/lib/portage/world'
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/no-multilib, gcc-8.3.0, glibc-2.29-r2, 4.12.5-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.5-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.6
KiB Mem:    12258832 total,   2874748 free
KiB Swap:    6144824 total,   5435448 free
Timestamp of repository gentoo: Mon, 20 May 2019 13:00:01 +0000
Head commit of repository gentoo: 09069df426b121d1cd2dda7f94fd845177608d83
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r5::gentoo, 1.10.3-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

g-ctan
    location: /usr/local/portage
    masters: gentoo
    priority: 0

House
    location: /var/lib/layman
    masters: gentoo
    priority: 1

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/seden.git
    masters: gentoo
    priority: 50

sunrise
    location: /var/lib/layman/sunrise
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sunrise-reviewed.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/vmware.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

zugaina
    location: /var/lib/layman/zugaina
    sync-type: laymansync
    sync-uri: rsync://gentoo.zugaina.org/zugaina-portage
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /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="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://cesium.di.uminho.pt/pub/gentoo/ http://ftp.dei.uc.pt/pub/linux/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/ "
LANG="pt_PT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt pt_PT en"
MAKEOPTS="-j9 -l8"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="R X a52 aac aacplus aalib acl acoustid acpi action_modeswitch addressbook adns adplug aften airplay akonadi alsa amd64 amr amrenc analitza apbs apng archive ares arpack aspell ass atmo atsc attica audiofile autoipd autotrace avahi avcodec avformat avx bash-completion berkdb binfilter bladerf bluetooth boost bs2b bzip2 cairo cdda cddax cddb cdio cdparanoia celt channels chromaprint cleartype cli clucene collada color-management colorio consolekit context corefonts cover cpudetection crypt csharp cue cups curl cxx dap dbi dbus dc1394 declarative demosaic designer-plugin detex device-mapper dirac discid djvu double double-precision dpi dri dts dtv dv dvb dvd dvdnav dvi2tty dvipdfm ebook ebur128 egl eigen embedded enca encode epspdf equalizer exif expat expoblending extra faac faad facedetect fam fame fbosd fcd fdk fec ffmpeg fftw fits flac flash flite fluidsynth fontconfig fortran fortran2003 fortran95 fpx freesound frei0r fribidi ftdi ftp fuse g3dvl games gcj gcrypt gd gdbm geoip geolocation geos gflags gfortran gif gimp gltf gmath gme gml gmp gmxmopac7 gnuplot gnutls gpac gphoto2 gps graphics graphite graphviz grass grc growl gsl gsm gstreamer gtk gudev gui guile hackrf hdf5 hdri hidpi hpcups http-conduit humanities hunspell hwdb ical iconv icu id3tag idn iec61883 ieee1394 imagemagick imaging import-filter indi infinality inkjar inotify int64 introspection ipod ipv6 iqbalance jack jadetex java javafx javascript jbig jemalloc jpeg jpeg2k kate kdesu keymap kig-scripting kipi kpathsea kvazaar ladspa lame lapack lash lastfm latex latex3 lcms ldap lensfun libass libcaca libilbc libnl libnotify librtmp libsamplerate libsoxr libssh2 libsysfs libtar libtiger libtirpc libv4l libv4l2 libvisual live lm_sensors lorcon lqr lua luatex lyrics lzma lzo mad marble matroska mdnsresponder-compat melt metapost metis midi minizip mjpeg mms mmxext mng mobi modplug mopac7 motif mp3 mp3tunes mp4 mpeg mpg123 mplayer mpqc mpris mpx mtp musepack music musicbrainz mysql mysqli nas ncat ncurses ndiff netcdf network networking nlpsolver nls nmap-update noaa nping nptl nsplugin nss numpy nut nuv obex ocr octave odbc offensive ogdi ogg okular omega omxil opal openal openbabel openexr opengl openh264 openipmi openmp opus otr pager pam pango panorama passwordsave pcre pcre16 pdf pdfannotextractor pdfimport pdo performance-counters perl pgf phonon player plotutils plugin-dot15d4 png policykit popcnt portaudio positioning postproc postscript ppds printsupport projectm protobuf pstricks publishers pulseaudio pvr python q32 q64 qalculate qimageblitz qt3support qt5 quad quicktime quvi rar raw rds readline real realtime redeyes romio rpc rtc rtf rtlsdr rtmp rtsp rubberband ruby rups sasl scale0tilt scanner schroedinger science scrobbler sdl sdl-image seccomp semantic-desktop sensors serialport sftp shaders shapefile shine shout sid sift skins smi smime smp sms smtp snappy sndfile snmp soundtouch sox spatialite speex spell sql sqlite sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssl ssse3 static-plugins stats subtitles subversion svg swig switcher symlink szip taglib tbb tcpd tellico tesseract tex4ht texi2html tga theora thin-splines threads thumbnail tidy tiff timezone tk toolame tools tordns trellis truetype twolame type3 udev unicode unwind upnp usb v4l v4l2 vaapi vamp vc vcdinfo vcdx vdpau vf-dlopen video videoslideshow vkontakte vlm vmd vmware-tools vmware_guest_linux vmware_guest_windows vocoder vorbis vpx wavelet wavpack webchannel webengine webinterface webkit webp widgets wma wma-fixed wmf wxwidgets x264 x265 xa xanim xattr xcomposite xetex xindy xine xml xmp xosd xpm xps xv xvid xvmc yaz zenmap zeroconf zimg zip zlib zvbi" 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="karbon sheets words" CAMERAS="sony_dscf55" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ubx fury geostar nmea2000" INPUT_DEVICES="evdev wacom keyboard mouse" KERNEL="linux" L10N="pt pt-PT en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-3 php5-2" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby22 ruby24" USERLAND="GNU" VIDEO_CARDS="vesa 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sci-libs/xdmf2-1.0_p141226-r3::gentoo was built with the following:
USE="python -doc -test" PYTHON_TARGETS="python2_7"
CXXFLAGS="-march=corei7 -O2 -pipe -std=c++14"
Comment 14 Juergen Rose 2019-06-13 06:48:28 UTC
Local masking of >=dev-util/cmake-3.12.0 does not work anymore, because it blocks 'emerge -uvDN world'. 
'emerge -uvDN world' fails with:
...
The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by kde-plasma/kinfocenter-5.16.0::gentoo
# required by kde-plasma/plasma-meta-5.16.0::gentoo
# required by kde-apps/kdebase-meta-19.04.2::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/monolithic:
#>=dev-util/cmake-3.6.0
=dev-util/cmake-3.14.5 ,
if >=dev-util/cmake-3.12.0 is masked. Grepping for CMAKE in the kde-plama packages gives:

 rose@lynx:/home/rose(10)$ grep CMAKE /usr/portage/kde-plasma/*/*.ebuild
...
/usr/portage/kde-plasma/kinfocenter/kinfocenter-5.15.5.ebuild:CMAKE_MAKEFILE_GENERATOR="emake" # FIXME
/usr/portage/kde-plasma/kinfocenter/kinfocenter-5.16.0.ebuild:CMAKE_MIN_VERSION=3.14.3
/usr/portage/kde-plasma/kwallet-pam/kwallet-pam-5.15.5.ebuild:		-DCMAKE_INSTALL_LIBDIR="/$(get_libdir)"
...


Is there not any patch for xdmf2, that we can emerge it with current cmake?
Comment 15 Juergen Rose 2019-06-13 07:16:21 UTC
The current version if xdmf2 is from 2014. Looking into  /usr/include/XdmfVersion.hpp it seems to be the version 2.2. Comparing http://xdmf.org/index.php/Version_2, the version 2 is depreciated. It is recommended to use version 3 from git://xdmf.org/Xdmf.git. Is there a chance to use the version 3 together with vtk in Gentoo?
Comment 16 Larry the Git Cow gentoo-dev 2019-06-30 18:20:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc620c1481998584ba8269585d82f04fe980fffa

commit dc620c1481998584ba8269585d82f04fe980fffa
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-06-30 14:48:09 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-06-30 18:19:07 +0000

    sci-visualization/paraview: version bump to 5.6.1
    
     - Version bump to 5.6.1
     - OpenMP 4.0 compatibility
     - Fix various dependencies
    
    Closes: https://bugs.gentoo.org/661860
    Closes: https://bugs.gentoo.org/686362
    Closes: https://bugs.gentoo.org/686990
    Closes: https://bugs.gentoo.org/687534
    Closes: https://bugs.gentoo.org/687790
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-visualization/paraview/Manifest                |   1 +
 .../files/paraview-5.6.1-fix_openmp_4.0.patch      |  32 +++
 sci-visualization/paraview/paraview-5.6.1.ebuild   | 312 +++++++++++++++++++++
 3 files changed, 345 insertions(+)
Comment 17 Attila Tóth 2019-07-02 10:07:21 UTC
(In reply to Larry the Git Cow from comment #16)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=dc620c1481998584ba8269585d82f04fe980fffa
> 
> commit dc620c1481998584ba8269585d82f04fe980fffa
> Author:     Matthias Maier <tamiko@gentoo.org>
> AuthorDate: 2019-06-30 14:48:09 +0000
> Commit:     Matthias Maier <tamiko@gentoo.org>
> CommitDate: 2019-06-30 18:19:07 +0000
> 
>     sci-visualization/paraview: version bump to 5.6.1
>     
>      - Version bump to 5.6.1
>      - OpenMP 4.0 compatibility
>      - Fix various dependencies
>     
>     Closes: https://bugs.gentoo.org/661860
>     Closes: https://bugs.gentoo.org/686362
>     Closes: https://bugs.gentoo.org/686990
>     Closes: https://bugs.gentoo.org/687534
>     Closes: https://bugs.gentoo.org/687790
>     Package-Manager: Portage-2.3.67, Repoman-2.3.16
>     Signed-off-by: Matthias Maier <tamiko@gentoo.org>
> 
>  sci-visualization/paraview/Manifest                |   1 +
>  .../files/paraview-5.6.1-fix_openmp_4.0.patch      |  32 +++
>  sci-visualization/paraview/paraview-5.6.1.ebuild   | 312
> +++++++++++++++++++++
>  3 files changed, 345 insertions(+)

I still see the very same error while trying to compile sci-libs/xdmf2-1.0_p141226-r3. Temporarily downgrading cmake in order to make it compile.
Comment 18 Thomas Beutin 2019-07-03 11:47:23 UTC
(In reply to Attila Tóth from comment #17)
> (In reply to Larry the Git Cow from comment #16)
> > The bug has been closed via the following commit(s):
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=dc620c1481998584ba8269585d82f04fe980fffa
> > 
> > commit dc620c1481998584ba8269585d82f04fe980fffa
> > Author:     Matthias Maier <tamiko@gentoo.org>
> > AuthorDate: 2019-06-30 14:48:09 +0000
> > Commit:     Matthias Maier <tamiko@gentoo.org>
> > CommitDate: 2019-06-30 18:19:07 +0000
> > 
> >     sci-visualization/paraview: version bump to 5.6.1
> >     
> >      - Version bump to 5.6.1
> >      - OpenMP 4.0 compatibility
> >      - Fix various dependencies
> >     
> >     Closes: https://bugs.gentoo.org/661860
> >     Closes: https://bugs.gentoo.org/686362
> >     Closes: https://bugs.gentoo.org/686990
> >     Closes: https://bugs.gentoo.org/687534
> >     Closes: https://bugs.gentoo.org/687790
> >     Package-Manager: Portage-2.3.67, Repoman-2.3.16
> >     Signed-off-by: Matthias Maier <tamiko@gentoo.org>
> > 
> >  sci-visualization/paraview/Manifest                |   1 +
> >  .../files/paraview-5.6.1-fix_openmp_4.0.patch      |  32 +++
> >  sci-visualization/paraview/paraview-5.6.1.ebuild   | 312
> > +++++++++++++++++++++
> >  3 files changed, 345 insertions(+)
> 
> I still see the very same error while trying to compile
> sci-libs/xdmf2-1.0_p141226-r3. Temporarily downgrading cmake in order to
> make it compile.

for me, all scons versions >=3 (3.0.4, 3.0.5, 3.0.5-r1) are broken by now - none of them helps to compile sci-libs/xdmf2-1.0_p141226-r3.

But why is this bug related to sci-visualization/paraview?
Comment 19 Thomas Beutin 2019-07-03 11:53:51 UTC
(In reply to Thomas Beutin from comment #18)
> (In reply to Attila Tóth from comment #17)
> > (In reply to Larry the Git Cow from comment #16)
> > > The bug has been closed via the following commit(s):
> > > 
> > > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > > ?id=dc620c1481998584ba8269585d82f04fe980fffa
> > > 
> > > commit dc620c1481998584ba8269585d82f04fe980fffa
> > > Author:     Matthias Maier <tamiko@gentoo.org>
> > > AuthorDate: 2019-06-30 14:48:09 +0000
> > > Commit:     Matthias Maier <tamiko@gentoo.org>
> > > CommitDate: 2019-06-30 18:19:07 +0000
> > > 
> > >     sci-visualization/paraview: version bump to 5.6.1
> > >     
> > >      - Version bump to 5.6.1
> > >      - OpenMP 4.0 compatibility
> > >      - Fix various dependencies
> > >     
> > >     Closes: https://bugs.gentoo.org/661860
> > >     Closes: https://bugs.gentoo.org/686362
> > >     Closes: https://bugs.gentoo.org/686990
> > >     Closes: https://bugs.gentoo.org/687534
> > >     Closes: https://bugs.gentoo.org/687790
> > >     Package-Manager: Portage-2.3.67, Repoman-2.3.16
> > >     Signed-off-by: Matthias Maier <tamiko@gentoo.org>
> > > 
> > >  sci-visualization/paraview/Manifest                |   1 +
> > >  .../files/paraview-5.6.1-fix_openmp_4.0.patch      |  32 +++
> > >  sci-visualization/paraview/paraview-5.6.1.ebuild   | 312
> > > +++++++++++++++++++++
> > >  3 files changed, 345 insertions(+)
> > 
> > I still see the very same error while trying to compile
> > sci-libs/xdmf2-1.0_p141226-r3. Temporarily downgrading cmake in order to
> > make it compile.
> 
> for me, all scons versions >=3 (3.0.4, 3.0.5, 3.0.5-r1) are broken by now -
> none of them helps to compile sci-libs/xdmf2-1.0_p141226-r3.

sorry, i didn't read carefully here. But sci-libs/xdmf2-1.0_p141226-r3 is still broken here :(

 
> But why is this bug related to sci-visualization/paraview?

This question is still unanswered to me.
Comment 20 Bearcat M. Şándor 2020-04-26 22:41:22 UTC
This bug still exists for me as well:

CMake Error at CMakeLists.txt:135 (add_dependencies):                                                                                                                                                                                      
  The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist.                                                                                                                                                                
  Call Stack (most recent call first):                                                                                                                                                                                                       
  CMakeLists.txt:313 (XDMF_SWIG_PYTHON) 

Can we mark this as unresolved?
Comment 21 Peter Gustafson 2020-05-17 17:51:35 UTC
(In reply to Bearcat M. Sandor from comment #20)
> This bug still exists for me as well:
> 
> CMake Error at CMakeLists.txt:135 (add_dependencies):                       
> 
>   The dependency target "XdmfCore;XdmfDSM" of target "Xdmf" does not exist. 
> 
>   Call Stack (most recent call first):                                      
> 
>   CMakeLists.txt:313 (XDMF_SWIG_PYTHON) 
> 
> Can we mark this as unresolved?

Me too.  Note the workaround is not an option anymore now that cmake < 3.13 doesn't exist in portage.