Subject: bug#18248: closed (Re: bug#18248: Parted 3.2 requires LVM2 but does not check for it)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 15 Apr 2016 00:50:02 +0000

Your bug report

#18248: Parted 3.2 requires LVM2 but does not check for it

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18248: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18248
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18248: Parted 3.2 requires LVM2 but does not check for it
From: Phillip Susi <[email-masked]>
To: [email-masked]
Date: Thu, 14 Apr 2016 20:48:58 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Looks like this was fixed a while back:

commit a3877115f1956949096d77aca5a703a47ed68397
Author: Felix Janda <[email-masked]>
Date: Sun May 3 10:33:31 2015 +0200

libparted/fs/xfs/platform_defs.h: Include <fcntl.h> for loff_t

This is needed for compilation with musl libc

Suggested-by: Travis Tilley <[email-masked]>

Signed-off-by: Brian C. Lane <[email-masked]>

Subject: Parted 3.2 requires LVM2 but does not check for it
From: [email-masked] (Ludovic Courtès)
To: [email-masked]
Date: Mon, 11 Aug 2014 22:53:00 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Parted 3.2 requires LVM2 on GNU/Linux (this was not the case in 3.1) but
‘configure’ does not check for it, leading to compilation errors:

--8<---------------cut here---------------start------------->8---
  CC       arch/linux.lo
arch/linux.c: In function 'dm_canonical_path':
arch/linux.c:2313:16: warning: implicit declaration of function 'dm_task_create' [-Wimplicit-function-declaration]
         struct dm_task *task = dm_task_create (DM_DEVICE_INFO);
                ^
arch/linux.c:2313:48: error: 'DM_DEVICE_INFO' undeclared (first use in this function)
         struct dm_task *task = dm_task_create (DM_DEVICE_INFO);
[...]
--8<---------------cut here---------------end--------------->8---

It would be great if there was a configure check, for instance.

Thanks,
Ludo’.