Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #320462 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2022-05-26 09:00 +0200 |
| Last post | 2022-05-27 17:00 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#1011717: pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar] Lucas Nussbaum <lucas@debian.org> - 2022-05-26 09:00 +0200
Bug#1011717: Patch Wolfgang Silbermayr <wolfgang@silbermayr.at> - 2022-05-27 10:10 +0200
Bug#1011717: marked as done (pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar]) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-05-27 17:00 +0200
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2022-05-26 09:00 +0200 |
| Subject | Bug#1011717: pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar] |
| Message-ID | <ErfDA-o3s-117@gated-at.bofh.it> |
Source: pixz Version: 1.0.7-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lucas@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=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@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.
[toc] | [next] | [standalone]
| From | Wolfgang Silbermayr <wolfgang@silbermayr.at> |
|---|---|
| Date | 2022-05-27 10:10 +0200 |
| Subject | Bug#1011717: Patch |
| Message-ID | <ErDcJ-CpY-3@gated-at.bofh.it> |
| In reply to | #320462 |
[Multipart message — attachments visible in raw view] — view raw
Tags: +patch The problem appear to be two occurrences of uninitialized variables which gets reported by `cppcheck` 2.8 during build. Older versions of `cppcheck` didn't report that problem, this is why the package built without problems initially. Reported upstream to https://github.com/vasi/pixz/issues/103 Submitted MR: https://github.com/vasi/pixz/pull/104 Attached the patch exported such that it can be added to the package with quilt. Wolfgang.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2022-05-27 17:00 +0200 |
| Subject | Bug#1011717: marked as done (pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar]) |
| Message-ID | <ErJBv-Gf7-3@gated-at.bofh.it> |
| In reply to | #320462 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Fri, 27 May 2022 14:51:57 +0000 with message-id <E1nubJl-0004Lb-Tn@fasolo.debian.org> and subject line Bug#1011717: fixed in pixz 1.0.7-2 has caused the Debian Bug report #1011717, regarding pixz: FTBFS: ../src/write.c:460:24: error: Uninitialized variable: obuf [uninitvar] to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1011717: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011717 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web