Poky core-image-minimal fails to build with package_deb
Hi All,
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in ./meta/lib/oe/package_manager.py
For instance:
cd %s; PSEUDO_UNLOAD=1 %s packages > Packages
should be
cd %s; PSEUDO_UNLOAD=1 %s packages . > Packages
The generation of the "Release" file also appears to be incorrect (maybe it is also missing a trailing period?).
Finally, the creation of the Packages.gz file causes an error, but I'm not currently familiar enough with Yocto to fix it, but perhaps someone else might be able to help? (Seems to me that this part of the build is running the commands in parallel but needs to performed be serially)
Kind regards,
Jeremy
Signature · 11 lines
Jeremy Powell Senior Software Engineer VisionAid International Ltd Unit 9 Crawley Business Centre Stephenson Way Three Bridges Crawley West Sussex RH10 1TN
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.py
Can you file a bug for these issues please (reply here with the number so it doesn't get lost).
Ross
Quoted 7 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
Quoted 10 lines · Jeremy Powell
Quoted 9 lines · Ross
Quoted 3 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Quoted 6 lines
Quoted 1 line
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
oe-core, component deployment.
Ross
Quoted 8 lines · Ross
Quoted 7 lines · Jeremy Powell
Quoted 6 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
oe-core, component deployment.
Ross
Thanks again, I've opened a bug #6047:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6047
I've also attached a patch to it which resolves the issue for me.
Quoted 14 lines · Jeremy Powell
Quoted 13 lines · Ross
Quoted 12 lines · Jeremy Powell
Quoted 7 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
Quoted 7 lines
Quoted 3 lines
oe-core, component deployment.
Ross
Thanks again, I've opened a bug #6047:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6047I've also attached a patch to it which resolves the issue for me.
It would be good if your bug report explains what is going wrong (and why if you understand it), not just that "it fails and here's the patch". This will aid not only in understanding the problem but also for future searches of the bugzilla database for similar issues.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 17 lines · Gary Thomas
Quoted 16 lines · Jeremy Powell
Quoted 15 lines · Ross
Quoted 11 lines · Jeremy Powell
Quoted 7 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
oe-core, component deployment.
Ross
Quoted 9 lines
Quoted 4 lines
Thanks again, I've opened a bug #6047:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6047I've also attached a patch to it which resolves the issue for me.
It would be good if your bug report explains what is going wrong (and why if you understand it), not just that "it fails and here's the patch". This will aid not only in understanding the problem but also for future searches of the bugzilla database for similar issues.
Hi - I've added comments to address this
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Jeremy Powell
Quoted 8 lines · Ross
Quoted 7 lines · Jeremy Powell
Quoted 6 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
oe-core, component deployment.
Ross
Thanks again, I've opened a bug #6047:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6047
Quoted 6 lines
Quoted 1 line
I've also attached a patch to it which resolves the issue for me.
It would be good if your bug report explains what is going wrong (and why if you understand it), not just that "it fails and here's the patch". This will aid not only in understanding the problem but also for future searches of the bugzilla database for similar issues.
FWIW I've sent out some patches which address this problem and some others I spotted.
Cheers,
Richard
Hello
Sorry, It is my fault. I ported a patch that I created for dora. I dont have a running system on master.
Richard, thanks for your patch.
Quoted 41 lines · Richard Purdie
Quoted 21 lines · Gary Thomas
Quoted 20 lines · Jeremy Powell
Quoted 8 lines · Ross
Quoted 7 lines · Jeremy Powell
Quoted 6 lines · Ross
Quoted 2 lines · Jeremy Powell
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.pyCan you file a bug for these issues please (reply here with the number so it doesn't get lost).
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Ross
Hi Ross - thanks for your reply. I've created an account on bugzilla.yoctoproject.org, but its not clear to me which product this bug would refer to. Meta-yocto or OE-Core perhaps?
oe-core, component deployment.
Ross
Thanks again, I've opened a bug #6047:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6047Quoted 6 lines
Quoted 1 line
I've also attached a patch to it which resolves the issue for me.
It would be good if your bug report explains what is going wrong (and why if you understand it), not just that "it fails and here's the patch". This will aid not only in understanding the problem but also for future searches of the bugzilla database for similar issues.
FWIW I've sent out some patches which address this problem and some others I spotted.
Cheers,
Richard
--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Signature · 1 line
Ricardo Ribalda
Quoted 6 lines · Jeremy Powell
Hi All,
I'm trying to build poky from the git master head, but there are several problems in the DpkgIndexer class in
./meta/lib/oe/package_manager.py
Quoted 7 lines
For instance:
cd %s; PSEUDO_UNLOAD=1 %s packages > Packages
should be
cd %s; PSEUDO_UNLOAD=1 %s packages . > PackagesThe generation of the "Release" file also appears to be incorrect (maybe it is also missing a trailing period?).
Might be related to this:
commit aec1194c120e5eae12cee18741d368ac3bb11722
Author: Ricardo Ribalda Delgado <[email protected]> Date: Mon Mar 17 09:30:37 2014 +0000
package_manager: Use apt-ftparchive for deb packages
Can you revert this patch and try again?
laurentiu
Quoted 28 lines
Finally, the creation of the Packages.gz file causes an error, but I'm not currently familiar enough with Yocto to fix it, but perhaps someone else might be able to help? (Seems to me that this part of the build is running the commands in parallel but needs to performed be serially)
Kind regards,
JeremySignature · 17 lines
Jeremy Powell Senior Software Engineer VisionAid International Ltd Unit 9 Crawley Business Centre Stephenson Way Three Bridges Crawley West Sussex RH10 1TN -- _______________________________________________ poky mailing list [email protected] https://lists.yoctoproject.org/listinfo/poky