mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Build system doesn't find host compiled packages
@ 2015-06-22  9:33 jean-philippe francois
  2015-06-22 14:17 ` jean-philippe francois
  0 siblings, 1 reply; 5+ messages in thread
From: jean-philippe francois @ 2015-06-22  9:33 UTC (permalink / raw)
  To: ptxdist

Hi,

I installed 2015.06.0 today, and my project (migrated from a 2011.12
project) now stops when compiling host-fakeroot with the following
message :

In file included from libfakeroot.c:223:0:
wrapped.h:126:27: error: unknown type name 'cap_user_header_t'
 extern int (*next_capset)(cap_user_header_t hdrp, const cap_user_data_t datap);

It is my understanding that this message comes from a missing libcap,
but host-libcap has been succesfuly build.
I have had a similar problem with host-acl that could not find the
just built host-attr. This previous problem was solved by installing
the libattr-devel package,  but the point of ptxdist is precisely to
avoid installing system packages.

Can you help me debug this issue ? I suspect I forgot something when
migrating from the old project.

Thank you,
Jean-Philippe François

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Build system doesn't find host compiled packages
  2015-06-22  9:33 [ptxdist] Build system doesn't find host compiled packages jean-philippe francois
@ 2015-06-22 14:17 ` jean-philippe francois
  2015-06-23  7:12   ` Juergen Borleis
  0 siblings, 1 reply; 5+ messages in thread
From: jean-philippe francois @ 2015-06-22 14:17 UTC (permalink / raw)
  To: ptxdist

2015-06-22 11:33 GMT+02:00 jean-philippe francois <jp.francois@cynove.com>:
> Hi,
>
> I installed 2015.06.0 today, and my project (migrated from a 2011.12
> project) now stops when compiling host-fakeroot with the following
> message :
>
> In file included from libfakeroot.c:223:0:
> wrapped.h:126:27: error: unknown type name 'cap_user_header_t'
>  extern int (*next_capset)(cap_user_header_t hdrp, const cap_user_data_t datap);
>
> It is my understanding that this message comes from a missing libcap,
> but host-libcap has been succesfuly build.
> I have had a similar problem with host-acl that could not find the
> just built host-attr. This previous problem was solved by installing
> the libattr-devel package,  but the point of ptxdist is precisely to
> avoid installing system packages.
>
> Can you help me debug this issue ? I suspect I forgot something when
> migrating from the old project.

After a ptxdist clean, going straight to ptxdist kernelconfig is not
the right thing to do !
Starting with ptxdist go instead.
Sorry for the noise.

Jean-Philippe François

>
> Thank you,
> Jean-Philippe François

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Build system doesn't find host compiled packages
  2015-06-22 14:17 ` jean-philippe francois
@ 2015-06-23  7:12   ` Juergen Borleis
  2015-06-23  8:49     ` Juergen Borleis
  0 siblings, 1 reply; 5+ messages in thread
From: Juergen Borleis @ 2015-06-23  7:12 UTC (permalink / raw)
  To: ptxdist

Hi Jean-Philippe,

On Monday 22 June 2015 16:17:38 jean-philippe francois wrote:
> 2015-06-22 11:33 GMT+02:00 jean-philippe francois <jp.francois@cynove.com>:
> > I installed 2015.06.0 today, and my project (migrated from a 2011.12
> > project) now stops when compiling host-fakeroot with the following
> > message :
> >
> > In file included from libfakeroot.c:223:0:
> > wrapped.h:126:27: error: unknown type name 'cap_user_header_t'
> >  extern int (*next_capset)(cap_user_header_t hdrp, const cap_user_data_t
> > datap);

Fakeroot's dependency to LIBCAP is part of PTXdist since commit 
0f43c449de4a6b769d5b49720c48bc57716c1b8b. So I wonder why it fails at your 
side, because it is part of the June release.

> > It is my understanding that this message comes from a missing libcap,
> > but host-libcap has been succesfuly build.
> > I have had a similar problem with host-acl that could not find the
> > just built host-attr. This previous problem was solved by installing
> > the libattr-devel package,  but the point of ptxdist is precisely to
> > avoid installing system packages.
> >
> > Can you help me debug this issue ? I suspect I forgot something when
> > migrating from the old project.
>
> After a ptxdist clean, going straight to ptxdist kernelconfig is not
> the right thing to do !

Hmm, this should work as expected.

> Starting with ptxdist go instead.

Sounds more like a workaround, not a solution.

Please stay tuned.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Build system doesn't find host compiled packages
  2015-06-23  7:12   ` Juergen Borleis
@ 2015-06-23  8:49     ` Juergen Borleis
  2015-06-23 13:58       ` Juergen Borleis
  0 siblings, 1 reply; 5+ messages in thread
From: Juergen Borleis @ 2015-06-23  8:49 UTC (permalink / raw)
  To: ptxdist

Hi Jean-Philippe,

On Tuesday 23 June 2015 09:12:26 Juergen Borleis wrote:
> On Monday 22 June 2015 16:17:38 jean-philippe francois wrote:
> > 2015-06-22 11:33 GMT+02:00 jean-philippe francois <jp.francois@cynove.com>:
> > > I installed 2015.06.0 today, and my project (migrated from a 2011.12
> > > project) now stops when compiling host-fakeroot with the following
> > > message :
> > >
> > > In file included from libfakeroot.c:223:0:
> > > wrapped.h:126:27: error: unknown type name 'cap_user_header_t'
> > >  extern int (*next_capset)(cap_user_header_t hdrp, const
> > > cap_user_data_t datap);
>
> Fakeroot's dependency to LIBCAP is part of PTXdist since commit
> 0f43c449de4a6b769d5b49720c48bc57716c1b8b. So I wonder why it fails at your
> side, because it is part of the June release.
>
> > > It is my understanding that this message comes from a missing libcap,
> > > but host-libcap has been succesfuly build.
> > > I have had a similar problem with host-acl that could not find the
> > > just built host-attr. This previous problem was solved by installing
> > > the libattr-devel package,  but the point of ptxdist is precisely to
> > > avoid installing system packages.
> > >
> > > Can you help me debug this issue ? I suspect I forgot something when
> > > migrating from the old project.
> >
> > After a ptxdist clean, going straight to ptxdist kernelconfig is not
> > the right thing to do !
>
> Hmm, this should work as expected.

It really should... but it doesn't. You found a bug in PTXdist. It also crashes 
here, and only if you start a "ptxdist kernelconfig" on a clean BSP.

> > Starting with ptxdist go instead.
>
> Sounds more like a workaround, not a solution.

You must continue to use this workaround, until we find a solution.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Build system doesn't find host compiled packages
  2015-06-23  8:49     ` Juergen Borleis
@ 2015-06-23 13:58       ` Juergen Borleis
  0 siblings, 0 replies; 5+ messages in thread
From: Juergen Borleis @ 2015-06-23 13:58 UTC (permalink / raw)
  To: ptxdist

Hi Jean-Philippe,

On Tuesday 23 June 2015 10:49:23 myself wrote:
>[...]
> > > Starting with ptxdist go instead.
> >
> > Sounds more like a workaround, not a solution.
>
> You must continue to use this workaround, until we find a solution.

Commit 553e0fea17507633ee53e9e0b1d3da67bcf0b3ab in ptxdist master fixes this 
issue. Thanks for reporting the bug.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-06-23 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-22  9:33 [ptxdist] Build system doesn't find host compiled packages jean-philippe francois
2015-06-22 14:17 ` jean-philippe francois
2015-06-23  7:12   ` Juergen Borleis
2015-06-23  8:49     ` Juergen Borleis
2015-06-23 13:58       ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox