--- Begin Message ---
Subject: |
Parted 3.2 requires LVM2 but does not check for it |
Date: |
Mon, 11 Aug 2014 22:53:00 +0200 |
User-agent: |
Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux) |
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’.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#18248: Parted 3.2 requires LVM2 but does not check for it |
Date: |
Thu, 14 Apr 2016 20:48:58 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Looks like this was fixed a while back:
commit a3877115f1956949096d77aca5a703a47ed68397
Author: Felix Janda <address@hidden>
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 <address@hidden>
Signed-off-by: Brian C. Lane <address@hidden>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCgAGBQJXEDp6AAoJEBB5UWFcu6UWuQoH/1aBf2SS8XQzibLWfPck81MC
mcrnm1RTaFh4uBnrZmh33yanevnm0Lc2ez7Cs0MXyh7MarlcrPaOMeMV+5krjLWK
dbjUKBy7rA5/AZuqanTup6C9Ap5jwdopnciOeiKsZUBgPvxl0ScBw2fzenbV9Exx
Z0fwInzxRkbLIk+6HVD5iMGy+z/DCKoywMlXG3lq04NOI5AvyJ+XWL0uDx2r1tPt
gH/Opj8dMjih2o3mc3hZGRkeySwW1ume6qH18z8xEQzngv/0tBjYgej9ENL7+iwX
rUXHq8NnMrDHTIYQqqQFcL5MeeBetX7D4iWTksiM4n5gb8nDVNoE6l7ZNyS0iCY=
=IdAU
-----END PGP SIGNATURE-----
--- End Message ---