Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937778 - sci-physics/lhapdf-6.5.4-r1 - [ncurses-6.5] [icu-75.1] [gcc-15] emitterutils.cpp: error: uint16_t was not declared in this scope
Summary: sci-physics/lhapdf-6.5.4-r1 - [ncurses-6.5] [icu-75.1] [gcc-15] emitterutils....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: APN-Pucky
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-11 18:59 UTC by Toralf Förster
Modified: 2024-08-15 14:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.23 KB, text/plain)
2024-08-11 18:59 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,66.45 KB, application/x-xz)
2024-08-11 18:59 UTC, Toralf Förster
Details
environment (environment,118.74 KB, text/plain)
2024-08-11 18:59 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1020 bytes, application/x-xz)
2024-08-11 18:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,52.85 KB, application/x-xz)
2024-08-11 18:59 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.29 KB, application/x-xz)
2024-08-11 18:59 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,74.06 KB, application/x-xz)
2024-08-11 18:59 UTC, Toralf Förster
Details
sci-physics:lhapdf-6.5.4-r1:20240811-010436.log (sci-physics:lhapdf-6.5.4-r1:20240811-010436.log,21.42 KB, text/plain)
2024-08-11 18:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,29.29 KB, application/x-xz)
2024-08-11 18:59 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-11 18:59:06 UTC
too long lines were shrinked:

/bin/bash ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF  -Wshadow  -I. -I/usr/include -pedantic  -Wall  -Wno-long-long  -O2 -pipe -march=native -fno-diagnostics-color -c -o liblhapdf_yaml_cpp_la-node_data.lo `test -f 'node
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF -Wshadow -I. -I/usr/include -pedantic -Wall -Wno-long-long -O2 -pipe -march=native -fno-diagnostics-color -c emitterutils.cpp  -fPIC -DPIC -o .libs/liblhapdf_yaml_cpp_la-emitterutils.o
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF -Wshadow -I. -I/usr/include -pedantic -Wall -Wno-long-long -O2 -pipe -march=native -fno-diagnostics-color -c node_data.cpp  -fPIC -DPIC -o .libs/liblhapdf_yaml_cpp_la-node_data.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF  -Wshadow  -I. -I/usr/include -pedantic  -Wall  -Wno-long-long  -O2 -pipe -march=native -fno-diagnostics-color -c -o liblhapdf_yaml_cpp_la-regex_yaml.lo `test -f 'reg
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF -Wshadow -I. -I/usr/include -pedantic -Wall -Wno-long-long -O2 -pipe -march=native -fno-diagnostics-color -c regex_yaml.cpp  -fPIC -DPIC -o .libs/liblhapdf_yaml_cpp_la-regex_yaml.o
/bin/bash ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../config -I../../include/LHAPDF  -Wshadow  -I. -I/usr/include -pedantic  -Wall  -Wno-long-long  -O2 -pipe -march=native -fno-diagnostics-color -c -o liblhapdf_yaml_cpp_la-singledocparser.lo `test -f
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_no_multilib_systemd-20240806-101508

  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
    Requested by sam
  >=sys-libs/ncurses-6.5

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
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):
go version go1.22.6 linux/amd64

  HEAD of ::gentoo
commit 3262f0164233aaca084e821780d0d00c880cb453
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 10 23:48:59 2024 +0000

    2024-08-10 23:48:59 UTC

emerge -qpvO =sci-physics/lhapdf-6.5.4-r1
[ebuild  N    ] sci-physics/lhapdf-6.5.4-r1  USE="python -doc -examples" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-11 18:59:07 UTC
Created attachment 899870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-11 18:59:08 UTC
Created attachment 899871 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-08-11 18:59:09 UTC
Created attachment 899872 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-11 18:59:10 UTC
Created attachment 899873 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-11 18:59:11 UTC
Created attachment 899874 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-11 18:59:12 UTC
Created attachment 899875 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-11 18:59:13 UTC
Created attachment 899876 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-11 18:59:14 UTC
Created attachment 899877 [details]
sci-physics:lhapdf-6.5.4-r1:20240811-010436.log
Comment 9 Toralf Förster gentoo-dev 2024-08-11 18:59:15 UTC
Created attachment 899878 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-08-15 14:07:12 UTC
The bug has been closed via the following commit(s):

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

commit 3fb82ca8c2c89b551977fe98aee0f578bdf6ace4
Author:     Christopher Fore <csfore@posteo.net>
AuthorDate: 2024-08-15 13:47:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-15 14:06:32 +0000

    sci-physics/lhapdf: Fix compilation on GCC 15
    
    - Include patch from upstream MR (refer to patch file)
    
    Closes: https://bugs.gentoo.org/937778
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/38162
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/lhapdf-6.5.4-include-cstdint.patch       | 31 ++++++++++++++++++++++
 sci-physics/lhapdf/lhapdf-6.5.4-r1.ebuild          |  4 +++
 2 files changed, 35 insertions(+)