<ablu>
The recipe provides multiple packages, "smbclient" is one of them.
<jmd>
Hmm. When I tried I got an error. I will try again today.
brrm has quit [Ping timeout: 258 seconds]
vladest has quit [Quit: vladest]
rfuentess has joined #yocto
olani- has joined #yocto
brrm has joined #yocto
jmd has quit [Remote host closed the connection]
Daanct12 has joined #yocto
olani- has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #yocto
silbe has quit [Ping timeout: 255 seconds]
wacke has quit [Quit: leaving]
vladest has joined #yocto
varjag has joined #yocto
leon-anavi has joined #yocto
Chaser has joined #yocto
florian has joined #yocto
hcg has joined #yocto
hcg23 has joined #yocto
hcg has quit [Quit: Client closed]
alessioigor has joined #yocto
hcg23 has quit [Ping timeout: 248 seconds]
florian_kc has joined #yocto
goliath has joined #yocto
xmn has joined #yocto
davidinux has quit [Quit: WeeChat 3.5]
davidinux has joined #yocto
rob_w_ has joined #yocto
ptsneves has joined #yocto
nplevr has joined #yocto
olani- has joined #yocto
<nplevr>
Hello guys, I am trying 3 hours to create a recipe that will extract a local tar of webpages and install them to the /www/pages rootfs path that lighttpd is servicing by default without success.
<nplevr>
The .bb file has: SRC_URI = "file://webpages.tar"
<nplevr>
but when I try to build it with bitbake webpages command it complains about packaging: ERROR: webpages-0.1-r0 do_package: QA Issue: webpages is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
<nplevr>
ERROR: webpages-0.1-r0 do_package: QA Issue: webpages: Files/directories were installed but not shipped in any package:
<nplevr>
/www
<nplevr>
/www/pages
<nplevr>
/www/pages/runtime.c2ffca21455b3135.js
<nplevr>
/www/pages/index.html
<nplevr>
/www/pages/3rdpartylicenses.txt
<nplevr>
/www/pages/styles.709a9a3fcba9a9e2.css
<nplevr>
/www/pages/favicon.ico
<nplevr>
/www/pages/main.eb308ed5aac1d560.js
<nplevr>
/www/pages/polyfills.b4557aae1582af27.js
<nplevr>
/www/pages/assets
<nplevr>
/www/pages/assets/k-logo.png
<nplevr>
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
<nplevr>
webpages: 11 installed and not shipped files. [installed-vs-shipped]
<nplevr>
I have tried to add the FILES_${PN} += with each of the filename manually but still doesn't work even if it's not a viable solution, any ideas to solve the issue ?
<rburton>
FILES:${PN} = "/www"
<mckoan>
nplevr: please use pastebin
<rburton>
also the error about PACKAGES suggests that's not the whole content of your recipe
<JaMa>
isn't that much useful, maybe it should be in separate package in RRECOMMENDS
<rburton>
yes
<rburton>
split it out and call it demo-site or something
<JaMa>
but then someone else can complain that it "doesn't work" with BAD_RECOMMENDATIONS :) you cannot please everybody
manuel__ has quit [Ping timeout: 260 seconds]
<ptsneves>
Regarding "Add API for upstream source tracing" were the docs updated with how this works?
grma has quit [Remote host closed the connection]
kpo has joined #yocto
<nplevr>
rburton and JaMa finaly I have managed to create the rootfs file with a bbapend to remove the default index file that lighttpd creates. You saved me I was trying for 3+ hours but it's normal I am a newbie! :-D
rob_w_ has quit [Quit: Leaving]
rob_w_ has joined #yocto
<rburton>
when in doubt, ask here first ;)
<nplevr>
=D
Danct12 has quit [Read error: Connection reset by peer]
<JaMa>
how is it possible to time travel?
<rburton>
JaMa: so i have a patch to put /www/pages/ in a sample site package. should the .conf file go in there too? presumably real users will be shipping both their own content _and_ a config file.
davidinux has quit [Ping timeout: 240 seconds]
<rburton>
nplevr: guessing you'll also end up writing your own lighttp.conf to do what you want?
<nplevr>
rburton I let it default, I just created a .bbappend file to erase the html file to avoid the conflict of my webpages package to be installed
<Rich_1234>
I have a recipe which builds a CMake based project. In my CMakeLists.txt I have "FetchContent_MakeAvailable(googletest)", but the thing is it doesn't populate my gtest, gmock targets when building through Yocto. This is in kirkstone, I am wondering if anyone has experienced anything similar, I have found this which is related but not quite the same
<rburton>
Rich_1234: that's because we disable networking in configure/compile steps to stop software going off and downloading more code during the build
<rburton>
the ugly and horrible and dubious if you have GPL compliance obligations is to do_configure[network] = "1"
<rburton>
the proper fix is to fetch the googletest in SRC_URI and tell the cmake where to find it
<Rich_1234>
rburton Ah i see, that would make sense, but thanks that gives me enough to go on so I will look at it some more. But with the do_configure[network] = 1, im guessing goes in the bb file and would that enable it just for that recipe?
<rburton>
because actually knowing what source you're shipping is useful
nplevr has quit [Quit: Client closed]
<Rich_1234>
Alright, I will give it a try
<rburton>
also fetchcontent breaks offline builds and caching which is annoying.
<Rich_1234>
Right, yeah I can see that
davidinux has joined #yocto
mvlad has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
grma has joined #yocto
alessioigor has quit [Quit: alessioigor]
<JaMa>
rburton: I don't use lighttpd, so don't have strong opinion about the conf file, but there were some lighttpd changes from Glenn Strauss just sent to ML, ask him :)
alessioigor has joined #yocto
<JaMa>
Rich_1234: many recipes in meta-ros are also using that, so you can see the SRC_URI solution there as well (which I did before restricting the network was even implemented)
<Rich_1234>
JaMa Thanks, I will take a look
rob_w_ has quit [Quit: Leaving]
rob_w has quit [Quit: Leaving]
Vonter has quit [Ping timeout: 248 seconds]
Vonter has joined #yocto
PhoenixMage has quit [Remote host closed the connection]
prabhakarlad has quit [Quit: Client closed]
ptsneves has quit [Remote host closed the connection]
ptsneves has joined #yocto
ptsneves has quit [Ping timeout: 255 seconds]
camus has quit [Quit: camus]
ptsneves has joined #yocto
Daanct12 has quit [Quit: WeeChat 4.0.5]
williamh67 has joined #yocto
williamh67 has quit [Ping timeout: 248 seconds]
Chocky has quit [Quit: Leaving.]
Chocky has joined #yocto
Chocky has quit [Client Quit]
Chocky has joined #yocto
<JaMa>
time travel possibly explained, thank you MTK for your BT drivers
<RP>
otavio: can you email helpdesk@yoctoproject.org about that please ?
<otavio>
sure :-)
prabhakarlad has joined #yocto
vladest has quit [Quit: vladest]
Danct12 has joined #yocto
alessioigor has quit [Quit: alessioigor]
alessioigor has joined #yocto
olani- has quit [Remote host closed the connection]
jmd has joined #yocto
<JaMa>
FYI: looks like with python-3.12 bitbake-server doesn't stop after the build is finished, maybe related to this warning in bitbake-cookerdaemon.log?
<JaMa>
/OE/build/luneos-scarthgap/bitbake/bin/bitbake-worker:210: DeprecationWarning: This process (pid=3486592) is multi-threaded, use of fork() may lead to deadlocks in the child.
<JaMa>
/usr/lib/python3.12/multiprocessing/popen_fork.py:66: DeprecationWarning: This process (pid=2273008) is multi-threaded, use of fork() may lead to deadlocks in the child.
vladest has joined #yocto
* JaMa
switched default python from 3.11 to 3.12 yesterday
rfuentess has quit [Remote host closed the connection]
<Chocky>
I had a problem where an external kernel module wasn't building. It turned out that the top-level target in the Makefile was "all" and conflicted/overridden by other rule. I guess this was some kind of kirkstone change
<gmorell>
w/ 2
<Chocky>
<- crappy wifi
amitk has quit [Ping timeout: 260 seconds]
Xagen has joined #yocto
Chaser has quit [Quit: Chaser]
Chaser has joined #yocto
Chaser has quit [Ping timeout: 255 seconds]
prabhakarlad has joined #yocto
<mischief>
does yocto use build id elf notes (.note.gnu.build-id) in any capacity? thinking about stripping them out for a special reason.
<rburton>
You can strip them, they’re useful for finding debug files but if that’s not a problem then they can go
<rburton>
Why do you want to strip them out?
alessioigor has quit [Quit: alessioigor]
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has joined #yocto
Net147 has quit [Changing host]
goliath has quit [Quit: SIGSEGV]
<khem>
mischief: why do you want to delete them ?
<khem>
things like debuginfod wont work among other things keep that in mind
<mischief>
khem: we dont use debuginfod
<mischief>
we're looking at using systemd-coredump for core dump handling, but we actually have journald's storage turned off and all log messages forward to syslog
<mischief>
when coredumpd tries to print the stack of the core, it prints all of the shared objects build-id's first before the stack
<mischief>
and it prints all of it in a single messsage
<mischief>
this line becomes too long for syslog, and it's truncated :-)
<khem>
yes, thats the point, it matches to exact matching debug files
<khem>
sometimes its useful if you modify the libs etc. which may have multiple debug info files due to that
<mischief>
my understanding is that build-id isn't used if the splitdebug files follow a specific layout - e.g. `.debug` subdirectory
<mischief>
also, we dont actually ship the splitdebug, we're also looking at PACKAGE_MINIDEBUGINFO instead
mvlad has quit [Remote host closed the connection]
<khem>
it is not per-se, it falls back to old dump algorithm of matching directory and filenames
<khem>
to find corresponding debug files
<mischief>
well, we might try stripping build-id, or maybe just patch systemd to not print it :-)
grma has quit [Remote host closed the connection]
<khem>
yeah pass --build-id=none via LDFLAGS globally will do it
florian_kc has quit [Ping timeout: 255 seconds]
Net147 has quit [Quit: Quit]
Net147 has joined #yocto
Net147 has quit [Changing host]
Net147 has joined #yocto
<mischief>
khem: oh, huh, good idea
<mischief>
i was going to try running strip instead xD
goliath has joined #yocto
florian_kc has joined #yocto
silbe has quit [Ping timeout: 252 seconds]
florian_kc has quit [Ping timeout: 260 seconds]
khem has quit [Quit: Connection closed for inactivity]