LetoThe2nd changed the topic of #yocto to: Welcome to the Yocto Project | Learn more: https://www.yoctoproject.org | Community: https://www.yoctoproject.org/community | IRC logs: http://irc.yoctoproject.org/irc/ | Having difficulty on the list, with someone on the list or on IRC, contact Yocto Project Community Manager Letothe2nd | CoC: https://www.yoctoproject.org/community/code-of-conduct
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #yocto
chep` has joined #yocto
florian has quit [Ping timeout: 248 seconds]
chep has quit [Ping timeout: 252 seconds]
chep` is now known as chep
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
mckoan|away has quit [Ping timeout: 244 seconds]
mckoan|away has joined #yocto
vvn has quit [Quit: WeeChat 4.5.1]
<Guest33> Thx rburton. It was meant as a joke, i think anyone trying occasionally to contribute to open source, or maintaining any public project knows it's not worth the stress and all, even if it was paid, insert xkcd with plane throwing issues on island. I have nothing against Yocto trying to get what it deserves. But that's a whole different topic.
<Guest33> Initially i was asking out of curiosity about people's OEM-layer-quality-ranking above, and so far i know only fray's opinion. Would you share yours too?
Guest33 has quit [Ping timeout: 240 seconds]
mckoan|away has quit [Ping timeout: 265 seconds]
mckoan|away has joined #yocto
Daanct12 has joined #yocto
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #yocto
vvn has joined #yocto
tammranil has quit [Remote host closed the connection]
tammranil has joined #yocto
KanjiMonster_ has joined #yocto
KanjiMonster has quit [Ping timeout: 252 seconds]
KanjiMonster_ is now known as KanjiMonster
lexano has quit [Ping timeout: 265 seconds]
frgo_ has quit [Remote host closed the connection]
frgo has joined #yocto
frgo has quit [Ping timeout: 276 seconds]
goliath has joined #yocto
frieder has joined #yocto
rfuentess has joined #yocto
wojci has joined #yocto
rob_w has joined #yocto
nylvon has joined #yocto
<nylvon> hey, what's up?
nncv has joined #yocto
<nncv> hey. small question. I have this layer that offers static group and passwd files. I have this other layer that I must use (I can't modify the first one), and I have to add another user basically. I was messing about, and I managed to make an .inc file that appends to the static user and group table variables two new files that contain the new group
<nncv> and user. however, I think I am complicating things a lot, especially because base-passwd seems to mess it all up (I can see the proper /etc/group and /etc/passwd files in the recipe that creates these new ones in recipes-sysroots in the build folder; but I can't see them in the final image). I'm thinking of just making a patch for the two initial
<nncv> files. if I do this, does bitbake know that these patches are meant to run as early as possible?
nylvon has quit [Quit: Client closed]
Kubu_work has joined #yocto
mckoan|away is now known as mckoan
belsirk has joined #yocto
belsirk has quit [Remote host closed the connection]
belsirk has joined #yocto
rfuentess has quit [Ping timeout: 264 seconds]
g0hl1n has quit [Ping timeout: 240 seconds]
ptsneves has joined #yocto
florian has joined #yocto
ptsneves has quit [Client Quit]
ptsneves1 has joined #yocto
ptsneves1 is now known as ptsneves
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #yocto
leon-anavi has joined #yocto
Emantor has quit [Quit: ZNC - http://znc.in]
olani has quit [Read error: Connection reset by peer]
ablu has quit [Ping timeout: 252 seconds]
ablu has joined #yocto
g0hl1n has joined #yocto
berton has joined #yocto
Emantor has joined #yocto
belsirk is now known as rfuentess
Emantor has quit [Client Quit]
Emantor has joined #yocto
Guest33 has joined #yocto
Harish has joined #yocto
florian has quit [Ping timeout: 245 seconds]
vthor_ has joined #yocto
vthor has quit [Ping timeout: 246 seconds]
Guest33 has quit [Quit: Client closed]
Harish has quit [Quit: Client closed]
Harish has joined #yocto
savolla has joined #yocto
nncv has quit [Quit: Client closed]
ray-san has joined #yocto
g0hl1n has quit [Ping timeout: 240 seconds]
florian has joined #yocto
lexano has joined #yocto
dgriego_ has joined #yocto
dgriego has quit [Ping timeout: 252 seconds]
ederibaucourt has quit [Quit: ZNC 1.8.2 - https://znc.in]
ederibaucourt has joined #yocto
ederibaucourt has quit [Client Quit]
ederibaucourt has joined #yocto
Harish has quit [Quit: Client closed]
olani has joined #yocto
makurz has joined #yocto
<makurz> hej, i have a question regarding an issue I encounter. We are using an quite old yocto version (1.6.2 Daisy), and I am trying to build an image for an ARM architecture. I am building it in a docker container using ubuntu 14.04 (otherwise it would not build at all). However, I get the following error message which is trying to compile something in
<makurz> the tmp/work/x86_64-linux folder but I am not sure why it is doing this and where I can try to start searching to find a solution. Your help is much appreciated!
<makurz> DEBUG: Executing shell function do_compile
<makurz> NOTE: make -j 16
<makurz> make all-am
<makurz> make[1]: Entering directory `/home/platform/build/tmp/work/x86_64-linux/jbig2dec-native/0.11-r0/jbig2dec-0.11'
<makurz> gcc -DHAVE_CONFIG_H -I. -isystem/home/platform/build/tmp/sysroots/x86_64-linux/usr/include -isystem/home/platform/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -Wall -c -o jbig2_image_png.o jbig2_image_png.c
<makurz> jbig2_image_png.c: In function 'jbig2_png_write_data':
<makurz> jbig2_image_png.c:36:56: error: dereferencing pointer to incomplete type
<makurz>      check = fwrite(data, 1, length, (png_FILE_p)png_ptr->io_ptr);
<makurz>                                                         ^
<makurz> jbig2_image_png.c: In function 'jbig2_png_flush':
<makurz> jbig2_image_png.c:46:5: warning: implicit declaration of function 'CVT_PTR' [-Wimplicit-function-declaration]
<makurz>      io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
<makurz>      ^
<makurz> jbig2_image_png.c:46:42: error: dereferencing pointer to incomplete type
<makurz>      io_ptr = (png_FILE_p)CVT_PTR((png_ptr->io_ptr));
<makurz>                                           ^
<mckoan> makurz: please use pastebin
<JaMa> daisy from 2014 is unsupported like the 14.04 ubuntu
<JaMa> read the jbig2 source to understand what went wrong if you really need to use this old unsupported version
<rburton> makurz: if you really need daisy then at least try to use the tip of the daisy branch as you're missing a least one point release
<makurz> sorry for not using the pastebin! my mistake. I will try your suggestions. Thanks a lot.
Guest33 has joined #yocto
makurz has quit [Quit: Client closed]
leon-anavi has quit [Remote host closed the connection]
leonanavi has joined #yocto
Guest12 has joined #yocto
g0hl1n has joined #yocto
Guest12 has quit [Client Quit]
Guest1 has joined #yocto
Guest1 has quit [Client Quit]
makurz has joined #yocto
<Guest33> DISTRO was mentioned in one reply on mailing list as defining "build configuration policy". I wonder, what is this in simple English. As i understand it - distro and specifically distro_features act as some feature switches, enablers. For example, if distro feature x11 is present, and some optional items, checking for this feature will see it -
<Guest33> some more items will picked up. However, is there more to it, than just those enablers? I mean, besides that what one can read in variables glossary of manual (so for example that it is also possible to add package to all mages if it exist by setting DISTRO_EXTRA_RRECOMMENDS)
<JaMa> it can be any configuration which defines your Linux distribution, including things like where your default SSTATE_MIRROR might be or prefered package format or package versions and providers etc
<Guest33> ok, but then i guess many times package versions are rather in images, because of different manufacturers (in case someone targets multiple different hardware)
JerryM has joined #yocto
<JerryM> it seems I'm getting a SSL_ERROR_BAD_CERT_DOMAIN for git.openembedded.org, whose domain does not seem to be included in the certificate
Daanct12 has quit [Quit: WeeChat 4.5.1]
pbsds3 has joined #yocto
tnovotny has joined #yocto
g0hl1n has quit [Quit: Client closed]
mckoan is now known as mckoan|away
makurz has quit [Quit: Client closed]
cyxae has joined #yocto
wojci has quit [Ping timeout: 245 seconds]
JerryM has quit [Ping timeout: 264 seconds]
florian_kc has joined #yocto
rfuentess has quit [Remote host closed the connection]
tnovotny has quit [Quit: Leaving]
goliath has quit [Quit: SIGSEGV]
florian has quit [Quit: Ex-Chat]
makurz has joined #yocto
ThomasRoos has joined #yocto
florian_kc has quit [Ping timeout: 260 seconds]
makurz has quit [Client Quit]
<ThomasRoos> anyone use sanitizers on arm64 - getting this error on master (was reported in IRC a year ago - but did not see any solution - https://libera.irclog.whitequark.org/yocto/2024-01-17)
<ThomasRoos> AddressSanitizer: CHECK failed: sanitizer_allocator_primary64.h:131 "((kSpaceBeg)) == ((address_range.Init(TotalSpaceSize, PrimaryAllocatorName, kSpaceBeg)))" (0x500000000000, 0xfffffffffffffff4) (tid=1793)
<ThomasRoos>     <empty stack>
bwani54 has joined #yocto
bwani54 has quit [Remote host closed the connection]
<rburton> looks like we need a selftest for sanitisers
<ThomasRoos> this is the issue: https://github.com/llvm/llvm-project/issues/65144 it seems but no solution
<ThomasRoos> other than try -DSANITIZER_CAN_USE_ALLOCATOR64=0
<ThomasRoos> (my idea was to enable sanitizers for all my ptests to catch memory issues as well)
wojci has joined #yocto
ray-san has quit [Ping timeout: 246 seconds]
wojci has quit [Ping timeout: 244 seconds]
<vmeson> ThomasRoos: as people mentioned on the Tech call, this seems like a good idea. There are problems with the gcc address sanitizers on riscv64 but you can run in sv39 mode, iirc.
<ThomasRoos> thanks - at the moment I just care about x86-64, arm32, arm64
<vmeson> If you share who you're doing this, I might try it out in our autobuilder.
<vmeson> *how your doing ...
<ThomasRoos> root@qemuarm64:/usr/lib/s2n-leak-test# ./ptest/run-ptest
<ThomasRoos> =================================================================
<ThomasRoos> ==249==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x007fa9400034 at pc 0x005561c90d70 bp 0x007ff35a1dd0 sp 0x007ff35a1dc0
<ThomasRoos> works on arm64, yeah
<ThomasRoos> CXXFLAGS:append:aarch64 = " -DSANITIZER_CAN_USE_ALLOCATOR64=0" in gcc-sanitizers.inc
<ThomasRoos> will send a patch
<ThomasRoos> what is the correct mailing list for this?
<vmeson> Maybe yocto@lists.yoctoproject.org ?
<ThomasRoos> I will try - now I know how to produce a correct Subject line ;)
<moto-timo> The meta-java qemuarm job which is failing to fetch: https://gitlab.com/moto-timo/meta-java/-/jobs/8902570036
makurz has joined #yocto
<vmeson> moto-timo: you need to fake being a browser. This works: wget --user-agent="Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0" https://hg.openjdk.java.net/aarch32-port/jdk8u/archive/jdk8u272-ga-aarch32-20201026.tar.bz2
frieder has quit [Remote host closed the connection]
<moto-timo> Seems that meta-java might be constructing the link wrong. https://hg.openjdk.org/aarch32-port/jdk8u/langtools/archive/jdk8u272-ga-aarch32-20201026.tar.bz2
<moto-timo> meh... wrong link (there are several downloads that must happen)
leonanavi has quit [Quit: Leaving]
<moto-timo> Is the link that worked in Chrome browser and Firefox browswer.
<makurz> coming back to the problem with the jbig2dec-native compilation. I updated to the Daisy 1.6.3 tip without any issues. What I found out is that the jbig2dec is compiling perfectly for the target platform (arm) but does not compile for the host system, at least thats how i understood the -native suffix. The compilation failed because of non defined
<makurz> data types that are present in the libpng library. I checked in the devshell that all of the libraries are present and the include paths of the compilation is correct (I checked CFLAGS and LDFLAGS) + ldconfig -p | grep libpng to make sure they are present. I also will add the error message again for convenience: https://pastebin.com/0tzmBPPN
<makurz> Host OS: Ubuntu 14.04 Container
<makurz> Any other angles from where I can takle the issue?
<moto-timo> The command that bitbake is running for the wget fetcher is: `/usr/bin/env wget -t 2 -T 100 -O /srv/gitlab/persist/downloads/openjdk8-272-jdk8u-jdk8u272-ga-aarch32-20201026.tar.bz2.tmp -P /srv/gitlab/persist/downloads 'https://hg.openjdk.java.net/aarch32-port/jdk8u/archive/jdk8u272-ga-aarch32-20201026.tar.bz2' --progress=dot -v`
<moto-timo> I can see the urls are different so I might need to hack meta-java (the urls are built in multiple places, so it is not simple)
<rburton> moto-timo: yeah the server is screwed. curl ends up spitting out http2 internal failures and hangs if you tell it to use 1.1. confirmed that it demands a browser-ish UA here, which is fun as we just removed that from the fetcher :)
<rburton> we need a way to add arbitrary args to the wget call without too much hassle
<rburton> the workaround would be to set FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 100 --user-agent "...""
<rburton> (in the recipe)
<rburton> (that's the default fetch command from the fetcher)
<moto-timo> Ultimately, openjdk has moved to other places (including Github), but I am trying to incrementally get things to build as they are now before making major changes.
<rburton> yeah in that case i'd do that fetchcmd hack temporarily until you fetch from github instead
<moto-timo> vmeson: rburton: thank you for the hints. I can create a customized wget fetcher command.
makurz has quit [Quit: Client closed]
<moto-timo> vmeson: rburton: thank you. fetching worked for that configuration
goliath has joined #yocto
mckoan|away has quit [Ping timeout: 246 seconds]
florian_kc has joined #yocto
mckoan|away has joined #yocto
jmd has joined #yocto
<rburton> moto-timo: fwiw kanavin said 'This has been discussed before. Taking things from mercurial with wget is explicitly disallowed and there’s an official location for those tarballs. I’ll find that thread when I get to a real computer.' which is interesting so you might be able to just switch urls and make it work
<rburton> ThomasRoos: wrong list for the sanitisers patch btw
<moto-timo> rburton: kanavin: interesting. It's similar to the github archive argument. They are ephemeral and therefore the checksums might change. But perhaps when this was all written we didn't know that yet. I think meta-java is from 2012 or so.
berton has quit [Remote host closed the connection]
<moto-timo> seems like the icedtea7-native failure might be a race condition or something else ephemeral, as it has both failed and passed. Failure is a pattern like: https://gitlab.com/moto-timo/meta-java/-/jobs/8902570037
<moto-timo> my hunch about b09 (beta 9 release) vs ga (general availability release) seems to have been correct for aarch32. It at least was able to pass do_patch and fail like the others in do_compile: https://gitlab.com/moto-timo/meta-java/-/jobs/8911497874
Slimey_ has joined #yocto
<moto-timo> ok. back to paid work...
goliath has quit [Quit: SIGSEGV]
stgl has quit [Ping timeout: 252 seconds]
AdrianF4 has joined #yocto
mckoan|away has quit [Ping timeout: 248 seconds]
Slimey has quit [Ping timeout: 248 seconds]
Slimey_ is now known as Slimey
mckoan|away has joined #yocto
savolla has quit [Ping timeout: 252 seconds]
stgl has joined #yocto
wicki2 has joined #yocto
Wouter0100 has quit [Read error: Connection reset by peer]
wicki has quit [Ping timeout: 248 seconds]
wicki2 is now known as wicki
AdrianF has quit [Ping timeout: 252 seconds]
frosteyes has quit [Ping timeout: 252 seconds]
AdrianF4 is now known as AdrianF
grma has quit [Ping timeout: 272 seconds]
jclsn has quit [Ping timeout: 272 seconds]
Wouter0100 has joined #yocto
jclsn has joined #yocto
savolla has joined #yocto
frosteyes has joined #yocto
<kanavin> moto-timo, just answered by email
<kanavin> rburton, ^^^
khem has quit [Quit: WeeChat 4.5.1]
<rburton> kanavin: thanks
sakoman has quit [Ping timeout: 265 seconds]
sakoman has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]
sakoman has quit [Ping timeout: 272 seconds]
rob_w has quit [Quit: Leaving]
sakoman has joined #yocto
riccardo has joined #yocto
riccardo has quit [Remote host closed the connection]
nerdboy has quit [Ping timeout: 245 seconds]
<ThomasRoos> rburton what is the correct list?
florian_kc has joined #yocto
nerdboy has joined #yocto
frgo has joined #yocto
florian_kc has quit [Ping timeout: 252 seconds]
Guest33 has quit [Quit: Client closed]
florian_kc has joined #yocto
ThomasRoos has quit [Quit: Client closed]
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #yocto
kanavin_ has joined #yocto
kanavin has quit [Read error: Connection reset by peer]
goliath has joined #yocto
g0hl1n has joined #yocto
cyxae has quit [Quit: cyxae]
jmd has quit [Remote host closed the connection]
Xogium has quit [Ping timeout: 260 seconds]
druppy has joined #yocto
Xogium has joined #yocto
mulk has quit [Quit: ZNC - http://znc.in]
mulk has joined #yocto
savolla has quit [Quit: WeeChat 4.4.3]
Vonter has quit [Ping timeout: 244 seconds]
Vonter has joined #yocto
g0hl1n has quit [Quit: Client closed]
druppy has quit [Ping timeout: 265 seconds]
frgo_ has quit [Remote host closed the connection]
florian_kc has quit [Ping timeout: 245 seconds]
* RP merges the virtual providers pre recipe bits
* RP managed to fix meta-clang and meta-mingw
ptsneves has quit [Ping timeout: 245 seconds]
Kubu_work has quit [Quit: Leaving.]
goliath has quit [Quit: SIGSEGV]