Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937527 - app-text/libodfgen-0.1.8 - [icu-75.1] [gcc-15] OdfGenerator.cxx: error: uint8_t was not declared in this scope
Summary: app-text/libodfgen-0.1.8 - [icu-75.1] [gcc-15] OdfGenerator.cxx: error: uint8...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL: https://sourceforge.net/p/libwpd/tick...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-07 17:33 UTC by Toralf Förster
Modified: 2024-08-15 20:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.38 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
app-text:libodfgen-0.1.8:20240807-080401.log (app-text:libodfgen-0.1.8:20240807-080401.log,26.90 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.17 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
environment (environment,27.55 KB, text/plain)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.15 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,31.51 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.59 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,77.88 KB, application/x-xz)
2024-08-07 17:33 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,8.56 KB, application/x-xz)
2024-08-07 17: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-07 17:33:13 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -pedant
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -pedantic -Wshadow -Wunused-variable -
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -pedantic -Wshadow -Wunused-variable -
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -pedant
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -O3 -pipe -march=native -fno-diagnostics-color -Wall -Wextra -pedantic -Wshadow -Wunused-variable -
OdfGenerator.cxx: In function void {anonymous}::appendUnicodeTo(long unsigned int, librevenge::RVNGString&):
OdfGenerator.cxx:58:9: error: uint8_t was not declared in this scope
   58 |         uint8_t first;
      |         ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240802-065003

  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):
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.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 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 25782561b5795f211aa405d1d5243a79ff5f6717
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 7 07:04:22 2024 +0000

    2024-08-07 07:04:21 UTC

emerge -qpvO app-text/libodfgen
[ebuild  N    ] app-text/libodfgen-0.1.8  USE="-doc -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-07 17:33:14 UTC
Created attachment 899414 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-07 17:33:15 UTC
Created attachment 899415 [details]
app-text:libodfgen-0.1.8:20240807-080401.log
Comment 3 Toralf Förster gentoo-dev 2024-08-07 17:33:16 UTC
Created attachment 899416 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-08-07 17:33:17 UTC
Created attachment 899417 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-07 17:33:18 UTC
Created attachment 899418 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-07 17:33:19 UTC
Created attachment 899419 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-07 17:33:20 UTC
Created attachment 899420 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-07 17:33:21 UTC
Created attachment 899421 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-07 17:33:22 UTC
Created attachment 899422 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-08-15 20:29:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7230aefd5dea1760f44fe3000a447140bf05df

commit 9e7230aefd5dea1760f44fe3000a447140bf05df
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-15 20:28:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-15 20:28:38 +0000

    app-text/libodfgen: fix build w/ gcc-15
    
    Closes: https://bugs.gentoo.org/937527
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/libodfgen/files/libodfgen-0.1.8-gcc15-cstdint.patch | 12 ++++++++++++
 app-text/libodfgen/libodfgen-0.1.8.ebuild                    |  4 ++++
 2 files changed, 16 insertions(+)