Source: pixz
Version: 1.0.7-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[4]: Entering directory '/<<PKGBUILDDIR>>/test'
> PASS: compress-file-permissions.sh
> PASS: xz-compatibility-c-option.sh
> PASS: single-file-round-trip.sh
> FAIL: cppcheck-src.sh
> =====================================
>    pixz 1.0.7: test/test-suite.log
> =====================================
> 
> # TOTAL: 4
> # PASS:  3
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> 
> .. contents:: :depth: 2
> 
> FAIL: cppcheck-src
> ==================
> 
> /usr/bin/cppcheck
> Checking ../src/common.c ...
> Checking ../src/common.c: HAVE_CONFIG_H...
> 1/7 files checked 26% done
> Checking ../src/cpu.c ...
> 2/7 files checked 26% done
> Checking ../src/endian.c ...
> Checking ../src/endian.c: HAVE_DECL_HTOLE64=0;__FreeBSD__;__linux__...
> Checking ../src/endian.c: HAVE_DECL_LE64TOH=0;__FreeBSD__;__linux__...
> Checking ../src/endian.c: __APPLE__...
> Checking ../src/endian.c: __FreeBSD__;__linux__...
> Checking ../src/endian.c: __FreeBSD__;__linux__;__linux__...
> 3/7 files checked 28% done
> Checking ../src/list.c ...
> Checking ../src/list.c: HAVE_CONFIG_H...
> 4/7 files checked 29% done
> Checking ../src/pixz.c ...
> Checking ../src/pixz.c: HAVE_CONFIG_H...
> 5/7 files checked 40% done
> Checking ../src/read.c ...
> Checking ../src/read.c: DEBUG...
> Checking ../src/read.c: HAVE_CONFIG_H...
> 6/7 files checked 73% done
> Checking ../src/write.c ...
> ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar]
>             if (fwrite(obuf, CHUNKSIZE - gStream.avail_out, 1, gOutFile) != 1)
>                        ^
> ../src/write.c:527:24: error: Uninitialized variable: obuf [uninitvar]
>             if (fwrite(obuf, CHUNKSIZE - gStream.avail_out, 1, gOutFile) != 1)
>                        ^
> Checking ../src/write.c: HAVE_CONFIG_H...
> 7/7 files checked 100% done
> FAIL cppcheck-src.sh (exit status: 1)
> 
> ============================================================================
> Testsuite summary for pixz 1.0.7
> ============================================================================
> # TOTAL: 4
> # PASS:  3
> # SKIP:  0
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
> ============================================================================
> See test/test-suite.log
> Please report to https://github.com/vasi/pixz/issues
> ============================================================================
> make[4]: *** [Makefile:498: test-suite.log] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/pixz_1.0.7-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

  • Bug#1011717: pixz: FTBFS: ../src/write.c:460:24: error... Lucas Nussbaum

Reply via email to