Your message dated Fri, 22 Feb 2019 09:35:35 +0000
with message-id <e1gx7f1-000a4a...@fasolo.debian.org>
and subject line Bug#917806: fixed in gdb 8.2.1-2
has caused the Debian Bug report #917806,
regarding gdb: FTBFS on kfreebsd-any
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 ow...@bugs.debian.org
immediately.)


-- 
917806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917806
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: gdb
Version: 8.2.1-1
Severity: important
Tags: ftbfs, patch
User: debian-k...@lists.debian.org
Usertags: kfreebsd

Hello,

Currently libdrm FTBFS on GNU/kFreeBSD due to a change of "struct
nlist" in the header file /usr/include/bsd/nlist.h.

Attached is a patch to make gdb build properly on kfreebsd-any.

Thanks!
Index: gdb-8.2/gdb/bsd-kvm.c
===================================================================
--- gdb-8.2.orig/gdb/bsd-kvm.c
+++ gdb-8.2/gdb/bsd-kvm.c
@@ -237,7 +237,7 @@ bsd_kvm_target::fetch_registers (struct
   /* On dumping core, BSD kernels store the faulting context (PCB)
      in the variable "dumppcb".  */
   memset (nl, 0, sizeof nl);
-  nl[0].n_name = "_dumppcb";
+  nl[0].n_un.n_name = (char *)"_dumppcb";
 
   if (kvm_nlist (core_kd, nl) == -1)
     error (("%s"), kvm_geterr (core_kd));
@@ -255,7 +255,7 @@ bsd_kvm_target::fetch_registers (struct
      "proc0paddr".  */
 
   memset (nl, 0, sizeof nl);
-  nl[0].n_name = "_proc0paddr";
+  nl[0].n_un.n_name = (char *)"_proc0paddr";
 
   if (kvm_nlist (core_kd, nl) == -1)
     error (("%s"), kvm_geterr (core_kd));
@@ -279,7 +279,7 @@ bsd_kvm_target::fetch_registers (struct
      variable "thread0".  */
 
   memset (nl, 0, sizeof nl);
-  nl[0].n_name = "_thread0";
+  nl[0].n_un.n_name = (char *)"_thread0";
 
   if (kvm_nlist (core_kd, nl) == -1)
     error (("%s"), kvm_geterr (core_kd));

--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 8.2.1-2

We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 917...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Héctor Orón Martínez <zu...@debian.org> (supplier of updated gdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 22 Feb 2019 09:46:36 +0100
Source: gdb
Architecture: source
Version: 8.2.1-2
Distribution: unstable
Urgency: medium
Maintainer: Héctor Orón Martínez <zu...@debian.org>
Changed-By: Héctor Orón Martínez <zu...@debian.org>
Closes: 917806 922030 922745 922796
Changes:
 gdb (8.2.1-2) unstable; urgency=medium
 .
   * debian/patches: binutils PR/23919 (Closes: #922745)
   * debian/patches: fix gdb PR/23712 (Closes: #922030)
   * debian/rules: include riscv* in multiarch targets (Closes: #922796)
   * Bump standards version
   * fix kfreebsd-any build (Closes: #917806)
Checksums-Sha1:
 852d777c88a106a531dd477b0e72d48f43bae2d4 2979 gdb_8.2.1-2.dsc
 86eb031c69a80dda1eb470bd4ce6c4d568f70ee0 64628 gdb_8.2.1-2.debian.tar.xz
 7d018c59e18a76f5595227eb16f2215ac5bad0ce 10243 gdb_8.2.1-2_source.buildinfo
Checksums-Sha256:
 88d60500af8b9defac1546be722d765c5341eac80847eb4e56e8e28561827676 2979 
gdb_8.2.1-2.dsc
 09344fa4280ad2f6f4c6608e09f1099a6db8a4f4eafcf7ec39e41354c6c9f148 64628 
gdb_8.2.1-2.debian.tar.xz
 c69d477412bbc68080e51083dbfcae94866426ac1f3e3d982767946b3443de81 10243 
gdb_8.2.1-2_source.buildinfo
Files:
 b08900db3a882e3ffc3817d86ecac98d 2979 devel optional gdb_8.2.1-2.dsc
 da5bcef928a36b7f5dd620496a157912 64628 devel optional gdb_8.2.1-2.debian.tar.xz
 94920c09d4b75c69a2e61efb2006ac3f 10243 devel optional 
gdb_8.2.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE6Q8IiVReeMgqnedOryKDqnbirHsFAlxvvq4ACgkQryKDqnbi
rHuR8BAAq1G6+GkUXU8KpCulEeJmaJCNOt9USwxEEte73oXkv+9gwMdXC0vu53bm
GtU8Lb579M9oivnndlgQRmen+BSqJc/wUKNbKVCELh/HbdAJG0mRUjioCFBdgSBv
gJlBjlET9GQEPbRQFJsl0ii5QTbigOTOyXJuniw2sp1zq1JQLHN/ZGo+QYTsT/8U
kZvhaP8Kg4F4VF0aoLeJ5EuB6TdpyQnB5VGGX36MIdsUOg02GjkfzKO3fojuwKjQ
eTEYuepV3Vpow8It/qUz8Z0iWS/x0DTAFwa5iBmwAJqoSkupCWyNkguhL5Nwf/YK
+qrDtXdcOZX9oeTeDLtrqOd7sp9LcSVdFN+aB4xtasewJ8LlrBevEQFg5IbziwSS
o3NlZFjwvv9miciXDQI+5ptVoZeWdVoHiitYzU3TjOvBsRvg3T+IeP7jb4a1KFuw
clc0l1DzST8Wlnsptt8nj8Q2jQPEUVLzXdu2TX43p6Rb3rcZXwc/oXe9lYkqC0Re
6VTWLV2vE3ui8s5UCdZBteL6blNQuEaHgmsOSQTf40dLtDxtXV7K3mUKEghYfLUB
Al6uN1HhxKACh04SExFQNU8shjcig6M0vEDDwn+3VMArXhUo1c9XARfgd6AsCnGO
ujNm/JlhYsXwQ9X5yATUwg1PHt07HUOtR5EkbRlb02Et1sOZ4wg=
=zU24
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to