Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688694 - app-cdr/dumpet-2.1_p20140601 : [TEST] applepart.c:434:11: error: variable magic set but not used [-Werror=unused-but-set-variable]
Summary: app-cdr/dumpet-2.1_p20140601 : [TEST] applepart.c:434:11: error: variable mag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-06-25 16:38 UTC by Toralf Förster
Modified: 2019-06-26 12:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.94 KB, text/plain)
2019-06-25 16:38 UTC, Toralf Förster
Details
app-cdr:dumpet-2.1_p20140601:20190625-122226.log (app-cdr:dumpet-2.1_p20140601:20190625-122226.log,2.86 KB, text/plain)
2019-06-25 16:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,83.64 KB, text/plain)
2019-06-25 16:38 UTC, Toralf Förster
Details
environment (environment,77.65 KB, text/plain)
2019-06-25 16:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.11 KB, application/x-bzip)
2019-06-25 16:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.31 KB, application/x-bzip)
2019-06-25 16:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-25 16:38:05 UTC
gcc -g3 -O2 -Wall -Werror --std=gnu99 -I/usr/include/libxml2  -DTEST_DUMPER -o apmtest applepart.c  -lpopt -lpopt -lxml2 
applepart.c: In function ‘_adl_add_partition’:
applepart.c:434:11: error: variable ‘magic’ set but not used [-Werror=unused-but-set-variable]
  434 |  uint16_t magic;
      |           ^~~~~
applepart.c: In function ‘printflags’:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-systemd_libressl-test_20190623-103445

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  (none found)



emerge -qpvO app-cdr/dumpet
[ebuild  N    ] app-cdr/dumpet-2.1_p20140601
Comment 1 Toralf Förster gentoo-dev 2019-06-25 16:38:08 UTC
Created attachment 580838 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-25 16:38:11 UTC
Created attachment 580840 [details]
app-cdr:dumpet-2.1_p20140601:20190625-122226.log
Comment 3 Toralf Förster gentoo-dev 2019-06-25 16:38:13 UTC
Created attachment 580842 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-25 16:38:16 UTC
Created attachment 580844 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-25 16:38:19 UTC
Created attachment 580846 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-25 16:38:21 UTC
Created attachment 580848 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-06-26 12:39:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f43a19ce9649700c9b16a44f6b75fed555dab3a2

commit f43a19ce9649700c9b16a44f6b75fed555dab3a2
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2019-06-26 12:29:48 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2019-06-26 12:39:11 +0000

    app-cdr/dumpet: respect CC/CFLAGS, require valgrind for tests
    
    Closes: https://bugs.gentoo.org/688694
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-cdr/dumpet/dumpet-2.1_p20140601.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)