install problem for qtbase
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
└── qt513 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
└── work3 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
└── lib7 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
└── work3 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.
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 6 lines · Steffen Sledz
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1We've a big problem building qtbase (from fido branch) for two machines with the same SoC in one workspace.
It seems that the
do_installof 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.
Quoted 81 lines
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 └── qt513 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 └── work3 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 └── lib7 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 └── work3 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:[email protected]
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 v2iQIcBAEBAgAGBQJV6cE7AAoJEBIsfIC8WuIYUfoP/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-----
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 04.09.2015 um 19:43 schrieb Martin Jansa:
Quoted 7 lines
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_installof the run for the second machine (which fails) destroys the image subdirectory totally. :(Quoted 3 lines
the image subdirectory is only temporary and removed before
do_installstartspermanent 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?
Quoted 1 line
Quoted 1 line
use bitbake-diffsigs to find out why
do_installis 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?
Quoted 14 lines
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 ??? qt513 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
Quoted 7 lines
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:[email protected]
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-----