Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895208 - media-gfx/yafaray-3.5.1-r4 - /.../session.h: error: field mPathYafaRayXml has incomplete type std::string {aka std::_cxx11::basic_
Summary: media-gfx/yafaray-3.5.1-r4 - /.../session.h: error: field mPathYafaRayXml has...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-18 08:40 UTC by Toralf Förster
Modified: 2023-04-25 21:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.00 KB, text/plain)
2023-02-18 08:40 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,68.46 KB, application/x-bzip)
2023-02-18 08:40 UTC, Toralf Förster
Details
environment (environment,129.27 KB, text/plain)
2023-02-18 08:40 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,707 bytes, application/x-bzip)
2023-02-18 08:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,37.10 KB, application/x-bzip)
2023-02-18 08:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.26 KB, application/x-bzip)
2023-02-18 08:40 UTC, Toralf Förster
Details
media-gfx:yafaray-3.5.1-r4:20230218-021151.log (media-gfx:yafaray-3.5.1-r4:20230218-021151.log,30.10 KB, text/plain)
2023-02-18 08:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.35 KB, application/x-bzip)
2023-02-18 08:40 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 2023-02-18 08:40:02 UTC
too long lines were shrinked:

/var/tmp/portage/media-gfx/yafaray-3.5.1-r4/work/libYafaRay-3.5.1/src/yafraycore/triclip.cc:21:7: note: class yafaray::DVector declared here
   21 | class DVector
      |       ^~~~~~~
[ 14%] Building CXX object src/yafraycore/CMakeFiles/yafaray_v3_core.dir/session.cc.o
cd /var/tmp/portage/media-gfx/yafaray-3.5.1-r4/work/libYafaRay-3.5.1_build/src/yafraycore && /usr/bin/x86_64-pc-linux-gnu-g++ -DBUILDING_YAFRAYCORE -DFAST_MATH -DFAST_TRIG -DHAVE_FREETYPE -DHAVE_XML -Dyafaray_v3_core_EXPORTS -I/var/tmp/portage/media-gfx/yafaray-3.5.1-r4/work/libYafaRay-3.5.1/include
In file included from /var/tmp/portage/media-gfx/yafaray-3.5.1-r4/work/libYafaRay-3.5.1/src/yafraycore/session.cc:21:
/var/tmp/portage/media-gfx/yafaray-3.5.1-r4/work/libYafaRay-3.5.1/include/core_api/session.h:82:29: error: field mPathYafaRayXml has incomplete type std::string {aka std::__cxx11::basic_string<char>}
   82 |                 std::string mPathYafaRayXml;
      |                             ^~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20230214-230019

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php7.4
  [2]   php8.0
  [3]   php8.2 *

  HEAD of ::gentoo
commit 357f7a74b1d9a2c7b0f7380a233dab2039335671
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 18 00:46:58 2023 +0000

    2023-02-18 00:46:58 UTC

emerge -qpvO media-gfx/yafaray
[ebuild  N    ] media-gfx/yafaray-3.5.1-r4  USE="fastmath fasttrig jpeg png qt5 tiff truetype -opencv -python" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2023-02-18 08:40:03 UTC
Created attachment 852426 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-18 08:40:04 UTC
Created attachment 852428 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-18 08:40:06 UTC
Created attachment 852430 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-18 08:40:06 UTC
Created attachment 852432 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-18 08:40:07 UTC
Created attachment 852434 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-18 08:40:08 UTC
Created attachment 852436 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-18 08:40:09 UTC
Created attachment 852438 [details]
media-gfx:yafaray-3.5.1-r4:20230218-021151.log
Comment 8 Toralf Förster gentoo-dev 2023-02-18 08:40:10 UTC
Created attachment 852440 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-18 09:57:46 UTC
missing include?
Comment 10 Larry the Git Cow gentoo-dev 2023-04-25 21:30:22 UTC
The bug has been closed via the following commit(s):

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

commit 31730190420eb7e3b472c4649b7f3c67cdb1dbc9
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2023-04-25 14:20:49 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 21:27:10 +0000

    media-gfx/yafaray: fix build with gcc-13
    
    add missing #include statement
    
    Bug: https://github.com/YafaRay/libYafaRay/issues/14
    Closes: https://bugs.gentoo.org/895208
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/30748
    Signed-off-by: Sam James <sam@gentoo.org>

 ....1-add-missing-include-statements-for-gcc-13.patch | 19 +++++++++++++++++++
 media-gfx/yafaray/metadata.xml                        |  3 +++
 media-gfx/yafaray/yafaray-3.5.1-r4.ebuild             |  1 +
 3 files changed, 23 insertions(+)