All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with 'configure' on own recipe [after moving to morty]
@ 2017-07-25 14:08 colin.helliwell
  2017-07-25 14:20 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: colin.helliwell @ 2017-07-25 14:08 UTC (permalink / raw)
  To: yocto

This is gonna be a bit of a hard one to describe concisely, but hoping
someone can advise me on solving it....
I have a recipe of my own for an app (NetworkManager) which fetches the
source from its git repo. This recipe works on krogoth, but is throwing up
configure errors on morty.

The recipe has a 
do_configure_prepend() {
    ( cd ${S} ; NOCONFIGURE=yes ./autogen.sh )
}
  - I seemed to need this because the git source has no ABOUT-NLS; not sure
if that's the correct fix, but 'it seemed to work' before. 

The final error is
| DEBUG: Executing shell function do_configure
| ln: failed to create symbolic link '/usr/share/doc/gtk-doc.make':
Permission denied
| cp: cannot create regular file '/usr/share/doc/gtk-doc.make': Permission
denied

I'm not sure why it's trying to make the symlink in the build machine's root
(as I say, it doesn't do this on krogoth)

I'm also getting a lot of:
| NOTE: Skipping setscene dependency
virtual:native:/home/colin/100051-trunk/fsl-community-bsp/sources/poky/meta/
recipes-devtools/pseudo/pseudo_1.8.1.bb:do_populate_sysroot for m4 macro
copying

  - not sure if this is relevant/important

Freely admit I'm no autotools expert, so any suggestions welcome! Thanks





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

* Re: Problems with 'configure' on own recipe [after moving to morty]
  2017-07-25 14:08 Problems with 'configure' on own recipe [after moving to morty] colin.helliwell
@ 2017-07-25 14:20 ` Burton, Ross
  2017-07-25 14:39   ` Colin Helliwell
  0 siblings, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2017-07-25 14:20 UTC (permalink / raw)
  To: Colin Helliwell; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

On 25 July 2017 at 15:08, <colin.helliwell@ln-systems.com> wrote:

> This is gonna be a bit of a hard one to describe concisely, but hoping
> someone can advise me on solving it....
> I have a recipe of my own for an app (NetworkManager) which fetches the
> source from its git repo. This recipe works on krogoth, but is throwing up
> configure errors on morty.
>

For a start, why not use the recipe from meta-oe?


> The recipe has a
> do_configure_prepend() {
>     ( cd ${S} ; NOCONFIGURE=yes ./autogen.sh )
> }
>   - I seemed to need this because the git source has no ABOUT-NLS; not sure
> if that's the correct fix, but 'it seemed to work' before.
>

If the only thing that is missing is an ABOUT-NLS file (sounds like
something gettext should have installed?) then I'd just have a prepend that
touches that file, and let autotools.bbclass invoke autoreconf for you.


> I'm also getting a lot of:
> | NOTE: Skipping setscene dependency
> virtual:native:/home/colin/100051-trunk/fsl-community-
> bsp/sources/poky/meta/
> recipes-devtools/pseudo/pseudo_1.8.1.bb:do_populate_sysroot for m4 macro
> copying
>
>   - not sure if this is relevant/important
>
> Freely admit I'm no autotools expert, so any suggestions welcome! Thanks
>

That's just verbose logging from the recipe-specific-sysroot code, you can
ignore it.

Ross

[-- Attachment #2: Type: text/html, Size: 2085 bytes --]

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

* Re: Problems with 'configure' on own recipe [after moving to morty]
  2017-07-25 14:20 ` Burton, Ross
@ 2017-07-25 14:39   ` Colin Helliwell
  2017-07-25 14:57     ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Colin Helliwell @ 2017-07-25 14:39 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto


> On 25 July 2017 at 15:20 "Burton, Ross" <ross.burton@intel.com> wrote:
> 
> On 25 July 2017 at 15:08, <colin.helliwell@ln-systems.com> wrote:
> 
> > This is gonna be a bit of a hard one to describe concisely, but hoping
> >  someone can advise me on solving it....
> >  I have a recipe of my own for an app (NetworkManager) which fetches the
> >  source from its git repo. This recipe works on krogoth, but is throwing up
> >  configure errors on morty.
> 
> For a start, why not use the recipe from meta-oe?
> 

That is in fact what I blagged as the starting point for 'my' recipe, but then evolved it so as to use the github head. For my particular [embedded] platform I also need to switch off some of the configure options.

> > The recipe has a
> >  do_configure_prepend() {
> >      ( cd ${S} ; NOCONFIGURE=yes ./autogen.sh )
> >  }
> >    - I seemed to need this because the git source has no ABOUT-NLS; not sure
> >  if that's the correct fix, but 'it seemed to work' before.
> 
> If the only thing that is missing is an ABOUT-NLS file (sounds like something gettext should have installed?) then I'd just have a prepend that touches that file, and let autotools.bbclass invoke autoreconf for you.

I'll try that

> 
> > I'm also getting a lot of:
> >  | NOTE: Skipping setscene dependency
> >  virtual:native:/home/colin/100051-trunk/fsl-community-bsp/sources/poky/meta/
> >  recipes-devtools/pseudo/pseudo_1.8.1.bb:do_populate_sysroot for m4 macro
> >  copying
> > 
> >    - not sure if this is relevant/important
> > 
> >  Freely admit I'm no autotools expert, so any suggestions welcome! Thanks
> 
> That's just verbose logging from the recipe-specific-sysroot code, you can ignore it.
> 

Ok, ta


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

* Re: Problems with 'configure' on own recipe [after moving to morty]
  2017-07-25 14:39   ` Colin Helliwell
@ 2017-07-25 14:57     ` Burton, Ross
  2017-07-25 15:00       ` Colin Helliwell
  0 siblings, 1 reply; 6+ messages in thread
From: Burton, Ross @ 2017-07-25 14:57 UTC (permalink / raw)
  To: Colin Helliwell; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 411 bytes --]

On 25 July 2017 at 15:39, Colin Helliwell <colin.helliwell@ln-systems.com>
wrote:

> That is in fact what I blagged as the starting point for 'my' recipe, but
> then evolved it so as to use the github head. For my particular [embedded]
> platform I also need to switch off some of the configure options.


Sounds like a bbappend should be able to fiddle SRC_URI and some
PACKAGECONFIGs right?

Ross

[-- Attachment #2: Type: text/html, Size: 746 bytes --]

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

* Re: Problems with 'configure' on own recipe [after moving to morty]
  2017-07-25 14:57     ` Burton, Ross
@ 2017-07-25 15:00       ` Colin Helliwell
  2017-07-25 15:25         ` Colin Helliwell
  0 siblings, 1 reply; 6+ messages in thread
From: Colin Helliwell @ 2017-07-25 15:00 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto

Ah yes, that's true Ross - I should be able to try that approach instead.
 
> On 25 July 2017 at 15:57 "Burton, Ross" <ross.burton@intel.com> wrote:
> 
> On 25 July 2017 at 15:39, Colin Helliwell <colin.helliwell@ln-systems.com> wrote:
> 
> > That is in fact what I blagged as the starting point for 'my' recipe, but then evolved it so as to use the github head. For my particular [embedded] platform I also need to switch off some of the configure options.
> 
> Sounds like a bbappend should be able to fiddle SRC_URI and some PACKAGECONFIGs right?
> 
> Ross


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

* Re: Problems with 'configure' on own recipe [after moving to morty]
  2017-07-25 15:00       ` Colin Helliwell
@ 2017-07-25 15:25         ` Colin Helliwell
  0 siblings, 0 replies; 6+ messages in thread
From: Colin Helliwell @ 2017-07-25 15:25 UTC (permalink / raw)
  To: Burton, Ross; +Cc: yocto


> On 25 July 2017 at 16:00 Colin Helliwell <colin.helliwell@ln-systems.com> wrote:
> 
> Ah yes, that's true Ross - I should be able to try that approach instead.
> 

However.... there's obviously been a lot of changes from 1.4 to 1.8 and hence something to be said for a fresh recipe rather than mega-appending an older one..? (Well, there certainly would be if it worked....!)
And, as I say, the recipe works on krogoth [cleanly rebuilt today and definitely the same git version] - something subtly changed in some or other class perhaps, but not obvious to me.

> > On 25 July 2017 at 15:57 "Burton, Ross" <ross.burton@intel.com> wrote:
> > 
> > On 25 July 2017 at 15:39, Colin Helliwell <colin.helliwell@ln-systems.com> wrote:
> > 
> > > That is in fact what I blagged as the starting point for 'my' recipe, but then evolved it so as to use the github head. For my particular [embedded] platform I also need to switch off some of the configure options.
> > 
> > Sounds like a bbappend should be able to fiddle SRC_URI and some PACKAGECONFIGs right?
> >


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

end of thread, other threads:[~2017-07-25 15:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-25 14:08 Problems with 'configure' on own recipe [after moving to morty] colin.helliwell
2017-07-25 14:20 ` Burton, Ross
2017-07-25 14:39   ` Colin Helliwell
2017-07-25 14:57     ` Burton, Ross
2017-07-25 15:00       ` Colin Helliwell
2017-07-25 15:25         ` Colin Helliwell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.