From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11091 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: python-libconfig failing to build with musl Date: Tue, 28 Feb 2017 21:25:43 -0500 Message-ID: <20170301022543.GD1520@brightrain.aerifal.cx> References: <20170228221233.30654a92@free-electrons.com> <20170228214931.GC1520@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1488335171 27663 195.159.176.226 (1 Mar 2017 02:26:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 02:26:11 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Thomas Petazzoni To: musl@lists.openwall.com Original-X-From: musl-return-11106-gllmg-musl=m.gmane.org@lists.openwall.com Wed Mar 01 03:26:02 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1citxj-0005iY-HP for gllmg-musl@m.gmane.org; Wed, 01 Mar 2017 03:25:55 +0100 Original-Received: (qmail 26069 invoked by uid 550); 1 Mar 2017 02:25:59 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 26045 invoked from network); 1 Mar 2017 02:25:58 -0000 Content-Disposition: inline In-Reply-To: <20170228214931.GC1520@brightrain.aerifal.cx> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:11091 Archived-At: On Tue, Feb 28, 2017 at 04:49:31PM -0500, Rich Felker wrote: > On Tue, Feb 28, 2017 at 10:12:33PM +0100, Thomas Petazzoni wrote: > > Hello, > > > > The python-libconfig doesn't build with the musl C library, with some > > very weird error coming all the way from Boost Python: > > > > error: invalid use of incomplete type 'struct _IO_FILE' > > > > See: > > > > http://autobuild.buildroot.net/results/f0f/f0f6cdc8c38c024772615d5e677b0f4ad63ef7ec/build-end.log > > > > for the complete build log of python-libconfig. > > > > If you want a way to easily reproduce, let me know, I can provide the > > 4/5 commands that can allow you to reproduce it with Buildroot. > > It's intentional that FILE is an incomplete type. Do you know what > they're trying to do by trying to use it as if it were a complete > type? This is a bug that needs a patch, preferably one suitable for > upstream. On further investigation, it looks like there's something weird that boost is doing that's causing it to get expanded in a template that uses FILE rather than FILE*. Not clear why but this is probably a bug in boost. Maybe someone who understands C++ better could advise. BTW, any idea what happened to your mail to the list? It seems to have gotten lost. Rich