summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-20vpnc: pass CFLAGS at link timeThomas Petazzoni
External toolchain builds absolutely require the --sysroot option to be passed at link time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20uemacs: don't forget CFLAGS at link timeThomas Petazzoni
Without CFLAGS, the build breaks because --sysroot is missing at link time, and this option is absolutely mandatory for external toolchain builds. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20lvm2: do not override CC and similar variablesThomas Petazzoni
Since lvm2 uses autoconf, there's no point in overriding CC and other variables at build time. This causes build breakage as CFLAGS aren't used at link time, therefore --sysroot lacks, which breaks the build with external toolchains. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20mutt: fix build and convert to autotoolsThomas Petazzoni
mutt has been upgraded, but the mutt-1.5.16-makedoc-hostcc.patch wasn't upgraded accordingly, causing build failures in the documentation. Therefore, we add a new patch mutt-1.5.17+20080114-nodoc.patch that disables the construction of the documentation. As this patch modifies Makefile.am, we need to autoreconf the package. The simplest and cleanest way to do this is to convert the package to the autotools infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20cairo: remove host variantThomas Petazzoni
Since we no longer need to build pango on the host, cairo on the host is no longer needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20pango: run pango-querymodules on the target instead of on the hostThomas Petazzoni
We needed to build pango for the host in order to compile pango-querymodules for the host, which was used to produce /etc/pango/pango.modules. Unfortunately: * This produces an incorrect /etc/pango/pango.modules (no modules detected in my case), probably because the host pango-querymodules was looking at host pango modules * This requires to build pango for the host, which requires to build cairo for the host, which requires to build X11 for the host. To make things work and remove the dependency between pango and host-pango, we introduce a S25pango script that creates /etc/pango/pango.modules on startup if it doesn't exist, just as we do with libgtk2 for /etc/gtk-2.0/gdk-pixbuf.loaders. Since host-pango is no longer needed, we remove all definitions related to it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20samba: only require libiconv if !BR2_ENABLE_LOCALEThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20ntp: fix build failureThomas Petazzoni
This patch adds a patch to NTP to fix the following build failure, using a workaround patch found on the Fedora bugzilla: ntp_loopfilter.c: In function 'local_clock': ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function) ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once ntp_loopfilter.c:571: error: for each function it appears in.) ntp_loopfilter.c: In function 'loop_config': ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20startup-notification: add dependency on xlib_libX11Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20lmbench: needs BR2_INET_RPCThomas Petazzoni
This package uses several pmap_*() functions in the C library, that are only available if the C library has RPC support. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20iconv: disallow selection when BR2_ENABLE_LOCALE is enabledThomas Petazzoni
A C library compiled with locale support already has an iconv() implementation. In that case, libiconv is useless. Therefore, disallow the selection of libiconv when the configuration says that the toolchain has locale support. This fixes build issues similar to the one we had with gettext: libiconv headers are installed, but -liconv is not added because the ./configure script detects that the C library supports iconv. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20external toolchain: check BR2_INSTALL_LIBSTDCPPThomas Petazzoni
Verify that the value of BR2_INSTALL_LIBSTDCPP set by the user in the Buildroot configuration really matches the external toolchain capabilities by checking that a C++ cross-compiler is available. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20gettext: make only available if BR2_NEEDS_GETTEXT is setThomas Petazzoni
This allows to make sure that an user, or a randpackageconfig, will not select the gettext or libintl package when using an external toolchain based on glibc/eglibc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20ltrace: fix build failureThomas Petazzoni
ltrace failed to build because of missing arguments to gcc to find the header files. This is due to the fact that the existing ltrace.mk was setting CC and LD at build time to incorrect values. Keeping the values set at configure time is just the right thing to do. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20libcgicc: fix package after autotools infrastructure conversionThomas Petazzoni
The patch had an incorrect name, and the libtool patch was applied while it shouldn't, and the package wasn't autoreconfed while the patch changes some Makefile.am files. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20libcap: fix build failureThomas Petazzoni
On a x86-64 host, libcap tried to install things in $(STAGING_DIR)/lib64 and $(TARGET_DIR)/lib64. Therefore, pass lib= and prefix=, as required by the strange build system used by libcap. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-20Add a BR2_NEEDS_GETTEXT optionThomas Petazzoni
When using an external toolchain that uses the glibc or eglibc C libraries, compiling a separate gettext and libintl is not needed and is even a source of confusion, causing build failures. These build failures are due to the fact that when libintl is compiled, it replaces the C library libintl.h by its own, which does #define gettext libintl_gettext. Then, when packages want to use gettext, autoconf realize that gettext is available in the C library and therefore do not add -lintl to the LDFLAGS, causing the build failure because the program has been compiled to use libintl_gettext but this function is not available. Therefore, we should only use gettext if a uClibc internal toolchain or a uClibc external toolchain. If an external glibc toolchain is used, gettext shouldn't be used. In order to implement that, we introduce the BR2_NEEDS_GETTEXT option, which is hidden to the user, and whose value is computed automatically from the rest of the configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-19mtd-utils: buildsystem is broken with parallel make (regarding libubi)Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-18avahi: fix build on uclibc 0.9.31 without ipv6 supportPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-17Config: terminate version number stringPeter Korsgaard
Reported-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16target/linux: bump 2.6.32 and 2.6.33 versionsH Hartley Sweeten
New versions of the 2.6.32 and 2.6.33 kernel were released today and it is suggested that all users should upgrade. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16busybox: 1.16.1 fixes for dhcpd and sedPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16kernel-headers: bump 2.6.32.x / 2.6.33.x stable versionsPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-16Config.in: past 2010.05-rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11update for 2010.05-rc22010.05_rc2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11CHANGES: add updated packages from Thomas' build-fixes branchPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11Merge branch 'build-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-11libnl: include limits.h to fix build failureThomas Petazzoni
Fixes the ULONG_MAX definition problem: In file included from cache.c:43: ../include/netlink-local.h: In function '__str2type':../include/netlink-local.h:218: error: 'ULONG_MAX' undeclared (first use in this function) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11netplug: disable -Werror to fix build failureThomas Petazzoni
netplug uses nested functions, and gcc generates a warning that is turned into an error: cc1: warnings being treated as errors if_info.c: In function 'ifsm_scriptdone': if_info.c:289: error: generating trampoline in object (requires executable stack) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11less: depends on cursesThomas Petazzoni
The less package already selects BR2_PACKAGE_CURSES, but it fails to depend on it in the makefile. Therefore, there are cases where less gets built before curses, and the build fails: checking for working terminal libraries... Cannot find terminal libraries - configure failed Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11hostapd: use internal crypto libraryThomas Petazzoni
When OpenSSL is not enabled, hostapd relies on an internal library. However, this library must be enabled, otherwise the compilation of hostapd fails with: /home/test/ctng-arm-eglibc/bin/../lib/gcc/arm-unknown-linux-gnueabi/4.3.4/../../../../arm-unknown-linux-gnueabi/bin/ld: cannot find -ltommath Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-11xvkbd: bump versionPaul Jones
And fix dependencies while we're at it. Signed-off-by: Paul Jones <paul@pauljones.id.au> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-10shared-mime-info: missing dependency on host-intltoolThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10ltp-testsuite: mark as brokenThomas Petazzoni
The install step, done with fakeroot, tries to install things in /opt: make[2]: Entering directory `/home/test/buildroot/output.ctng-arm-eglibc-2010-05-07-19-39-56/target/root/ltp-full-20090630/lib' install -D -m 644 libltp.a //opt/ltp/lib/libltp.a install: cannot create directory //opt/ltp: Permission denied make[2]: *** [install] Error 1 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10sed: bump to 4.2.1 to fix build failureThomas Petazzoni
Version 4.1.5 fails to build due to the infamous getline() conflict issue. 4.2.1 doesn't have this problem. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10vlc: mark as brokenThomas Petazzoni
Before 2010.02, VLC didn't build, because it didn't pass the appropriate --disable- options according to the libraries available in Buildroot. Now, 2010.05 is going to be released, and no one bothered to fix VLC. Therefore, let's mark VLC as broken. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10linux-fusion: add dependency on !BR2_KERNEL_noneThomas Petazzoni
linux-fusion is composed of a kernel module, and linux-fusion.mk uses several variable definitions that only exist when Buildroot compiles a kernel. We also add the same dependency to BR2_PACKAGE_DIRECTFB_MULTI, which relies on linux-fusion. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-10libxcb: relax host-python regexpPeter Korsgaard
Some python versions print x.y rather than x.y.z as version number, so make regexp more robust. Reported-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-10package/games/vice: removePeter Korsgaard
Has been marked broken since Nov 2009, so removing as announced. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-09libgcrypt: specify where gpg-error-config isThomas Petazzoni
libgcrypt depends on libgpg-error, but it needs to know where the gpg-error-config utility is. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09hal: add dependency on host-libxml-parser-perlThomas Petazzoni
hal integrates its own version of intltool tools, but they require libxml-parser-perl to be installed on the host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09gawk: remove CC overrideThomas Petazzoni
For some unknown reason, gawk.mk was overriding CC to $(TARGET_CC) at build time, while it had already been set at configure time to "$(TARGET_CC) $(TARGET_CFLAGS)" which is already the good value. Setting it to just $(TARGET_CC) breaks the compilation with external toolchains because we must pass the --sysroot option. But anyway, this was incorrect as we were loosing some CFLAGS set by Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09gnuchess: add a patch to fix getline() conflictThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-09php: make sure either CLI or CGI is selectedThomas Petazzoni
When neither CLI nor CGI is selected, PHP's configure script fails with: checking whether to build CGI binary... configure: error: No SAPIs selected. Of couse, the help text of the options says that at least one of them should be selected, but when doing testing with randpackageconfig, noone is reading these help texts. Therefore, based on the suggestion of Yann E. Morin, modify the Config.in organization so that at least one of the option is selected. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-08Merge branch 'squashfs-fixes' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-08CHANGES: #1531 and #1669 are now resolvedPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-08CHANGES: update with changes from misc-fixes2Peter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-08Merge branch 'misc-fixes2' of git://git.busybox.net/~tpetazzoni/git/buildrootPeter Korsgaard
2010-05-08CHANGES: update with changes from misc-fixesPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>