* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
@ 2017-04-06 10:57 Arnout Vandecappelle
2017-04-06 11:47 ` Peter Seiderer
0 siblings, 1 reply; 13+ messages in thread
From: Arnout Vandecappelle @ 2017-04-06 10:57 UTC (permalink / raw)
To: buildroot
Hi Qt5 specialists,
For quite some time now (basically since the 5.8.0 bump I think),
beaglebone_qt5_defconfig has been failing [1]. The error is:
cd photoviewer/ && ( test -e Makefile ||
/builds/buildroot.org/buildroot/output/host/usr/bin/qmake -o Makefile
/builds/buildroot.org/buildroot/output/build/qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
) && /usr/bin/make -f Makefile
Project ERROR: Unknown module(s) in QT: widgets
Probably some missing Config.in dependency, or else a missing exclusion of
demos that require widgets.
Can someone take a look?
Regards,
Arnout
[1] https://gitlab.com/buildroot.org/buildroot/builds/13476094
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
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: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 10:57 [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig) Arnout Vandecappelle
@ 2017-04-06 11:47 ` Peter Seiderer
2017-04-06 16:12 ` Michael Nazzareno Trimarchi
2017-04-06 16:33 ` Thomas Petazzoni
0 siblings, 2 replies; 13+ messages in thread
From: Peter Seiderer @ 2017-04-06 11:47 UTC (permalink / raw)
To: buildroot
Hello Arnout,
> Gesendet: Donnerstag, 06. April 2017 um 12:57 Uhr
> Von: "Arnout Vandecappelle" <arnout@mind.be>
> An: "Buildroot Mailing List" <buildroot@buildroot.org>, "Peter Seiderer" <ps.report@gmx.net>, "Ga?l PORTAY" <gael.portay@savoirfairelinux.com>, "Julien Corjon" <corjon.j@ecagroup.com>
> Betreff: Qt5 build failure (beaglebone_qt5_defconfig)
>
> Hi Qt5 specialists,
>
> For quite some time now (basically since the 5.8.0 bump I think),
> beaglebone_qt5_defconfig has been failing [1]. The error is:
>
> cd photoviewer/ && ( test -e Makefile ||
> /builds/buildroot.org/buildroot/output/host/usr/bin/qmake -o Makefile
> /builds/buildroot.org/buildroot/output/build/qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
> ) && /usr/bin/make -f Makefile
> Project ERROR: Unknown module(s) in QT: widgets
>
> Probably some missing Config.in dependency, or else a missing exclusion of
> demos that require widgets.
>
> Can someone take a look?
>
Untested but maybe the following works:
diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
index 853322c..5e0fbe2 100644
--- a/package/qt5/qt5declarative/Config.in
+++ b/package/qt5/qt5declarative/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5XMLPATTERNS
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
+ select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
help
Qt is a cross-platform application and UI framework for
Regards,
Peter
> Regards,
> Arnout
>
>
>
> [1] https://gitlab.com/buildroot.org/buildroot/builds/13476094
> --
> Arnout Vandecappelle arnout at mind be
> Senior Embedded Software Architect +32-16-286500
> 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: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 11:47 ` Peter Seiderer
@ 2017-04-06 16:12 ` Michael Nazzareno Trimarchi
2017-04-06 16:32 ` Thomas Petazzoni
2017-04-06 16:33 ` Thomas Petazzoni
1 sibling, 1 reply; 13+ messages in thread
From: Michael Nazzareno Trimarchi @ 2017-04-06 16:12 UTC (permalink / raw)
To: buildroot
Hi
I can pass this build step
On Thu, Apr 6, 2017 at 1:47 PM, Peter Seiderer <ps.report@gmx.net> wrote:
> Hello Arnout,
>
>> Gesendet: Donnerstag, 06. April 2017 um 12:57 Uhr
>> Von: "Arnout Vandecappelle" <arnout@mind.be>
>> An: "Buildroot Mailing List" <buildroot@buildroot.org>, "Peter Seiderer" <ps.report@gmx.net>, "Ga?l PORTAY" <gael.portay@savoirfairelinux.com>, "Julien Corjon" <corjon.j@ecagroup.com>
>> Betreff: Qt5 build failure (beaglebone_qt5_defconfig)
>>
>> Hi Qt5 specialists,
>>
>> For quite some time now (basically since the 5.8.0 bump I think),
>> beaglebone_qt5_defconfig has been failing [1]. The error is:
>>
>> cd photoviewer/ && ( test -e Makefile ||
>> /builds/buildroot.org/buildroot/output/host/usr/bin/qmake -o Makefile
>> /builds/buildroot.org/buildroot/output/build/qt5declarative-5.8.0/examples/quick/demos/photoviewer/photoviewer.pro
>> ) && /usr/bin/make -f Makefile
>> Project ERROR: Unknown module(s) in QT: widgets
>>
>> Probably some missing Config.in dependency, or else a missing exclusion of
>> demos that require widgets.
>>
>> Can someone take a look?
>>
>
> Untested but maybe the following works:
>
> diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
> index 853322c..5e0fbe2 100644
> --- a/package/qt5/qt5declarative/Config.in
> +++ b/package/qt5/qt5declarative/Config.in
> @@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
> select BR2_PACKAGE_QT5XMLPATTERNS
> select BR2_PACKAGE_QT5BASE
> select BR2_PACKAGE_QT5BASE_GUI
> + select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
> depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> help
> Qt is a cross-platform application and UI framework for
>
Tested-by: Michael Trimarchi <michael@amarulasolutions.com>
But we have still two problems:
make[1]: Leaving directory
'/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
PATH="/home/michael/work/amarula/bticino/buildroot/output/host/bin:/home/michael/work/amarula/bticino/buildroot/output/host/sbin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/sbin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin"
BR_BINARIES_DIR=/home/michael/work/amarula/bticino/buildroot/output/images
/usr/bin/make HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" ARCH=arm
INSTALL_MOD_PATH=/home/michael/work/amarula/bticino/buildroot/output/target
CROSS_COMPILE="/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin/arm-buildroot-linux-gnueabihf-"
DEPMOD=/home/michael/work/amarula/bticino/buildroot/output/host/sbin/depmod
INSTALL_MOD_STRIP=1 -C
/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593
am335x-evm.dtb am335x-bone.dtb am335x-boneblack.dtb
am335x-bonegreen.dtb am335x-evmsk.dtb
make[1]: Entering directory
'/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
DTC arch/arm/boot/dts/am335x-bone.dtb
DTC arch/arm/boot/dts/am335x-evm.dtb
make[2]: *** No rule to make target
'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
make[1]: *** [am335x-bonegreen.dtb] Error 2
make[1]: *** Waiting for unfinished jobs....
DTC arch/arm/boot/dts/am335x-boneblack.dtb
make[1]: Leaving directory
'/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
package/pkg-generic.mk:227: recipe for target
'/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/.stamp_built'
failed
make: *** [/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593/.stamp_built]
Error 2
and if I remove kernel and bootloader configuration
chmod a+x /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
PATH="/home/michael/work/amarula/bticino/buildroot/output/host/bin:/home/michael/work/amarula/bticino/buildroot/output/host/sbin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/sbin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin"
/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin/fakeroot
-- /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
rootdir=/home/michael/work/amarula/bticino/buildroot/output/target
table='/home/michael/work/amarula/bticino/buildroot/output/build/_device_table.txt'
genext2fs: couldn't allocate a block (no free space)
fs/ext2/ext2.mk:44: recipe for target
'/home/michael/work/amarula/bticino/buildroot/output/images/rootfs.ext2'
failed
make: *** [/home/michael/work/amarula/bticino/buildroot/output/images/rootfs.ext2]
Error 1
> Regards,
> Peter
>
>> Regards,
>> Arnout
>>
>>
>>
>> [1] https://gitlab.com/buildroot.org/buildroot/builds/13476094
>> --
>> Arnout Vandecappelle arnout at mind be
>> Senior Embedded Software Architect +32-16-286500
>> 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: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:12 ` Michael Nazzareno Trimarchi
@ 2017-04-06 16:32 ` Thomas Petazzoni
2017-04-06 16:57 ` Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-04-06 16:32 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 6 Apr 2017 18:12:15 +0200, Michael Nazzareno Trimarchi wrote:
> '/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
> DTC arch/arm/boot/dts/am335x-bone.dtb
> DTC arch/arm/boot/dts/am335x-evm.dtb
> make[2]: *** No rule to make target
> 'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
> arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
This is caused by the recent commit
https://git.buildroot.org/buildroot/commit/configs?id=4b2440b7dcc68369548c0f2be6984fe645fc6bb0
from Matthias Fritzsche. Matthias, are you sure you tested the
beaglebone_qt5_defconfig ?
Indeed, beaglebone_defconfig and beaglebone_qt5_defconfig don't use the
same kernel version, and the one used in beaglebone_qt5_defconfig
doesn't have the Beagle Bone Green Device Tree.
So either we should revert Matthias patch on beaglebone_qt5_defconfig,
or someone tests upgrading beaglebone_qt5_defconfig to the same kernel
version as the one used in beaglebone_defconfig.
> chmod a+x /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
> PATH="/home/michael/work/amarula/bticino/buildroot/output/host/bin:/home/michael/work/amarula/bticino/buildroot/output/host/sbin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/sbin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin"
> /home/michael/work/amarula/bticino/buildroot/output/host/usr/bin/fakeroot
> -- /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
> rootdir=/home/michael/work/amarula/bticino/buildroot/output/target
> table='/home/michael/work/amarula/bticino/buildroot/output/build/_device_table.txt'
> genext2fs: couldn't allocate a block (no free space)
> fs/ext2/ext2.mk:44: recipe for target
This is due to the fact that we removed auto-calculation of the ext4
filesystem size in
https://git.buildroot.org/buildroot/commit/?id=c6bca8cef0310bc649240b451989457ce94a8358,
and we default to 60 MB for the filesystem size, which is not enough
for this demo. Fixing this is simple: send a patch that adds:
BR2_TARGET_ROOTFS_EXT2_BLOCKS="126976"
to beaglebone_qt5_defconfig (of course after testing that this size is
sufficient).
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 11:47 ` Peter Seiderer
2017-04-06 16:12 ` Michael Nazzareno Trimarchi
@ 2017-04-06 16:33 ` Thomas Petazzoni
2017-04-07 18:47 ` Peter Seiderer
1 sibling, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2017-04-06 16:33 UTC (permalink / raw)
To: buildroot
Hello,
On Thu, 6 Apr 2017 13:47:11 +0200, Peter Seiderer wrote:
> Untested but maybe the following works:
>
> diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
> index 853322c..5e0fbe2 100644
> --- a/package/qt5/qt5declarative/Config.in
> +++ b/package/qt5/qt5declarative/Config.in
> @@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
> select BR2_PACKAGE_QT5XMLPATTERNS
> select BR2_PACKAGE_QT5BASE
> select BR2_PACKAGE_QT5BASE_GUI
> + select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
> depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> help
> Qt is a cross-platform application and UI framework for
Thanks, can you submit as a proper patch?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:32 ` Thomas Petazzoni
@ 2017-04-06 16:57 ` Thomas Petazzoni
2017-04-07 7:54 ` Michael Trimarchi
2017-04-06 21:27 ` txt.file
2017-04-07 7:28 ` Michael Nazzareno Trimarchi
2 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2017-04-06 16:57 UTC (permalink / raw)
To: buildroot
Hello,
Adding Matthias in Cc here.
On Thu, 6 Apr 2017 18:32:18 +0200, Thomas Petazzoni wrote:
> On Thu, 6 Apr 2017 18:12:15 +0200, Michael Nazzareno Trimarchi wrote:
>
> > '/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
> > DTC arch/arm/boot/dts/am335x-bone.dtb
> > DTC arch/arm/boot/dts/am335x-evm.dtb
> > make[2]: *** No rule to make target
> > 'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
> > arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
>
> This is caused by the recent commit
> https://git.buildroot.org/buildroot/commit/configs?id=4b2440b7dcc68369548c0f2be6984fe645fc6bb0
> from Matthias Fritzsche. Matthias, are you sure you tested the
> beaglebone_qt5_defconfig ?
>
> Indeed, beaglebone_defconfig and beaglebone_qt5_defconfig don't use the
> same kernel version, and the one used in beaglebone_qt5_defconfig
> doesn't have the Beagle Bone Green Device Tree.
>
> So either we should revert Matthias patch on beaglebone_qt5_defconfig,
> or someone tests upgrading beaglebone_qt5_defconfig to the same kernel
> version as the one used in beaglebone_defconfig.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:32 ` Thomas Petazzoni
2017-04-06 16:57 ` Thomas Petazzoni
@ 2017-04-06 21:27 ` txt.file
2017-04-07 7:28 ` Michael Nazzareno Trimarchi
2 siblings, 0 replies; 13+ messages in thread
From: txt.file @ 2017-04-06 21:27 UTC (permalink / raw)
To: buildroot
I did *not* test the beaglebone_qt5_defconfig as I expected it to be the
same as beaglebone_defconfig.
I prefer to update the linux version. But I can not fully runtime test
beaglebone_qt5_defconfig cause the BeagleBone Green does not have
display output onboard and I have no proper cape nor BeagleBone Black.
I already created a patch and my (pretty slow) build computer is
building an image. Tomorrow I can runtime test it.
kind regards
txt.file
--
This message is signed.
Thomas Petazzoni:
> Hello,
>
> On Thu, 6 Apr 2017 18:12:15 +0200, Michael Nazzareno Trimarchi wrote:
>
>> '/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
>> DTC arch/arm/boot/dts/am335x-bone.dtb
>> DTC arch/arm/boot/dts/am335x-evm.dtb
>> make[2]: *** No rule to make target
>> 'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
>> arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
>
> This is caused by the recent commit
> https://git.buildroot.org/buildroot/commit/configs?id=4b2440b7dcc68369548c0f2be6984fe645fc6bb0
> from Matthias Fritzsche. Matthias, are you sure you tested the
> beaglebone_qt5_defconfig ?
>
> Indeed, beaglebone_defconfig and beaglebone_qt5_defconfig don't use the
> same kernel version, and the one used in beaglebone_qt5_defconfig
> doesn't have the Beagle Bone Green Device Tree.
>
> So either we should revert Matthias patch on beaglebone_qt5_defconfig,
> or someone tests upgrading beaglebone_qt5_defconfig to the same kernel
> version as the one used in beaglebone_defconfig.
>
>> chmod a+x /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
>> PATH="/home/michael/work/amarula/bticino/buildroot/output/host/bin:/home/michael/work/amarula/bticino/buildroot/output/host/sbin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/sbin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin"
>> /home/michael/work/amarula/bticino/buildroot/output/host/usr/bin/fakeroot
>> -- /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
>> rootdir=/home/michael/work/amarula/bticino/buildroot/output/target
>> table='/home/michael/work/amarula/bticino/buildroot/output/build/_device_table.txt'
>> genext2fs: couldn't allocate a block (no free space)
>> fs/ext2/ext2.mk:44: recipe for target
>
> This is due to the fact that we removed auto-calculation of the ext4
> filesystem size in
> https://git.buildroot.org/buildroot/commit/?id=c6bca8cef0310bc649240b451989457ce94a8358,
> and we default to 60 MB for the filesystem size, which is not enough
> for this demo. Fixing this is simple: send a patch that adds:
>
> BR2_TARGET_ROOTFS_EXT2_BLOCKS="126976"
>
> to beaglebone_qt5_defconfig (of course after testing that this size is
> sufficient).
>
> Thanks!
>
> Thomas
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170406/7833b3ff/attachment.asc>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:32 ` Thomas Petazzoni
2017-04-06 16:57 ` Thomas Petazzoni
2017-04-06 21:27 ` txt.file
@ 2017-04-07 7:28 ` Michael Nazzareno Trimarchi
2 siblings, 0 replies; 13+ messages in thread
From: Michael Nazzareno Trimarchi @ 2017-04-07 7:28 UTC (permalink / raw)
To: buildroot
Hi Thomas
On Thu, Apr 6, 2017 at 6:32 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Thu, 6 Apr 2017 18:12:15 +0200, Michael Nazzareno Trimarchi wrote:
>
>> '/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
>> DTC arch/arm/boot/dts/am335x-bone.dtb
>> DTC arch/arm/boot/dts/am335x-evm.dtb
>> make[2]: *** No rule to make target
>> 'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
>> arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
>
> This is caused by the recent commit
> https://git.buildroot.org/buildroot/commit/configs?id=4b2440b7dcc68369548c0f2be6984fe645fc6bb0
> from Matthias Fritzsche. Matthias, are you sure you tested the
> beaglebone_qt5_defconfig ?
>
> Indeed, beaglebone_defconfig and beaglebone_qt5_defconfig don't use the
> same kernel version, and the one used in beaglebone_qt5_defconfig
> doesn't have the Beagle Bone Green Device Tree.
>
> So either we should revert Matthias patch on beaglebone_qt5_defconfig,
> or someone tests upgrading beaglebone_qt5_defconfig to the same kernel
> version as the one used in beaglebone_defconfig.
>
>> chmod a+x /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
>> PATH="/home/michael/work/amarula/bticino/buildroot/output/host/bin:/home/michael/work/amarula/bticino/buildroot/output/host/sbin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/bin:/home/michael/work/amarula/bticino/buildroot/output/host/usr/sbin:/opt/OpenPrinting-Gutenprint/sbin:/opt/OpenPrinting-Gutenprint/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-7-oracle/bin:/usr/lib/jvm/java-7-oracle/db/bin:/usr/lib/jvm/java-7-oracle/jre/bin"
>> /home/michael/work/amarula/bticino/buildroot/output/host/usr/bin/fakeroot
>> -- /home/michael/work/amarula/bticino/buildroot/output/build/_fakeroot.fs
>> rootdir=/home/michael/work/amarula/bticino/buildroot/output/target
>> table='/home/michael/work/amarula/bticino/buildroot/output/build/_device_table.txt'
>> genext2fs: couldn't allocate a block (no free space)
>> fs/ext2/ext2.mk:44: recipe for target
>
> This is due to the fact that we removed auto-calculation of the ext4
> filesystem size in
> https://git.buildroot.org/buildroot/commit/?id=c6bca8cef0310bc649240b451989457ce94a8358,
> and we default to 60 MB for the filesystem size, which is not enough
> for this demo. Fixing this is simple: send a patch that adds:
>
> BR2_TARGET_ROOTFS_EXT2_BLOCKS="126976"
>
> to beaglebone_qt5_defconfig (of course after testing that this size is
> sufficient).
>
Ok I will do
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:57 ` Thomas Petazzoni
@ 2017-04-07 7:54 ` Michael Trimarchi
2017-04-07 8:06 ` Thomas Petazzoni
0 siblings, 1 reply; 13+ messages in thread
From: Michael Trimarchi @ 2017-04-07 7:54 UTC (permalink / raw)
To: buildroot
Hi all
On Thu, Apr 06, 2017 at 06:57:39PM +0200, Thomas Petazzoni wrote:
> Hello,
>
> Adding Matthias in Cc here.
>
> On Thu, 6 Apr 2017 18:32:18 +0200, Thomas Petazzoni wrote:
>
> > On Thu, 6 Apr 2017 18:12:15 +0200, Michael Nazzareno Trimarchi wrote:
> >
> > > '/home/michael/work/amarula/bticino/buildroot/output/build/linux-52c4aa7cdb93d61f8008f380135beaf7b8fa6593'
> > > DTC arch/arm/boot/dts/am335x-bone.dtb
> > > DTC arch/arm/boot/dts/am335x-evm.dtb
> > > make[2]: *** No rule to make target
> > > 'arch/arm/boot/dts/am335x-bonegreen.dtb'. Stop.
> > > arch/arm/Makefile:314: recipe for target 'am335x-bonegreen.dtb' failed
> >
> > This is caused by the recent commit
> > https://git.buildroot.org/buildroot/commit/configs?id=4b2440b7dcc68369548c0f2be6984fe645fc6bb0
> > from Matthias Fritzsche. Matthias, are you sure you tested the
> > beaglebone_qt5_defconfig ?
> >
Those are my changes
diff --git a/board/beaglebone/genimage.cfg b/board/beaglebone/genimage.cfg
index cfc1039ec..ba60297dd 100644
--- a/board/beaglebone/genimage.cfg
+++ b/board/beaglebone/genimage.cfg
@@ -9,7 +9,6 @@ image boot.vfat {
"am335x-evmsk.dtb",
"am335x-bone.dtb",
"am335x-boneblack.dtb",
- "am335x-bonegreen.dtb",
}
}
size = 16M
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 1d464d967..edfc27fa7 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -195,8 +195,9 @@ endef
endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
define UBOOT_BUILD_CMDS
- $(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
- cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
+ UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
+ $(if $(UBOOT_CUSTOM_DTS_PATH),
+ cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
)
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
diff --git a/configs/beaglebone_qt5_defconfig b/configs/beaglebone_qt5_defconfig
index 78dc10973..cdf8b96c1 100644
--- a/configs/beaglebone_qt5_defconfig
+++ b/configs/beaglebone_qt5_defconfig
@@ -26,6 +26,7 @@ BR2_PACKAGE_TI_SGX_KM=y
BR2_PACKAGE_TI_SGX_UM=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
+BR2_TARGET_ROOTFS_EXT2_BLOCKS=126976
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
index 853322cab..5e0fbe23c 100644
--- a/package/qt5/qt5declarative/Config.in
+++ b/package/qt5/qt5declarative/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
select BR2_PACKAGE_QT5XMLPATTERNS
select BR2_PACKAGE_QT5BASE
select BR2_PACKAGE_QT5BASE_GUI
+ select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
help
Qt is a cross-platform application and UI framework for
> > Indeed, beaglebone_defconfig and beaglebone_qt5_defconfig don't use the
> > same kernel version, and the one used in beaglebone_qt5_defconfig
> > doesn't have the Beagle Bone Green Device Tree.
> >
> > So either we should revert Matthias patch on beaglebone_qt5_defconfig,
> > or someone tests upgrading beaglebone_qt5_defconfig to the same kernel
> > version as the one used in beaglebone_defconfig.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-07 7:54 ` Michael Trimarchi
@ 2017-04-07 8:06 ` Thomas Petazzoni
2017-04-07 8:09 ` Michael Trimarchi
0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2017-04-07 8:06 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 7 Apr 2017 09:54:46 +0200, Michael Trimarchi wrote:
> diff --git a/board/beaglebone/genimage.cfg b/board/beaglebone/genimage.cfg
> index cfc1039ec..ba60297dd 100644
> --- a/board/beaglebone/genimage.cfg
> +++ b/board/beaglebone/genimage.cfg
> @@ -9,7 +9,6 @@ image boot.vfat {
> "am335x-evmsk.dtb",
> "am335x-bone.dtb",
> "am335x-boneblack.dtb",
> - "am335x-bonegreen.dtb",
No, we want to keep this one. Instead, we want to upgrade the kernel
version used in beaglebone_qt5_defconfig.
Can you try replacing:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="52c4aa7cdb93d61f8008f380135beaf7b8fa6593"
by:
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="adde2ca9f86797071f6e7b2b9e779fa5e4a8f3cd"
in beaglebone_qt5_defconfig.
I'm adding Lothar in Cc as well, since he did the
beaglebone_qt5_defconfig, and he will know if the SGX stuff works fine
with the 4.4 TI kernel.
> diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> index 1d464d967..edfc27fa7 100644
> --- a/boot/uboot/uboot.mk
> +++ b/boot/uboot/uboot.mk
> @@ -195,8 +195,9 @@ endef
> endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
>
> define UBOOT_BUILD_CMDS
> - $(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
> - cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
> + UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
> + $(if $(UBOOT_CUSTOM_DTS_PATH),
> + cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
> )
Why is this needed?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-07 8:06 ` Thomas Petazzoni
@ 2017-04-07 8:09 ` Michael Trimarchi
2017-04-07 8:19 ` Thomas Petazzoni
0 siblings, 1 reply; 13+ messages in thread
From: Michael Trimarchi @ 2017-04-07 8:09 UTC (permalink / raw)
To: buildroot
Hi
On Fri, Apr 07, 2017 at 10:06:54AM +0200, Thomas Petazzoni wrote:
> Hello,
>
> On Fri, 7 Apr 2017 09:54:46 +0200, Michael Trimarchi wrote:
>
> > diff --git a/board/beaglebone/genimage.cfg b/board/beaglebone/genimage.cfg
> > index cfc1039ec..ba60297dd 100644
> > --- a/board/beaglebone/genimage.cfg
> > +++ b/board/beaglebone/genimage.cfg
> > @@ -9,7 +9,6 @@ image boot.vfat {
> > "am335x-evmsk.dtb",
> > "am335x-bone.dtb",
> > "am335x-boneblack.dtb",
> > - "am335x-bonegreen.dtb",
>
> No, we want to keep this one. Instead, we want to upgrade the kernel
> version used in beaglebone_qt5_defconfig.
>
> Can you try replacing:
>
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="52c4aa7cdb93d61f8008f380135beaf7b8fa6593"
>
> by:
>
> BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="adde2ca9f86797071f6e7b2b9e779fa5e4a8f3cd"
>
Yes ok
> in beaglebone_qt5_defconfig.
>
> I'm adding Lothar in Cc as well, since he did the
> beaglebone_qt5_defconfig, and he will know if the SGX stuff works fine
> with the 4.4 TI kernel.
>
>
> > diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> > index 1d464d967..edfc27fa7 100644
> > --- a/boot/uboot/uboot.mk
> > +++ b/boot/uboot/uboot.mk
> > @@ -195,8 +195,9 @@ endef
> > endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
> >
> > define UBOOT_BUILD_CMDS
> > - $(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
> > - cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > + UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
> > + $(if $(UBOOT_CUSTOM_DTS_PATH),
> > + cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > )
My error was cp -f with just one parameter. Test pass and cp -f fail
Michael
>
> Why is this needed?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-07 8:09 ` Michael Trimarchi
@ 2017-04-07 8:19 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-04-07 8:19 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 7 Apr 2017 10:09:11 +0200, Michael Trimarchi wrote:
> > > diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> > > index 1d464d967..edfc27fa7 100644
> > > --- a/boot/uboot/uboot.mk
> > > +++ b/boot/uboot/uboot.mk
> > > @@ -195,8 +195,9 @@ endef
> > > endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
> > >
> > > define UBOOT_BUILD_CMDS
> > > - $(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
> > > - cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > > + UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
> > > + $(if $(UBOOT_CUSTOM_DTS_PATH),
> > > + cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > > )
>
> My error was cp -f with just one parameter. Test pass and cp -f fail
Ah, yes, obviously. Though it would be nicer to define
UBOOT_CUSTOM_DTS_PATH outside of UBOOT_BUILD_CMDS.
Could you send a separate patch, fixing just that?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)
2017-04-06 16:33 ` Thomas Petazzoni
@ 2017-04-07 18:47 ` Peter Seiderer
0 siblings, 0 replies; 13+ messages in thread
From: Peter Seiderer @ 2017-04-07 18:47 UTC (permalink / raw)
To: buildroot
Hello Thomas,
On Thu, 6 Apr 2017 18:33:16 +0200, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Thu, 6 Apr 2017 13:47:11 +0200, Peter Seiderer wrote:
>
> > Untested but maybe the following works:
> >
> > diff --git a/package/qt5/qt5declarative/Config.in b/package/qt5/qt5declarative/Config.in
> > index 853322c..5e0fbe2 100644
> > --- a/package/qt5/qt5declarative/Config.in
> > +++ b/package/qt5/qt5declarative/Config.in
> > @@ -3,6 +3,7 @@ config BR2_PACKAGE_QT5DECLARATIVE
> > select BR2_PACKAGE_QT5XMLPATTERNS
> > select BR2_PACKAGE_QT5BASE
> > select BR2_PACKAGE_QT5BASE_GUI
> > + select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5BASE_EXAMPLES
> > depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
> > help
> > Qt is a cross-platform application and UI framework for
>
> Thanks, can you submit as a proper patch?
>
Preferred the upstreamable solution to disable examples/quick/demos/photoviewer
in case the qt5 widgets module is not available and submitted as a proper
patch, see [1]...
Regards,
Peter
[1] http://lists.busybox.net/pipermail/buildroot/2017-April/188935.html
> Thomas
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-04-07 18:47 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 10:57 [Buildroot] Qt5 build failure (beaglebone_qt5_defconfig) Arnout Vandecappelle
2017-04-06 11:47 ` Peter Seiderer
2017-04-06 16:12 ` Michael Nazzareno Trimarchi
2017-04-06 16:32 ` Thomas Petazzoni
2017-04-06 16:57 ` Thomas Petazzoni
2017-04-07 7:54 ` Michael Trimarchi
2017-04-07 8:06 ` Thomas Petazzoni
2017-04-07 8:09 ` Michael Trimarchi
2017-04-07 8:19 ` Thomas Petazzoni
2017-04-06 21:27 ` txt.file
2017-04-07 7:28 ` Michael Nazzareno Trimarchi
2017-04-06 16:33 ` Thomas Petazzoni
2017-04-07 18:47 ` Peter Seiderer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.