Bug#1014061: FTBFS on s390x: test suite failure when dumping a gif file

Michael Biebl <[email protected]>
Newsgroups gmane.linux.debian.ports.s390
Message-ID <165651723406.387338.2342568776326742437.reportbug__7306.97175474546$1656517532$gmane$org@pluto.milchstrasse.xx>
Source: exempi
Version: 2.6.1-2
Severity: serious
User: [email protected]
Forwarded: https://gitlab.freedesktop.org/libopenraw/exempi/-/issues/23
X-Debbugs-Cc: [email protected]


In the latest upload of exempi 2.6.1-2 I've enabled the test suite which
is now run during build.

This caused the build to fail on s390x (which is a release
architecture) and as it seems other BE architectures as well.

Starting program: /home/biebl/exempi/exempi-2.6.2/samples/source/dumpmainxmp samples/testfiles/BlueSquare.gif

Program received signal SIGABRT, Aborted.
0x000003fffd7c1d60 in raise () from /lib/s390x-linux-gnu/libc.so.6
#0  0x000003fffd7c1d60 in raise () from /lib/s390x-linux-gnu/libc.so.6
No symbol table info available.
#1  0x000003fffd7a495c in abort () from /lib/s390x-linux-gnu/libc.so.6
No symbol table info available.
#2  0x000003fffdbc9736 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/s390x-linux-gnu/libstdc++.so.6
No symbol table info available.
#3  0x000003fffdbc7026 in ?? () from /usr/lib/s390x-linux-gnu/libstdc++.so.6
No symbol table info available.
#4  0x000003fffdbc70a0 in std::terminate() () from /usr/lib/s390x-linux-gnu/libstdc++.so.6
No symbol table info available.
#5  0x000003fffdbc7392 in __cxa_throw () from /usr/lib/s390x-linux-gnu/libstdc++.so.6
No symbol table info available.
#6  0x000002aa00024b1c in TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::OpenFile (
    this=this@entry=0x3ffffffee70, filePath=filePath@entry=0x3fffffff7ad "samples/testfiles/BlueSquare.gif",»
    format=format@entry=538976288, openFlags=openFlags@entry=1) at ../../public/include/client-glue/TXMPFiles.incl_cpp:313
        wResult = {errMessage = 0x2aa001cb9b0 "Out of range seek operation", ptrResult = 0x2aa0013513c, floatResult = 0,»
          int64Result = 0, int32Result = 9}
        ok = <optimized out>
#7  0x000002aa0001e90a in ProcessFile (fileName=0x3fffffff7ad "samples/testfiles/BlueSquare.gif") at DumpMainXMP.cpp:83
        ok = <optimized out>
        buffer = "Dumping main XMP for samples/testfiles/BlueSquare.gif\000\217\314\000\000\002\252\000\033\371\240\000\000\002\252\000\a-\310\000\000\003\377\377\377\357X\000\000\003\377\377\377\357P\000\000\003\377\375\377W0\000\000\000\000\000\000\vg\000\000\002\252\000\033\367\300\000\000\003\377\375\372\257\230\000\000\002\252\000\a)\350\000\000\002\252\000\006S\210\000\000\003\377\377\377\356\250", '\000' <repeats 15 times>, "\002\000\000\000\000\000\000\000\000\000\000\002\252\000\033\367\300\000\000\000\000MP2 \000\000\002\252\000\034\256\260MP2 \000\006/$"...
        xmpMeta = {
          _vptr.TXMPMeta = 0x2aa0016f4c8 <vtable for TXMPMeta<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >+16>, xmpRef = 0x2aa001caf00}
        xmpFile = {
          _vptr.TXMPFiles = 0x2aa0016f508 <vtable for TXMPFiles<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >+16>, xmpFilesRef = 0x2aa001cb080}
        format = 4294962648
        openFlags = 1023
        handlerFlags = 4256987410
        xmpPacket = {offset = -1, length = -1, padSize = 0, charForm = 0 '\000', writeable = 0 '\000', hasWrapper = 0 '\000',»
          pad = 0 '\000'}
        offset = <optimized out>
        length = <optimized out>
#8  0x000002aa0001c258 in main (argc=<optimized out>, argv=<optimized out>) at DumpMainXMP.cpp:127
        i = <optimized out>
        options = 2


The build logs on s390x show several warnings which might be related.

Help from porters is appreciated.


Regards,
Michael



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.