{"id":446,"date":"2023-06-04T17:50:07","date_gmt":"2023-06-04T17:50:07","guid":{"rendered":"https:\/\/blogs.gentoo.org\/gsoc\/?p=446"},"modified":"2023-06-04T17:52:09","modified_gmt":"2023-06-04T17:52:09","slug":"week-1-modern-c-porting","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/gsoc\/2023\/06\/04\/week-1-modern-c-porting\/","title":{"rendered":"Week 1 report or porting Gentoo packages to modern C"},"content":{"rendered":"<p>Hello all,<\/p>\n<p>This is my week 1 report for my project &#8220;Modern C porting of Gentoo<br \/>\npackages&#8221; as a Google summer of code student at Gentoo Linux foundation.<br \/>\nSome of you might recognize me from last year, yep this is my second<br \/>\ntime (and unfortunately last).<\/p>\n<p>I&#8217;ll try to divide my report into two sections, current which is where<br \/>\nI&#8217;ll discuss the current status and next which is where I&#8217;ll discuss what<br \/>\nI&#8217;m going to do it next.<\/p>\n<p>Current:<br \/>\nGetting to the report itself, I&#8217;ve been mainly sticking to the plan and<br \/>\nworking on *<strong>Wincompatible-function-pointer-types<\/strong>* bugs. The idea is to<br \/>\nreduce such bugs from the bug list [1] completely or as much as<br \/>\npossible. Since I was already kind of familiar with some of the working,<br \/>\nenvironment, and tools for Gentoo, I started a bit early and have been<br \/>\nworking on the aforementioned bugs during the community bonding period<br \/>\nwhich gave me some time to set up a music machine. This has helped me<br \/>\nsolve some of the most specific bugs as<br \/>\n*<strong>Wincompatible-function-pointer-types<\/strong>* is not limited to only one<br \/>\nparticular lib, in this case, glibc.<\/p>\n<p>On the topic of keeping things on track, I have started sending some of<br \/>\nmy patches upstream for review, and fortunately from them two of my<br \/>\npatches got merged [2][3] and other are under review<\/p>\n<p>Next:<br \/>\nThe plan moving forward is to fix more of these bugs and send patches<br \/>\nupstream while also waiting for reviews from upstream and Gentoo maintainers on my patches.<\/p>\n<p>I&#8217;ve also started to work on masking all nss packages on musl, I&#8217;ll<br \/>\nkeep working on that as well [4].<\/p>\n<p>[1]: <a href=\"https:\/\/bugs.gentoo.org\/870412\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/bugs.gentoo.org\/870412&amp;source=gmail&amp;ust=1685977395527000&amp;usg=AOvVaw3uo39yhuXWmE_AUixuFDHS\">https:\/\/bugs.gentoo.org\/870412<\/a><br \/>\n[2]: <a href=\"https:\/\/github.com\/gssapi\/gssproxy\/commit\/f6ab3193e64ecc9db4d253b6dd99991f461b6081\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/github.com\/gssapi\/gssproxy\/commit\/f6ab3193e64ecc9db4d253b6dd99991f461b6081&amp;source=gmail&amp;ust=1685977395527000&amp;usg=AOvVaw02u4YCRVWoUmET6GqVIM-z\">https:\/\/github.com\/gssapi\/gssproxy\/commit\/f6ab3193e64ecc9db4d253b6dd99991f461b6081<\/a><br \/>\n[3]: <a href=\"https:\/\/gitlab.com\/gnuwget\/wget2\/-\/commit\/ca851a9a2780dada078b093d65295a440899313e\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/gitlab.com\/gnuwget\/wget2\/-\/commit\/ca851a9a2780dada078b093d65295a440899313e&amp;source=gmail&amp;ust=1685977395527000&amp;usg=AOvVaw14c3WB0kq7UbSI3eaRaL1S\">https:\/\/gitlab.com\/gnuwget\/wget2\/-\/commit\/ca851a9a2780dada078b093d65295a440899313e<\/a><br \/>\n[4]: <a href=\"https:\/\/github.com\/gentoo\/gentoo\/pull\/31243\" target=\"_blank\" rel=\"noopener noreferrer\" data-saferedirecturl=\"https:\/\/www.google.com\/url?q=https:\/\/github.com\/gentoo\/gentoo\/pull\/31243&amp;source=gmail&amp;ust=1685977395527000&amp;usg=AOvVaw0895Ei_wr2QwSWKi_vJAVC\">https:\/\/github.com\/gentoo\/gentoo\/pull\/31243<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hello all, This is my week 1 report for my project &#8220;Modern C porting of Gentoo packages&#8221; as a Google summer of code student at Gentoo Linux foundation. Some of you might recognize me from last year, yep this is &hellip; <a href=\"https:\/\/blogs.gentoo.org\/gsoc\/2023\/06\/04\/week-1-modern-c-porting\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":176,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/446"}],"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\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/comments?post=446"}],"version-history":[{"count":1,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/446\/revisions"}],"predecessor-version":[{"id":447,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/posts\/446\/revisions\/447"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/media?parent=446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/categories?post=446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/gsoc\/wp-json\/wp\/v2\/tags?post=446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}