From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 27 Jan 2016 21:30:46 +0100 Subject: [Buildroot] [PATCH 1/2] package/kodi: not available using a musl-based toolchain In-Reply-To: <48lnncxqr3.ln2@ID-313208.user.individual.net> References: <1453848286-2477-1-git-send-email-bernd.kuhls@t-online.de> <20160127092255.75c83958@free-electrons.com> <48lnncxqr3.ln2@ID-313208.user.individual.net> Message-ID: <20160127213046.34c7cee3@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Bernd, On Wed, 27 Jan 2016 21:17:40 +0100, Bernd Kuhls wrote: > Am Wed, 27 Jan 2016 09:22:55 +0100 schrieb Thomas Petazzoni: > > > Dear Bernd Kuhls, > > > > On Tue, 26 Jan 2016 23:44:45 +0100, Bernd Kuhls wrote: > >> The build stops with configure: error: unsupported host > >> (i586-buildroot-linux-musl) > >> due to musl not being supported in > >> https://github.com/xbmc/xbmc/blob/Isengard/m4/xbmc_arch.m4 > >> > >> Signed-off-by: Bernd Kuhls > >> > > > > And what happens if you add an additional case to support musl ? > > Hi Thomas, > > the build will fail: > > In file included from emu_msvcrt.cpp:64:0: > emu_msvcrt.h:93:3: error: ?__off64_t? does not name a type > __off64_t dll_lseeki64(int fd, __off64_t lPos, int iWhence); > ^ > emu_msvcrt.h:94:3: error: ?__off_t? does not name a type > __off_t dll_lseek(int fd, __off_t lPos, int iWhence); > ^ > > I know these problems are fixable and the voidlinux projects seems to > have done it already for 15.2-Isengard: https://github.com/voidlinux/void- > packages/tree/99f74705bc6520297d689fae4bcc9606c71ad34f/srcpkgs/kodi/ > patches > > Since Kodi 16.0-Jarvis is already at rc1 stage and the 15.x-branch being > closed upstream as "final"[1] version I will put no effort providing a > musl-compilable package for the current Kodi package, hence my patch ;) Thanks for the explanation. Ideally, this should have been part of the commit log from the beginning, so that we keep in the git history the real reason for disabling Kodi on musl. Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com