All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] time: mark as not available for static-only builds
Date: Tue, 24 May 2016 20:36:44 +0200	[thread overview]
Message-ID: <1464115004-26552-1-git-send-email-thomas.petazzoni@free-electrons.com> (raw)

Due to some code imported from gnulib, the time package doesn't build
in static-only configurations. Indeed the gnulib code redefines the
error() and error_at_line() functions, which are also provided by the
C library. Since fixing the gnulib code is really difficult, let's
just disable this package for static-only builds.

Fixes:

  http://autobuild.buildroot.org/results/a0e64faba69fa86755c693f575fb258a77e4e9d1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/time/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/time/Config.in b/package/time/Config.in
index 0ec3be3..f4694a2 100644
--- a/package/time/Config.in
+++ b/package/time/Config.in
@@ -1,7 +1,13 @@
 config BR2_PACKAGE_TIME
 	bool "time"
 	depends on BR2_USE_MMU # fork()
+	# See https://savannah.gnu.org/bugs/index.php?48000
+	depends on !BR2_STATIC_LIBS
 	help
 	  The GNU time utility.
 
 	  http://savannah.gnu.org/projects/time/
+
+comment "time needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS
-- 
2.7.4

             reply	other threads:[~2016-05-24 18:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 18:36 Thomas Petazzoni [this message]
2016-05-24 19:59 [Buildroot] [PATCH] time: mark as not available for static-only builds Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1464115004-26552-1-git-send-email-thomas.petazzoni@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.