mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/parted: disable on uclibc
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@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a17cb3532c
commit
25b1dc4613
@ -2,6 +2,7 @@ config BR2_PACKAGE_PARTED
|
|||||||
bool "parted"
|
bool "parted"
|
||||||
depends on BR2_ENABLE_LOCALE
|
depends on BR2_ENABLE_LOCALE
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
||||||
select BR2_PACKAGE_UTIL_LINUX
|
select BR2_PACKAGE_UTIL_LINUX
|
||||||
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
|
||||||
help
|
help
|
||||||
@ -9,5 +10,6 @@ config BR2_PACKAGE_PARTED
|
|||||||
|
|
||||||
http://www.gnu.org/software/parted/
|
http://www.gnu.org/software/parted/
|
||||||
|
|
||||||
comment "parted needs a toolchain w/ locale, wchar"
|
comment "parted needs a glibc or musl toolchain w/ locale, wchar"
|
||||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
||||||
|
!BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
|
||||||
|
@ -2,11 +2,13 @@ config BR2_PACKAGE_PYTHON_PYPARTED
|
|||||||
bool "python-pyparted"
|
bool "python-pyparted"
|
||||||
depends on BR2_ENABLE_LOCALE # parted
|
depends on BR2_ENABLE_LOCALE # parted
|
||||||
depends on BR2_USE_WCHAR
|
depends on BR2_USE_WCHAR
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # parted
|
||||||
select BR2_PACKAGE_PARTED
|
select BR2_PACKAGE_PARTED
|
||||||
help
|
help
|
||||||
Python bindings for GNU parted (libparted).
|
Python bindings for GNU parted (libparted).
|
||||||
|
|
||||||
https://github.com/rhinstaller/pyparted
|
https://github.com/rhinstaller/pyparted
|
||||||
|
|
||||||
comment "pyparted needs a toolchain w/ locale, wchar"
|
comment "pyparted needs a glibc or musl toolchain w/ locale, wchar"
|
||||||
depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
||||||
|
!BR2_ENABLE_LOCALE || !BR2_USE_WCHAR
|
||||||
|
@ -9,7 +9,7 @@ config BR2_PACKAGE_UDISKS
|
|||||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit
|
||||||
depends on BR2_USE_MMU # lvm2
|
depends on BR2_USE_MMU # lvm2
|
||||||
depends on BR2_USE_WCHAR # dbus-glib -> glib2
|
depends on BR2_USE_WCHAR # dbus-glib -> glib2
|
||||||
depends on !BR2_TOOLCHAIN_USES_UCLIBC # polkit, lvm2
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # polkit, lvm2, parted
|
||||||
depends on !BR2_STATIC_LIBS # lvm2, spidermonkey
|
depends on !BR2_STATIC_LIBS # lvm2, spidermonkey
|
||||||
select BR2_PACKAGE_DBUS
|
select BR2_PACKAGE_DBUS
|
||||||
select BR2_PACKAGE_DBUS_GLIB
|
select BR2_PACKAGE_DBUS_GLIB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user