Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690718 - sci-libs/dlib-19.16 : /.../save_png.h:64:52: error: static assertion failed: Failed assertion
Summary: sci-libs/dlib-19.16 : /.../save_png.h:64:52: error: static assertion failed: ...
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:
 
Reported: 2019-07-25 18:45 UTC by Toralf Förster
Modified: 2020-06-05 22:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2019-07-25 18:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,184.96 KB, text/plain)
2019-07-25 18:45 UTC, Toralf Förster
Details
environment (environment,177.38 KB, text/plain)
2019-07-25 18:45 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.72 KB, application/x-bzip)
2019-07-25 18:45 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.01 KB, application/x-bzip)
2019-07-25 18:45 UTC, Toralf Förster
Details
sci-libs:dlib-19.16:20190725-131202.log (sci-libs:dlib-19.16:20190725-131202.log,55.61 KB, text/plain)
2019-07-25 18:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,44.54 KB, application/x-bzip)
2019-07-25 18:45 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 2019-07-25 18:45:18 UTC
/var/tmp/portage/sci-libs/dlib-19.16/work/dlib-19.16/tools/python/src/numpy_returns.cpp:51:17:   required from ‘void save_image(dlib::numpy_image<pixel_type>, const string&) [with T = dlib::rgb_pixel; std::string = std::__cxx11::basic_string<char>]’
/var/tmp/portage/sci-libs/dlib-19.16/work/dlib-19.16/tools/python/src/numpy_returns.cpp:142:5:   required from here
/var/tmp/portage/sci-libs/dlib-19.16/work/dlib-19.16/dlib/../dlib/data_io/../image_saver/save_png.h:64:52: error: static assertion failed: Failed assertion
   64 |             COMPILE_TIME_ASSERT(sizeof(image_type) == 0);
      |                                 ~~~~~~~~~~~~~~~~~~~^~~~
/var/tmp/portage/sci-libs/dlib-19.16/work/dlib-19.16/dlib/../dlib/assert.h:98:59: note: in definition of macro ‘COMPILE_TIME_ASSERT’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20190722-003824

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.36.0 *



emerge -qpvO sci-libs/dlib
[ebuild  N    ] sci-libs/dlib-19.16  USE="python -X -cblas -cuda -debug -examples -gif -jpeg -lapack -mkl -png -sqlite -static-libs -test" CPU_FLAGS_X86="avx sse2 sse4_1" PYTHON_TARGETS="python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-07-25 18:45:22 UTC
Created attachment 584606 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-25 18:45:25 UTC
Created attachment 584608 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-07-25 18:45:27 UTC
Created attachment 584610 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-07-25 18:45:32 UTC
Created attachment 584612 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-07-25 18:45:34 UTC
Created attachment 584614 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-25 18:45:37 UTC
Created attachment 584616 [details]
sci-libs:dlib-19.16:20190725-131202.log
Comment 7 Toralf Förster gentoo-dev 2019-07-25 18:45:40 UTC
Created attachment 584618 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-06-05 22:36:27 UTC
The bug has been closed via the following commit(s):

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

commit 3f8826c867bbfbdd73406da1986864e7558a334e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-06-05 22:03:51 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-06-05 22:36:02 +0000

    sci-libs/dlib: Add REQUIRED_USE="python? ( png )"
    
    Closes: https://bugs.gentoo.org/690718
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-libs/dlib/dlib-19.16-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)