From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sat, 28 Nov 2015 18:49:15 +0100 Subject: [Buildroot] Missing 'sys/queue.h' on musl In-Reply-To: References: Message-ID: <20151128184915.6017fae9@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Sergio, On Sat, 28 Nov 2015 15:31:36 -0200, Sergio Prado wrote: > Musl does not provide a 'sys/queue.h' implementation [1]. > > This is causing problems with some packages that depends on it, like > f2fs-tools [2] and others packages that are already fixed like libtirpc [3]. > > Adding an implementation of 'sys/queue.h' as a patch (like in [3]) is a > proper way to fix this problem? > > What about creating a package with the 'sys/queue.h' implementation and > installing it in the staging directory. Then we would just need to make all > packages that need it depend on it when compiling with musl. Is this a good > solution? This seems like a very good idea to me: creating a package that installs sys/queue.h. It's a lot better than patching all the packages that use sys/queue.h to make them build with musl. Do you volunteer to work on this? Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com