mailing list of musl libc
 help / color / mirror / code / Atom feed
* Re: python-libconfig failing to build with musl
       [not found] <20170228221233.30654a92@free-electrons.com>
@ 2017-02-28 21:49 ` Rich Felker
  2017-03-01  2:25   ` Rich Felker
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2017-02-28 21:49 UTC (permalink / raw)
  To: musl

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.

Rich


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: python-libconfig failing to build with musl
  2017-02-28 21:49 ` python-libconfig failing to build with musl Rich Felker
@ 2017-03-01  2:25   ` Rich Felker
  2017-03-01  8:03     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2017-03-01  2:25 UTC (permalink / raw)
  To: musl; +Cc: Thomas Petazzoni

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: python-libconfig failing to build with musl
  2017-03-01  2:25   ` Rich Felker
@ 2017-03-01  8:03     ` Thomas Petazzoni
  2017-03-02 14:45       ` Rich Felker
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2017-03-01  8:03 UTC (permalink / raw)
  To: Rich Felker; +Cc: musl

Hello,

On Tue, 28 Feb 2017 21:25:43 -0500, Rich Felker wrote:

> > 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.

Yeah, I also tried to have a look, but C++ and Boost are too unfamiliar
to me, and I had to give up.

> BTW, any idea what happened to your mail to the list? It seems to have
> gotten lost.

My e-mails for some reason don't make it to the mailing list. I am
registered on the list as I'm receiving all the traffic, and I'm using
the same From: address as the one used for my mailing list
subscription. My previous e-mail to the list (about SSP on x86) also
didn't make it to the list.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: python-libconfig failing to build with musl
  2017-03-01  8:03     ` Thomas Petazzoni
@ 2017-03-02 14:45       ` Rich Felker
  0 siblings, 0 replies; 4+ messages in thread
From: Rich Felker @ 2017-03-02 14:45 UTC (permalink / raw)
  To: Thomas Petazzoni; +Cc: musl

On Wed, Mar 01, 2017 at 09:03:10AM +0100, Thomas Petazzoni wrote:
> > BTW, any idea what happened to your mail to the list? It seems to have
> > gotten lost.
> 
> My e-mails for some reason don't make it to the mailing list. I am
> registered on the list as I'm receiving all the traffic, and I'm using
> the same From: address as the one used for my mailing list
> subscription. My previous e-mail to the list (about SSP on x86) also
> didn't make it to the list.

Should be fixed now.

Rich


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-02 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20170228221233.30654a92@free-electrons.com>
2017-02-28 21:49 ` python-libconfig failing to build with musl Rich Felker
2017-03-01  2:25   ` Rich Felker
2017-03-01  8:03     ` Thomas Petazzoni
2017-03-02 14:45       ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).