← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2124963] [NEW] libodfgen ftbfs in questing archive rebuild

 

Public bug reported:

The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

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;
      |         ^~~~~~~
OdfGenerator.cxx:47:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   46 | #include "GraphicFunctions.hxx"
  +++ |+#include <cstdint>
   47 | #include "InternalHandler.hxx"
OdfGenerator.cxx:62:17: error: 'first' was not declared in this scope
   62 |                 first = 0;
      |                 ^~~~~
OdfGenerator.cxx:67:17: error: 'first' was not declared in this scope
   67 |                 first = 0xc0;
      |                 ^~~~~
OdfGenerator.cxx:72:17: error: 'first' was not declared in this scope
   72 |                 first = 0xe0;
      |                 ^~~~~
OdfGenerator.cxx:77:17: error: 'first' was not declared in this scope
   77 |                 first = 0xf0;
      |                 ^~~~~
OdfGenerator.cxx:82:17: error: 'first' was not declared in this scope
   82 |                 first = 0xf8;
      |                 ^~~~~
OdfGenerator.cxx:95:32: error: 'first' was not declared in this scope
   95 |         outbuf[0] = char(val | first);
      |                                ^~~~~
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libodfgen-0.1.8-2build4 -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c OdpGenerator.cxx  -fPIC -DPIC -o .libs/OdpGenerator.o
make[3]: *** [Makefile:553: OdfGenerator.lo] Error 1

** Affects: libodfgen (Ubuntu)
     Importance: Undecided
     Assignee: Graham Inggs (ginggs)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libodfgen in Ubuntu.
https://bugs.launchpad.net/bugs/2124963

Title:
  libodfgen ftbfs in questing archive rebuild

Status in libodfgen package in Ubuntu:
  New

Bug description:
  The package fails to build in the recent archive rebuild
  https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

  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;
        |         ^~~~~~~
  OdfGenerator.cxx:47:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
     46 | #include "GraphicFunctions.hxx"
    +++ |+#include <cstdint>
     47 | #include "InternalHandler.hxx"
  OdfGenerator.cxx:62:17: error: 'first' was not declared in this scope
     62 |                 first = 0;
        |                 ^~~~~
  OdfGenerator.cxx:67:17: error: 'first' was not declared in this scope
     67 |                 first = 0xc0;
        |                 ^~~~~
  OdfGenerator.cxx:72:17: error: 'first' was not declared in this scope
     72 |                 first = 0xe0;
        |                 ^~~~~
  OdfGenerator.cxx:77:17: error: 'first' was not declared in this scope
     77 |                 first = 0xf0;
        |                 ^~~~~
  OdfGenerator.cxx:82:17: error: 'first' was not declared in this scope
     82 |                 first = 0xf8;
        |                 ^~~~~
  OdfGenerator.cxx:95:32: error: 'first' was not declared in this scope
     95 |         outbuf[0] = char(val | first);
        |                                ^~~~~
  libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=3 -I../inc/ -I/usr/include/librevenge-0.0 -DNDEBUG -I/usr/include/libxml2 -DLIBODFGEN_BUILD -fvisibility=hidden -DLIBODFGEN_VISIBILITY -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libodfgen-0.1.8-2build4 -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -c OdpGenerator.cxx  -fPIC -DPIC -o .libs/OdpGenerator.o
  make[3]: *** [Makefile:553: OdfGenerator.lo] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libodfgen/+bug/2124963/+subscriptions



Follow ups