Package: src: libbinio
Version: 1.5+dfsg-2

On 2025-10-07 20:39, Trupti wrote:
Package: src: libbinio
Version: 1.5+dfsg-2
Severity: serious
Tags: ftbfs forky

Hello,

libbinio is FTBFS on ppc64el with below errors:

https://buildd.debian.org/status/package.php?p=libbinio&suite=sid

I was able to reproduce this issue on ppc64el machine.

dpkg-gensymbols: warning: some new symbols appeared in the symbols
file: see diff output below
dpkg-gensymbols: error: some symbols or patterns disappeared in the
symbols file: see diff output below
dpkg-gensymbols: warning: debian/libbinio1v5/DEBIAN/symbols doesn't
match completely debian/symbols
--- debian/symbols (libbinio1v5_1.5+dfsg-2_ppc64el)
+++ dpkg-gensymbols2dSyek       2025-09-30 06:59:23.631653384 +0000
@@ -12,6 +12,9 @@
  (c++)"VTT for binsbase@Base" 1.4+dfsg1
  (c++)"VTT for binsstream@Base" 1.4+dfsg1
  (c++)"VTT for binwstream@Base" 1.4+dfsg1
+ _ZN10binostream10writeFloatEu9__ieee128N5binio5FTypeE@Base 1.5+dfsg-2
+ _ZN10binostream17float2ieee_doubleEu9__ieee128Ph@Base 1.5+dfsg-2
+ _ZN10binostream17float2ieee_singleEu9__ieee128Ph@Base 1.5+dfsg-2
  (c++)"binfbase::binfbase()@Base" 1.4+dfsg1
  (c++)"binfbase::close()@Base" 1.4+dfsg1
  (c++)"binfbase::pos()@Base" 1.4+dfsg1
@@ -70,11 +73,11 @@
  (c++)"binosstream::putByte(unsigned char)@Base" 1.4+dfsg1
  (c++)"binosstream::~binosstream()@Base" 1.4+dfsg1
  (c++)"binostream::binostream()@Base" 1.4+dfsg1
- (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x
sparc)"binostream::float2ieee_double(__float128, unsigned char*)@Base"
1.4+dfsg1
+#MISSING: 1.5+dfsg-2# (c++|arch=alpha powerpc powerpcspe ppc64
ppc64el s390x sparc)"binostream::float2ieee_double(__float128,
unsigned char*)@Base" 1.4+dfsg1
  (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x
!sparc)"binostream::float2ieee_double(long double, unsigned
char*)@Base" 1.4+dfsg1
- (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x
sparc)"binostream::float2ieee_single(__float128, unsigned char*)@Base"
1.4+dfsg1
+#MISSING: 1.5+dfsg-2# (c++|arch=alpha powerpc powerpcspe ppc64
ppc64el s390x sparc)"binostream::float2ieee_single(__float128,
unsigned char*)@Base" 1.4+dfsg1
  (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x
!sparc)"binostream::float2ieee_single(long double, unsigned
char*)@Base" 1.4+dfsg1
- (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x
sparc)"binostream::writeFloat(__float128, binio::FType)@Base"
1.4+dfsg1
+#MISSING: 1.5+dfsg-2# (c++|arch=alpha powerpc powerpcspe ppc64
ppc64el s390x sparc)"binostream::writeFloat(__float128,
binio::FType)@Base" 1.4+dfsg1
  (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x
!sparc)"binostream::writeFloat(long double, binio::FType)@Base"
1.4+dfsg1
  (c++)"binostream::writeInt(long long, unsigned int)@Base" 1.4+dfsg1
(c++)"binostream::writeString(char const*, unsigned long)@Base" 1.4+dfsg1
dh_makeshlibs: error: failing due to earlier errors
make: *** [debian/rules:8: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2


Thanks,
Trupti


Hello,

I have created patch for this issue by modifying debian/symbols file. After applying the patch build was successful on ppc64el.


Patch:

--- libino_old_build/libbinio-1.5+dfsg/debian/symbols 2017-06-24 14:15:17.000000000 -0400 +++ libnio_build/libbinio-1.5+dfsg/debian/symbols 2025-10-09 03:33:10.080425757 -0400
@@ -26,12 +26,12 @@
  (c++)"binistream::~binistream()@Base" 1.4+dfsg1
  (c++)"binistream::~binistream()@Base" 1.4+dfsg1
  (c++)"binistream::~binistream()@Base" 1.4+dfsg1
- (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::writeFloat(__float128, binio::FType)@Base" 1.4+dfsg1 + (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::writeFloat(__float128, binio::FType)@Base" 1.5+dfsg-2 (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sparc)"binostream::writeFloat(long double, binio::FType)@Base" 1.4+dfsg1 (c++)"binostream::writeString(char const*, unsigned long)@Base" 1.4+dfsg1 (c++)"binostream::writeString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 1.4+dfsg1 - (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::float2ieee_double(__float128, unsigned char*)@Base" 1.4+dfsg1 - (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::float2ieee_single(__float128, unsigned char*)@Base" 1.4+dfsg1 + (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::float2ieee_single(__float128, unsigned char*)@Base" 1.5+dfsg-2 + (c++|arch=alpha powerpc powerpcspe ppc64 ppc64el s390x sparc)"binostream::float2ieee_single(__float128, unsigned char*)@Base" 1.5+dfsg-2 (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sparc)"binostream::float2ieee_double(long double, unsigned char*)@Base" 1.4+dfsg1 (c++|arch=!alpha !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sparc)"binostream::float2ieee_single(long double, unsigned char*)@Base" 1.4+dfsg1
  (c++)"binostream::writeInt(long long, unsigned int)@Base" 1.4+dfsg1
@@ -54,6 +54,9 @@
  (c++)"binwstream::~binwstream()@Base" 1.4+dfsg1
  (c++)"binwstream::~binwstream()@Base" 1.4+dfsg1
  (c++)"binwstream::~binwstream()@Base" 1.4+dfsg1
+ (c++)"binostream::writeFloat(__ieee128, binio::FType)@Base" 1.5+dfsg
+ (c++)"binostream::float2ieee_double(__ieee128, unsigned char*)@Base" 1.5+dfsg + (c++)"binostream::float2ieee_single(__ieee128, unsigned char*)@Base" 1.5+dfsg
  (c++)"binifstream::open(char const*, int)@Base" 1.4+dfsg1
(c++)"binifstream::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.4+dfsg1
  (c++)"binifstream::getByte()@Base" 1.4+dfsg1
@@ -249,6 +252,9 @@
  (c++)"virtual thunk to binowstream::pos()@Base" 1.4+dfsg1
  (c++)"virtual thunk to binfbase::pos()@Base" 1.4+dfsg1
  (c++)"virtual thunk to binsbase::pos()@Base" 1.4+dfsg1
+ (c++)"binostream::writeFloat(__ieee128, binio::FType)@Base" 1.5+dfsg
+ (c++)"binostream::float2ieee_double(__ieee128, unsigned char*)@Base" 1.5+dfsg + (c++)"binostream::float2ieee_single(__ieee128, unsigned char*)@Base" 1.5+dfsg (c++)"virtual thunk to binfstream::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.4+dfsg1 (c++)"virtual thunk to binifstream::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.4+dfsg1 (c++)"virtual thunk to binofstream::open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)@Base" 1.4+dfsg1


Could you please check the patch and review it?
Let me know if any changes or improvements are needed.



Below is the log of build:



I: Lintian run was successful.

+------------------------------------------------------------------------------+
| Post Build Thu, 09 Oct 2025 15:26:37 +0000 |
+------------------------------------------------------------------------------+


+------------------------------------------------------------------------------+
| Cleanup Thu, 09 Oct 2025 15:26:37 +0000 |
+------------------------------------------------------------------------------+

Purging /build/reproducible-path
Not cleaning session: cloned chroot in use

+------------------------------------------------------------------------------+
| Summary Thu, 09 Oct 2025 15:26:38 +0000 |
+------------------------------------------------------------------------------+

Build Architecture: ppc64el
Build Type: binary
Build-Space: 7964
Build-Time: 13
Distribution: forky
Host Architecture: ppc64el
Install-Time: 8
Job: /libnio_build/libbinio-1.5+dfsg/../libbinio_1.5+dfsg-2.dsc
Lintian: warn
Machine Architecture: ppc64el
Package: libbinio
Package-Time: 40
Source-Version: 1.5+dfsg-2
Space: 7964
Status: successful
Version: 1.5+dfsg-2


Thanks,
Trupti

Reply via email to