Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] samba: bump to version 3.6.10
From: Peter Korsgaard @ 2012-12-12 20:24 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=53f2c75754ad7cd5958d9156e01156fe9c8fce53
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/samba/samba.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 4f87917..161e507 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-SAMBA_VERSION = 3.6.9
+SAMBA_VERSION = 3.6.10
 SAMBA_SITE = http://ftp.samba.org/pub/samba/stable
 SAMBA_SUBDIR = source3
 SAMBA_INSTALL_STAGING = YES

^ permalink raw reply related

* [Buildroot] [PATCH] iproute2: bump to version 3.7.0
From: Gustavo Zacarias @ 2012-12-12 20:24 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/iproute2/iproute2.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 6f5ee51..7766ab8 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-IPROUTE2_VERSION = 3.6.0
+IPROUTE2_VERSION = 3.7.0
 IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
 IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct rtmon rtpr rtstat ss tc
 IPROUTE2_LICENSE = GPLv2
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [git commit] toolchain/gcc: also disable largefile for pass 1/2 if needed
From: Peter Korsgaard @ 2012-12-12 20:22 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=7ce93438c12ca68c9bb12ed28c4d15d1fa840c94
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes issue with !BR2_LARGEFILE builds on Ubuntu 12.04 and GCC 4.6+

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 toolchain/gcc/gcc-uclibc-4.x.mk |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/toolchain/gcc/gcc-uclibc-4.x.mk b/toolchain/gcc/gcc-uclibc-4.x.mk
index 7a0b4ca..b0d741b 100644
--- a/toolchain/gcc/gcc-uclibc-4.x.mk
+++ b/toolchain/gcc/gcc-uclibc-4.x.mk
@@ -308,6 +308,7 @@ $(GCC_BUILD_DIR1)/.configured: $(GCC_DIR)/.patched
 		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) $(GCC_WITH_CPU) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
 	)
 	touch $@
@@ -373,6 +374,7 @@ $(GCC_BUILD_DIR2)/.configured: $(GCC_DIR)/.patched
 		$(GCC_DECIMAL_FLOAT) \
 		$(SOFT_FLOAT_CONFIG_OPTION) \
 		$(GCC_WITH_ABI) $(GCC_WITH_ARCH) $(GCC_WITH_TUNE) $(GCC_WITH_CPU) \
+		$(DISABLE_LARGEFILE) \
 		$(EXTRA_GCC_CONFIG_OPTIONS) \
 	)
 	touch $@

^ permalink raw reply related

* [Buildroot] [git commit] package: remove explicit --disable-doc* passing
From: Peter Korsgaard @ 2012-12-12 20:20 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=e10cfb1e766441dd6b268e27ca97436f8b5ed0d1
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Now that it is handled globally (pkg-infra: pass --disable-doc if
documentation is not enabled).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/efl/libevas/libevas.mk               |    5 -----
 package/fontconfig/fontconfig.mk             |    1 -
 package/sysstat/sysstat.mk                   |    4 ----
 package/x11r7/xlib_libSM/xlib_libSM.mk       |    5 -----
 package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk |    2 --
 package/x11r7/xlib_xtrans/xlib_xtrans.mk     |    2 --
 6 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 402aa48..2e9e930 100644
--- a/package/efl/libevas/libevas.mk
+++ b/package/efl/libevas/libevas.mk
@@ -210,10 +210,5 @@ else
 LIBEVAS_CONF_OPT += --disable-font-loader-eet
 endif
 
-# documentation
-ifneq ($(BR2_HAVE_DOCUMENTATION),y)
-LIBEVAS_CONF_OPT += --disable-doc
-endif
-
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
diff --git a/package/fontconfig/fontconfig.mk b/package/fontconfig/fontconfig.mk
index 9845656..6762126 100644
--- a/package/fontconfig/fontconfig.mk
+++ b/package/fontconfig/fontconfig.mk
@@ -24,7 +24,6 @@ FONTCONFIG_CONF_OPT = --with-arch=$(GNU_TARGET_NAME) \
 FONTCONFIG_DEPENDENCIES = freetype expat
 
 HOST_FONTCONFIG_CONF_OPT = \
-		--disable-docs \
 		--disable-static
 
 $(eval $(autotools-package))
diff --git a/package/sysstat/sysstat.mk b/package/sysstat/sysstat.mk
index 83609a0..0513998 100644
--- a/package/sysstat/sysstat.mk
+++ b/package/sysstat/sysstat.mk
@@ -9,10 +9,6 @@ SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.bz2
 SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard
 SYSSTAT_CONF_OPT = --disable-man-group --disable-sensors
 
-ifneq ($(BR2_HAVE_DOCUMENTATION),y)
-SYSSTAT_CONF_OPT += --disable-documentation
-endif
-
 ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
 SYSSTAT_DEPENDENCIES += gettext
 SYSSTAT_MAKE_OPT += CFLAGS+=-lintl
diff --git a/package/x11r7/xlib_libSM/xlib_libSM.mk b/package/x11r7/xlib_libSM/xlib_libSM.mk
index bdbda3f..a8d1eff 100644
--- a/package/x11r7/xlib_libSM/xlib_libSM.mk
+++ b/package/x11r7/xlib_libSM/xlib_libSM.mk
@@ -11,9 +11,4 @@ XLIB_LIBSM_INSTALL_STAGING = YES
 XLIB_LIBSM_DEPENDENCIES = xlib_libICE xlib_xtrans xproto_xproto
 XLIB_LIBSM_CONF_OPT = --without-libuuid
 
-ifneq ($(BR2_HAVE_DOCUMENTATION),y)
-# documentation generation is slow
-XLIB_LIBSM_CONF_OPT += --disable-docs
-endif
-
 $(eval $(autotools-package))
diff --git a/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk b/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
index 7177ae8..5a702e5 100644
--- a/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
+++ b/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk
@@ -9,8 +9,6 @@ XLIB_LIBXDMCP_SOURCE = libXdmcp-$(XLIB_LIBXDMCP_VERSION).tar.bz2
 XLIB_LIBXDMCP_SITE = http://xorg.freedesktop.org/releases/individual/lib
 XLIB_LIBXDMCP_INSTALL_STAGING = YES
 XLIB_LIBXDMCP_DEPENDENCIES = xutil_util-macros xproto_xproto
-XLIB_LIBXDMCP_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-docs)
-HOST_XLIB_LIBXDMCP_CONF_OPT = --disable-docs
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
diff --git a/package/x11r7/xlib_xtrans/xlib_xtrans.mk b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
index d47a0ed..8582985 100644
--- a/package/x11r7/xlib_xtrans/xlib_xtrans.mk
+++ b/package/x11r7/xlib_xtrans/xlib_xtrans.mk
@@ -8,8 +8,6 @@ XLIB_XTRANS_VERSION = 1.2.6
 XLIB_XTRANS_SOURCE = xtrans-$(XLIB_XTRANS_VERSION).tar.bz2
 XLIB_XTRANS_SITE = http://xorg.freedesktop.org/releases/individual/lib
 XLIB_XTRANS_INSTALL_STAGING = YES
-XLIB_XTRANS_CONF_OPT = $(if $(BR2_HAVE_DOCUMENTATION),,--disable-docs)
-HOST_XLIB_XTRANS_CONF_OPT = --disable-docs
 
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))

^ permalink raw reply related

* [Buildroot] buildroot 2012.11 large file support
From: Peter Korsgaard @ 2012-12-12 20:15 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121212183204.718be669@skate>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

Hi,

 >> Hmm, we already pass --disable-largefile to the gcc configure script,
 >> except for the first 2 passes. Does it work if we add
 >> $(DISABLE_LARGEFILE) to the gcc1 / gcc2 configure steps?

 Thomas> !largefile build is OK if we pass $(DISABLE_LARGEFILE) to gcc1 and gcc2
 Thomas> configure steps, so it solves the build problem. I haven't done more
 Thomas> testing though (testing the generated code, building with largefile
 Thomas> enabled, etc.).

Cool, great - I'll commit that then.

 Thomas> That said, doesn't --disable-largefile disables largefile support at
 Thomas> the level of gcc itself, rather than taking into account the fact that
 Thomas> largefile support is not available on the target? Of course, it has the
 Thomas> consequence that _FILE_OFFSET_BITS is no longer defined to 64 in
 Thomas> auto-conf.h, which works around the problem. But gcc (the host
 Thomas> binary) should be capable of being built with largefile support on a 32
 Thomas> bits host, even if the 32 bits target has no largefile support.

So for the cross compiler to be able to access large files? Is that
really important? I doubt people are using buildroot with 2G+
source/object/library files?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] usb_modeswitch and lsusb yield Segmentation fault
From: Peter Korsgaard @ 2012-12-12 19:44 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <7EE27C3F912F450282DD2DE63A6A7FED@JohanW7>

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi

 Sagaert> I was using the newer pthreads implementation,
 Sagaert> The old/stable pthreads are working for both lsusb (usbutils) and for usb_modeswitch with uClibc 0.9.33
 Sagaert> I did not try NTPL since this breaks the build of GDB.

Really? I don't recall any issues with GDB and NTPL? Could you provide
more details, please?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH 2/2] libhib: fix build on PowerPC
From: Thomas Petazzoni @ 2012-12-12 19:38 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355341123-7974-1-git-send-email-thomas.petazzoni@free-electrons.com>

Add a patch to remove some stupid configure.ac that does completely
crazy things with the CFLAGS and CXXFLAGS leading to build failures
like:

  http://autobuild.buildroot.org/results/7beec6b72652cc118240c959ed744ee5f2991c12/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../libhid-dont-fiddle-with-debug-flags.patch      |   29 ++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/libhid/libhid-dont-fiddle-with-debug-flags.patch

diff --git a/package/libhid/libhid-dont-fiddle-with-debug-flags.patch b/package/libhid/libhid-dont-fiddle-with-debug-flags.patch
new file mode 100644
index 0000000..139357b
--- /dev/null
+++ b/package/libhid/libhid-dont-fiddle-with-debug-flags.patch
@@ -0,0 +1,29 @@
+Don't do horrible magic with CFLAGS and CXXFLAGS
+
+The purpose of the lines being removed is to suppress the
+-g<something> option from the CFLAGS or CXXFLAGS, when --enable-debug
+is not used. This is stupid because it is up to the user to pass these
+flags or not.
+
+But it is not only stupid, but utterly broken: if your CFLAGS contains
+a flags like -mfloat-gprs=double, then this option gets truncated to
+-mfloat simply because the option contained the -g string!
+
+Completely ridiculous piece of code, so get rid of it.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: libhid-0.2.16/m4/md_conf_debugging.m4
+===================================================================
+--- libhid-0.2.16.orig/m4/md_conf_debugging.m4	2004-11-08 18:16:25.000000000 +0100
++++ libhid-0.2.16/m4/md_conf_debugging.m4	2012-12-12 20:24:50.000000000 +0100
+@@ -1,7 +1,7 @@
+ AC_DEFUN([MD_CONF_DEBUGGING],
+   [
+-    CFLAGS=$(echo $CFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
+-    CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
++#    CFLAGS=$(echo $CFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
++#    CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[[^[:space:]]]*,,g')
+     MD_CHECK_ARG_ENABLE(debug,
+       [
+         DEBUG_FLAG=-g
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] libhid: replace patch on configure by patch on configure.ac
From: Thomas Petazzoni @ 2012-12-12 19:38 UTC (permalink / raw)
  To: buildroot

In order to fix some other build problem of libhid, we'll need to do
modifications to the configure.ac. Therefore, let's first convert the
current patch on configure to a patch on configure.ac, and mark the
package as AUTORECONF=YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../libhid/libhid-0.2.16-fix-configure-typo.patch  |   24 --------------------
 package/libhid/libhid-no-newline-in-ldflags.patch  |   22 ++++++++++++++++++
 package/libhid/libhid.mk                           |    1 +
 3 files changed, 23 insertions(+), 24 deletions(-)
 delete mode 100644 package/libhid/libhid-0.2.16-fix-configure-typo.patch
 create mode 100644 package/libhid/libhid-no-newline-in-ldflags.patch

diff --git a/package/libhid/libhid-0.2.16-fix-configure-typo.patch b/package/libhid/libhid-0.2.16-fix-configure-typo.patch
deleted file mode 100644
index 870ecf2..0000000
--- a/package/libhid/libhid-0.2.16-fix-configure-typo.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-[PATCH] fix typo in configure
-
-Somehow a newline character has gotten inserted in the middle of the
-LDFLAGS assignment, breaking the build.
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- configure |    3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-Index: libhid-0.2.16/configure
-===================================================================
---- libhid-0.2.16.orig/configure
-+++ libhid-0.2.16/configure
-@@ -23050,8 +23050,7 @@ echo "$as_me: doxygen disabled by config
-     CPPFLAGS=$(echo  $CPPFLAGS)
-     CFLAGS=$(echo $OS_CFLAGS $LIBUSB_CFLAGS $CFLAGS)
-     CXXFLAGS=$(echo  $CXXFLAGS)
--    LDFLAGS=$(echo $OS_LDFLAGS $LIBUSB_LIBS
-- $LDFLAGS)
-+    LDFLAGS=$(echo $OS_LDFLAGS $LIBUSB_LIBS $LDFLAGS)
- 
- 
- 
diff --git a/package/libhid/libhid-no-newline-in-ldflags.patch b/package/libhid/libhid-no-newline-in-ldflags.patch
new file mode 100644
index 0000000..df845ee
--- /dev/null
+++ b/package/libhid/libhid-no-newline-in-ldflags.patch
@@ -0,0 +1,22 @@
+Fix improper usage of macro that introduces a wrong newline
+
+The MD_CONF_FLAGS() macro was used with a final newline that
+introduces an invalid newline in the middle of the macro expansion
+when defining LDFLAGS.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: libhid-0.2.16/configure.ac
+===================================================================
+--- libhid-0.2.16.orig/configure.ac	2007-04-01 22:32:10.000000000 +0200
++++ libhid-0.2.16/configure.ac	2012-12-12 20:24:03.000000000 +0100
+@@ -102,8 +102,7 @@
+   [],
+   [$OS_CFLAGS $LIBUSB_CFLAGS],
+   [],
+-  [$OS_LDFLAGS $LIBUSB_LIBS]
+-)
++  [$OS_LDFLAGS $LIBUSB_LIBS])
+ 
+ MD_CONF_DB2MAN
+ 
diff --git a/package/libhid/libhid.mk b/package/libhid/libhid.mk
index bad014b..484cdcc 100644
--- a/package/libhid/libhid.mk
+++ b/package/libhid/libhid.mk
@@ -9,6 +9,7 @@ LIBHID_SOURCE = libhid-$(LIBHID_VERSION).tar.gz
 LIBHID_SITE = http://alioth.debian.org/frs/download.php/1958
 LIBHID_DEPENDENCIES = libusb-compat libusb
 LIBHID_INSTALL_STAGING = YES
+LIBHID_AUTORECONF = YES
 # configure runs libusb-config for cflags/ldflags. Ensure it picks up
 # the target version
 LIBHID_CONF_ENV = PATH=$(STAGING_DIR)/usr/bin:$(TARGET_PATH)
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH] gadgetfs-test: requires thread support
From: Thomas Petazzoni @ 2012-12-12 18:44 UTC (permalink / raw)
  To: buildroot

Fixes:

  http://autobuild.buildroot.org/results/012914ed010eac94a2f7bfe18d8375cdb2fe9f06/build-end.log

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

diff --git a/package/gadgetfs-test/Config.in b/package/gadgetfs-test/Config.in
index 276ec54..a582db6 100644
--- a/package/gadgetfs-test/Config.in
+++ b/package/gadgetfs-test/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GADGETFS_TEST
 	bool "gadgetfs-test"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Test program for gadgetfs from linux-usb.org
 
@@ -10,3 +11,6 @@ config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
 	help
 	  Select this to have gadgetfs-test do asynchronous I/O using
 	  the libaio library.
+
+comment "gadgetfs-test requires thread support in toolchain"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
1.7.9.5

^ permalink raw reply related

* [Buildroot] [PATCH 2/2] squid: bump to version 3.2.5
From: Gustavo Zacarias @ 2012-12-12 18:21 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355336485-22792-1-git-send-email-gustavo@zacarias.com.ar>

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/squid/squid.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/squid/squid.mk b/package/squid/squid.mk
index 3c08c39..43e2d24 100644
--- a/package/squid/squid.mk
+++ b/package/squid/squid.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-SQUID_VERSION = 3.2.4
+SQUID_VERSION = 3.2.5
 SQUID_SITE = http://www.squid-cache.org/Versions/v3/3.2
 SQUID_LICENSE = GPLv2+
 SQUID_LICENSE_FILES = COPYING
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH 1/2] samba: bump to version 3.6.10
From: Gustavo Zacarias @ 2012-12-12 18:21 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/samba/samba.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 4f87917..161e507 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -4,7 +4,7 @@
 #
 #############################################################
 
-SAMBA_VERSION = 3.6.9
+SAMBA_VERSION = 3.6.10
 SAMBA_SITE = http://ftp.samba.org/pub/samba/stable
 SAMBA_SUBDIR = source3
 SAMBA_INSTALL_STAGING = YES
-- 
1.7.8.6

^ permalink raw reply related

* [Buildroot] [PATCH RESEND] pkg-infra: pass --disable-doc if documentation is not enabled
From: Peter Korsgaard @ 2012-12-12 18:16 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355321242-1301-1-git-send-email-arnout@mind.be>

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> Many configure scripts support an option like --disable-doc,
 Arnout> --disable-docs or --disable-documentation.  Pass all of these
 Arnout> to configure.

 Arnout> In addition, not all Xorg packages accept the
 Arnout> --disable-xxx. Instead they look for xmlto and/or fop and build
 Arnout> documentation if they exist.  For host packages, this may lead
 Arnout> to build errors because /usr/bin/xmlto uses libxml2 and we set
 Arnout> LD_LIBRARY_PATH to point to $(HOST_DIR)/lib, which may contain
 Arnout> a libxml2 as well.  So it's essential to disable xmlto for host
 Arnout> packages.

Committed, thanks.

With this we can also drop a bunch of explicit --disable-doc* in
packages.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] buildroot 2012.11 large file support
From: Thomas Petazzoni @ 2012-12-12 17:32 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <874njrnroe.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Wed, 12 Dec 2012 17:47:29 +0100, Peter Korsgaard wrote:

> Hmm, we already pass --disable-largefile to the gcc configure script,
> except for the first 2 passes. Does it work if we add
> $(DISABLE_LARGEFILE) to the gcc1 / gcc2 configure steps?

!largefile build is OK if we pass $(DISABLE_LARGEFILE) to gcc1 and gcc2
configure steps, so it solves the build problem. I haven't done more
testing though (testing the generated code, building with largefile
enabled, etc.).

That said, doesn't --disable-largefile disables largefile support at
the level of gcc itself, rather than taking into account the fact that
largefile support is not available on the target? Of course, it has the
consequence that _FILE_OFFSET_BITS is no longer defined to 64 in
auto-conf.h, which works around the problem. But gcc (the host
binary) should be capable of being built with largefile support on a 32
bits host, even if the 32 bits target has no largefile support.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply

* [Buildroot] buildroot 2012.11 large file support
From: Peter Korsgaard @ 2012-12-12 16:47 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121212134703.7461d9c7@skate>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Dear Thomas Petazzoni,
 Thomas> On Wed, 12 Dec 2012 12:03:41 +0100, Thomas Petazzoni wrote:

 >> Thing that remains not understood is what change between 4.5 and 4.6
 >> broke this.

 Thomas> Apparently, what changed is that the gcc/configure.ac has gained a
 Thomas> AC_SYS_LARGEFILE check:

 Thomas> $ grep LARGEFILE toolchain/gcc-4.6.3/gcc/configure.ac 
 Thomas> AC_SYS_LARGEFILE
 Thomas> $ grep LARGEFILE toolchain/gcc-4.5.4/gcc/configure.ac 
 Thomas> $

 Thomas> On gcc >= 4.6, this means that a #define _FILE_OFFSET_BITS 64 is added
 Thomas> to auto-host.h, which breaks the build of crtstuff.c for the target as
 Thomas> uClibc headers warn that _FILE_OFFSET_BITS is set to 64 even though
 Thomas> largefile support is not enabled.

Hmm, we already pass --disable-largefile to the gcc configure script,
except for the first 2 passes. Does it work if we add
$(DISABLE_LARGEFILE) to the gcc1 / gcc2 configure steps?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] Chances in skeleton don't appear in filesystem
From: Woody Wu @ 2012-12-12 16:26 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <874nk1l7lo.fsf@dell.be.48ers.dk>

On 2012-12-04, Peter Korsgaard
<jacmet@uclibc.org> wrote:
>>>>>> "Thomas" == Thomas Petazzoni
>>>>>> <thomas.petazzoni@free-electrons.com>
>>>>>> writes:
>
> >> What's the correct method to modify the defualt filesystem? Thanks.
>
> Thomas> Do use a custom skeleton, use a custom post-build script to
> copy/modify Thomas> files in output/target. See
>
> s/Do use/Do NOT use/
>
> Alternatively, if you do use a custom rootfs skeleton and want the
> skeleton changes to be taken into consideration without doing a clean
> rebuild you can manually make the changes under output/target as well
> and rerun make.
>
> Using a post-build script is easier though.
>

Thanks both. By far, the post script method works fine for me.

-- 
woody
I can't go back to yesterday - because I was a different person then.

^ permalink raw reply

* [Buildroot] Getting It into Compact Flash
From: Richard Braun @ 2012-12-12 16:22 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <000901cdd883$889a6e70$99cf4b50$@co.uk>

On Wed, Dec 12, 2012 at 04:12:49PM -0000, Ted Wood wrote:
> It starts up OK, loads the kernel and uncompresses it.
> 
> It mounts sda and sda1
> 
> Then "No filesystem could mount root, tried ext3 vfat msdos iso9660"

Buildroot doesn't take care of the partition table.

See http://lists.busybox.net/pipermail/buildroot/2012-August/057536.html
(and the next message for the unspoiled attached script).

-- 
Richard Braun

^ permalink raw reply

* [Buildroot] Getting It into Compact Flash
From: Ted Wood @ 2012-12-12 16:12 UTC (permalink / raw)
  To: buildroot

OK Next question:

 

I've built a kernel image and a file system image.

 

I've manually installed Grub 2 and a grub.cfg file which looks like this:

 

menuentry 'Buildroot'

{

set root='(hd0,msdos1)'

echo 'Loading Kernel')

linux /boot/bzimage

echo 'Loading Root FS'

initrd /boot/rootfs.ext2

}

 

It starts up OK, loads the kernel and uncompresses it.

It mounts sda and sda1

Then "No filesystem could mount root, tried ext3 vfat msdos iso9660"

 

I've tried it with various different types of filesystem image (iso9660,
cramfs, ext2) and they all fail in a similar way...

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121212/33ed9ecd/attachment.html>

^ permalink raw reply

* [Buildroot] [PATCH] boa: needs MMU
From: Peter Korsgaard @ 2012-12-12 16:11 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1355312748-20664-1-git-send-email-gustavo@zacarias.com.ar>

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Fixes
 Gustavo> http://autobuild.buildroot.net/results/0909856aea5ea5d13206c9a46b8b5174661239b4/

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] pkg-infra: pass --disable-doc if documentation is not enabled
From: Peter Korsgaard @ 2012-12-12 16:11 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=489970e047a78f7806747b99a7e1bd170fc5c75b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Many configure scripts support an option like --disable-doc, --disable-docs
or --disable-documentation.  Pass all of these to configure.

In addition, not all Xorg packages accept the --disable-xxx. Instead they
look for xmlto and/or fop and build documentation if they exist.  For host
packages, this may lead to build errors because /usr/bin/xmlto uses libxml2
and we set LD_LIBRARY_PATH to point to $(HOST_DIR)/lib, which may contain
a libxml2 as well.  So it's essential to disable xmlto for host packages.

Also some whitespace cleanup.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/Makefile.in      |   10 +++++++++-
 package/pkg-autotools.mk |    9 +++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index 4281773..cc8f320 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -290,7 +290,15 @@ DISABLE_LARGEFILE= --disable-largefile
 endif
 
 ifneq ($(BR2_HAVE_DOCUMENTATION),y)
-DISABLE_DOCUMENTATION=--disable-gtk-doc
+# The configure option varies, but since unknown options are ignored
+# we can pass all of them.
+DISABLE_DOCUMENTATION = \
+	--disable-gtk-doc \
+	--disable-doc \
+	--disable-docs \
+	--disable-documentation \
+	--with-xmlto=no \
+	--with-fop=no
 endif
 
 ifeq ($(BR2_INET_IPV6),y)
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 785daab..890506b 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -116,6 +116,9 @@ endef
 else
 
 # Configure package for host
+# disable all kind of documentation generation in the process,
+# because it often relies on host tools which may or may not be
+# installed.
 define $(2)_CONFIGURE_CMDS
 	(cd $$($$(PKG)_SRCDIR) && rm -rf config.cache; \
 	        $$(HOST_CONFIGURE_OPTS) \
@@ -126,6 +129,12 @@ define $(2)_CONFIGURE_CMDS
 		--prefix="$$(HOST_DIR)/usr" \
 		--sysconfdir="$$(HOST_DIR)/etc" \
 		--enable-shared --disable-static \
+		--disable-gtk-doc \
+		--disable-doc \
+		--disable-docs \
+		--disable-documentation \
+		--with-xmlto=no \
+		--with-fop=no \
 		$$($$(PKG)_CONF_OPT) \
 	)
 endef

^ permalink raw reply related

* [Buildroot] [git commit] boa: needs MMU
From: Peter Korsgaard @ 2012-12-12 16:11 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=64c3ce4d886bea18f24231d09914c3be2ede144d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Fixes
http://autobuild.buildroot.net/results/0909856aea5ea5d13206c9a46b8b5174661239b4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/boa/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/boa/Config.in b/package/boa/Config.in
index 48943ff..982833a 100644
--- a/package/boa/Config.in
+++ b/package/boa/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_BOA
 	bool "boa"
+	depends on BR2_USE_MMU # uses fork()
 	help
 	  A very small and very fast http daemon.  Not intended as
 	  a feature-packed server.

^ permalink raw reply related

* [Buildroot] usb_modeswitch and lsusb yield Segmentation fault
From: Gustavo Zacarias @ 2012-12-12 15:29 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <7EE27C3F912F450282DD2DE63A6A7FED@JohanW7>

On 12/12/2012 12:26 PM, Sagaert Johan wrote:
> Hi
> 
> I was using the newer pthreads implementation,
> The old/stable pthreads are working for both lsusb (usbutils) and for usb_modeswitch with uClibc 0.9.33
> I did not try NTPL since this breaks the build of GDB.
> 
> I am not sure about what packages need the newer pthreads and what need the older/stable version.
> 
> Regards, Johan

Hi again.
Yes, the old/stable ones worked too now that i remember, they're pretty
well tested.
Packages don't depend on anyone in particular, the implementation is
just an uClibc internal thing.
Regards.

^ permalink raw reply

* [Buildroot] usb_modeswitch and lsusb yield Segmentation fault
From: Sagaert Johan @ 2012-12-12 15:26 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50C5C08D.407@zacarias.com.ar>

 

Hi

I was using the newer pthreads implementation,
The old/stable pthreads are working for both lsusb (usbutils) and for usb_modeswitch with uClibc 0.9.33
I did not try NTPL since this breaks the build of GDB.

I am not sure about what packages need the newer pthreads and what need the older/stable version.

Regards, Johan

 

-----Oorspronkelijk bericht-----
Van: Gustavo Zacarias [mailto:gustavo at zacarias.com.ar] 
Verzonden: maandag 10 december 2012 11:59
Aan: Sagaert Johan
CC: buildroot at busybox.net
Onderwerp: Re: [Buildroot] usb_modeswitch and lsusb yield Segmentation fault

On 12/10/2012 07:57 AM, Sagaert Johan wrote:

> Hi
> 
> I am using buildroot's internal toolchain gcc 4.6.3 and uClibc 
> 0.9.33.3 and I the pthreads library.

Which threading implementation are you using? linuxthreads, linuxthreads
(stable/old) or Native POSIX Threading (NPTL) ?
NPTL should be the safe bet, i don't know how good/bad the others work on later versions of uClibc.
Regards.

^ permalink raw reply

* [Buildroot] [PATCH RESEND] pkg-infra: pass --disable-doc if documentation is not enabled
From: Arnout Vandecappelle @ 2012-12-12 14:07 UTC (permalink / raw)
  To: buildroot

Many configure scripts support an option like --disable-doc, --disable-docs
or --disable-documentation.  Pass all of these to configure.

In addition, not all Xorg packages accept the --disable-xxx. Instead they
look for xmlto and/or fop and build documentation if they exist.  For host
packages, this may lead to build errors because /usr/bin/xmlto uses libxml2
and we set LD_LIBRARY_PATH to point to $(HOST_DIR)/lib, which may contain
a libxml2 as well.  So it's essential to disable xmlto for host packages.

Also some whitespace cleanup.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
This obviously has far-ranging effects but I rebuilt all non-deprecated
packages successfully with this patch.

---
 package/Makefile.in      |   10 +++++++++-
 package/pkg-autotools.mk |    9 +++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index 4281773..cc8f320 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -290,7 +290,15 @@ DISABLE_LARGEFILE= --disable-largefile
 endif
 
 ifneq ($(BR2_HAVE_DOCUMENTATION),y)
-DISABLE_DOCUMENTATION=--disable-gtk-doc
+# The configure option varies, but since unknown options are ignored
+# we can pass all of them.
+DISABLE_DOCUMENTATION = \
+	--disable-gtk-doc \
+	--disable-doc \
+	--disable-docs \
+	--disable-documentation \
+	--with-xmlto=no \
+	--with-fop=no
 endif
 
 ifeq ($(BR2_INET_IPV6),y)
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 785daab..890506b 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -116,6 +116,9 @@ endef
 else
 
 # Configure package for host
+# disable all kind of documentation generation in the process,
+# because it often relies on host tools which may or may not be
+# installed.
 define $(2)_CONFIGURE_CMDS
 	(cd $$($$(PKG)_SRCDIR) && rm -rf config.cache; \
 	        $$(HOST_CONFIGURE_OPTS) \
@@ -126,6 +129,12 @@ define $(2)_CONFIGURE_CMDS
 		--prefix="$$(HOST_DIR)/usr" \
 		--sysconfdir="$$(HOST_DIR)/etc" \
 		--enable-shared --disable-static \
+		--disable-gtk-doc \
+		--disable-doc \
+		--disable-docs \
+		--disable-documentation \
+		--with-xmlto=no \
+		--with-fop=no \
 		$$($$(PKG)_CONF_OPT) \
 	)
 endef
-- 
tg: (7ffda3e..) t/disable-doc (depends on: master)

^ permalink raw reply related

* [Buildroot] buildroot 2012.11 large file support
From: Thomas Petazzoni @ 2012-12-12 12:47 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121212120341.69a89e93@skate>

Dear Thomas Petazzoni,

On Wed, 12 Dec 2012 12:03:41 +0100, Thomas Petazzoni wrote:

> Thing that remains not understood is what change between 4.5 and 4.6
> broke this.

Apparently, what changed is that the gcc/configure.ac has gained a
AC_SYS_LARGEFILE check:

$ grep LARGEFILE toolchain/gcc-4.6.3/gcc/configure.ac 
AC_SYS_LARGEFILE
$ grep LARGEFILE toolchain/gcc-4.5.4/gcc/configure.ac 
$

On gcc >= 4.6, this means that a #define _FILE_OFFSET_BITS 64 is added
to auto-host.h, which breaks the build of crtstuff.c for the target as
uClibc headers warn that _FILE_OFFSET_BITS is set to 64 even though
largefile support is not enabled.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH] boa: needs MMU
From: Gustavo Zacarias @ 2012-12-12 11:45 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/0909856aea5ea5d13206c9a46b8b5174661239b4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/boa/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/package/boa/Config.in b/package/boa/Config.in
index 48943ff..982833a 100644
--- a/package/boa/Config.in
+++ b/package/boa/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_BOA
 	bool "boa"
+	depends on BR2_USE_MMU # uses fork()
 	help
 	  A very small and very fast http daemon.  Not intended as
 	  a feature-packed server.
-- 
1.7.8.6

^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox