All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5] install problem for qtbase
       [not found] <55E9C13C.9070308@zone42.org>
@ 2015-09-04 16:14 ` Steffen Sledz
  2015-09-04 17:43 ` Martin Jansa
  1 sibling, 0 replies; 3+ messages in thread
From: Steffen Sledz @ 2015-09-04 16:14 UTC (permalink / raw)
  To: openembedded-devel, Martin Jansa, Otavio Salvador

We've a big problem building qtbase (from fido branch) for two machines with the same SoC in one workspace.

It seems that the do_install of the run for the second machine (which fails) destroys the image subdirectory totally. :(

Here's what we see after a clean build:

-------------------------------------------------------------------------------------
MACHINE=firstmachine bitbake qtbase

# tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
└── usr
    ├── bin
    │   └── qt5
    ├── include
    │   └── qt5
    ├── lib
    │   ├── cmake
    │   ├── fonts
    │   ├── pkgconfig
    │   └── qt5
    └── share
        ├── doc
        └── qt5

13 directories
# tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
└── home
    └── sledz
        └── work

3 directories

-------------------------------------------------------------------------------------
MACHINE=secondmachine bitbake qtbase

# tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
├── home
│   └── sledz
│       └── work
└── usr
    ├── bin
    │   └── qt5
    └── lib

7 directories
# tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
└── home
    └── sledz
        └── work

3 directories

-------------------------------------------------------------------------------------

Additionally after the second run some files are in the wrong subdirectories, e.g. the font files are located in image/usr/lib/ instead of image/usr/lib/fonts.

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-qt5] install problem for qtbase
       [not found] <55E9C13C.9070308@zone42.org>
  2015-09-04 16:14 ` [meta-qt5] install problem for qtbase Steffen Sledz
@ 2015-09-04 17:43 ` Martin Jansa
  2015-09-05  6:49   ` Steffen Sledz
  1 sibling, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-09-04 17:43 UTC (permalink / raw)
  To: Steffen Sledz; +Cc: openembedded-devel, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 4055 bytes --]

On Fri, Sep 04, 2015 at 06:05:16PM +0200, Steffen Sledz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> We've a big problem building qtbase (from fido branch) for two machines with the same SoC in one workspace.
> 
> It seems that the do_install of the run for the second machine (which fails) destroys the image subdirectory totally. :(

the image subdirectory is only temporary and removed before do_install
starts

permanent files are always installed in MACHINE sysroot (or as packages
in deploy directory)

use bitbake-diffsigs to find out why do_install is re-executed for your
secondmachine after it was finished for firstmachine.

> Here's what we see after a clean build:
> 
> - -------------------------------------------------------------------------------------
> MACHINE=firstmachine bitbake qtbase
> 
> # tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> └── usr
>     ├── bin
>     │   └── qt5
>     ├── include
>     │   └── qt5
>     ├── lib
>     │   ├── cmake
>     │   ├── fonts
>     │   ├── pkgconfig
>     │   └── qt5
>     └── share
>         ├── doc
>         └── qt5
> 
> 13 directories
> # tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> └── home
>     └── sledz
>         └── work
> 
> 3 directories
> 
> - -------------------------------------------------------------------------------------
> MACHINE=secondmachine bitbake qtbase
> 
> # tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> ├── home
> │   └── sledz
> │       └── work
> └── usr
>     ├── bin
>     │   └── qt5
>     └── lib
> 
> 7 directories
> # tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/
> └── home
>     └── sledz
>         └── work
> 
> 3 directories
> 
> - -------------------------------------------------------------------------------------
> 
> Additionally after the second run some files are in the wrong subdirectories, e.g. the font files are located in image/usr/lib/ instead of image/usr/lib/fonts.
> 
> - -- 
> DResearch Fahrzeugelektronik GmbH
> Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
> Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
> Fax: +49 30 515932-299
> Geschäftsführer: Dr. Michael Weber, Werner Mögle;
> Amtsgericht Berlin Charlottenburg; HRB 130120 B;
> Ust.-IDNr. DE273952058
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
> 
> iQIcBAEBAgAGBQJV6cE7AAoJEBIsfIC8WuIYUfoP/RwcE6mnRiCaMfH5DjXvGcQw
> y4YpdLAukbew3cSVGZaUGykD8IKalMPcpaEvibMVXwRWRCognYmW6lgLhhMnURH1
> fFWn7w++9o1HR+pFMP3nVf7ql+Y3FnYZfX2hJ1nJLOXvW7ZvsyzmhS6T8qJ/1mYw
> UrUqNSiGq9fW4hVDMbGiaDAaq40tzAkncIx7I0lw3tw2Dzfy0CThU3nXH9dwkrLX
> 94bNub5QLjz+DHwYQjOCYtbsIpormVg5iK7NqlBf68TrNvqZ8nfOaiQTYedoHwGj
> K8O4QZM0gfWKQrA8SC7VMhytYeyDKD/BoZJAFu7VoKI8/931IS2pgBzikTI4qsOL
> LJYNN5eGE1UjosP5pUiAWyJL3+Fw8VdCwMFBD2C2c71ZJC2mbCLNqBOq9b9QG3UP
> xIDDaScDXLnHb1oBly1afzAuA9GgJONExP8HWUwMBqGKN/QRkhacLFC+Co7f7HOS
> B/QLSwUI4f5cFSYL6XA88jOBJ15Cni2Q9M+DCxiVTNF25KyzTO9bfXYoT7r/dtLx
> u2hocNVibWVNK02P3nJEx3bb8CgiWNSsFW5O95jHm5ns3I59ffLhuutmkst3YWC4
> hwid/pkC5TkPJ56Gs19T7aD471cPnuiV2Hu31UvcNbw0GBn3YmW/CTkN7PgYpvr+
> PncY5IhX69dkKpcokBDR
> =JUCc
> -----END PGP SIGNATURE-----

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-qt5] install problem for qtbase
  2015-09-04 17:43 ` Martin Jansa
@ 2015-09-05  6:49   ` Steffen Sledz
  0 siblings, 0 replies; 3+ messages in thread
From: Steffen Sledz @ 2015-09-05  6:49 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Otavio Salvador

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 04.09.2015 um 19:43 schrieb Martin Jansa:
> On Fri, Sep 04, 2015 at 06:05:16PM +0200, Steffen Sledz wrote: We've a big problem building qtbase (from fido branch) for two machines with the same SoC in one workspace.
> 
> It seems that the do_install of the run for the second machine (which fails) destroys the image subdirectory totally. :(
> 
>> the image subdirectory is only temporary and removed before do_install starts
> 
>> permanent files are always installed in MACHINE sysroot (or as packages in deploy directory)

That's clear but why does the image subdir contains the

 ??? home
 ?   ??? sledz
 ?       ??? work

subtree after the second run? And why are the font files (and may be other) in a wrong location?

>> use bitbake-diffsigs to find out why do_install is re-executed for your secondmachine after it was finished for firstmachine.

OK, i wil try this. Can you give a brief instruction how to do this in detail?

> Here's what we see after a clean build:
> 
> ------------------------------------------------------------------------------------- MACHINE=firstmachine bitbake qtbase
> 
> # tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ ??? usr ??? bin ?   ??? qt5 ??? include ?   ??? qt5 ??? lib ?   ??? cmake ?   ??? fonts ?   ??? pkgconfig ?   ??? qt5 ??? share ??? doc ??? qt5
> 
> 13 directories # tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ ??? home ??? sledz ??? work
> 
> 3 directories
> 
> ------------------------------------------------------------------------------------- MACHINE=secondmachine bitbake qtbase
> 
> # tree -d -L 3 tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ tmp-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ ??? home ?   ??? sledz ?       ??? work ??? usr ??? bin ?   ??? qt5 ??? lib
> 
> 7 directories # tree -d -L 3 tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ tmp-glibc/work/x86_64-linux/qtbase-native/5.4.2+gitAUTOINC+2cb17c1fb9-r0/image/ ??? home ??? sledz ??? work
> 
> 3 directories
> 
> -------------------------------------------------------------------------------------
> 
> Additionally after the second run some files are in the wrong subdirectories, e.g. the font files are located in image/usr/lib/ instead of image/usr/lib/fonts.

- -- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJV6pCBAAoJEIz5slJ1krPhBEQQAL86xHoNH63omdOPI/03x8nt
wLhwKoZVI3mnrvsrOmQD7n4TDMHNh8FNDehFgJC9yO5BgphcFPrrnoVFvqYHSsu4
+8Z16UMoWd/hvvyntl1Ua4qaJo8SBtu/Dzr3+bIBF8Fh70UVu562LCGZGusopR0T
AMLDipZ9RDYeV3hgsufk3x2NCz55vc8/vobzdgGj5jp0rPEVw+dWq2jrc4PT7xxV
F80/XNykVD+nZ8L5X/J9Iwfb1oARInbyqa9ENugncmqkcAQrLpBhueIxCJwYtYLz
9vMR2zpvGlYw8kswWdom74FVDGyQz7xSQj02cbeLHSzRFIcaSgE6xypo0sJ47prm
S1PRQGvdd0LP1aP9BZdGToirTFM3QkMDAXzNPnPwjliM/de9vpC/Pen3kt75hwHn
jt3kfW+wpjE31yrViIOGXwbohw6iMEUepfUojK8XjM7+OpEKNmbwDrE1ZuKJDoqq
gjotuf+rRb89338O9FqzHioM9798Ihg0nVLEnmEXblGqkBCQSf6T391Q1PBdayoP
+hMqk3yb4Bee0UClj0HP/uy3oHTO8rtdmcw1eHLQen/zJbuTbvcYmPLqxI8oOcdt
eaQzMqBMMX+f0jhVTg4TXKZNatR0eQpToZeALcRo3qNuDTfN4M3p68gxlThd0dzs
ujlqdS9/2vGQ7Q7U2cvE
=88HE
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-05  6:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <55E9C13C.9070308@zone42.org>
2015-09-04 16:14 ` [meta-qt5] install problem for qtbase Steffen Sledz
2015-09-04 17:43 ` Martin Jansa
2015-09-05  6:49   ` Steffen Sledz

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.