Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725392 - sci-libs/ViSP-3.3.0 : /.../type_traits: error: static assertion failed: template argument must be a complete class or an unbounded
Summary: sci-libs/ViSP-3.3.0 : /.../type_traits: error: static assertion failed: templ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 19:03 UTC by Toralf Förster
Modified: 2020-08-21 14:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.05 KB, text/plain)
2020-05-25 19:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,256.29 KB, text/plain)
2020-05-25 19:03 UTC, Toralf Förster
Details
environment (environment,92.87 KB, text/plain)
2020-05-25 19:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,46.92 KB, application/x-bzip)
2020-05-25 19:03 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,25.51 KB, application/x-bzip)
2020-05-25 19:03 UTC, Toralf Förster
Details
sci-libs:ViSP-3.3.0:20200525-184549.log (sci-libs:ViSP-3.3.0:20200525-184549.log,821.39 KB, text/plain)
2020-05-25 19:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,47.35 KB, application/x-bzip)
2020-05-25 19:03 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-25 19:03:25 UTC
/var/tmp/portage/sci-libs/ViSP-3.3.0/work/visp-3.3.0/modules/tracker/mbt/include/visp3/mbt/vpMbHiddenFaces.h:99:15:   required from class vpMbHiddenFaces<vpMbtPolygon>
/var/tmp/portage/sci-libs/ViSP-3.3.0/work/visp-3.3.0/modules/tracker/mbt/include/visp3/mbt/vpMbTracker.h:143:33:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/include/g++-v10/type_traits:960:52: error: static assertion failed: template argument must be a complete class or an unbounded array
  960 |       static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200518-061503

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.16.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 25 May 2020 05:35:39 PM UTC

emerge -qpvO sci-libs/ViSP
[ebuild  N    ] sci-libs/ViSP-3.3.0  USE="X coin dmtx jpeg png usb xml zbar zlib -demos -doc -examples -gsl -ieee1394 -motif -ogre -opencv -pcl -test -tutorials -v4l" CPU_FLAGS_X86="sse2 sse3 ssse3"
Comment 1 Toralf Förster gentoo-dev 2020-05-25 19:03:28 UTC
Created attachment 641764 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-25 19:03:32 UTC
Created attachment 641766 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-25 19:03:35 UTC
Created attachment 641768 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-25 19:03:38 UTC
Created attachment 641770 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-25 19:03:41 UTC
Created attachment 641772 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-25 19:03:47 UTC
Created attachment 641774 [details]
sci-libs:ViSP-3.3.0:20200525-184549.log
Comment 7 Toralf Förster gentoo-dev 2020-05-25 19:03:50 UTC
Created attachment 641776 [details]
temp.tbz2
Comment 8 Fabien Spindler 2020-08-21 14:59:37 UTC
This issue could be fixed applying the changes introduced in the following commit: https://github.com/lagadic/visp/pull/804/commits/c03b584966f53c26a317e03dbf013b15e08afc31

modifying modules/tracker/mbt/include/visp3/mbt/vpMbHiddenFaces.h line 99

-  friend void swap<>(vpMbHiddenFaces &first, vpMbHiddenFaces &second);
+  friend void swap<PolygonType>(vpMbHiddenFaces &first, vpMbHiddenFaces &second);

Fabien