* [Buildroot] [PATCH] daemon: new package
From: Baruch Siach @ 2017-05-02 5:07 UTC (permalink / raw)
To: buildroot
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v3: add threads dependency (Romain)
define DEB_BUILD_OPTIONS to avoid strip at install (Romain)
v2: add target installation (thanks Romain)
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/daemon/0001-fix-musl.patch | 18 ++++++++++++++++++
package/daemon/Config.in | 11 +++++++++++
package/daemon/daemon.hash | 3 +++
package/daemon/daemon.mk | 26 ++++++++++++++++++++++++++
6 files changed, 60 insertions(+)
create mode 100644 package/daemon/0001-fix-musl.patch
create mode 100644 package/daemon/Config.in
create mode 100644 package/daemon/daemon.hash
create mode 100644 package/daemon/daemon.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 8db6dc82a613..61b84309f2de 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -140,6 +140,7 @@ F: package/pulseview/
F: package/sigrok-cli/
N: Baruch Siach <baruch@tkos.co.il>
+F: package/daemon/
F: package/ebtables/
F: package/openipmi/
F: package/ti-uim/
diff --git a/package/Config.in b/package/Config.in
index 674b812d22d8..9d873f705fb1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1795,6 +1795,7 @@ menu "System tools"
source "package/circus/Config.in"
source "package/coreutils/Config.in"
source "package/cpuload/Config.in"
+ source "package/daemon/Config.in"
source "package/dc3dd/Config.in"
source "package/dcron/Config.in"
source "package/ddrescue/Config.in"
diff --git a/package/daemon/0001-fix-musl.patch b/package/daemon/0001-fix-musl.patch
new file mode 100644
index 000000000000..9454d72ae635
--- /dev/null
+++ b/package/daemon/0001-fix-musl.patch
@@ -0,0 +1,18 @@
+daemon: fix build with musl
+
+musl requires the ttydefaults.h to be included explicitly for CEOF.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+
+diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c
+--- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300
++++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300
+@@ -665,6 +665,7 @@
+ #ifdef _RESTORE_POSIX_SOURCE
+ #define _POSIX_SOURCE
+ #endif
++#include <sys/ttydefaults.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/select.h>
diff --git a/package/daemon/Config.in b/package/daemon/Config.in
new file mode 100644
index 000000000000..26663242610d
--- /dev/null
+++ b/package/daemon/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_DAEMON
+ bool "daemon"
+ depends on BR2_USE_MMU # fork()
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ help
+ Daemon turns other process into daemons.
+
+ http://www.libslack.org/daemon/
+
+comment "daemon needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/daemon/daemon.hash b/package/daemon/daemon.hash
new file mode 100644
index 000000000000..32308ea3f773
--- /dev/null
+++ b/package/daemon/daemon.hash
@@ -0,0 +1,3 @@
+# md5 from http://www.libslack.org/daemon/; sha256 locally calculated
+md5 6cd0a28630a29ac279bc501f39baec66 daemon-0.6.4.tar.gz
+sha256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 daemon-0.6.4.tar.gz
diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
new file mode 100644
index 000000000000..dfa573f42652
--- /dev/null
+++ b/package/daemon/daemon.mk
@@ -0,0 +1,26 @@
+################################################################################
+#
+# daemon
+#
+################################################################################
+
+DAEMON_VERSION = 0.6.4
+DAEMON_SITE = http://libslack.org/daemon/download
+DAEMON_LICENSE = GPL-2.0+
+DAEMON_LICENSE_FILES = LICENSE
+
+define DAEMON_CONFIGURE_CMDS
+ (cd $(@D); ./config)
+endef
+
+define DAEMON_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define DAEMON_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \
+ $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
+ install-daemon-bin
+endef
+
+$(eval $(generic-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCH v2] daemon: new package
From: Baruch Siach @ 2017-05-02 5:04 UTC (permalink / raw)
To: buildroot
In-Reply-To: <47ac8a79-3586-a052-77df-3a4759c5e8d8@gmail.com>
Hi Romain,
On Mon, May 01, 2017 at 11:28:11PM +0200, Romain Naour wrote:
> Le 01/05/2017 ? 22:03, Baruch Siach a ?crit :
> > Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> > ---
> > v2: add target installation (thanks Romain)
> > ---
>
> > new file mode 100644
> > index 000000000000..30954e77edc7
> > --- /dev/null
> > +++ b/package/daemon/Config.in
> > @@ -0,0 +1,7 @@
> > +config BR2_PACKAGE_DAEMON
> > + bool "daemon"
> > + depends on BR2_USE_MMU # fork()
>
> It also needs thread support:
>
> In file included from libslack/coproc.c:56:0:
> libslack/std.h:102:21: fatal error: pthread.h: No such file or directory
Thanks for your thorough review.
I'll fix and resubmit.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
^ permalink raw reply
* [Buildroot] uboot-tools autobuild failures
From: Matthew Weber @ 2017-05-02 4:02 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAOMZO5BqQ1FC8j=sW=4tbozA1ytKZaEi6-dTCMPNSPcbaxDCag@mail.gmail.com>
All,
On Tue, Apr 25, 2017 at 12:09 PM, Fabio Estevam <festevam@gmail.com> wrote:
> On Tue, Apr 25, 2017 at 2:07 PM, Matthew Weber
> <matthew.weber@rockwellcollins.com> wrote:
>
>> No luck, same error. I did notice this seems to be impacted by -j level.
>
> Please report this error in the U-boot list. Thanks
Done and I submitted a workaround for now until a clean fix can be
found upstream.
https://patchwork.ozlabs.org/patch/757382/
^ permalink raw reply
* [Buildroot] [PATCH 1/1] uboot-tools: disable libfdt swig wrapper
From: Matt Weber @ 2017-05-02 4:01 UTC (permalink / raw)
To: buildroot
The current tools build assumes the host system
when trying to detect if swig/python are present.
It then uses those tools from the path.
The upstream RFC included this commit set's patch
but offered up discussion on how to cleanly
introduce a better method for detecting swig and
using the tools. The tools build really needs to
be sysroot and prefix/host dir tools aware.
Upsteam submission for RFC:
https://lists.denx.de/pipermail/u-boot/2017-May/289520.html
Workaround for:
http://autobuild.buildroot.net/results/6d5/6d52ac8bb71012aea6fc4c679691b31a3366728b
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
...nditionally-disable-python-libfdt-wrapper.patch | 44 ++++++++++++++++++++++
package/uboot-tools/uboot-tools.mk | 5 +++
2 files changed, 49 insertions(+)
create mode 100644 package/uboot-tools/0005-tools-conditionally-disable-python-libfdt-wrapper.patch
diff --git a/package/uboot-tools/0005-tools-conditionally-disable-python-libfdt-wrapper.patch b/package/uboot-tools/0005-tools-conditionally-disable-python-libfdt-wrapper.patch
new file mode 100644
index 0000000..43be380
--- /dev/null
+++ b/package/uboot-tools/0005-tools-conditionally-disable-python-libfdt-wrapper.patch
@@ -0,0 +1,44 @@
+From 4dc3139cc9fa12882792053bdce7b69aca9b91bf Mon Sep 17 00:00:00 2001
+From: Matt Weber <matthew.weber@rockwellcollins.com>
+Date: Mon, 1 May 2017 22:19:57 -0500
+Subject: [PATCH 1/1] tools: conditionally disable python libfdt wrapper
+
+Not all host systems want the default swig to be
+used when building the tools. Allow for the
+disabling of the wrapper to enable cross-compiling
+of the tools on a host system with swig.
+
+Upsteam submission for RFC:
+https://lists.denx.de/pipermail/u-boot/2017-May/289520.html
+
+Workaround for:
+http://autobuild.buildroot.net/results/6d5/6d52ac8bb71012aea6fc4c679691b31a3366728b
+
+Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
+---
+ tools/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tools/Makefile b/tools/Makefile
+index 2fc4a58..7f6c29d 100644
+--- a/tools/Makefile
++++ b/tools/Makefile
+@@ -114,6 +114,7 @@ fit_check_sign-objs := $(dumpimage-mkimage-objs) fit_check_sign.o
+
+ # Build a libfdt Python module if swig is available
+ # Use 'sudo apt-get install swig libpython-dev' to enable this
++ifndef CONFIG_TOOLS_PYTHON_WRAPPER_DISABLE
+ hostprogs-y += \
+ $(if $(shell which swig 2> /dev/null),_libfdt.so)
+ _libfdt.so-sharedobjs += $(LIBFDT_OBJS)
+@@ -126,6 +127,7 @@ tools/_libfdt.so: $(patsubst %.o,%.c,$(LIBFDT_OBJS)) tools/libfdt_wrap.c
+
+ tools/libfdt_wrap.c: $(srctree)/lib/libfdt/libfdt.swig
+ swig -python -o $@ $<
++endif
+
+ # TODO(sjg@chromium.org): Is this correct on Mac OS?
+
+--
+1.9.1
+
diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk
index 2585c7b..352f53d 100644
--- a/package/uboot-tools/uboot-tools.mk
+++ b/package/uboot-tools/uboot-tools.mk
@@ -21,6 +21,11 @@ UBOOT_TOOLS_MAKE_OPTS = CROSS_COMPILE="$(TARGET_CROSS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
STRIP=$(TARGET_STRIP)
+# This option was added through an additional patch
+# and allows the disabling of a host python swig
+# detect which as of 2017.5 assumes the host systems swig.
+UBOOT_TOOLS_MAKE_OPTS += CONFIG_TOOLS_PYTHON_WRAPPER_DISABLE=y
+
ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),y)
UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT=y
UBOOT_TOOLS_DEPENDENCIES += dtc
--
1.9.1
^ permalink raw reply related
* [Buildroot] [PATCH] package/protobuf: depend on gcc >= 4.5
From: Matthew Weber @ 2017-05-02 1:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <CAKKQwLQz=10qxvcFL6xgmKMTwXGbKmbt74xJHD8O9C6_7SakYA@mail.gmail.com>
All,
On Sun, Apr 30, 2017 at 11:57 PM, Mario Rugiero <mrugiero@gmail.com> wrote:
>
> 2017-04-30 4:29 GMT-03:00 Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com>:
> > Hello,
> >
> Hi
> > On Sat, 29 Apr 2017 17:02:26 -0300, Mario Rugiero wrote:
> >
> > Then we also have a problem with the host variant: host-protobuf also
> > requires gcc >= 4.5.0. I've restarted my autobuilder, and it uses an
> > old version of gcc on the host, which causes host-protobuf to fail
> > building:
> I'll give it a shot at reproducing locally. Hopefully I can patch the
> triggering instances.
> If I succeed, I'll commit a different patch to support building on
> older versions of gcc,
> and will send it upstream, too, so the patches can be dropped in a
> following version.
> Wish me luck!
Another data point, This Ubuntu host GCC seems to not have the issue,
so some distros have pulled the fix in.
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Matt
^ permalink raw reply
* [Buildroot] [PATCH 1/1] libqmi: musl compat canonicalize_file_name
From: Matt Weber @ 2017-05-02 1:29 UTC (permalink / raw)
To: buildroot
Adds an inline equivalent of canonicalize_file_name
using realpath().
Bug report (origin of this patch):
https://bugs.freedesktop.org/show_bug.cgi?id=99944
Resolves:
http://autobuild.buildroot.net/results/afa/afa4b97e012586585b11be1e70ed3c63a7c48a4d/
CCLD test-generated
CCLD test-utils
CCLD test-message
../../../src/libqmi-glib/.libs/libqmi-glib.so: undefined reference to `canonicalize_file_name'
collect2: error: ld returned 1 exit status
Makefile:440: recipe for target 'test-generated' failed
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
.../0001-musl-compat-canonicalize_file_name.patch | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)
create mode 100644 package/libqmi/0001-musl-compat-canonicalize_file_name.patch
diff --git a/package/libqmi/0001-musl-compat-canonicalize_file_name.patch b/package/libqmi/0001-musl-compat-canonicalize_file_name.patch
new file mode 100644
index 0000000..5656d55
--- /dev/null
+++ b/package/libqmi/0001-musl-compat-canonicalize_file_name.patch
@@ -0,0 +1,48 @@
+From 2f44edc9fbcbf2202174aec723e8a8d191c13d2f Mon Sep 17 00:00:00 2001
+From: Matt Weber <matthew.weber@rockwellcollins.com>
+Date: Mon, 1 May 2017 19:55:07 -0500
+Subject: [PATCH] musl compat canonicalize_file_name()
+
+Adds an inline equivalent of canonicalize_file_name
+using realpath().
+
+Bug report (origin of this patch):
+https://bugs.freedesktop.org/show_bug.cgi?id=99944
+
+Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
+---
+ src/libqmi-glib/qmi-utils.h | 18 ++++++++++++++++++
+ 1 file changed, 18 insertions(+)
+
+diff --git a/src/libqmi-glib/qmi-utils.h b/src/libqmi-glib/qmi-utils.h
+index 4fd5199..4869da5 100644
+--- a/src/libqmi-glib/qmi-utils.h
++++ b/src/libqmi-glib/qmi-utils.h
+@@ -29,6 +29,24 @@
+ #error "Only <libqmi-glib.h> can be included directly."
+ #endif
+
++#ifndef HAVE_CANONICALIZE_FILE_NAME
++#include <limits.h>
++#include <string.h>
++#include <stdlib.h>
++#include <stdio.h>
++static char * canonicalize_file_name(const char *path)
++{
++ char buf[PATH_MAX] = { };
++
++ snprintf(buf, sizeof(buf) - 1, "%s", path);
++
++ if (!realpath(path, buf))
++ return NULL;
++
++ return strdup(buf);
++}
++#endif
++
+ #include <glib.h>
+
+ G_BEGIN_DECLS
+--
+1.9.1
+
--
1.9.1
^ permalink raw reply related
* [Buildroot] [v3 1/1] configs: add raspberrypi3 64bits defconfig
From: Ricardo Martincoski @ 2017-05-01 23:34 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170418155959.27129-1-gael.portay@savoirfairelinux.com>
Hello,
On Tue, Apr 18, 2017 at 12:59 PM, Ga?l PORTAY wrote:
> This configuration builds a 64bit image for RaspberryPi 3.
>
> Signed-off-by: Ga?l PORTAY <gael.portay@savoirfairelinux.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[build-tested: in the host 'file output/target/bin/busybox' shows
'setuid ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV)'...;
boot-tested: I can login using the HDMI console,
and in the target 'cat /proc/cpuinfo' shows 'CPU architecture: 8']
I can't test the mini UART yet, sorry.
Regards,
Ricardo
^ permalink raw reply
* [Buildroot] [PATCH v2 1/1] libcsv: new package
From: Matt Weber @ 2017-05-01 23:11 UTC (permalink / raw)
To: buildroot
From: David Graziano <david.graziano@rockwellcollins.com>
libcsv is a small, simple and fast CSV library written in pure
ANSI C89 that can read and write CSV data.
Signed-off-by: David Graziano <david.graziano@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
---
v1 -> v2
[Thomas P
- Updated to SPDX license identifier
- Removed redundant src archive declaration
- Removed host build as buildroot doesn't have
a dependent package using it
- Added developers file entry
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
---
DEVELOPERS | 4 ++++
package/Config.in | 1 +
package/libcsv/Config.in | 10 ++++++++++
package/libcsv/libcsv.hash | 2 ++
package/libcsv/libcsv.mk | 13 +++++++++++++
5 files changed, 30 insertions(+)
create mode 100644 package/libcsv/Config.in
create mode 100644 package/libcsv/libcsv.hash
create mode 100644 package/libcsv/libcsv.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 8db6dc8..019e100 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -413,6 +413,9 @@ F: package/openldap/
N: David du Colombier <0intro@gmail.com>
F: package/x264/
+N: David Graziano <david.graziano@rockwellcollins.com>
+F: package/libcsv/
+
N: David Lechner <david@lechnology.com>
F: board/lego/ev3/
F: configs/lego_ev3_defconfig
@@ -1067,6 +1070,7 @@ F: package/fmc/
F: package/fmlib/
F: package/igmpproxy/
F: package/iputils/
+F: package/libcsv/
F: package/omniorb/
F: package/python-ipy/
F: package/python-posix-ipc/
diff --git a/package/Config.in b/package/Config.in
index bfcfb73..e3b6682 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1367,6 +1367,7 @@ menu "Other"
source "package/libcofi/Config.in"
source "package/libcroco/Config.in"
source "package/libcrossguid/Config.in"
+ source "package/libcsv/Config.in"
source "package/libdaemon/Config.in"
source "package/libee/Config.in"
source "package/libev/Config.in"
diff --git a/package/libcsv/Config.in b/package/libcsv/Config.in
new file mode 100644
index 0000000..eaa6115
--- /dev/null
+++ b/package/libcsv/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCSV
+ bool "libcsv"
+ help
+ libcsv is a small, simple and fast CSV library written in pure
+ ANSI C89 that can read and write CSV data. It provides a
+ straight-forward interface using callback functions to handle
+ parsed fields and rows and can parse improperly formatted CSV
+ files.
+
+ https://sourceforge.net/projects/libcsv/
diff --git a/package/libcsv/libcsv.hash b/package/libcsv/libcsv.hash
new file mode 100644
index 0000000..e35c44f
--- /dev/null
+++ b/package/libcsv/libcsv.hash
@@ -0,0 +1,2 @@
+#locally computed
+sha256 d9c0431cb803ceb9896ce74f683e6e5a0954e96ae1d9e4028d6e0f967bebd7e4 libcsv-3.0.3.tar.gz
diff --git a/package/libcsv/libcsv.mk b/package/libcsv/libcsv.mk
new file mode 100644
index 0000000..d0ce643
--- /dev/null
+++ b/package/libcsv/libcsv.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# libcsv
+#
+################################################################################
+
+LIBCSV_VERSION = 3.0.3
+LIBCSV_SITE = http://sourceforge.net/projects/libcsv/files
+LIBCSV_LICENSE = LGPL-2.1+
+LIBCSV_LICENSE_FILES = COPYING.LESSER
+LIBCSV_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
--
1.9.1
^ permalink raw reply related
* [Buildroot] [PATCH] config/raspberrypi3: use correct CPU
From: Ricardo Martincoski @ 2017-05-01 22:52 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501091104.3183-1-yann.morin.1998@free.fr>
Hello,
On Mon, May 01, 2017 at 06:11 AM, Yann E. MORIN wrote:
> We so far were using a Cortex-A7 as the CPU for the rpi3, as this was
> the closest we had available, in 32-bit mode, to the real CPU used in
> the rpi3.
>
> But now we can also use the Cortex-A53 in 32-bit mode, so we use that,
> which makes for an optimised build (A53 has an improved instruction set,
> as compared to the A7).
>
> Also drop the DTB overlay option, it defaults to 'y'.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[boot-tested: I can login using the HDMI console]
but see comment below...
[snip]
> +++ b/configs/raspberrypi3_defconfig
> @@ -1,6 +1,5 @@
> BR2_arm=y
> -BR2_cortex_a7=y
> -BR2_ARM_EABIHF=y
> +BR2_cortex_a53=y
This patch is very similar to:
http://patchwork.ozlabs.org/patch/751142/
I applied 751142 and 757022 to separate git trees above 289137ed61.
The resulting .config are the same (except for the sha1, of course).
Regards,
Ricardo
^ permalink raw reply
* [Buildroot] [git commit branch/2017.02.x] Update for 2017.02.2
From: Peter Korsgaard @ 2017-05-01 22:05 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=799aed7a181e82a6446403b7abe77119622a6779
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
CHANGES | 19 +++++++++++++++++++
Makefile | 4 ++--
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/CHANGES b/CHANGES
index 75163c3..f26077a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,22 @@
+2017.02.2, Released May 1st, 2017
+
+ Important / security related fixes.
+
+ Use HTTPS for the Codesourcery external toolchains as the HTTP
+ URLs no longer work.
+
+ Updated/fixed packages: bind, busybox, dovecot, freetype,
+ ghostscript, glibc, granite, hiredis, icu, imagemagick,
+ gst-plugins-base, gst1-plugins-base, libcroco, libcurl, libnl,
+ libnspr, libnss, libsamplerate, libsndfile, libunwind,
+ minicom, mplayer, mpv, nodejs, python-django, python-pyyaml,
+ python-web2py, samba4, syslinux, systemd, tiff, trinity,
+ uboot, wireshark, xen
+
+ Issues resolved (http://bugs.buildroot.org):
+
+ #9791: Python searches for packages in the user site directory
+
2017.02.1, Released April 4th, 2017
Important / security related fixes.
diff --git a/Makefile b/Makefile
index 30e76fa..92ecdf1 100644
--- a/Makefile
+++ b/Makefile
@@ -86,9 +86,9 @@ else # umask / $(CURDIR) / $(O)
all:
# Set and export the version string
-export BR2_VERSION := 2017.02.1
+export BR2_VERSION := 2017.02.2
# Actual time the release is cut (for reproducible builds)
-BR2_VERSION_EPOCH = 1491392000
+BR2_VERSION_EPOCH = 1493676000
# Save running make version since it's clobbered by the make package
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
^ permalink raw reply related
* [Buildroot] [PATCH] busybox: no need to disable clear and reset
From: Peter Korsgaard @ 2017-05-01 22:01 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170424201323.30582-1-arnout@mind.be>
>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
> Removing clear and reset from the busybox config when the ncurses tools
> are enabled is not really needed.
> Since commit 802bff9c42, the busybox install will not overwrite
> existing programs. Therefore, the tools will be installed correctly
> regardless of the order of the build:
> - if busybox is built first, the clear and reset apps are installed,
> but they will be overwritten by ncurses;
> - if ncurses is built first, it will install the clear and reset apps,
> and busybox will no longer install them.
> We prefer not to modify the busybox configuration when not strictly
> necessary, because it is surprising for the user that his configuration
> is not applied. Clearly, it's not ideal that busybox is configured with
> redundant apps, but if the user wants to shrink it, it's possible to
> provide a custom config.
> This partially reverts commit 33c72344a8686a136c1da6a056ed6c0945bbf8b7.
> Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
> Cc: Danomi Manchego <danomimanchego123@gmail.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit branch/2017.02.x] busybox: no need to disable clear and reset
From: Peter Korsgaard @ 2017-05-01 21:59 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=abfcc5624b0bd01a8c8c3c01b4d9b91f9ddeda31
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Removing clear and reset from the busybox config when the ncurses tools
are enabled is not really needed.
Since commit 802bff9c42, the busybox install will not overwrite
existing programs. Therefore, the tools will be installed correctly
regardless of the order of the build:
- if busybox is built first, the clear and reset apps are installed,
but they will be overwritten by ncurses;
- if ncurses is built first, it will install the clear and reset apps,
and busybox will no longer install them.
We prefer not to modify the busybox configuration when not strictly
necessary, because it is surprising for the user that his configuration
is not applied. Clearly, it's not ideal that busybox is configured with
redundant apps, but if the user wants to shrink it, it's possible to
provide a custom config.
This partially reverts commit 33c72344a8686a136c1da6a056ed6c0945bbf8b7.
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 200282e2070ec0405184378c3cfb4e04ab26c5d8)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/busybox/busybox.mk | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 7cc559c..577f2f2 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -148,17 +148,6 @@ define BUSYBOX_MUSL_TWEAKS
endef
endif
-ifeq ($(BR2_PACKAGE_NCURSES_TARGET_PROGS),y)
-# Ncurses package overlaps:
-# /usr/bin/clear
-# /usr/bin/reset -> /usr/bin/tset (symlink)
-#
-define BUSYBOX_DISABLE_NCURSES_PROGS
- $(call KCONFIG_DISABLE_OPT,CONFIG_CLEAR,$(BUSYBOX_BUILD_CONFIG))
- $(call KCONFIG_DISABLE_OPT,CONFIG_RESET,$(BUSYBOX_BUILD_CONFIG))
-endef
-endif
-
define BUSYBOX_INSTALL_UDHCPC_SCRIPT
if grep -q CONFIG_UDHCPC=y $(@D)/.config; then \
$(INSTALL) -m 0755 -D package/busybox/udhcpc.script \
@@ -240,7 +229,6 @@ define BUSYBOX_KCONFIG_FIXUP_CMDS
$(BUSYBOX_SET_WATCHDOG)
$(BUSYBOX_SET_SELINUX)
$(BUSYBOX_MUSL_TWEAKS)
- $(BUSYBOX_DISABLE_NCURSES_PROGS)
endef
define BUSYBOX_CONFIGURE_CMDS
^ permalink raw reply related
* [Buildroot] [PATCH v2] daemon: new package
From: Romain Naour @ 2017-05-01 21:28 UTC (permalink / raw)
To: buildroot
In-Reply-To: <a92dc5869d0e5e3868f928293c8d68f2558728ef.1493668995.git.baruch@tkos.co.il>
Hi Baruch,
Le 01/05/2017 ? 22:03, Baruch Siach a ?crit :
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: add target installation (thanks Romain)
> ---
> new file mode 100644
> index 000000000000..30954e77edc7
> --- /dev/null
> +++ b/package/daemon/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_DAEMON
> + bool "daemon"
> + depends on BR2_USE_MMU # fork()
It also needs thread support:
In file included from libslack/coproc.c:56:0:
libslack/std.h:102:21: fatal error: pthread.h: No such file or directory
Best regards,
Romain
> + help
> + Daemon turns other process into daemons.
> +
> + http://www.libslack.org/daemon/
>
^ permalink raw reply
* [Buildroot] [PATCH v2] daemon: new package
From: Romain Naour @ 2017-05-01 21:13 UTC (permalink / raw)
To: buildroot
In-Reply-To: <a92dc5869d0e5e3868f928293c8d68f2558728ef.1493668995.git.baruch@tkos.co.il>
Hi Baruch,
Le 01/05/2017 ? 22:03, Baruch Siach a ?crit :
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2: add target installation (thanks Romain)
You're welcome!
[...]
> diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
> new file mode 100644
> index 000000000000..25ff07ba1ca9
> --- /dev/null
> +++ b/package/daemon/daemon.mk
> @@ -0,0 +1,25 @@
> +################################################################################
> +#
> +# daemon
> +#
> +################################################################################
> +
> +DAEMON_VERSION = 0.6.4
> +DAEMON_SITE = http://libslack.org/daemon/download
> +DAEMON_LICENSE = GPL-2.0+
> +DAEMON_LICENSE_FILES = LICENSE
> +
> +define DAEMON_CONFIGURE_CMDS
> + (cd $(@D); ./config)
> +endef
> +
> +define DAEMON_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +endef
> +
> +define DAEMON_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
> + install-daemon-bin
There is still an issue with install-daemon-bin target... it try to strip the
binary with the strip tool from the host.
This cause a failure:
case "$DEB_BUILD_OPTIONS" in *nostrip*);; *) strip
output/target/usr/bin/daemon;; esac
strip: Unable to recognise the format of the input file ?
output/target/usr/bin/daemon ?
Add DEB_BUILD_OPTIONS="nostrip" in DAEMON_INSTALL_TARGET_CMDS.
Best regards,
Romain
> +endef
> +
> +$(eval $(generic-package))
>
^ permalink raw reply
* [Buildroot] [PATCH 0/9] fs/ext2: cleanups and improvements
From: Yann E. MORIN @ 2017-05-01 20:58 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501211852.6193ab52@free-electrons.com>
Thomas, All,
On 2017-05-01 21:18 +0200, Thomas Petazzoni spake thusly:
> On Mon, 1 May 2017 17:58:39 +0200, Yann E. MORIN wrote:
> > J Evans (1):
> > ext2: add help text for BR2_TARGET_ROOTFS_EXT2_BLOCKS
> >
> > Yann E. MORIN (8):
> > package/mke2img: check nb_blocks is specified
> > package/mke2img: specifying zero inodes means auto
> > fs/ext2: always pass the number of inodes
> > fs/ext2: always pass the label option
> > fs/ext2: allow reserving zero block for root
> > fs/ext2: simplify code
> > package/mke2img: add option to specify block size
> > fs/ext2: add option to specify block size
>
> In general, I find this good. However, it badly conflicts with the
> on-going work to move away from mke2img/genext2fs and use mkfs.ext2/3/4
> instead.
But this is not ready yet, is it?
> For example, I believe mkfs.ext2/3/4 will automatically chose a sane
> default block size depending on the filesystem size.
And even if it does, ther are stil cases where one wants to override the
auto-calculated size.
So, even when we switch the backend that generates the filesystem, we'd
still want to have those options, I believe.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply
* [Buildroot] compiling error - testglib failed
From: Lijun QIN @ 2017-05-01 20:55 UTC (permalink / raw)
To: buildroot
Dear Buildrooter.
I need to move old buildroot project to X64 ubuntu16.04 from X86
ubuntu12.04
Buildroot2011.05 + cross-compiler gcc 4.8 + x86 Ubuntu12.04 - success
Buildroot2011.05 + cross-compiler gcc 4.8 + x84 Ubuntu 16.04 -Failed
Error message is attached, Anybody could please possibly provide any
advice ?
I have multiple buildroot projects and need to move them to single build
machines.
Thank you so much,
Lijun Qin
>>> host-pkg-config 0.25 Building
PATH=/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011
.05-sdk5.1.2/output/host/bin:/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/usr/bin:/
home/dfvsdev/.local/bin:/opt/arm-2013.11/bin:/usr/local/
bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
LD_LIBRARY_PATH="/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5.1.2:"
PKG_CONFIG="" PKG_CONFIG_LIBDIR="/home/dfvsmdev/workspace/obi-eval/rootfs/
buildroot-2011.05-sdk5.1.2/output/host/usr/lib/pkgconfig"
PERLLIB="/home/dfvsmdev/workspace/obi-eval/rootfs/bu.1.2/output/host/usr/lib/perl"
/usr/bin/make -j8 -C /home/dfvsmdev/workspace/obi-e
val/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg-config-0.25/
make[2]: Entering directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg-config-0.25'
/usr/bin/make all-recursive
make[3]: Entering directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg-config-0.25'
Making all in glib-1.2.10
make[4]: Entering directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
/usr/bin/make all-recursive
make[5]: Entering directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
Making all in .
make[6]: Entering directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
/bin/bash ./libtool --tag=CC --mode=link /usr/bin/gcc -O2
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.
05-sdk5.1.2/output/host/include -I/home/dfvsmdev/workspace/obi
-eval/1.05-sdk5.1.2/output/host/usr/include -Wall -D_REENTRANT
-L/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/lib
-L/home/dfvsmdev/workspace/obi-eval/rootfsdk5.1.2/output/host/usr/lib
-Wl,-rpath,/home/dfvsmdev/workspace/obi-eval/rootfs/buildroo
t-2011.05-sdk5.1.2/output/host/usr/lib -o testgdate testgdate.o libglib.la
/bin/bash ./libtool --tag=CC --mode=link /usr/bin/gcc -O2
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.
05-sdk5.1.2/output/host/include -I/home/dfvsmdev/workspace/obi
-eval/1.05-sdk5.1.2/output/host/usr/include -Wall -D_REENTRANT
-L/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/lib
-L/home/dfvsmdev/workspace/obi-eval/rootfsdk5.1.2/output/host/usr/lib
-Wl,-rpath,/home/dfvsmdev/workspace/obi-eval/rootfs/buildroo
t-2011.05-sdk5.1.2/output/host/usr/lib -o testglib testglib.o libglib.la
/bin/bash ./libtool --tag=CC --mode=link /usr/bin/gcc -O2
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.
05-sdk5.1.2/output/host/include -I/home/dfvsmdev/workspace/obi
-eval/1.05-sdk5.1.2/output/host/usr/include -Wall -D_REENTRANT
-L/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/lib
-L/home/dfvsmdev/workspace/obi-eval/rootfsdk5.1.2/output/host/usr/lib
-Wl,-rpath,/home/dfvsmdev/workspace/obi-eval/rootfs/buildroo
t-2011.05-sdk5.1.2/output/host/usr/lib -o testgdateparser testgdateparser.o
libglib.la
libtool: link: /usr/bin/gcc -O2 -I/home/dfvsmdev/workspace/obi
-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/include
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5/include
-Wall -D_REENTRANT -Wl,-rpath -Wl,/home/dfvsmdev/workspace/o
bi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/usr/lib -o testgdate
testgdate.o -L/home/dfvsmdev/workspace/obiot-2011.05-sdk5.1.2/output/host/lib
-L/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.
05-sdk5.1.2/output/host/usr/lib ./.libs/libglib.a
libtool: link: /usr/bin/gcc -O2 -I/home/dfvsmdev/workspace/obi
-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/include
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5/include
-Wall -D_REENTRANT -Wl,-rpath -Wl,/home/dfvsmdev/workspace/o
bi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/usr/lib -o
testgdateparser testgdateparser.o -L/home/dfvsmdev/wotfs/buildr
oot-2011.05-sdk5.1.2/output/host/lib -L/home/dfvsmdev/workspace/obi
-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/usr/lib
./.libs/libglib.a
libtool: link: /usr/bin/gcc -O2 -I/home/dfvsmdev/workspace/obi
-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/include
-I/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-sdk5/include
-Wall -D_REENTRANT -Wl,-rpath -Wl,/home/dfvsmdev/workspace/o
bi-eval/rootfs/buildroot-2011.05-sdk5.1.2/output/host/usr/lib -o testglib
testglib.o -L/home/dfvsmdev/workspace/obi-e-2011.05-sdk5.1.2/output/host/lib
-L/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.
05-sdk5.1.2/output/host/usr/lib ./.libs/libglib.a
Makefile:455: recipe for target 'testglib' failed
Makefile:449: recipe for target 'testgdate' failed
Makefile:452: recipe for target 'testgdateparser' failed
make[6]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
Makefile:530: recipe for target 'all-recursive' failed
make[5]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
Makefile:363: recipe for target 'all' failed
make[4]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg
-config-0.25/glib-1.2.10'
Makefile:537: recipe for target 'all-recursive' failed
make[3]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg-config-0.25'
Makefile:310: recipe for target 'all' failed
make[2]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2/output/build/host-pkg-config-0.25'
package/Makefile.package.in:295 <http://makefile.package.in:295/>: recipe
for target '/home/dfvsmdev/workspace/obi-eval/rootfs/buildroot-2011.05-
sdk5.1.2/output/build/host-pkg-config-0.25/.stamp_built' failed
make[1]: Leaving directory '/home/dfvsmdev/workspace/obi-
eval/rootfs/buildroot-2011.05-sdk5.1.2'
Makefile:343: recipe for target 'rootfs.all' failed
make: *** [rootfs.all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170501/dcab3559/attachment-0001.html>
^ permalink raw reply
* [Buildroot] [PATCH] linux-headers: bump 4.4.x series to 4.4.65
From: Peter Korsgaard @ 2017-05-01 20:43 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501185708.23340-1-peter@korsgaard.com>
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit branch/2017.02.x] linux-headers: bump 4.4.x series to 4.4.65
From: Peter Korsgaard @ 2017-05-01 20:43 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=b706f46e97629f922ab0ab333b490b72ef9e625c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 0d18d1d9c0dd8173eee918b30761548c19b6bfdc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index 5c49abe..fc3108b 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -222,7 +222,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "3.19.8" if BR2_KERNEL_HEADERS_3_19
default "4.0.9" if BR2_KERNEL_HEADERS_4_0
default "4.1.39" if BR2_KERNEL_HEADERS_4_1
- default "4.4.64" if BR2_KERNEL_HEADERS_4_4
+ default "4.4.65" if BR2_KERNEL_HEADERS_4_4
default "4.8.17" if BR2_KERNEL_HEADERS_4_8
default "4.9.25" if BR2_KERNEL_HEADERS_4_9
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
^ permalink raw reply related
* [Buildroot] [PATCH] linux-headers: bump 4.4.x series to 4.4.65
From: Peter Korsgaard @ 2017-05-01 20:41 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501185708.23340-1-peter@korsgaard.com>
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply
* [Buildroot] [git commit] linux-headers: bump 4.4.x series to 4.4.65
From: Peter Korsgaard @ 2017-05-01 20:41 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=0d18d1d9c0dd8173eee918b30761548c19b6bfdc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index b1ef3d6..f75fac8 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -227,7 +227,7 @@ config BR2_DEFAULT_KERNEL_HEADERS
default "3.10.105" if BR2_KERNEL_HEADERS_3_10
default "3.12.73" if BR2_KERNEL_HEADERS_3_12
default "4.1.39" if BR2_KERNEL_HEADERS_4_1
- default "4.4.64" if BR2_KERNEL_HEADERS_4_4
+ default "4.4.65" if BR2_KERNEL_HEADERS_4_4
default "4.9.25" if BR2_KERNEL_HEADERS_4_9
default "4.10.13" if BR2_KERNEL_HEADERS_4_10
default "4.11" if BR2_KERNEL_HEADERS_4_11
^ permalink raw reply related
* [Buildroot] [PATCH v2] daemon: new package
From: Baruch Siach @ 2017-05-01 20:03 UTC (permalink / raw)
To: buildroot
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
v2: add target installation (thanks Romain)
---
DEVELOPERS | 1 +
package/Config.in | 1 +
package/daemon/0001-fix-musl.patch | 18 ++++++++++++++++++
package/daemon/Config.in | 7 +++++++
package/daemon/daemon.hash | 3 +++
package/daemon/daemon.mk | 25 +++++++++++++++++++++++++
6 files changed, 55 insertions(+)
create mode 100644 package/daemon/0001-fix-musl.patch
create mode 100644 package/daemon/Config.in
create mode 100644 package/daemon/daemon.hash
create mode 100644 package/daemon/daemon.mk
diff --git a/DEVELOPERS b/DEVELOPERS
index 8db6dc82a613..61b84309f2de 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -140,6 +140,7 @@ F: package/pulseview/
F: package/sigrok-cli/
N: Baruch Siach <baruch@tkos.co.il>
+F: package/daemon/
F: package/ebtables/
F: package/openipmi/
F: package/ti-uim/
diff --git a/package/Config.in b/package/Config.in
index 674b812d22d8..9d873f705fb1 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1795,6 +1795,7 @@ menu "System tools"
source "package/circus/Config.in"
source "package/coreutils/Config.in"
source "package/cpuload/Config.in"
+ source "package/daemon/Config.in"
source "package/dc3dd/Config.in"
source "package/dcron/Config.in"
source "package/ddrescue/Config.in"
diff --git a/package/daemon/0001-fix-musl.patch b/package/daemon/0001-fix-musl.patch
new file mode 100644
index 000000000000..9454d72ae635
--- /dev/null
+++ b/package/daemon/0001-fix-musl.patch
@@ -0,0 +1,18 @@
+daemon: fix build with musl
+
+musl requires the ttydefaults.h to be included explicitly for CEOF.
+
+Signed-off-by: Baruch Siach <baruch@tkos.co.il>
+---
+
+diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c
+--- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300
++++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300
+@@ -665,6 +665,7 @@
+ #ifdef _RESTORE_POSIX_SOURCE
+ #define _POSIX_SOURCE
+ #endif
++#include <sys/ttydefaults.h>
+ #include <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/select.h>
diff --git a/package/daemon/Config.in b/package/daemon/Config.in
new file mode 100644
index 000000000000..30954e77edc7
--- /dev/null
+++ b/package/daemon/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_DAEMON
+ bool "daemon"
+ depends on BR2_USE_MMU # fork()
+ help
+ Daemon turns other process into daemons.
+
+ http://www.libslack.org/daemon/
diff --git a/package/daemon/daemon.hash b/package/daemon/daemon.hash
new file mode 100644
index 000000000000..32308ea3f773
--- /dev/null
+++ b/package/daemon/daemon.hash
@@ -0,0 +1,3 @@
+# md5 from http://www.libslack.org/daemon/; sha256 locally calculated
+md5 6cd0a28630a29ac279bc501f39baec66 daemon-0.6.4.tar.gz
+sha256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 daemon-0.6.4.tar.gz
diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
new file mode 100644
index 000000000000..25ff07ba1ca9
--- /dev/null
+++ b/package/daemon/daemon.mk
@@ -0,0 +1,25 @@
+################################################################################
+#
+# daemon
+#
+################################################################################
+
+DAEMON_VERSION = 0.6.4
+DAEMON_SITE = http://libslack.org/daemon/download
+DAEMON_LICENSE = GPL-2.0+
+DAEMON_LICENSE_FILES = LICENSE
+
+define DAEMON_CONFIGURE_CMDS
+ (cd $(@D); ./config)
+endef
+
+define DAEMON_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define DAEMON_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \
+ install-daemon-bin
+endef
+
+$(eval $(generic-package))
--
2.11.0
^ permalink raw reply related
* [Buildroot] [PATCHv5] mpir: fix build failure
From: semenak94 at mail.ru @ 2017-05-01 19:40 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501112149.46c43ad1@free-electrons.com>
Hello,
Of course, I'll fixed it, as son as possible.
--
Semyon
-----------
Semyon Kolganov ???????????, 01 ??? 2017?., 12:21 +03:00 ?? Thomas Petazzoni thomas.petazzoni at free-electrons.com :
>Hello,
>
>On Fri, 21 Apr 2017 14:27:11 +0300, Semyon Kolganov wrote:
>> Signed-off-by: Semyon Kolganov < semenak94@mail.ru >
>
>When you're fixing build failures from the autobuilders, the commit log
>should provide references to the autobuilder failures being fixed.
>
>> +ifeq ($(BR2_MIPS_NABI64),y)
>> +MPIR_CONF_OPTS += ABI=n64
>> +endif
>
>You did not even test this, because it fails to build:
>
>configure: error: ABI=n64 is not among the following valid choices: 64 n32 o32
>
>So I've fixed that to ABI=64
>
>> +ifeq ($(BR2_powerpc_CLASSIC),y)
>> +MPIR_CONF_OPTS += ABI=mode64
>> +MPIR_CONF_ENV += MPN_PATH=generic
>> +endif
>
>This looks bogus. mode64 seems to refer to a 64-bit ABI, while
>BR2_powerpc_CLASSIC is not necessarily 64 bit.
>
>So, I've applied after changing ABI=n64 to ABI=64, dropping the PowerPC
>stuff and adding a reference to the autobuilder failure being fixes.
>
>That being said, there are still several other mpir related build
>failures that have not been fixed:
>
>?* On ARM, we fail with the old Crosstool-NG toolchains, but apparently
>???not with other ARM toolchains. Both the ARMv5 and ARMv7 Crosstool-NG
>???toolchains are failing to build MPIR:
>
>??? http://autobuild.buildroot.net/results/fd0/fd032f7dbd4cace84bb31e8017cb6139ef3c1072/build-end.log
>??? http://autobuild.buildroot.net/results/c36/c360581c2925529f18635aac32c2865899f5e0f5/build-end.log
>
>?* On MIPS64r6
>
>??? http://autobuild.buildroot.net/results/c45/c45dd59f10693b0d9a86dac4733c6c3dde4554f1/build-end.log
>
>?* On PowerPC64
>
>??? http://autobuild.buildroot.net/results/be1/be1478836b2e7b580174641f48de92c9b02512a7/build-end.log
>
>Could you have a look and fix those remaining issues?
>
>Thanks!
>
>Thomas
>--
>Thomas Petazzoni, CTO, Free Electrons
>Embedded Linux and Kernel engineering
>http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170501/87298ad8/attachment.html>
^ permalink raw reply
* [Buildroot] [PATCH] daemon: new package
From: Romain Naour @ 2017-05-01 19:33 UTC (permalink / raw)
To: buildroot
In-Reply-To: <d5dadc5047888dabaabd88b4f3b885558d30c0b7.1493666251.git.baruch@tkos.co.il>
Hi Baruch,
Le 01/05/2017 ? 21:17, Baruch Siach a ?crit :
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
[...]
> diff --git a/package/daemon/Config.in b/package/daemon/Config.in
> new file mode 100644
> index 000000000000..30954e77edc7
> --- /dev/null
> +++ b/package/daemon/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_DAEMON
> + bool "daemon"
> + depends on BR2_USE_MMU # fork()
> + help
> + Daemon turns other process into daemons.
> +
> + http://www.libslack.org/daemon/
> diff --git a/package/daemon/daemon.hash b/package/daemon/daemon.hash
> new file mode 100644
> index 000000000000..32308ea3f773
> --- /dev/null
> +++ b/package/daemon/daemon.hash
> @@ -0,0 +1,3 @@
> +# md5 from http://www.libslack.org/daemon/; sha256 locally calculated
> +md5 6cd0a28630a29ac279bc501f39baec66 daemon-0.6.4.tar.gz
> +sha256 c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1 daemon-0.6.4.tar.gz
> diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
> new file mode 100644
> index 000000000000..6b858ceb142d
> --- /dev/null
> +++ b/package/daemon/daemon.mk
> @@ -0,0 +1,20 @@
> +################################################################################
> +#
> +# daemon
> +#
> +################################################################################
> +
> +DAEMON_VERSION = 0.6.4
> +DAEMON_SITE = http://libslack.org/daemon/download
> +DAEMON_LICENSE = GPL-2.0+
> +DAEMON_LICENSE_FILES = LICENSE
> +
> +define DAEMON_CONFIGURE_CMDS
> + (cd $(@D); ./config)
> +endef
> +
> +define DAEMON_BUILD_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> +endef
Almost good, except nothing is installed in TARGET_DIR :)
DAEMON_INSTALL_TARGET_CMDS is missing.
Best regards,
Romain
> +
> +$(eval $(generic-package))
>
^ permalink raw reply
* [Buildroot] [PATCH 1/1] libcsv: new package
From: Matthew Weber @ 2017-05-01 19:29 UTC (permalink / raw)
To: buildroot
In-Reply-To: <20170501212707.2729be64@free-electrons.com>
Thomas,
On Mon, May 1, 2017 at 2:27 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> Thanks for this contribution, see some comments below.
>
> On Mon, 1 May 2017 12:37:20 -0500, Matt Weber wrote:
>
>> package/Config.in | 1 +
>> package/libcsv/Config.in | 10 ++++++++++
>> package/libcsv/libcsv.hash | 2 ++
>> package/libcsv/libcsv.mk | 15 +++++++++++++++
>
> Please add an entry to the DEVELOPERS file.
>
Will do.
>> +LIBCSV_VERSION = 3.0.3
>> +LIBCSV_SITE = http://sourceforge.net/projects/libcsv/files
>> +LIBCSV_SOURCE = libcsv-$(LIBCSV_VERSION).tar.gz
>
> Not needed, this is the default value.
Ah shoot, will update.
>
>> +LIBCSV_LICENSE = LGPLv2.1+
>
> Please use the SPDX license code: LGPL-2.1+
>
Will do.
>> +LIBCSV_LICENSE_FILES = COPYING.LESSER
>> +LIBCSV_INSTALL_STAGING = YES
>> +
>> +$(eval $(host-autotools-package))
>
> Why are you adding a host package ? If you don't intend to use it as a
> dependency for another package or don't have a good reason to have a
> host package, please don't add a host variant.
It's currently being used for a host side internal tool. We can
remove the host build and carry that internally as there isn't a
upstream reason to have it.
(Dave, care to update your MR and I'll resubmit?)
- Matt
^ permalink raw reply
* [Buildroot] [PATCH 1/1] libcsv: new package
From: Thomas Petazzoni @ 2017-05-01 19:27 UTC (permalink / raw)
To: buildroot
In-Reply-To: <1493660240-45710-1-git-send-email-matthew.weber@rockwellcollins.com>
Hello,
Thanks for this contribution, see some comments below.
On Mon, 1 May 2017 12:37:20 -0500, Matt Weber wrote:
> package/Config.in | 1 +
> package/libcsv/Config.in | 10 ++++++++++
> package/libcsv/libcsv.hash | 2 ++
> package/libcsv/libcsv.mk | 15 +++++++++++++++
Please add an entry to the DEVELOPERS file.
> +LIBCSV_VERSION = 3.0.3
> +LIBCSV_SITE = http://sourceforge.net/projects/libcsv/files
> +LIBCSV_SOURCE = libcsv-$(LIBCSV_VERSION).tar.gz
Not needed, this is the default value.
> +LIBCSV_LICENSE = LGPLv2.1+
Please use the SPDX license code: LGPL-2.1+
> +LIBCSV_LICENSE_FILES = COPYING.LESSER
> +LIBCSV_INSTALL_STAGING = YES
> +
> +$(eval $(host-autotools-package))
Why are you adding a host package ? If you don't intend to use it as a
dependency for another package or don't have a good reason to have a
host package, please don't add a host variant.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox