On Thu, Oct 04, 2018 at 03:47:25PM -0400, Mathieu Trudel-Lapierre wrote: > 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. I took the similar upstream cherry-pick instead (https://git.savannah.gnu.org/cgit/parted.git/commit/?id=ba5e0451b51c983e40afd123b6e0d3eddb55e610), since that'll be slightly more convenient at the next upstream release (git will automatically drop it rather than me having to resolve a conflict). It'll be in my next upload. -- Colin Watson [cjwat...@ubuntu.com]