Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937405 - sci-physics/yoda-2.0.2 - [icu-75.1] [gcc-15] emitterutils.cpp: error: uint16_t was not declared in this scope
Summary: sci-physics/yoda-2.0.2 - [icu-75.1] [gcc-15] emitterutils.cpp: error: uint16_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-05 18:33 UTC by Toralf Förster
Modified: 2025-01-14 10:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.77 KB, text/plain)
2024-08-05 18:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,71.49 KB, application/x-xz)
2024-08-05 18:33 UTC, Toralf Förster
Details
environment (environment,116.08 KB, text/plain)
2024-08-05 18:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,45.85 KB, application/x-xz)
2024-08-05 18:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.92 KB, application/x-xz)
2024-08-05 18:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,77.12 KB, application/x-xz)
2024-08-05 18:33 UTC, Toralf Förster
Details
sci-physics:yoda-1.9.10:20240805-182124.log (sci-physics:yoda-1.9.10:20240805-182124.log,25.68 KB, text/plain)
2024-08-05 18:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.41 KB, application/x-xz)
2024-08-05 18:33 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 2024-08-05 18:33:09 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c emitterutils.cpp  -fPIC -DPIC -o .libs/libyoda_yaml_cp
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config  -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c -o libyoda_yaml_cpp_la
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c node_data.cpp  -fPIC -DPIC -o .libs/libyoda_yaml_cpp_l
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config  -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c -o libyoda_yaml_cpp_la
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c regex_yaml.cpp  -fPIC -DPIC -o .libs/libyoda_yaml_cpp_
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include/YODA/Config  -I../../include -I../../include -I. -I/usr/include -I/usr/include -pedantic -Wall -Wno-format -Wno-psabi -O2 -pipe -march=native -fno-diagnostics-color -c -o libyoda_yaml_cpp_la
emitterutils.cpp:221:11: error: 'uint16_t' was not declared in this scope
  221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
      |           ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240801-115002

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit b09e3180ad411345e4eec776b504eeeda190f121
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 5 17:19:02 2024 +0000

    2024-08-05 17:19:01 UTC

emerge -qpvO sci-physics/yoda
[ebuild  N    ] sci-physics/yoda-1.9.10  USE="python zlib -root -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-05 18:33:10 UTC
Created attachment 899166 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-05 18:33:11 UTC
Created attachment 899167 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-05 18:33:13 UTC
Created attachment 899168 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-05 18:33:14 UTC
Created attachment 899169 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-05 18:33:15 UTC
Created attachment 899170 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-05 18:33:16 UTC
Created attachment 899171 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-05 18:33:17 UTC
Created attachment 899172 [details]
sci-physics:yoda-1.9.10:20240805-182124.log
Comment 8 Toralf Förster gentoo-dev 2024-08-05 18:33:18 UTC
Created attachment 899173 [details]
temp.tar.xz
Comment 9 Agostino Sarubbo gentoo-dev 2024-10-29 08:18:12 UTC
gcc15_tinderbox has reproduced this issue with version 2.0.1 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2024-11-15 08:53:13 UTC
lto_tinderbox has reproduced this issue with version 1.9.10 - Updating summary.
Comment 11 Agostino Sarubbo gentoo-dev 2024-11-15 08:53:37 UTC
lto_tinderbox has reproduced this issue with version 2.0.2 - Updating summary.
Comment 12 APN-Pucky 2025-01-12 16:14:34 UTC
Upstream fixed this with https://gitlab.com/hepcedar/yoda/-/commit/3e74499ba8bbbd6a872e0563625193505c14df90 and should be in the next version.
Comment 13 Larry the Git Cow gentoo-dev 2025-01-14 10:25:25 UTC
The bug has been closed via the following commit(s):

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

commit 894081443de3d5228553341afcaf5a2ed5c350f4
Author:     Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
AuthorDate: 2025-01-12 16:30:20 +0000
Commit:     Nowa Ammerlaan <nowa@gentoo.org>
CommitDate: 2025-01-14 10:18:09 +0000

    sci-physics/yoda: add yamlcpp patch
    
    Closes: https://bugs.gentoo.org/937405
    Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
    Closes: https://github.com/gentoo/gentoo/pull/40106
    Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>

 sci-physics/yoda/files/yoda-2.0.2-yamlcpp.patch | 22 ++++++++++++++++++++++
 sci-physics/yoda/yoda-2.0.2.ebuild              |  4 ++++
 2 files changed, 26 insertions(+)