{"id":127,"date":"2022-07-17T19:54:30","date_gmt":"2022-07-17T19:54:30","guid":{"rendered":"https:\/\/blogs.gentoo.org\/gsoc\/?p=127"},"modified":"2022-07-17T19:54:30","modified_gmt":"2022-07-17T19:54:30","slug":"gentoo-musl-support-expansion-for-qt-kde-week-5","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/gsoc\/2022\/07\/17\/gentoo-musl-support-expansion-for-qt-kde-week-5\/","title":{"rendered":"Gentoo musl Support Expansion for Qt\/KDE Week 5"},"content":{"rendered":"<p>In my proposal I stated that this week should be dedicated to squashing bugs, getting test suites to pass and just getting the Plasma desktop itself to be &#8220;daily driver ready&#8221; (not the KDE apps). As the Plasma desktop basically ran flawlessly as I got the dependencies to build, this went a lot quicker than I originally thought. I ran the test suites for the Plasma desktop and various dependencies and every test passed.<\/p>\n<p>So instead I&#8217;ve been mostly working on getting my old patches merged, and also taken some time learning about cross compilation, u-boot and nftables to get my router to run Gentoo musl aarch64. I have gotten everything in kde-apps-meta to compile except packages that depend on qtwebengine, and that&#8217;ll be worked on next week. In the last weekly report I said that I&#8217;d work on qtwebengine this week but I misread my schedule back then.<!--more--><\/p>\n<p>To start off with I made a better plocate patch. Last week I sent a patch upstream including a compat\/error.h file that got conditionally included if error.h wasn&#8217;t found by the build system. This was a little ugly so I instead sent in another patch which replaced the error usage with fprintf+exit, and that got merged upstream.<\/p>\n<p>At the start of the week I also reinstalled my desktop with Gentoo musl since I had since the start of this project &#8220;make install&#8221;:ed a bunch of packages and I had some random patches in \/etc\/portage\/patches. I wanted to start fresh to see exactly what still actually needed to still be merged to get a Plasma desktop running with only ::gentoo. To my surprise only AccountsService is left, which I&#8217;ll do some work on either later next week or week 7 depending on how long QtWebEngine takes. A fix for AccountsService is PR:ed to ::gentoo, but the code needs a rewrite since the program itself is wrong (enumerates \/etc\/shadow).<\/p>\n<p>As I said previously I installed Gentoo musl on my espressobin v7 to use as a router. This took a while as I had some issues both getting crossdev and fchroot to work, but both of these issues were solved when I reinstalled my computer. Fchroot also needed a small change to the DEPENDS array. After that I messed a lot with u-boot and nftables, and now I feel comfortable using both at a basic level. Once I got that working basically everything compiled and ran just fine, except miniupnpd which did not have the ~arm64 keyword. Reinstalling my desktop and getting Gentoo musl on my router took a lot longer than expected but I learnt a lot, and my choices this week was either that or start early on QtWebEngine.<\/p>\n<p>I have also done some work on k3b (new), glib (new), fchroot (trivial), the musl-compat-* libs (some c+p), speech-dispatcher, and a proposed patch on gettext.<\/p>\n<p>To summarize this report I&#8217;ll say that I&#8217;ve been mostly focused cleaning up old stuff to and to get a clearer picture of exactly what needs additional work, and reinstalling my computer was really helpful in doing so. In the future I&#8217;ll do stuff like this in a container or from my &#8220;clean stage4&#8221; btrfs snapshot, but I needed a reinstall for other reasons as well. I also learnt a lot from my Gentoo musl aarch64 side project.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my proposal I stated that this week should be dedicated to squashing bugs, getting test suites to pass and just getting the Plasma desktop itself to be &#8220;daily driver ready&#8221; (not the KDE apps). As the Plasma desktop basically &hellip; <a href=\"https:\/\/blogs.gentoo.org\/gsoc\/2022\/07\/17\/gentoo-musl-support-expansion-for-qt-kde-week-5\/\">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\/127"}],"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=127"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/127\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}