Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Udev on a live CD system does not appear to populate /dev
From: Arnout Vandecappelle @ 2012-11-18 20:02 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A81599.3000002@petroprogram.com>

On 17/11/12 23:54, Stefan Fr?berg wrote:
[snip]
> But the real problem now is that grub refuses to load. It just shows Loading stage2 .... and hangs there.
>
> If I copy my old grub stuff  (namely, the stage2_eltorito file) from 2012.05 build to inside the boot/grub/ of the
> new buildroot generated livecd (of course, first mounted throught loopback and copied to some other dir for modifying)
> and then build the livecd from that manually, it will work and show grub menu normally.
>
> I did a quick *md5sum* and *ls* and there indeed is a difference with the git-version and 2012.05 version of
> stage2_eltorito file,  git-version of stage2_eltorito being very large (258 KB vs. working 103 KB)
>
  Is this on a x86_64 target? Then a difference is that we removed
-fPIC -DPIC from CFLAGS.  Can you try if that makes a difference?

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Thomas Petazzoni @ 2012-11-18 18:28 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A92459.1070404@petroprogram.com>

Dear Stefan Fr?berg,

On Sun, 18 Nov 2012 20:09:29 +0200, Stefan Fr?berg wrote:

> > ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> > BUSYBOX_DEPENDENCIES += linux-pam
> > BUSYBOX_CFLAGS += -DENABLE_PAM
> > endif

Hum, wait, I didn't see there was a CONFIG_PAM option. So what you want
to do is:

ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
BUSYBOX_DEPENDENCIES += linux-pam
endif

And then, in the Busybox configuration step, do:

ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
	$(call KCONFIG_SET_OPT,CONFIG_PAM,/path/to/busybox/config/file)
endif

or something along those lines.

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] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18 18:09 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121118184849.660aad23@skate>

18.11.2012 19:48, Thomas Petazzoni kirjoitti:
> Dear Stefan Fr?berg,
>
> On Sun, 18 Nov 2012 19:39:16 +0200, Stefan Fr?berg wrote:
>
>> And that CONFIG_LOGIN checking should be done after buybox tarball has
>> been extracted but by then, it is already too late for
>> determining dependencies ....
>> Aarrggggh!
> I think you understood what the problem is :)
>
>>> It is really difficult to have dependencies that are needed only when
>>> some specific Busybox features are enabled.
>> Tell me about it.
>> What IMHO is needed, is some function or way to get these kinds of
>> information.
>> Just before dependencies are determined.
>>
>> There should be KCONFIG_GET_OPT or something similar inside
>> package/pkg-utils.mk
>> (like there already is KCONFIG_ENABLE_OPT, KCONFIG_DISABLE_OPT and
>> KCONFIG_SET_OPT)
>> that would help to determine not only buildroot features but also linux
>> features and any
>> else package that use kconfig like stuff.
>>
>> It would also help in case of  various package conflicts (say if busybox
>> unzip applet and real unzip are mistakenly
>> being installed, then this could be detected beforehand)
> KCONFIG_GET_OPT cannot work: you could only call it in a Makefile rule
> (i.e inside BUILD_CMDS or CONFIGURE_CMDS or a hook or something like
> that). But by the time those are executed, it is way too late to
> declare a dependency. The dependencies (in BUSYBOX_DEPENDENCIES) must
> be detailed when make parses all the .mk files, not when the rules are
> executed.
>
> Unless I'm wrong, linux-pam is only needed if ENABLE_PAM is defined
> when building Busybox, correct? So, CONFIG_LOGIN builds just fine
> without PAM, doesn't it?
Yes that is correct, there is a CONFIG_PAM in BusyBox .config  and althought
I have never actually tried to build it without pam it should in theory
work.

>
> So maybe you should rather do:
>
> ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
> BUSYBOX_DEPENDENCIES += linux-pam
> BUSYBOX_CFLAGS += -DENABLE_PAM
> endif
>
> No?

Hmmm...
I will try that and see.

Thanks!

Regards
Stefan
> Thomas

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Thomas Petazzoni @ 2012-11-18 17:48 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A91D44.5060104@petroprogram.com>

Dear Stefan Fr?berg,

On Sun, 18 Nov 2012 19:39:16 +0200, Stefan Fr?berg wrote:

> And that CONFIG_LOGIN checking should be done after buybox tarball has
> been extracted but by then, it is already too late for
> determining dependencies ....
> Aarrggggh!

I think you understood what the problem is :)

> > It is really difficult to have dependencies that are needed only when
> > some specific Busybox features are enabled.
> Tell me about it.
> What IMHO is needed, is some function or way to get these kinds of
> information.
> Just before dependencies are determined.
> 
> There should be KCONFIG_GET_OPT or something similar inside
> package/pkg-utils.mk
> (like there already is KCONFIG_ENABLE_OPT, KCONFIG_DISABLE_OPT and
> KCONFIG_SET_OPT)
> that would help to determine not only buildroot features but also linux
> features and any
> else package that use kconfig like stuff.
> 
> It would also help in case of  various package conflicts (say if busybox
> unzip applet and real unzip are mistakenly
> being installed, then this could be detected beforehand)

KCONFIG_GET_OPT cannot work: you could only call it in a Makefile rule
(i.e inside BUILD_CMDS or CONFIGURE_CMDS or a hook or something like
that). But by the time those are executed, it is way too late to
declare a dependency. The dependencies (in BUSYBOX_DEPENDENCIES) must
be detailed when make parses all the .mk files, not when the rules are
executed.

Unless I'm wrong, linux-pam is only needed if ENABLE_PAM is defined
when building Busybox, correct? So, CONFIG_LOGIN builds just fine
without PAM, doesn't it?

So maybe you should rather do:

ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
BUSYBOX_DEPENDENCIES += linux-pam
BUSYBOX_CFLAGS += -DENABLE_PAM
endif

No?

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] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18 17:39 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121118174000.0fe79ef6@skate>

Hi Thomas

18.11.2012 18:40, Thomas Petazzoni kirjoitti:
> Dear Stefan Fr?berg,
>
> On Sun, 18 Nov 2012 02:15:13 +0200, Stefan Fr?berg wrote:
>
>> +# linux-pam must be built first if user has custom
>> +# BusyBox .config file and that file has also login
>> +# applet (CONFIG_LOGIN) enabled.
>> +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p" $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
>> +BUSYBOX_DEPENDENCIES += linux-pam
>> +endif
> I don't think this will work nicely. BR2_PACKAGE_BUSYBOX_CONFIG is the
> source for the Busybox configuration, but the user can do "make
> busybox-menuconfig" do adjust it. In this case, the contents of the
> BR2_PACKAGE_BUSYBOX_CONFIG file and the contents of the real
> configuration file used by Busybox are different. If the latter has
> CONFIG_LOGIN, but not the former, then you will not link against
> linux-pam while you should.
I tested this and it seems that no matter what you do in make
busybox-menuconfig the
(enable login or disable login) the settings from
BR2_PACKAGE_BUSYBOX_CONFIG will
always override.
So even if setting CONFIG_LOGIN disabled from make busybox-menuconfig it
will still
build linux-pam first.

I try to get the logic of this thing:

First busybox is extracted and it copies $(BUSYBOX_CONFIG_FILE) (really
a BR2_PACKAGE_BUSYBOX_CONFIG)
over to just extracted output/busybox-xyz/.config and replacing it. That
will be done in BUSYBOX_POST_EXTRACT_HOOKS.

(BR2_PACKAGE_BUSYBOX_CONFIG here being either the default
package/busybox/busybox-xyz.x.config
 or user provided custom .config)

Then buildroot makes some of it's own changes to that
output/busybox/.config inside BUSYBOX_CONFIGURE_CMDS

Then build.

So what  make busybox-menuconfig   actually does is change 
output/busybox-xyz/.config.

So instead of getting CONFIG_LOG setting from BR2_PACKAGE_BUSYBOX_CONFIG
(aka BUSYBOX_CONFIG_FILE inside busybox.mk)
I should get it from output/busybox-xyz/.config (aka
BUSYBOX_BUILD_CONFIG inside busybox.mk).

And that CONFIG_LOGIN checking should be done after buybox tarball has
been extracted but by then, it is already too late for
determining dependencies ....
Aarrggggh!


> It is really difficult to have dependencies that are needed only when
> some specific Busybox features are enabled.
Tell me about it.
What IMHO is needed, is some function or way to get these kinds of
information.
Just before dependencies are determined.

There should be KCONFIG_GET_OPT or something similar inside
package/pkg-utils.mk
(like there already is KCONFIG_ENABLE_OPT, KCONFIG_DISABLE_OPT and
KCONFIG_SET_OPT)
that would help to determine not only buildroot features but also linux
features and any
else package that use kconfig like stuff.

It would also help in case of  various package conflicts (say if busybox
unzip applet and real unzip are mistakenly
being installed, then this could be detected beforehand)

Regards
Stefan


> Best regards,
>
> Thomas

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Thomas Petazzoni @ 2012-11-18 16:40 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1353197713-20796-1-git-send-email-stefan.froberg@petroprogram.com>

Dear Stefan Fr?berg,

On Sun, 18 Nov 2012 02:15:13 +0200, Stefan Fr?berg wrote:

> +# linux-pam must be built first if user has custom
> +# BusyBox .config file and that file has also login
> +# applet (CONFIG_LOGIN) enabled.
> +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p" $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
> +BUSYBOX_DEPENDENCIES += linux-pam
> +endif

I don't think this will work nicely. BR2_PACKAGE_BUSYBOX_CONFIG is the
source for the Busybox configuration, but the user can do "make
busybox-menuconfig" do adjust it. In this case, the contents of the
BR2_PACKAGE_BUSYBOX_CONFIG file and the contents of the real
configuration file used by Busybox are different. If the latter has
CONFIG_LOGIN, but not the former, then you will not link against
linux-pam while you should.

It is really difficult to have dependencies that are needed only when
some specific Busybox features are enabled.

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] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18 14:01 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A8D08E.7060806@petroprogram.com>

18.11.2012 14:11, Stefan Fr?berg kirjoitti:
> 18.11.2012 13:51, Stefan Fr?berg kirjoitti:
>> Hi Danomi
>> 18.11.2012 4:14, Danomi Manchego kirjoitti:
>>>
>>>
>>>
>>> On Sat, Nov 17, 2012 at 7:15 PM, Stefan Fr?berg
>>> <stefan.froberg@petroprogram.com
>>> <mailto:stefan.froberg@petroprogram.com>> wrote:
>>>
>>>     +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p"
>>>     $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
>>>     +BUSYBOX_DEPENDENCIES += linux-pam
>>>     +endif
>>>
>>>  
>>> Why bother with the sed?  Could you not do "ifeq
>>> ($(BR2_PACKAGE_LINUX_PAM),y)"?
>>>
>> No because I don't have a need for full linux-pam login binary.
>>
>> I only need linux-pam because I have login applet enabled inside my
>> custom BusyBox .config file
>> and that needs Linux Pam headers.
>>
> Or to but it in another way:
>
> BR2_PACKAGE_LINUX_PAM is not enough. BusyBox .config must also have
> CONFIG_LOGIN enabled.
> And that needs to be determined before the whole .mk is parsed, at a
> runtime, so that proper
> dependency can be added.
>
> In normal default buildroot provided BusyBox .config there is no
> CONFIG_LOGIN enabled in.
> So for that case this will change nothing.
>
> It seems that the stuff inside .mk files are really static (and so
> called functions are not functions at all
> but just variables containing text).
>
> So I had to go outside of .mk file for a moment and determine if
> CONFIG_LOGIN was enabled outside of extracted
> busybox  dir and then add the needed dependency.
>
> I know this is ugly but Im open to suggestions.
>
> Regards
> Stefan
>
Actually, maybe that should be changed to host-linux-pam ...
Because AFAIK, BusyBox login applet needs only headers and nothing more ???

>
>
>
>>
>> Regards
>> Stefan
>>
>>> Just a thought ...
>>> Danomi -
>>>
>>
>>
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121118/1381142e/attachment.html>

^ permalink raw reply

* [Buildroot] [PATCH v3] libusb: disable on avr32
From: Baruch Siach @ 2012-11-18 13:43 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CAHt8ZCMA8fQOQMu9QerQfA1Vye+WKaCo5MmQBEdDhdYjkBX--Q@mail.gmail.com>

Hi Simon,

On Sun, Nov 18, 2012 at 01:23:49PM +0000, Simon Dawson wrote:
> On 18 November 2012 13:12, Baruch Siach <baruch@tkos.co.il> wrote:
> >> >  comment "ccid needs a toolchain with thread support"
> >> > -   depends on !BR2_TOOLCHAIN_HAS_THREADS
> >> > +   depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
> >>
> >> Showing this comment when BR2_avr32 is enabled is not very helpful, IMHO,
> >> especially when the toolchain does have threads support.
> >
> > Replying to myself: was the intension here to say
> >
> >     depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_avr32
> >
> > ? Otherwise it doesn't make much sense either. Or am I missing something here?
> 
> The ccid package is unavailable for avr32, and requires thread support
> in the toolchain. However, it is my understanding that current
> "policy" in Buildroot is not to display comments for packages that are
> not available for the currently-selected target architecture. That is
> why the thread-related comment is only visible if the target
> architecture is not avr32.

I see. Thanks for the explanation.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply

* [Buildroot] gcc on target system issue
From: Arnout Vandecappelle @ 2012-11-18 13:27 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CABtOAfyM4gF-AUi0cNSusC542dxcRps=TM20pJe3RdXWU69AuA@mail.gmail.com>

On 16/11/12 22:59, Alexander Khryukin wrote:
>
>
> 2012/11/16 Thomas Petazzoni <thomas.petazzoni at free-electrons.com <mailto:thomas.petazzoni@free-electrons.com>>
>
>>     Dear Alexander Khryukin,
>>
>>     On Fri, 16 Nov 2012 01:20:32 +0300, Alexander Khryukin wrote:
>>
>>     >  I'm trying to build gcc on target but it fails with
>>
>>     Why are you trying to build gcc on target? What is the purpose of
>>     getting gcc on the target when building a small embedded Linux system
>>     with Buildroot?
>>
>>     Notice that as per the decisions taken during the last Buildroot
>>     Developers Meeting, the possibility of building gcc for the target in
>>     Buildroot should soon be deprecated. So there is not a strong interest
>>     to fix problems reported by users.
>
>
> Ah, it bad solution to deprecate gcc on target.

  Well, the problem is that it is more or less broken (as you can testify), and
that nobody is motivated to invest energy into making it work.  If you find the
time and resources to fix and maintain gcc on target, and you have a relevant
use case, then there is a possibility to undeprecate it again.


  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply

* [Buildroot] [PATCH v3] libusb: disable on avr32
From: Simon Dawson @ 2012-11-18 13:23 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121118131245.GF25380@sapphire.tkos.co.il>

Hi Baruch.

On 18 November 2012 13:12, Baruch Siach <baruch@tkos.co.il> wrote:
>> >  comment "ccid needs a toolchain with thread support"
>> > -   depends on !BR2_TOOLCHAIN_HAS_THREADS
>> > +   depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
>>
>> Showing this comment when BR2_avr32 is enabled is not very helpful, IMHO,
>> especially when the toolchain does have threads support.
>
> Replying to myself: was the intension here to say
>
>     depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_avr32
>
> ? Otherwise it doesn't make much sense either. Or am I missing something here?

The ccid package is unavailable for avr32, and requires thread support
in the toolchain. However, it is my understanding that current
"policy" in Buildroot is not to display comments for packages that are
not available for the currently-selected target architecture. That is
why the thread-related comment is only visible if the target
architecture is not avr32.

Simon.

^ permalink raw reply

* [Buildroot] [PATCH v3] libusb: disable on avr32
From: Baruch Siach @ 2012-11-18 13:12 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121118130836.GE25380@sapphire.tkos.co.il>

Hi Simon,

On Sun, Nov 18, 2012 at 03:08:36PM +0200, Baruch Siach wrote:
> On Sun, Nov 18, 2012 at 12:59:38PM +0000, spdawson at gmail.com wrote:
> > From: Simon Dawson <spdawson@gmail.com>
> > 
> > For target architecture avr32, the gpsd package fails to build when
> > libusb is selected. The following autobuild failure illustrates the problem.
> > 
> >   http://autobuild.buildroot.net/results/aa3d4763a0e90c995bc8431cf345730ee22e65a1/build-end.log
> > 
> > The issue is that libusb requires timerfd_settime and timerfd_create, but
> > the underlying syscalls are not implemented on avr32.
> > 
> > This patch disables the libusb package for the avr32 target architecture.
> > 
> > This will also fix autobuild failures such as the following
> > 
> >   http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build-end.log
> > 
> > In this case, the pcsc-lite package fails to build on the avr32 architecture,
> > due to the dependency on libusb.
> > 
> > Signed-off-by: Simon Dawson <spdawson@gmail.com>
> > ---
> 
> [...]
> 
> >  	  http://pcsclite.alioth.debian.org/ccid.html
> >  
> >  comment "ccid needs a toolchain with thread support"
> > -	depends on !BR2_TOOLCHAIN_HAS_THREADS
> > +	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
> 
> Showing this comment when BR2_avr32 is enabled is not very helpful, IMHO,
> especially when the toolchain does have threads support.

Replying to myself: was the intension here to say

    depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_avr32

? Otherwise it doesn't make much sense either. Or am I missing something here?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply

* [Buildroot] [PATCH v3] libusb: disable on avr32
From: Baruch Siach @ 2012-11-18 13:08 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1353243578-6980-1-git-send-email-spdawson@gmail.com>

Hi Simon,

On Sun, Nov 18, 2012 at 12:59:38PM +0000, spdawson at gmail.com wrote:
> From: Simon Dawson <spdawson@gmail.com>
> 
> For target architecture avr32, the gpsd package fails to build when
> libusb is selected. The following autobuild failure illustrates the problem.
> 
>   http://autobuild.buildroot.net/results/aa3d4763a0e90c995bc8431cf345730ee22e65a1/build-end.log
> 
> The issue is that libusb requires timerfd_settime and timerfd_create, but
> the underlying syscalls are not implemented on avr32.
> 
> This patch disables the libusb package for the avr32 target architecture.
> 
> This will also fix autobuild failures such as the following
> 
>   http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build-end.log
> 
> In this case, the pcsc-lite package fails to build on the avr32 architecture,
> due to the dependency on libusb.
> 
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---

[...]

>  	  http://pcsclite.alioth.debian.org/ccid.html
>  
>  comment "ccid needs a toolchain with thread support"
> -	depends on !BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32

Showing this comment when BR2_avr32 is enabled is not very helpful, IMHO,
especially when the toolchain does have threads support.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply

* [Buildroot] [PATCH v3] libusb: disable on avr32
From: spdawson at gmail.com @ 2012-11-18 12:59 UTC (permalink / raw)
  To: buildroot

From: Simon Dawson <spdawson@gmail.com>

For target architecture avr32, the gpsd package fails to build when
libusb is selected. The following autobuild failure illustrates the problem.

  http://autobuild.buildroot.net/results/aa3d4763a0e90c995bc8431cf345730ee22e65a1/build-end.log

The issue is that libusb requires timerfd_settime and timerfd_create, but
the underlying syscalls are not implemented on avr32.

This patch disables the libusb package for the avr32 target architecture.

This will also fix autobuild failures such as the following

  http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build-end.log

In this case, the pcsc-lite package fails to build on the avr32 architecture,
due to the dependency on libusb.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 v3: Improved dependency information for bluez support in the libedbus package
 v2: Handle reverse dependencies of libusb, as suggested by Peter Korsgaard

 package/ccid/Config.in                |    4 ++--
 package/efl/libedbus/Config.in        |    1 +
 package/libfreefare/Config.in         |    4 ++--
 package/libftdi/Config.in             |    4 ++--
 package/libhid/Config.in              |    3 +--
 package/libiqrf/Config.in             |    4 ++--
 package/libnfc-llcp/Config.in         |    5 ++++-
 package/libnfc/Config.in              |    4 ++--
 package/libusb/Config.in              |    3 ++-
 package/openocd/Config.in             |    4 ++--
 package/pcsc-lite/Config.in           |    1 +
 package/python-nfc/Config.in          |    4 ++++
 package/sconeserver/Config.in         |    2 ++
 package/usb_modeswitch/Config.in      |    4 ++--
 package/usb_modeswitch_data/Config.in |    4 ++++
 package/usbutils/Config.in            |    4 ++--
 16 files changed, 35 insertions(+), 20 deletions(-)

diff --git a/package/ccid/Config.in b/package/ccid/Config.in
index c9b77d1..7e4bd70 100644
--- a/package/ccid/Config.in
+++ b/package/ccid/Config.in
@@ -2,11 +2,11 @@ config BR2_PACKAGE_CCID
 	bool "ccid"
 	select BR2_PACKAGE_PCSC_LITE
 	select BR2_PACKAGE_LIBUSB
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	help
 	  PC/SC driver for USB CCID smart card readers
 
 	  http://pcsclite.alioth.debian.org/ccid.html
 
 comment "ccid needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/efl/libedbus/Config.in b/package/efl/libedbus/Config.in
index 985939e..09b2fc3 100644
--- a/package/efl/libedbus/Config.in
+++ b/package/efl/libedbus/Config.in
@@ -15,6 +15,7 @@ if BR2_PACKAGE_LIBEDBUS
 
 config BR2_PACKAGE_LIBEDBUS_BLUEZ
 	bool "bluez support"
+	depends on !BR2_avr32 && BR2_USE_WCHAR # bluez-utils
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
 	  Bluetooth support.
diff --git a/package/libfreefare/Config.in b/package/libfreefare/Config.in
index 6877000..930b0e3 100644
--- a/package/libfreefare/Config.in
+++ b/package/libfreefare/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBFREEFARE
 	bool "libfreefare"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_LIBNFC
 	help
@@ -9,4 +9,4 @@ config BR2_PACKAGE_LIBFREEFARE
 	  http://code.google.com/p/nfc-tools/wiki/libfreefare
 
 comment "libfreefare needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/libftdi/Config.in b/package/libftdi/Config.in
index 48e9ceb..4a12af0 100644
--- a/package/libftdi/Config.in
+++ b/package/libftdi/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBFTDI
 	bool "libftdi"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
@@ -19,4 +19,4 @@ config BR2_PACKAGE_LIBTFDI_CPP
 endif # BR2_PACKAGE_LIBFTDI
 
 comment "libftdi needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/libhid/Config.in b/package/libhid/Config.in
index bd1cfcb..f0bfc52 100644
--- a/package/libhid/Config.in
+++ b/package/libhid/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_LIBHID
 	bool "libhid"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
-	depends on !BR2_avr32 # timerfd not in uClibc-0.9.31
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
diff --git a/package/libiqrf/Config.in b/package/libiqrf/Config.in
index 7222536..590913c 100644
--- a/package/libiqrf/Config.in
+++ b/package/libiqrf/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBIQRF
 	bool "libiqrf"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	help
 	  This library implement specific protocol
@@ -11,4 +11,4 @@ config BR2_PACKAGE_LIBIQRF
 	  https://github.com/nandra/libiqrf
 
 comment "libiqrf needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/libnfc-llcp/Config.in b/package/libnfc-llcp/Config.in
index f557926..efa2e31 100644
--- a/package/libnfc-llcp/Config.in
+++ b/package/libnfc-llcp/Config.in
@@ -1,9 +1,12 @@
 config BR2_PACKAGE_LIBNFC_LLCP
 	bool "libnfc-llcp"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBNFC
 	help
 	  Library extending libnfc with support for Logical Link Control
 	  Protocol.
 
 	  http://code.google.com/p/nfc-tools/source/browse/trunk/libnfc-llcp/
+
+comment "libnfc-llcp needs a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/libnfc/Config.in b/package/libnfc/Config.in
index 159578f..8249294 100644
--- a/package/libnfc/Config.in
+++ b/package/libnfc/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBNFC
 	bool "libnfc"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
@@ -14,4 +14,4 @@ config BR2_PACKAGE_LIBNFC_EXAMPLES
 	select BR2_PACKAGE_READLINE
 
 comment "libnfc needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/libusb/Config.in b/package/libusb/Config.in
index 2eed3fa..cbaeac6 100644
--- a/package/libusb/Config.in
+++ b/package/libusb/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBUSB
 	bool "libusb"
+	depends on !BR2_avr32 # timerfd not in uClibc-0.9.31
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Userspace library for accessing USB devices
@@ -7,4 +8,4 @@ config BR2_PACKAGE_LIBUSB
 	  http://libusb.sourceforge.net/
 
 comment "libusb needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/openocd/Config.in b/package/openocd/Config.in
index 4ea66a5..6ef50a7 100644
--- a/package/openocd/Config.in
+++ b/package/openocd/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_OPENOCD
 	bool "openocd"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
@@ -30,4 +30,4 @@ config BR2_PACKAGE_OPENOCD_VSLLINK
 endif # BR2_PACKAGE_OPENOCD
 
 comment "openocd needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/pcsc-lite/Config.in b/package/pcsc-lite/Config.in
index 621cc66..26aa33c 100644
--- a/package/pcsc-lite/Config.in
+++ b/package/pcsc-lite/Config.in
@@ -11,6 +11,7 @@ if BR2_PACKAGE_PCSC_LITE
 config BR2_PACKAGE_PCSC_LITE_FORCE_LIBUSB
 	bool "use libusb"
 	depends on !BR2_PACKAGE_UDEV
+	depends on !BR2_avr32 # libusb
 	select BR2_PACKAGE_LIBUSB
 	help
 	  Select Y if you want to support usb smart card readers.
diff --git a/package/python-nfc/Config.in b/package/python-nfc/Config.in
index c928ba1..9b5555c 100644
--- a/package/python-nfc/Config.in
+++ b/package/python-nfc/Config.in
@@ -1,9 +1,13 @@
 config BR2_PACKAGE_PYTHON_NFC
 	bool "python-nfc"
 	depends on BR2_PACKAGE_PYTHON
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
 	  Python module for near field communication.
 
 	  https://launchpad.net/nfcpy
+
+comment "python-nfc needs a toolchain with thread support"
+	depends on BR2_PACKAGE_PYTHON && !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/sconeserver/Config.in b/package/sconeserver/Config.in
index a7e5c75..023219b 100644
--- a/package/sconeserver/Config.in
+++ b/package/sconeserver/Config.in
@@ -38,6 +38,8 @@ config BR2_PACKAGE_SCONESERVER_MYSQL
 
 config BR2_PACKAGE_SCONESERVER_BLUETOOTH
 	bool "bluetooth"
+	depends on !BR2_avr32 && BR2_USE_WCHAR && \
+		BR2_TOOLCHAIN_HAS_THREADS # bluez-utils
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
 	  Bluetooth module for Sconeserver
diff --git a/package/usb_modeswitch/Config.in b/package/usb_modeswitch/Config.in
index a27b3ee..83e7fd8 100644
--- a/package/usb_modeswitch/Config.in
+++ b/package/usb_modeswitch/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_USB_MODESWITCH
 	bool "usb_modeswitch"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	select BR2_PACKAGE_LIBUSB_COMPAT
 	help
@@ -10,4 +10,4 @@ config BR2_PACKAGE_USB_MODESWITCH
 	  http://www.draisberghof.de/usb_modeswitch/
 
 comment "usb_modeswitch needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/usb_modeswitch_data/Config.in b/package/usb_modeswitch_data/Config.in
index 8698bb6..a3aa19f 100644
--- a/package/usb_modeswitch_data/Config.in
+++ b/package/usb_modeswitch_data/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_USB_MODESWITCH_DATA
 	bool "usb_modeswitch_data"
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_USB_MODESWITCH
 	# tcl is a runtime dependency
 	select BR2_PACKAGE_TCL
@@ -10,3 +11,6 @@ config BR2_PACKAGE_USB_MODESWITCH_DATA
 	  function automatically
 
 	  http://www.draisberghof.de/usb_modeswitch/
+
+comment "usb_modeswitch_data needs a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
diff --git a/package/usbutils/Config.in b/package/usbutils/Config.in
index fd9926c..a35d4db 100644
--- a/package/usbutils/Config.in
+++ b/package/usbutils/Config.in
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_USBUTILS
 	bool "usbutils"
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+	depends on !BR2_avr32 && BR2_TOOLCHAIN_HAS_THREADS # libusb
 	select BR2_PACKAGE_LIBUSB
 	help
 	  USB enumeration utilities
@@ -18,4 +18,4 @@ config BR2_PACKAGE_USBUTILS_ZLIB
 	  to decompress the file every time it's run.
 
 comment "usbutils needs a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && !BR2_avr32
-- 
1.7.10.4

^ permalink raw reply related

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18 12:11 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A8CBA4.903@petroprogram.com>

18.11.2012 13:51, Stefan Fr?berg kirjoitti:
> Hi Danomi
> 18.11.2012 4:14, Danomi Manchego kirjoitti:
>>
>>
>>
>> On Sat, Nov 17, 2012 at 7:15 PM, Stefan Fr?berg
>> <stefan.froberg@petroprogram.com
>> <mailto:stefan.froberg@petroprogram.com>> wrote:
>>
>>     +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p"
>>     $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
>>     +BUSYBOX_DEPENDENCIES += linux-pam
>>     +endif
>>
>>  
>> Why bother with the sed?  Could you not do "ifeq
>> ($(BR2_PACKAGE_LINUX_PAM),y)"?
>>
> No because I don't have a need for full linux-pam login binary.
>
> I only need linux-pam because I have login applet enabled inside my
> custom BusyBox .config file
> and that needs Linux Pam headers.
>
Or to but it in another way:

BR2_PACKAGE_LINUX_PAM is not enough. BusyBox .config must also have
CONFIG_LOGIN enabled.
And that needs to be determined before the whole .mk is parsed, at a
runtime, so that proper
dependency can be added.

In normal default buildroot provided BusyBox .config there is no
CONFIG_LOGIN enabled in.
So for that case this will change nothing.

It seems that the stuff inside .mk files are really static (and so
called functions are not functions at all
but just variables containing text).

So I had to go outside of .mk file for a moment and determine if
CONFIG_LOGIN was enabled outside of extracted
busybox  dir and then add the needed dependency.

I know this is ugly but Im open to suggestions.

Regards
Stefan




>
> Regards
> Stefan
>
>> Just a thought ...
>> Danomi -
>>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18 11:51 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CANxTyt6cjey_R_w+ZupOqUF_oaN09eF5jUDt=TWu6fUSNT8SWA@mail.gmail.com>

Hi Danomi
18.11.2012 4:14, Danomi Manchego kirjoitti:
>
>
>
> On Sat, Nov 17, 2012 at 7:15 PM, Stefan Fr?berg
> <stefan.froberg@petroprogram.com
> <mailto:stefan.froberg@petroprogram.com>> wrote:
>
>     +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p"
>     $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
>     +BUSYBOX_DEPENDENCIES += linux-pam
>     +endif
>
>  
> Why bother with the sed?  Could you not do "ifeq
> ($(BR2_PACKAGE_LINUX_PAM),y)"?
>
No because I don't have a need for full linux-pam login binary.

I only need linux-pam because I have login applet enabled inside my
custom BusyBox .config file
and that needs Linux Pam headers.


Regards
Stefan

> Just a thought ...
> Danomi -
>

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

^ permalink raw reply

* [Buildroot] [PATCH] boost: bump to version 1.52.0
From: Victor Hiairrassary @ 2012-11-18  9:57 UTC (permalink / raw)
  To: buildroot

Can someone review the patch to bump boost version before releasing next 
buildroot RC?

The patch is available in buildroot's patchwork at 
http://patchwork.ozlabs.org/patch/197508/

To bump boost, I needed to add dependance on BR2_LARGEFILE and exclude 
the new context lib, because this last fails during compilation : an 
include is missing and uintptr_t is not found. I will open a ticket on 
boost's bug tracker.

^ permalink raw reply

* [Buildroot] [autobuild.buildroot.net] Build results for 2012-11-17
From: Thomas Petazzoni @ 2012-11-18  7:33 UTC (permalink / raw)
  To: buildroot


Hello,

On 2012-11-17, 93 random build tests have been done and
submitted on autobuild.buildroot.net.
 66 builds have been successful
 27 builds have failed

Below the results of the failed builds. Successful builds are omitted.

Build c8ec30770a2a77373c4567778d2713d7dd223d2b
==============================================

Status         : NOK
Failure reason : lua-msgpack-native-41cce91ab6
Architecture   : i686
Submitted by   : Peter Korsgaard (gcc110)
Submitted at   : 2012-11-17 01:07:07
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/c8ec30770a2a77373c4567778d2713d7dd223d2b/build-end.log
Complete log   : http://autobuild.buildroot.net/results/c8ec30770a2a77373c4567778d2713d7dd223d2b/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/c8ec30770a2a77373c4567778d2713d7dd223d2b/config
Defconfig      : http://autobuild.buildroot.net/results/c8ec30770a2a77373c4567778d2713d7dd223d2b/defconfig

Build e8a71a731dafb2eaee0454b5b1a51cd6de4ecdc6
==============================================

Status         : NOK
Failure reason : sconeserver-180
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 01:34:26
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/e8a71a731dafb2eaee0454b5b1a51cd6de4ecdc6/build-end.log
Complete log   : http://autobuild.buildroot.net/results/e8a71a731dafb2eaee0454b5b1a51cd6de4ecdc6/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/e8a71a731dafb2eaee0454b5b1a51cd6de4ecdc6/config
Defconfig      : http://autobuild.buildroot.net/results/e8a71a731dafb2eaee0454b5b1a51cd6de4ecdc6/defconfig

Build f7b556dcc3acc5fea426d82e69f770c20be8daa6
==============================================

Status         : NOK
Failure reason : webkit-1.2.7
Architecture   : powerpc
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 04:06:47
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/f7b556dcc3acc5fea426d82e69f770c20be8daa6/build-end.log
Complete log   : http://autobuild.buildroot.net/results/f7b556dcc3acc5fea426d82e69f770c20be8daa6/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/f7b556dcc3acc5fea426d82e69f770c20be8daa6/config
Defconfig      : http://autobuild.buildroot.net/results/f7b556dcc3acc5fea426d82e69f770c20be8daa6/defconfig

Build e411fe71cad33de4d6090bc15516ef93ada00b17
==============================================

Status         : NOK
Failure reason : gettext-0.16.1
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 04:13:20
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/e411fe71cad33de4d6090bc15516ef93ada00b17/build-end.log
Complete log   : http://autobuild.buildroot.net/results/e411fe71cad33de4d6090bc15516ef93ada00b17/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/e411fe71cad33de4d6090bc15516ef93ada00b17/config
Defconfig      : http://autobuild.buildroot.net/results/e411fe71cad33de4d6090bc15516ef93ada00b17/defconfig

Build 90e7d7a9a3cd6632ea64de7f489b468bb4d6b73d
==============================================

Status         : NOK
Failure reason : libffi-3.0.11
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 04:21:08
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/90e7d7a9a3cd6632ea64de7f489b468bb4d6b73d/build-end.log
Complete log   : http://autobuild.buildroot.net/results/90e7d7a9a3cd6632ea64de7f489b468bb4d6b73d/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/90e7d7a9a3cd6632ea64de7f489b468bb4d6b73d/config
Defconfig      : http://autobuild.buildroot.net/results/90e7d7a9a3cd6632ea64de7f489b468bb4d6b73d/defconfig

Build 1a17810c2183e389244143dea55b0241c62c0bee
==============================================

Status         : NOK
Failure reason : pcsc-lite-1.8.6
Architecture   : avr32
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 04:21:37
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build-end.log
Complete log   : http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/config
Defconfig      : http://autobuild.buildroot.net/results/1a17810c2183e389244143dea55b0241c62c0bee/defconfig

Build 7ee57d01917ea72d1811469e482513dda2ceb1ea
==============================================

Status         : NOK
Failure reason : libffi-3.0.11
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 06:24:24
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/7ee57d01917ea72d1811469e482513dda2ceb1ea/build-end.log
Complete log   : http://autobuild.buildroot.net/results/7ee57d01917ea72d1811469e482513dda2ceb1ea/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/7ee57d01917ea72d1811469e482513dda2ceb1ea/config
Defconfig      : http://autobuild.buildroot.net/results/7ee57d01917ea72d1811469e482513dda2ceb1ea/defconfig

Build 1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348
==============================================

Status         : NOK
Failure reason : python-2.7.2
Architecture   : bfin
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 06:27:32
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/build-end.log
Complete log   : http://autobuild.buildroot.net/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/config
Defconfig      : http://autobuild.buildroot.net/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/defconfig

Build 0cd0566efd255d9862c52ccfefaed58712424632
==============================================

Status         : NOK
Failure reason : icu-4.8.1.1
Architecture   : sh2a
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 06:49:21
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/0cd0566efd255d9862c52ccfefaed58712424632/build-end.log
Complete log   : http://autobuild.buildroot.net/results/0cd0566efd255d9862c52ccfefaed58712424632/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/0cd0566efd255d9862c52ccfefaed58712424632/config
Defconfig      : http://autobuild.buildroot.net/results/0cd0566efd255d9862c52ccfefaed58712424632/defconfig

Build c7fd3f836f10ff8c56e3e78b86ed3d0b8857a1e1
==============================================

Status         : NOK
Failure reason : lua-msgpack-native-41cce91ab6
Architecture   : i686
Submitted by   : Peter Korsgaard (gcc110)
Submitted at   : 2012-11-17 07:03:58
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/c7fd3f836f10ff8c56e3e78b86ed3d0b8857a1e1/build-end.log
Complete log   : http://autobuild.buildroot.net/results/c7fd3f836f10ff8c56e3e78b86ed3d0b8857a1e1/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/c7fd3f836f10ff8c56e3e78b86ed3d0b8857a1e1/config
Defconfig      : http://autobuild.buildroot.net/results/c7fd3f836f10ff8c56e3e78b86ed3d0b8857a1e1/defconfig

Build 48b4fff9879a74f482127c9b9be3722eb67417f2
==============================================

Status         : NOK
Failure reason : mtd-1.5.0
Architecture   : mips
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 07:24:17
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/48b4fff9879a74f482127c9b9be3722eb67417f2/build-end.log
Complete log   : http://autobuild.buildroot.net/results/48b4fff9879a74f482127c9b9be3722eb67417f2/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/48b4fff9879a74f482127c9b9be3722eb67417f2/config
Defconfig      : http://autobuild.buildroot.net/results/48b4fff9879a74f482127c9b9be3722eb67417f2/defconfig

Build 0589e370c0e7ac717b2ac3e76d4a5735f9e34db7
==============================================

Status         : NOK
Failure reason : gdbhost-7.4.1
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 08:34:29
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=4b8215714da48367fa67bdbc98fa12fd9371e6ba
End of log     : http://autobuild.buildroot.net/results/0589e370c0e7ac717b2ac3e76d4a5735f9e34db7/build-end.log
Complete log   : http://autobuild.buildroot.net/results/0589e370c0e7ac717b2ac3e76d4a5735f9e34db7/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/0589e370c0e7ac717b2ac3e76d4a5735f9e34db7/config
Defconfig      : http://autobuild.buildroot.net/results/0589e370c0e7ac717b2ac3e76d4a5735f9e34db7/defconfig

Build 45a5e1b9e2c66757478b4727ec19a38cf7ab32f5
==============================================

Status         : NOK
Failure reason : lcdproc-0.5.6
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 10:54:52
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/45a5e1b9e2c66757478b4727ec19a38cf7ab32f5/build-end.log
Complete log   : http://autobuild.buildroot.net/results/45a5e1b9e2c66757478b4727ec19a38cf7ab32f5/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/45a5e1b9e2c66757478b4727ec19a38cf7ab32f5/config
Defconfig      : http://autobuild.buildroot.net/results/45a5e1b9e2c66757478b4727ec19a38cf7ab32f5/defconfig

Build 13eefdf2121fa1aea7a844bbed8b6cbce3b45996
==============================================

Status         : NOK
Failure reason : php-5.3.18
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 14:07:49
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/build-end.log
Complete log   : http://autobuild.buildroot.net/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/config
Defconfig      : http://autobuild.buildroot.net/results/13eefdf2121fa1aea7a844bbed8b6cbce3b45996/defconfig

Build 588f9ce3d2cfb75d4f518f78d6e38eaa07db1bcb
==============================================

Status         : NOK
Failure reason : gdb-7.4.1-target
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 15:58:38
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/588f9ce3d2cfb75d4f518f78d6e38eaa07db1bcb/build-end.log
Complete log   : http://autobuild.buildroot.net/results/588f9ce3d2cfb75d4f518f78d6e38eaa07db1bcb/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/588f9ce3d2cfb75d4f518f78d6e38eaa07db1bcb/config
Defconfig      : http://autobuild.buildroot.net/results/588f9ce3d2cfb75d4f518f78d6e38eaa07db1bcb/defconfig

Build 732cc07faeca2a9098dc5106e8f654eb1323451a
==============================================

Status         : NOK
Failure reason : gsl-1.15
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 16:03:48
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/732cc07faeca2a9098dc5106e8f654eb1323451a/build-end.log
Complete log   : http://autobuild.buildroot.net/results/732cc07faeca2a9098dc5106e8f654eb1323451a/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/732cc07faeca2a9098dc5106e8f654eb1323451a/config
Defconfig      : http://autobuild.buildroot.net/results/732cc07faeca2a9098dc5106e8f654eb1323451a/defconfig

Build 83aa2aed31105d41c32c8a80ac01ecc6712cc685
==============================================

Status         : NOK
Failure reason : libnss-3.12.9
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 16:54:09
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/83aa2aed31105d41c32c8a80ac01ecc6712cc685/build-end.log
Complete log   : http://autobuild.buildroot.net/results/83aa2aed31105d41c32c8a80ac01ecc6712cc685/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/83aa2aed31105d41c32c8a80ac01ecc6712cc685/config
Defconfig      : http://autobuild.buildroot.net/results/83aa2aed31105d41c32c8a80ac01ecc6712cc685/defconfig

Build f1f3421562455d36675e646a5bc522b29fe40794
==============================================

Status         : NOK
Failure reason : make: *** [/home/test/test/output2/target/usr/bin/ldd] Error 2
Architecture   : powerpc
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 17:03:26
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/f1f3421562455d36675e646a5bc522b29fe40794/build-end.log
Complete log   : http://autobuild.buildroot.net/results/f1f3421562455d36675e646a5bc522b29fe40794/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/f1f3421562455d36675e646a5bc522b29fe40794/config
Defconfig      : http://autobuild.buildroot.net/results/f1f3421562455d36675e646a5bc522b29fe40794/defconfig

Build 413770f69948e8b527219a8fa64fbf2af752bcea
==============================================

Status         : NOK
Failure reason : xapp_xmh-1.0.2
Architecture   : powerpc
Submitted by   : Peter Korsgaard (gcc14)
Submitted at   : 2012-11-17 17:27:17
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=ee3a96137b6cbb8f970c540c61f75300a44ea803
End of log     : http://autobuild.buildroot.net/results/413770f69948e8b527219a8fa64fbf2af752bcea/build-end.log
Complete log   : http://autobuild.buildroot.net/results/413770f69948e8b527219a8fa64fbf2af752bcea/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/413770f69948e8b527219a8fa64fbf2af752bcea/config
Defconfig      : http://autobuild.buildroot.net/results/413770f69948e8b527219a8fa64fbf2af752bcea/defconfig

Build 394cd9484688608896c604925ae4526908483905
==============================================

Status         : NOK
Failure reason : gdb-7.4.1-target
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 18:18:19
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/394cd9484688608896c604925ae4526908483905/build-end.log
Complete log   : http://autobuild.buildroot.net/results/394cd9484688608896c604925ae4526908483905/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/394cd9484688608896c604925ae4526908483905/config
Defconfig      : http://autobuild.buildroot.net/results/394cd9484688608896c604925ae4526908483905/defconfig

Build 34f6843137efda20626af72714c110280ec577d7
==============================================

Status         : NOK
Failure reason : dbus-1.4.24
Architecture   : bfin
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 18:41:18
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/34f6843137efda20626af72714c110280ec577d7/build-end.log
Complete log   : http://autobuild.buildroot.net/results/34f6843137efda20626af72714c110280ec577d7/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/34f6843137efda20626af72714c110280ec577d7/config
Defconfig      : http://autobuild.buildroot.net/results/34f6843137efda20626af72714c110280ec577d7/defconfig

Build 58a3d4113172813183d43fddc1248b35bd0c4994
==============================================

Status         : NOK
Failure reason : attr-2.4.46
Architecture   : bfin
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 18:41:37
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/58a3d4113172813183d43fddc1248b35bd0c4994/build-end.log
Complete log   : http://autobuild.buildroot.net/results/58a3d4113172813183d43fddc1248b35bd0c4994/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/58a3d4113172813183d43fddc1248b35bd0c4994/config
Defconfig      : http://autobuild.buildroot.net/results/58a3d4113172813183d43fddc1248b35bd0c4994/defconfig

Build a8fbe5c7bb07471a58e65743abb9fc252894e7a6
==============================================

Status         : NOK
Failure reason : gdbhost-7.4.1
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 20:14:56
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/a8fbe5c7bb07471a58e65743abb9fc252894e7a6/build-end.log
Complete log   : http://autobuild.buildroot.net/results/a8fbe5c7bb07471a58e65743abb9fc252894e7a6/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/a8fbe5c7bb07471a58e65743abb9fc252894e7a6/config
Defconfig      : http://autobuild.buildroot.net/results/a8fbe5c7bb07471a58e65743abb9fc252894e7a6/defconfig

Build a72a03e16b882b04617b787c8b7f46580c26f59e
==============================================

Status         : NOK
Failure reason : webkit-1.2.7
Architecture   : arm
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 20:23:04
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/a72a03e16b882b04617b787c8b7f46580c26f59e/build-end.log
Complete log   : http://autobuild.buildroot.net/results/a72a03e16b882b04617b787c8b7f46580c26f59e/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/a72a03e16b882b04617b787c8b7f46580c26f59e/config
Defconfig      : http://autobuild.buildroot.net/results/a72a03e16b882b04617b787c8b7f46580c26f59e/defconfig

Build 8a44ab736c5ba557b90c09bff444b5cfaaa92b3d
==============================================

Status         : NOK
Failure reason : libhid-0.2.16
Architecture   : powerpc
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 20:50:39
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/8a44ab736c5ba557b90c09bff444b5cfaaa92b3d/build-end.log
Complete log   : http://autobuild.buildroot.net/results/8a44ab736c5ba557b90c09bff444b5cfaaa92b3d/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/8a44ab736c5ba557b90c09bff444b5cfaaa92b3d/config
Defconfig      : http://autobuild.buildroot.net/results/8a44ab736c5ba557b90c09bff444b5cfaaa92b3d/defconfig

Build 18e000d361cf48e925cb4a447e2f28c90f1fe212
==============================================

Status         : NOK
Failure reason : gnutls-2.12.20
Architecture   : aarch64
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 20:58:10
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=dbf4978e6b1b24973cb7fbf9be636dda3ae67862
End of log     : http://autobuild.buildroot.net/results/18e000d361cf48e925cb4a447e2f28c90f1fe212/build-end.log
Complete log   : http://autobuild.buildroot.net/results/18e000d361cf48e925cb4a447e2f28c90f1fe212/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/18e000d361cf48e925cb4a447e2f28c90f1fe212/config
Defconfig      : http://autobuild.buildroot.net/results/18e000d361cf48e925cb4a447e2f28c90f1fe212/defconfig

Build 9d04371ea5678ffd512ae18116d5ac6dc3f808d9
==============================================

Status         : NOK
Failure reason : sane-backends-1.0.22
Architecture   : sh4
Submitted by   : Thomas Petazzoni (Free Electrons build server)
Submitted at   : 2012-11-17 22:58:59
Git commit ID  : http://git.buildroot.net/buildroot/commit/?id=684f208ecf1da23ce7013a91a69adb2ff7161715
End of log     : http://autobuild.buildroot.net/results/9d04371ea5678ffd512ae18116d5ac6dc3f808d9/build-end.log
Complete log   : http://autobuild.buildroot.net/results/9d04371ea5678ffd512ae18116d5ac6dc3f808d9/build.log.bz2
Configuration  : http://autobuild.buildroot.net/results/9d04371ea5678ffd512ae18116d5ac6dc3f808d9/config
Defconfig      : http://autobuild.buildroot.net/results/9d04371ea5678ffd512ae18116d5ac6dc3f808d9/defconfig



-- 
http://autobuild.buildroot.net

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Danomi Manchego @ 2012-11-18  2:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1353197713-20796-1-git-send-email-stefan.froberg@petroprogram.com>

On Sat, Nov 17, 2012 at 7:15 PM, Stefan Fr?berg <
stefan.froberg@petroprogram.com> wrote:
>
> +ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p"
> $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
> +BUSYBOX_DEPENDENCIES += linux-pam
> +endif
>

Why bother with the sed?  Could you not do "ifeq
($(BR2_PACKAGE_LINUX_PAM),y)"?

Just a thought ...
Danomi -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121117/279dff61/attachment.html>

^ permalink raw reply

* [Buildroot] [PATCH] busybox: needs linux-pam dependency added if using custom busybox .config & busybox login applet
From: Stefan Fröberg @ 2012-11-18  0:15 UTC (permalink / raw)
  To: buildroot

If BusyBox custom .config has login applet (CONFIG_LOGIN) enabled
then the build process will complain about missing Linux PAM
headers.
This will add the needed linux-pam dependency

Signed-off-by: Stefan Fr?berg <stefan.froberg@petroprogram.com>
---
 package/busybox/busybox.mk |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index 549e150..f2a102a 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -30,6 +30,13 @@ BUSYBOX_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
 BUSYBOX_LDFLAGS += -ltirpc
 endif
 
+# linux-pam must be built first if user has custom
+# BusyBox .config file and that file has also login
+# applet (CONFIG_LOGIN) enabled.
+ifeq ($(shell sed -n "s/CONFIG_LOGIN=\(y\)/\1/p" $(BR2_PACKAGE_BUSYBOX_CONFIG)),y)
+BUSYBOX_DEPENDENCIES += linux-pam
+endif
+
 BUSYBOX_BUILD_CONFIG = $(BUSYBOX_DIR)/.config
 # Allows the build system to tweak CFLAGS
 BUSYBOX_MAKE_ENV = $(TARGET_MAKE_ENV) CFLAGS="$(BUSYBOX_CFLAGS)"
-- 
1.7.7.6

^ permalink raw reply related

* [Buildroot] Buildroot 2012.11-rc1 released
From: Peter Korsgaard @ 2012-11-17 23:06 UTC (permalink / raw)
  To: buildroot

Hi,

A bit later than planned, but here goes:

Buildroot 2012.11-rc1 is released - Go download it at:

http://buildroot.net/downloads/buildroot-2012.11-rc1.tar.gz

or

http://buildroot.net/downloads/buildroot-2012.11-rc1.tar.bz2

Or get it from Git:

git://git.buildroot.net/buildroot

Please give it a spin and report any problems to the mailing list or
bug tracker. Many thanks to the people contributing to this release:

git shortlog -s -n 2012.08..
   210  Peter Korsgaard
   139  Gustavo Zacarias
   130  Thomas Petazzoni
    57  Allan W. Nielsen
    33  Arnout Vandecappelle (Essensium/Mind)
    31  Samuel Martin
    27  Simon Dawson
    18  Arnout Vandecappelle
    15  Yegor Yefremov
    14  Francois Perrad
    13  Valentine Barshak
     7  Maxime Ripard
     6  Jonathan Liu
     6  Sagaert Johan
     5  Mark Jackson
     5  Will Newton
     4  Luca Ceresoli
     4  Stephan Hoffmann
     4  Yann E. MORIN
     3  Alexandre Belloni
     3  Baruch Siach
     3  Danomi Manchego
     3  Marek Belisko
     3  Sven Neumann
     3  Waldemar Rymarkiewicz
     2  Alexander Khryukin
     2  Chris Zankel
     2  J.C. Woltz
     2  Kelvin Cheung
     2  Markos Chandras
     2  Stefan Froberg
     2  Thiago Correa
     2  Vellemans Noel
     2  Zoltan Gyarmati
     1  Alexander Varnin
     1  Dimitry Golubovsky
     1  Dmitry
     1  Fabio Porcedda
     1  Gregory Hermant
     1  Ismael Luceno
     1  Jean-Christophe PLAGNIOL-VILLARD
     1  Jean-Mickael Guerin
     1  Jeremy Rosen
     1  Ludovic Desroches
     1  Maxime Hadjinlian
     1  Mischa Jonker
     1  Philippe Reynes
     1  Stefan Fr?berg
     1  Vivien Didelot
     1  Waldemar Brodkorb
     1  Xinglong Liao
     1  gregory hermant

It's nice to see contributions from lots of new people in addition to
the "oldtimers". This time around Gustavoz took the lead with many many
package updates / fixes.

It has been one of the most active development cycles so far (almost 800
commits!) and a number of large scale changes.

Of noteworthy new features we have:

 - Large number of new packages (43): At91bootstrap3, Erlang, PAM, Perl,
   Python 3, ..

 - X11 stack bumped to X11R7.6

 - GCC 4.7.2, Binutils 2.23.1, New Codebench and Linaro external
   toolchains, libtirpc for modern Glibc toolchains without RPC support.
   Notice: Native toolchain on target has been deprecated.

 - Initial Aarch64 support and Xtensa support re-added

 - Legal info infrastructure has been extended and lots of packages
   annotated with their license info.

 - We are now using pkgconf instead of pkg-config

 - Nitrogen6x iMX6 + QEMU MIPS64 defconfigs added.

And the usual package version updates and bug fixes. See the CHANGES
file for details:

http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.11_rc1

Like usual, I will now create a next branch and start merging in new
features, rather than wait until 2012.11 is released.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] Update for 2012.11-rc1
From: Peter Korsgaard @ 2012-11-17 22:55 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 CHANGES            |    2 +-
 Makefile           |    2 +-
 docs/download.html |    9 ++++-----
 docs/news.html     |   13 +++++++++++++
 4 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/CHANGES b/CHANGES
index 9c3be6b..f8ac04b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,4 @@
-2012.11, Not released yet:
+2012.11-rc1, Released November 17th, 2012
 
 	Fixes all over the tree and new features.
 
diff --git a/Makefile b/Makefile
index 7602499..21aa054 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@
 #--------------------------------------------------------------
 
 # Set and export the version string
-export BR2_VERSION:=2012.11-git
+export BR2_VERSION:=2012.11-rc1
 
 # Check for minimal make version (note: this check will break at make 10.x)
 MIN_MAKE_VERSION=3.81
diff --git a/docs/download.html b/docs/download.html
index 51b7a82..c34a311 100644
--- a/docs/download.html
+++ b/docs/download.html
@@ -13,16 +13,15 @@ here:<p>
 or
 <a href="/downloads/buildroot-2012.08.tar.bz2">buildroot-2012.08.tar.bz2</a>.
 
-<!--
 <p>
-The latest release candidate is <b>2012.08-rc3</b>, which can be
+The latest release candidate is <b>2012.11-rc1</b>, which can be
 downloaded here:<p>
 
-<a href="/downloads/buildroot-2012.08-rc3.tar.gz">buildroot-2012.08-rc3.tar.gz</a>
+<a href="/downloads/buildroot-2012.11-rc1.tar.gz">buildroot-2012.11-rc1.tar.gz</a>
 or
-<a href="/downloads/buildroot-2012.08-rc3.tar.bz2">buildroot-2012.08-rc3.tar.bz2</a>.
+<a href="/downloads/buildroot-2012.11-rc1.tar.bz2">buildroot-2012.11-rc1.tar.bz2</a>.
 <p>
--->
+
 This and earlier releases can always be downloaded from
 <a href="/downloads/">http://buildroot.net/downloads/</a>.
 
diff --git a/docs/news.html b/docs/news.html
index 416857c..e1e641d 100644
--- a/docs/news.html
+++ b/docs/news.html
@@ -5,6 +5,19 @@
 <p>
 
 <ul>
+  <li><b>17 November 2012 -- 2012.11-rc1 released</b>
+
+    <p>We have a new release candidate! Lots of changes all over the
+    tree, see the <a
+    href="http://git.buildroot.net/buildroot/plain/CHANGES?id=2012.11_rc1">CHANGES</a>
+    file for details.</p>
+
+    <p>Head to the <a href="/downloads/">downloads page</a> to pick up the
+    <a href="/downloads/buildroot-2012.11-rc1.tar.bz2">2012.11-rc1
+    release candidate</a>, and report any problems found to the <a
+    href="lists.html">mailing list</a> or <a
+    href="https://bugs.uclibc.org">bug tracker</a>.</p>
+
   <li><b>17 November 2012 -- Buildroot Developer Day</b>
 
     <p>A report from the recent <i>Buildroot Developer Days</i> meeting

^ permalink raw reply related

* [Buildroot] [pull request] Pull request for branch misc-fixes
From: Peter Korsgaard @ 2012-11-17 22:54 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <cover.1353191025.git.thomas.petazzoni@free-electrons.com>

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

 Thomas> The following changes since commit ee3a96137b6cbb8f970c540c61f75300a44ea803:
 Thomas>   lua-msgpack-native: fix fetch (2012-11-17 10:15:24 +0100)

Committed everything except the libffi one, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] Udev on a live CD system does not appear to populate /dev
From: Stefan Fröberg @ 2012-11-17 22:54 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50A1EE50.4010008@mind.be>

Arnout, has there been some changes to grub 0.97 (aka legacy version) or
the way grub is compiled
since buildroot 2012.05 ?

Today I copied my old, 2012.05 buildroot .config to latest git-version
and tried to build live cd the buildroot way.

Building went mostly smoothly with just few errors in using custom
busybox config (that i have always been using),
it's login applet and the linux-pam.   And dbus was complaining about
missing /var/lib/ directory in target).

These were not a big deal to fix.

But the real problem now is that grub refuses to load. It just shows
Loading stage2 .... and hangs there.

If I copy my old grub stuff  (namely, the stage2_eltorito file) from
2012.05 build to inside the boot/grub/ of the
new buildroot generated livecd (of course, first mounted throught
loopback and copied to some other dir for modifying)
and then build the livecd from that manually, it will work and show grub
menu normally.

I did a quick *md5sum* and *ls* and there indeed is a difference with
the git-version and 2012.05 version of
stage2_eltorito file,  git-version of stage2_eltorito being very large
(258 KB vs. working 103 KB)

Even tought I have not changed anything in my working 2012.05 buildroot
.config when I copied it
to newer git-version.
(same gcc version, same optimizations, same binutils etc...)

Regards
Stefan

13.11.2012 8:53, Arnout Vandecappelle kirjoitti:
> On 08/11/12 17:29, Stefan Fr?berg wrote:
>> If you ever want to use the maximum compression method supported by
>> modern kernels (XZ compression)
>> then change that initramfs generation command to this:
>>
>> find .  -not \( -path "./boot" -prune \) -print0 | cpio --null -ov
>> --format=newc
>>   | xz --check=crc32>  /livecd/initramfs.xz
>>
>> Without that --check=crc32 parameter you won't be able to boot
>> XZ-compressed initramfs.
>
>  It would be good to have this in buildroot.  Care to add a config option
> BR2_TARGET_ROOTFS_CPIO_XZ?  Using host-xz, of course, since not all
> systems
> have xz installed.
>
>
>  Regards,
>  Arnout

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121118/443c2576/attachment.html>

^ permalink raw reply

* [Buildroot] [git commit] CHANGES: update with recent changes
From: Peter Korsgaard @ 2012-11-17 22:54 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 CHANGES |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/CHANGES b/CHANGES
index d1a4888..9c3be6b 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,7 +10,7 @@
 	barebox 2012.08/09/10/11, linker overlap issue fix for
 	at91bootstrap, mxs-bootlets updated for new Barebox versions.
 
-	Toolchains: binutils 2.23.1, gcc 4.72, default to gcc 4.6.x,
+	Toolchains: binutils 2.23.1, gcc 4.7.2, default to gcc 4.6.x,
 	Codebench arm/sh/x86 2012.03/09, Linaro 2012.08/09/10.
 	Libtirpc support for modern glibc variants. Toolchain on
 	target has been deprecated.
@@ -31,17 +31,17 @@
 	_LICENSE / _REDISTRIBUTE splitup, per-package hooks.
 
 	Updated/fixed packages: acpid, alsa-lib, alsa-utils,
-	alsamixergui, autoconf, automake, bash, bind, binutils, bison,
-	blackbox, bluez-utils, busybox, cairo, can-utils, cifs-utils,
-	cjson, cmake, collectd, connman, conntrack-tools, coreutils,
-	cups, cvs, dbus, dhcp, directfb, dmalloc, dnsmasq, dropbear,
-	e2fsprogs, ethtool, fbdump, feh, fftw, file, flashrom,
-	fluxbox, gdb, gdisk, gdk-pixbuf, genext2fs, gettext, gnutls,
-	gpsd, gqview, grep, gst-plugins-{bad,good}, hdparm, hiawatha,
-	hostapd, input-tools, iproute2, ipset, iptables, iw, json-c,
-	kexec, kmod, lcdproc, leafpad, less, libcurl, libdrm,
-	libdvdnav, libdvdread, libffi, libfuse, libglib2, libhid,
-	liblockfile, libmad, libmbus, libmnl,
+	alsamixergui, attr, autoconf, automake, bash, bind, binutils,
+	bison, blackbox, bluez-utils, busybox, cairo, can-utils,
+	cifs-utils, cjson, cmake, collectd, connman, conntrack-tools,
+	coreutils, cups, cvs, dbus, dhcp, directfb, dmalloc, dnsmasq,
+	dropbear, e2fsprogs, ethtool, fbdump, feh, fftw, file,
+	flashrom, fluxbox, gdb, gdisk, gdk-pixbuf, genext2fs, gettext,
+	gnutls, gpsd, gqview, grep, gsl, gst-plugins-{bad,good},
+	hdparm, hiawatha, hostapd, input-tools, iproute2, ipset,
+	iptables, iw, json-c, kexec, kmod, lcdproc, leafpad, less,
+	libcurl, libdrm, libdvdnav, libdvdread, libffi, libfuse,
+	libglib2, libhid, liblockfile, libmad, libmbus, libmnl,
 	libnetfilter_{acct,conntrack,cthelper,cttimeout,queue},
 	libnfc, libnfc-llcp, libnfnetlink, libnl, libnspr, libnss,
 	libpcap, libplayer, libtool, libtorrent, liburcu, libv4l,

^ permalink raw reply related

* [Buildroot] [git commit] dbus: uses fork(), requires MMU
From: Peter Korsgaard @ 2012-11-17 22:49 UTC (permalink / raw)
  To: buildroot

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

In order to solve
http://autobuild.buildroot.org/results/34f6843137efda20626af72714c110280ec577d7/build-end.log,
this patch makes the D-Bus package as well as all the packages that
select the D-Bus package 'depends on BR2_USE_MMU'.

In addition, for the specific case of gvfs, the missing
BR2_TOOLCHAIN_HAS_THREADS dependency is added (threads are required by
D-Bus, so they are also required by gvfs which selects D-Bus).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/bluez_utils/Config.in     |    1 +
 package/connman/Config.in         |    1 +
 package/dbus/Config.in            |    2 ++
 package/efl/libedbus/Config.in    |    1 +
 package/gvfs/Config.in            |    2 ++
 package/network-manager/Config.in |    1 +
 package/ofono/Config.in           |    1 +
 package/qt/Config.in              |    1 +
 package/samba/Config.in           |    1 +
 package/systemd/Config.in         |    1 +
 system/Config.in                  |    1 +
 11 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/package/bluez_utils/Config.in b/package/bluez_utils/Config.in
index c06f8cd..7ca23fc 100644
--- a/package/bluez_utils/Config.in
+++ b/package/bluez_utils/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_BLUEZ_UTILS
 	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
 	help
diff --git a/package/connman/Config.in b/package/connman/Config.in
index b67b540..93f9ab5 100644
--- a/package/connman/Config.in
+++ b/package/connman/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_CONNMAN
 	depends on BR2_USE_WCHAR # libglib2 and gnutls
 	depends on BR2_INET_IPV6
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	help
 	  The Connection Manager (ConnMan) project provides a daemon for
 	  managing internet connections within embedded devices running
diff --git a/package/dbus/Config.in b/package/dbus/Config.in
index 2b04e94..62f3eee 100644
--- a/package/dbus/Config.in
+++ b/package/dbus/Config.in
@@ -1,6 +1,8 @@
 config BR2_PACKAGE_DBUS
 	bool "dbus"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	# uses fork()
+	depends on BR2_USE_MMU
 	help
 	  The D-Bus message bus system.
 
diff --git a/package/efl/libedbus/Config.in b/package/efl/libedbus/Config.in
index 985939e..9b57592 100644
--- a/package/efl/libedbus/Config.in
+++ b/package/efl/libedbus/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBEDBUS
 	select BR2_PACKAGE_LIBECORE
 	select BR2_PACKAGE_DBUS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	help
 	  E_Dbus is a set of wrappers around D-Bus APIs so they can be
 	  easily used by EFL applications, automatically providing
diff --git a/package/gvfs/Config.in b/package/gvfs/Config.in
index 87f9a03..e0a945e 100644
--- a/package/gvfs/Config.in
+++ b/package/gvfs/Config.in
@@ -2,6 +2,8 @@ config BR2_PACKAGE_GVFS
 	bool "gvfs"
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_USE_MMU # dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_SHARED_MIME_INFO
diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in
index 3f01fef..e2324d6 100644
--- a/package/network-manager/Config.in
+++ b/package/network-manager/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
 	depends on BR2_LARGEFILE # acl
 	depends on BR2_USE_WCHAR # libglib2 and gnutls
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS_GLIB
 	select BR2_PACKAGE_UDEV
 	select BR2_PACKAGE_UDEV_ALL_EXTRAS
diff --git a/package/ofono/Config.in b/package/ofono/Config.in
index 74c8b53..6248544 100644
--- a/package/ofono/Config.in
+++ b/package/ofono/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_OFONO
 	bool "ofono"
 	depends on BR2_USE_WCHAR # gettext/libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_LIBCAP_NG
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
diff --git a/package/qt/Config.in b/package/qt/Config.in
index b99bf4c..fdbb598 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -286,6 +286,7 @@ config BR2_PACKAGE_QT_DBUS
 	bool "DBus Module"
 	select BR2_PACKAGE_DBUS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	help
 	  Build the Qt DBus module.
 
diff --git a/package/samba/Config.in b/package/samba/Config.in
index b4028b1..fedbccd 100644
--- a/package/samba/Config.in
+++ b/package/samba/Config.in
@@ -233,6 +233,7 @@ config BR2_PACKAGE_SAMBA_AVAHI
 	default y
 	depends on BR2_PACKAGE_AVAHI_DAEMON
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	help
 	  Include support for avahi
diff --git a/package/systemd/Config.in b/package/systemd/Config.in
index 0e7fc39..86ab2cf 100644
--- a/package/systemd/Config.in
+++ b/package/systemd/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSTEMD
 	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
 	depends on BR2_INET_IPV6
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBCAP
 	help
diff --git a/system/Config.in b/system/Config.in
index 5823210..622b242 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -56,6 +56,7 @@ config BR2_INIT_SYSTEMD
 	depends on BR2_INET_IPV6
 	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_SYSTEMD
 

^ 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