procps-ng: disable for musl libc
PATCH 1/1 procps-ng: disable for musl libc
The recent procps-ng security bump in commit 88ec06ad484 (procps-ng:
security bump to version 3.3.15) of the 2018.02.x branch, introduced use of fopencookie() which is a GNU extension that musl version 1.1.8 does not implement. Backporting the security fixes alone is not feasible. Disable procps-ng for musl libc toolchains.
Propagate this dependency to procps-ng reverse dependencies that used to allow build with musl, openvmtools and tovid.
Fixes:
http://autobuild.buildroot.net/results/eac/eac700c61e277689b46fd617b6ddcbf94b5271e5/
http://autobuild.buildroot.net/results/baa/baac54b934d5ac07d3604ae3c6016595e4d7014a/
--- package/openvmtools/Config.in | 6 +++--- package/procps-ng/Config.in | 5 +++++ package/tovid/Config.in | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-)
package/openvmtools/Config.in +3 -3
@@ -6,7 +6,7 @@ config BR2_PACKAGE_OPENVMTOOLS depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC depends on BR2_ENABLE_LOCALE - depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_LIBGLIB2 select BR2_PACKAGE_LIBDNET help
@@ -47,9 +47,9 @@ comment "PAM support needs a glibc toolchain w/ dynamic library" endif -comment "openvmtools needs a glibc or musl toolchain w/ wchar, threads, RPC, locale" +comment "openvmtools needs a glibc toolchain w/ wchar, threads, RPC, locale" depends on BR2_i386 || BR2_x86_64 depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ !BR2_TOOLCHAIN_HAS_NATIVE_RPC || !BR2_ENABLE_LOCALE || \ - BR2_TOOLCHAIN_USES_UCLIBC + !BR2_TOOLCHAIN_USES_GLIBC
package/procps-ng/Config.in +5 -0
@@ -2,9 +2,14 @@ config BR2_PACKAGE_PROCPS_NG bool "procps-ng" depends on BR2_USE_MMU # fork() depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on !BR2_TOOLCHAIN_USES_MUSL # fopencookie() select BR2_PACKAGE_NCURSES help Standard informational utilities and process-handling tools. Provides things like kill, ps, uptime, free, top, etc... http://sourceforge.net/projects/procps-ng/ + +comment "procps-ng needs a glibc or uclibc toolchain" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_USES_MUSL
package/tovid/Config.in +4 -2
@@ -8,6 +8,7 @@ config BR2_PACKAGE_TOVID depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mplayer + depends on !BR2_TOOLCHAIN_USES_MUSL # procps-ng # The below dependencies are runtime dependencies only select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng select BR2_PACKAGE_DVDAUTHOR
@@ -27,14 +28,15 @@ config BR2_PACKAGE_TOVID http://tovid.wikia.com/wiki/Installing_tovid -comment "tovid needs a toolchain w/ threads, C++, wchar" +comment "tovid needs a glibc or uclibc toolchain w/ threads, C++, wchar" depends on BR2_USE_MMU depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS depends on BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_USE_WCHAR + || !BR2_USE_WCHAR \ + || BR2_TOOLCHAIN_USES_MUSL comment "tovid depends on python or python3" depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3
Signature · 1 line
2.18.0
PATCH 1/1 procps-ng: disable for musl libc
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
The recent procps-ng security bump in commit
88ec06ad484(procps-ng:
security bump to version 3.3.15) of the 2018.02.x branch, introduced use offopencookie()which is a GNU extension that musl version 1.1.8 does not implement. Backporting the security fixes alone is not feasible. Disable procps-ng for musl libc toolchains.
Quoted 8 lines
Propagate this dependency to procps-ng reverse dependencies that used to allow build with musl, openvmtools and tovid.
Fixes:
http://autobuild.buildroot.net/results/eac/eac700c61e277689b46fd617b6ddcbf94b5271e5/
http://autobuild.buildroot.net/results/baa/baac54b934d5ac07d3604ae3c6016595e4d7014a/Signed-off-by Baruch Siach <[email protected]>
Committed to 2018.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard