{"id":56,"date":"2022-07-11T23:36:33","date_gmt":"2022-07-11T23:36:33","guid":{"rendered":"https:\/\/blogs.gentoo.org\/gsoc\/?p=56"},"modified":"2022-07-13T01:24:17","modified_gmt":"2022-07-13T01:24:17","slug":"daily-blog-11-07-by-catcream","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/gsoc\/2022\/07\/11\/daily-blog-11-07-by-catcream\/","title":{"rendered":"Daily blog july 11 by Catcream"},"content":{"rendered":"\r\n<p>As I used the #gentoo-soc-musl channel as a mini-blog Blueknight suggested to me that I&#8217;d do small daily blog posts instead.<br \/><br \/>Today I&#8217;ve worked on a lot of different and seemingly unrelated stuff. To start with I fixed plocate to use fprintf + exit instead of error. Upstream wanted a proper patch. This was not as trivial as just replacing since the code used the error_message_count variable. Still pretty straight forward though.<!--more--><\/p>\r\n<p>The next thing I did was to take a look at cross compiling for aarch64-gentoo-linux-musl on x86-64, but I failed to compile the stage1 gcc, both with crossdev and https:\/\/github.com\/richfelker\/musl-cross-make.<br \/><br \/>Then I tried fchroot instead but glib needed patching to build correctly with [static-libs]. It used ngettext() without any reason so I removed it, will publish it once I know it&#8217;s okay. The fchroot::guru ebuild had dependencies on qemu_softmmu_* which is just wrong, so I changed it to _user_ and will push to ::guru soon. As neither aarch64 or arm is mandatory I think it makes sense to make USE-flags for them too.<\/p>\r\n<p>I successfully got into a Gentoo aarch64 musl root with fchroot and started emerging some router-specific software. I noticed that miniupnpd didn&#8217;t have any keywords for arm64 so I added ~arm64.<br \/><br \/>I also took a look at qtwebengine and worked on some things, like the bundled Chromium (oh god no) using sys\/cdefs.h which is an internal glibc header. Qtwebengine seems like a monster and will probably take a while to fix, especially upstreaming the changes. <br \/><br \/>After messing with qtwebengine I got tired of build-fix-cry-build-cycle so I continued testing some stuff on arm64 musl.<br \/><br \/><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>As I used the #gentoo-soc-musl channel as a mini-blog Blueknight suggested to me that I&#8217;d do small daily blog posts instead. Today I&#8217;ve worked on a lot of different and seemingly unrelated stuff. To start with I fixed plocate to &hellip; <a href=\"https:\/\/blogs.gentoo.org\/gsoc\/2022\/07\/11\/daily-blog-11-07-by-catcream\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":177,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/56"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/users\/177"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":6,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":118,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/56\/revisions\/118"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}