[Buildroot] [PATCH 1/1] package/parted: disable on uclibc
Giulio Benetti
giulio.benetti at benettiengineering.com
Thu Feb 13 22:30:52 UTC 2020
On 2/13/20 11:26 PM, Giulio Benetti wrote:
> Hi Peter,
>
> On 2/13/20 10:51 PM, Peter Korsgaard wrote:
>>>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:
>>
>> > Like postgreSQL (and imagemagick), parted does not build against uClibc
>> > with locales enabled, due to an uClibc bug, see
>> > http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html:
>>
>> > In file included from atari.c:42:
>> > atari.c: In function 'atr_part_correct':
>> > atari.c:221:9: error: dereferencing pointer to incomplete type 'struct __uclibc_locale_struct'
>> > return isalnum_l(part->id[0], atr_c_locale)
>> > ^~~~~~~~~
>>
>> > So disable parted on uclibc
>>
>> > Fixes:
>> > - http://autobuild.buildroot.org/results/992518d340a9f32a0721d6e66936850c4c3ef2e4
>>
>> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
>>
>> What about the reverse dependencies? E.G. udisks and python-pyparted?
>
> Since I'm bumping udisks :-), udisks already depends on
> !BR2_TOOLCHAIN_USES_UCLIBC, but python-pyparted does not, so it deserves
> a build with the same autobuilder failure defconfig, I let you know.
Right, "!BR2_TOOLCHAIN_USES_UCLIBC" must be added to
python-pyparted/Config.in. And then it must not be possible to build it
with uclibc, so this patch must be adjusted.
Sorry for the noise
Best regards
--
Giulio Benetti
Benetti Engineering sas
More information about the buildroot
mailing list