Your message dated Tue, 6 Aug 2019 21:37:48 +0200
with message-id <[email protected]>
and subject line Re: gdisk: gpt.h header file lacks matching compiler directive
has caused the Debian Bug report #874082,
regarding gdisk: gpt.h header file lacks matching compiler directive
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 [email protected]
immediately.)
--
874082: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874082
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gdisk
Version: 0.8.10-2
Severity: normal
Tags: upstream patch
Dear Maintainer,
The header file gpt.h should include a matching pair of compiler
directives regarding packing, but only includes one. The bug persists
in the latest version from git. The very simple fix is appended. (I
hope.)
-- Alison Chaiken
[email protected]
-- System Information:
Debian Release: 8.9
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages gdisk depends on:
ii libc6 2.19-18+deb8u10
ii libgcc1 1:4.9.2-10
ii libncursesw5 5.9+20140913-1+b1
ii libpopt0 1.16-10
ii libstdc++6 4.9.2-10
ii libtinfo5 5.9+20140913-1+b1
ii libuuid1 2.25.2-6
Versions of packages gdisk recommends:
ii groff-base 1.22.2-8
gdisk suggests no packages.
-- no debconf information
>From da96fce13c759dc17068e5a8094f5e23aa662527 Mon Sep 17 00:00:00 2001
From: Alison Chaiken <[email protected]>
Date: Sat, 2 Sep 2017 12:28:55 -0700
Subject: [PATCH] turn packing back off in GPT header file
The file gpt.h includes a pragma to turn on packing, but not a
matching directive to turn it back off.
Suggested-by: Jamal Benbrahim <[email protected]>
Signed-off-by: Alison Chaiken <[email protected]>
---
gpt.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/gpt.h b/gpt.h
index e9afd06..7a0714b 100644
--- a/gpt.h
+++ b/gpt.h
@@ -57,6 +57,7 @@ struct GPTHeader {
uint32_t partitionEntriesCRC;
unsigned char reserved2[GPT_RESERVED];
}; // struct GPTHeader
+#pragma pack()
// Data in GPT format
class GPTData {
--
2.1.4
--- End Message ---
--- Begin Message ---
Alison Chaiken wrote...
> The header file gpt.h should include a matching pair of compiler
> directives regarding packing, but only includes one. The bug persists
> in the latest version from git. The very simple fix is appended. (I
> hope.)
Thanks for your input, the issue was reported independently in #898985 and
is fixed in gdisk from buster on.
Christoph
signature.asc
Description: PGP signature
--- End Message ---