Skip to contentSkip to conversation

Another in a seemingly infinite chain of errors

DISCUSSION Paul D. DeRocco 2 participants 5 messages Jul 5, 2013

lore
Share & tools
lore
#0 lore raw

The latest is two things: a warning that the files and directories I created in my do_install "were installed but not shipped", followed by an error saying that my layer is "not found in the base feeds". Googling those two phrases turned up lots of patches intended to fix those errors in specific obscure cases, but nothing that explains what they mean, or what I should do when it happens to my layer. I don't think I've forgotten anything that the Dev Manual says that I need in order to add a simple layer.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected] 
#1 lore raw

FILES_${PN}_append = " xxx" should useful, xxx is the file which is listed in the "were installed but not shipped" message.

More info of FILES can be found in https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-FILES

Best Regards,

Zhenhua

Quoted 25 lines

-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Paul D. DeRocco
Sent: Friday, July 05, 2013 1:47 PM
To: [email protected]
Subject: [yocto] Another in a seemingly infinite chain of errors

The latest is two things: a warning that the files and directories I created in my do_install "were installed but not shipped", followed by an error saying that my layer is "not found in the base feeds". Googling those two phrases turned up lots of patches intended to fix those errors in specific obscure cases, but nothing that explains what they mean, or what I should do when it happens to my layer. I don't think I've forgotten anything that the Dev Manual says that I need in order to add a simple layer.

--

Ciao, Paul D. DeRocco
Paul mailto:[email protected]

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 7 lines

From: Zhenhua-B19537

FILES_${PN}_append = " xxx" should useful, xxx is the file which is listed in the "were installed but not shipped" message.

More info of FILES can be found in

https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.ht
ml#var-FILES

Thanks for the quick response.

The problem is that every directory that I create in this one recipe is in that list, not just the files. This includes things like /lib/systemd/system.

I have another recipe, which is basically the same as the hello.c example, except that it is a real program. It works fine without a FILES_${PN} variable. So what is it about my failing recipe that makes it need a FILES_${PN} variable? It has no do_compile, just a do_install script with a bunch of install and ln commands.

By the way, I also notice it says to use things like ${bindir} for standard directories. Is there a comprehensive list of these anywhere? I don't find them in the Yocto Dev Manual or Ref Manual.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected] 
#3 lore raw
Quoted 15 lines

-----Original Message-----
From: Paul D. DeRocco [mailto:[email protected]]
Sent: Friday, July 05, 2013 2:20 PM

Quoted 7 lines

From: Zhenhua-B19537

FILES_${PN}_append = " xxx" should useful, xxx is the file which is listed in the "were installed but not shipped" message.

More info of FILES can be found in

https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-
manual.ht
ml#var-FILES

Quoted 5 lines

Thanks for the quick response.

The problem is that every directory that I create in this one recipe is in that list, not just the files. This includes things like /lib/systemd/system.

[Luo Zhenhua-B19537] Seems like the similar issue as https://bugzilla.yoctoproject.org/show_bug.cgi?id=4309

Quoted 5 lines

I have another recipe, which is basically the same as the hello.c example, except that it is a real program. It works fine without a FILES_${PN} variable. So what is it about my failing recipe that makes it need a FILES_${PN} variable? It has no do_compile, just a do_install script with a bunch of install and ln commands.

[Luo Zhenhua-B19537] Generally "were installed but not shipped" means those files are installed into ${D}, but not placed in any resulting package. FILES can solve it. If the folder is empty, you can remove it directly.

Quoted 3 lines

By the way, I also notice it says to use things like ${bindir} for standard directories. Is there a comprehensive list of these anywhere? I don't find them in the Yocto Dev Manual or Ref Manual.

[Luo Zhenhua-B19537] I am not sure whether such variables are documented in a unified doc, I always check it in meta/conf/bitbake.conf or "bitbake -e | grep xxx".

Best Regards,

Zhenhua

#4 lore raw
Quoted 4 lines

From: Luo Zhenhua-B19537

[Luo Zhenhua-B19537] Seems like the similar issue as
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4309

Just adding everything to FILES_${PN} solves the problem, although it's still a mystery to me why the helloworld.c example doesn't need to do that.

Quoted 8 lines
Quoted 2 lines

By the way, I also notice it says to use things like ${bindir} for standard directories. Is there a comprehensive list of

these anywhere? I

Quoted 1 line

don't find them in the Yocto Dev Manual or Ref Manual.

[Luo Zhenhua-B19537] I am not sure whether such variables are documented in a unified doc, I always check it in meta/conf/bitbake.conf or "bitbake -e | grep xxx".

Thanks. I think I'll create my own little text file listing them all, along with the default values they expand into.

If anyone involved in upgrading the docs is reading this, that really should go into the Ref Manual, in a single table.

Signature · 2 lines
Ciao,               Paul D. DeRocco
Paul                mailto:[email protected]