Your message dated Fri, 05 Oct 2018 23:18:52 +0000
with message-id <[email protected]>
and subject line Bug#910326: fixed in parted 3.2-22
has caused the Debian Bug report #910326,
regarding parted: include sys/sysmacros.h missing for major(), minor()
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.)
--
910326: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910326
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: parted
Version: 3.2-21
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu cosmic ubuntu-patch
Dear Maintainer,
parted 3.2-21 FTBFS in latest test rebuild on ubuntu. major() and minor()
macros are being used without include sys/sysmacros.h, leading to undefined
symbols at linking for these macros.
In Ubuntu, the attached patch was applied to achieve the following:
* debian/patches/sysmacros_for_major_minor.patch: include sys/sysmacros.h to
account for the user of major() and minor() macros.
Thanks for considering the patch.
-- System Information:
Debian Release: buster/sid
APT prefers cosmic-security
APT policy: (500, 'cosmic-security'), (500, 'cosmic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-7-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru parted-3.2/debian/patches/series parted-3.2/debian/patches/series
--- parted-3.2/debian/patches/series 2018-04-09 07:15:46.000000000 -0400
+++ parted-3.2/debian/patches/series 2018-10-04 14:45:21.000000000 -0400
@@ -27,3 +27,4 @@
libparted-dasd-add-test-cases-for-the-new-fdasd-func.patch
fat-resize-long-path.patch
fat-resize-retain-boot-code.patch
+sysmacros_for_major_minor.patch
diff -Nru parted-3.2/debian/patches/sysmacros_for_major_minor.patch
parted-3.2/debian/patches/sysmacros_for_major_minor.patch
--- parted-3.2/debian/patches/sysmacros_for_major_minor.patch 1969-12-31
19:00:00.000000000 -0500
+++ parted-3.2/debian/patches/sysmacros_for_major_minor.patch 2018-10-04
14:55:03.000000000 -0400
@@ -0,0 +1,19 @@
+From: Mathieu Trudel-Lapierre <[email protected]>
+Subject: Incldue sys/sysmacros.h for major() and minor()
+
+---
+ libparted/arch/linux.c | 51
++++++++++++++++++++++++-------------------------
+ 1 file changed, 26 insertions(+), 25 deletions(-)
+
+Index: b/libparted/arch/linux.c
+===================================================================
+--- a/libparted/arch/linux.c
++++ b/libparted/arch/linux.c
+@@ -40,6 +40,7 @@
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/utsname.h> /* for uname() */
++#include <sys/sysmacros.h> /* for major(), minor() */
+ #include <scsi/scsi.h>
+ #include <assert.h>
+ #ifdef ENABLE_DEVICE_MAPPER
--- End Message ---
--- Begin Message ---
Source: parted
Source-Version: 3.2-22
We believe that the bug you reported is fixed in the latest version of
parted, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated parted 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 06 Oct 2018 00:01:48 +0100
Source: parted
Binary: parted parted-udeb libparted2 libparted-fs-resize0 libparted2-udeb
libparted-fs-resize0-udeb libparted-i18n libparted-dev parted-doc
Architecture: source
Version: 3.2-22
Distribution: unstable
Urgency: medium
Maintainer: Parted Maintainer Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description:
libparted-dev - disk partition manipulator - development files
libparted-fs-resize0 - disk partition manipulator - shared FS resizing library
libparted-fs-resize0-udeb - disk partition manipulator - FS resizing library
udeb (udeb)
libparted-i18n - disk partition manipulator - i18n support
libparted2 - disk partition manipulator - shared library
libparted2-udeb - disk partition manipulator - library udeb (udeb)
parted - disk partition manipulator
parted-doc - disk partition manipulator - documentation
parted-udeb - Manually partition a hard drive (parted) (udeb)
Closes: 878660 910326
Changes:
parted (3.2-22) unstable; urgency=medium
.
* Change Maintainer to [email protected],
following Alioth lists migration.
* Stop building with V=1; debhelper configures with --disable-silent-rules
as of 9.20150501.
* Remove libparted0-dev transitional package, since nothing build-depends
on it any more (closes: #878660).
* Include sys/sysmacros.h to account for the user of major() and minor()
macros (thanks, Mathieu Trudel-Lapierre; closes: #910326).
Checksums-Sha1:
756ef243b0bf60f2f469f81b3ee44e6b1472e6c6 2780 parted_3.2-22.dsc
25253335912afa8d3982d4a897cc957963e3f9d0 87696 parted_3.2-22.debian.tar.xz
dc2283f01f8837478196b50950537f7a00bba8af 7303 parted_3.2-22_source.buildinfo
Checksums-Sha256:
dfc349af6a6a4b763d81d0ebdf113bdce1b34dc7028478ee4fffabd818832e2d 2780
parted_3.2-22.dsc
e276eadc86d59750edcf4b4a21e0518a86aeba845fe77601a4f1b9ef40e34b61 87696
parted_3.2-22.debian.tar.xz
82d28132b5fba56a2e33606ccfe172a22315321c701eaa12eea291c0fa878caf 7303
parted_3.2-22_source.buildinfo
Files:
bb8c5cf5657e27805dbbddd9db273328 2780 admin optional parted_3.2-22.dsc
d21071f337f699a36471eb1c7b90ffcd 87696 admin optional
parted_3.2-22.debian.tar.xz
91bce8cd982fbcd57273fea56f789a49 7303 admin optional
parted_3.2-22_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAlu37XcACgkQOTWH2X2G
UAsARA/6A7CMSMoI2TAdFT5clvyfMJVVF0ECzXqN5DsiHPy9X43fvG6OmXga8Qgz
ywj9oWneJ9F8yQXx4ZqJSLlTW7MQxO0xY3LoXxcucej9Jyjo4CtUTmliXQWlR0rS
C6qDEll+8+F36rOt5rcZ9/dajQKBHfwiyvixnITmeM0k8xzPdLL+eY/DxNDbkQ5j
zcdwhFB/8Xa4Q87jcDK1H7qlWPMvNs4/N34I2R8Jy49XrI5UhcWdZhmPQl6nb/z/
EzULawufvUNCMTsafN3LqN3z8BoReFFnAlBANEbZsS3Q3bDYLQsn41OJIByoTiMV
gcUnL35PLA6RenA8JJIHVHBgHdXMTc7HeRlvLYF3TUZkgTzzUj3AydBnu3UlVJi/
9QKVX0oXgqAZZvAyYmmNOozzzHdpTo7BSn9Aaer2cNS9rn7g8vHl84Fj0amctpCl
RxGq1CKXMzqwNs7W1LSHyYDH16l1Vu5Hbt5Z8UjcJbq6vawBTcuUbkhsd8Df1aHp
LoXEqflyrjOAv49LlU2ffnib2OYLh96/jZm2DBxo7dUx8LPiqY9U/rrQnpZJEW/y
gZCCWoTAtTkwsYlJcQZ7AlXlSm3ZtLSNozNm/i37e7S5wWScUVdsidOR242PXz/2
/XjioOc/5dVM4md8lpcSwOcO8/jW+nuBRNlu5pAGc+vEFQBnlr4=
=MQSl
-----END PGP SIGNATURE-----
--- End Message ---