All of lore.kernel.org
 help / color / mirror / Atom feed
* Build broken with current master
@ 2019-04-09 17:55 Andreas Müller
  2019-04-09 19:52 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Müller @ 2019-04-09 17:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Burton, Ross

Hi,

Just updated to current master to rebase my patches. Now I get for
meta-qt5-extra/kglobalaccel:

ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Error
executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/home/a.mueller/data/oe-core/sources/openembedded-core/meta/classes/staging.bbclass',
lineno: 566, function: extend_recipe_sysroot
     0562:    for f in fixme:
     0563:        staging_processfixme(fixme[f], f, recipesysroot,
recipesysrootnative, d)
     0564:
     0565:    for p in postinsts:
 *** 0566:        subprocess.check_output(p, shell=True,
stderr=subprocess.STDOUT)
     0567:
     0568:    for dep in manifests:
     0569:        c = setscenedeps[dep][0]
     0570:        os.symlink(manifests[dep], depdir + "/" + c + ".complete")
File: '/usr/lib64/python3.7/subprocess.py', lineno: 395, function: check_output
     0391:        # empty string. That is maintained here for
backwards compatibility.
     0392:        kwargs['input'] = '' if
kwargs.get('universal_newlines', False) else b''
     0393:
     0394:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
 *** 0395:               **kwargs).stdout
     0396:
     0397:
     0398:class CompletedProcess(object):
     0399:    """A process that has finished running.
File: '/usr/lib64/python3.7/subprocess.py', lineno: 487, function: run
     0483:            raise
     0484:        retcode = process.poll()
     0485:        if check and retcode:
     0486:            raise CalledProcessError(retcode, process.args,
 *** 0487:                                     output=stdout, stderr=stderr)
     0488:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0489:
     0490:
     0491:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command
'/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog'
returned non-zero exit status 127.

Subprocess output:
/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog:
line 5: xmlcatalog: command not found
/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog:
line 8: xmlcatalog: command not found

ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Command
'/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog'
returned non-zero exit status 127.
ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Function
failed: extend_recipe_sysroot
ERROR: Logfile of failure stored in:
/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/temp/log.do_prepare_recipe_sysroot.10267
ERROR: Task (/home/a.mueller/data/oe-core/sources/meta-qt5-extra/recipes-kde/kf5/tier3/kglobalaccel/kglobalaccel.bb:do_prepare_recipe_sysroot)
failed with exit code '1'

Saw there were some changes at that area. Anything I can do to fix?

Andreas


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

* Re: Build broken with current master
  2019-04-09 17:55 Build broken with current master Andreas Müller
@ 2019-04-09 19:52 ` Burton, Ross
  2019-04-09 21:40   ` Andreas Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2019-04-09 19:52 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Patches and discussions about the oe-core layer

Hm, annoying.

The recipe that depends on docbook-xml-dtd4-native also needs to
depend on libxml2-native.

Ross

On Tue, 9 Apr 2019 at 18:55, Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> Hi,
>
> Just updated to current master to rebase my patches. Now I get for
> meta-qt5-extra/kglobalaccel:
>
> ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Error
> executing a python function in exec_python_func() autogenerated:
>
> The stack trace of python calls that resulted in this exception/failure was:
> File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
>      0001:
>  *** 0002:extend_recipe_sysroot(d)
>      0003:
> File: '/home/a.mueller/data/oe-core/sources/openembedded-core/meta/classes/staging.bbclass',
> lineno: 566, function: extend_recipe_sysroot
>      0562:    for f in fixme:
>      0563:        staging_processfixme(fixme[f], f, recipesysroot,
> recipesysrootnative, d)
>      0564:
>      0565:    for p in postinsts:
>  *** 0566:        subprocess.check_output(p, shell=True,
> stderr=subprocess.STDOUT)
>      0567:
>      0568:    for dep in manifests:
>      0569:        c = setscenedeps[dep][0]
>      0570:        os.symlink(manifests[dep], depdir + "/" + c + ".complete")
> File: '/usr/lib64/python3.7/subprocess.py', lineno: 395, function: check_output
>      0391:        # empty string. That is maintained here for
> backwards compatibility.
>      0392:        kwargs['input'] = '' if
> kwargs.get('universal_newlines', False) else b''
>      0393:
>      0394:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
>  *** 0395:               **kwargs).stdout
>      0396:
>      0397:
>      0398:class CompletedProcess(object):
>      0399:    """A process that has finished running.
> File: '/usr/lib64/python3.7/subprocess.py', lineno: 487, function: run
>      0483:            raise
>      0484:        retcode = process.poll()
>      0485:        if check and retcode:
>      0486:            raise CalledProcessError(retcode, process.args,
>  *** 0487:                                     output=stdout, stderr=stderr)
>      0488:    return CompletedProcess(process.args, retcode, stdout, stderr)
>      0489:
>      0490:
>      0491:def list2cmdline(seq):
> Exception: subprocess.CalledProcessError: Command
> '/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog'
> returned non-zero exit status 127.
>
> Subprocess output:
> /home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog:
> line 5: xmlcatalog: command not found
> /home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog:
> line 8: xmlcatalog: command not found
>
> ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Command
> '/home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/recipe-sysroot/usr/bin/postinst-docbook-xml-dtd4-xmlcatalog'
> returned non-zero exit status 127.
> ERROR: kglobalaccel-5.56.0-r0 do_prepare_recipe_sysroot: Function
> failed: extend_recipe_sysroot
> ERROR: Logfile of failure stored in:
> /home/a.mueller/tmp/oe-core-musl/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-musleabi/kglobalaccel/5.56.0-r0/temp/log.do_prepare_recipe_sysroot.10267
> ERROR: Task (/home/a.mueller/data/oe-core/sources/meta-qt5-extra/recipes-kde/kf5/tier3/kglobalaccel/kglobalaccel.bb:do_prepare_recipe_sysroot)
> failed with exit code '1'
>
> Saw there were some changes at that area. Anything I can do to fix?
>
> Andreas


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

* Re: Build broken with current master
  2019-04-09 19:52 ` Burton, Ross
@ 2019-04-09 21:40   ` Andreas Müller
  2019-04-10 13:00     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Müller @ 2019-04-09 21:40 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

On Tue, Apr 9, 2019 at 9:52 PM Burton, Ross <ross.burton@intel.com> wrote:
>
> Hm, annoying.
>
> The recipe that depends on docbook-xml-dtd4-native also needs to
> depend on libxml2-native.
>
> Ross
>
Do I have to go through recipes failing - or is there a chance for a
common solution?

Andreas


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

* Re: Build broken with current master
  2019-04-09 21:40   ` Andreas Müller
@ 2019-04-10 13:00     ` Burton, Ross
  2019-04-10 13:24       ` Andreas Müller
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2019-04-10 13:00 UTC (permalink / raw)
  To: Andreas Müller; +Cc: Patches and discussions about the oe-core layer

On Tue, 9 Apr 2019 at 22:41, Andreas Müller <schnitzeltony@gmail.com> wrote:
> > The recipe that depends on docbook-xml-dtd4-native also needs to
> > depend on libxml2-native.
>
> Do I have to go through recipes failing - or is there a chance for a
> common solution?

Very few recipes should be depending directly on docbook-xml and
docbook-xsl, and they'll need the depends added.

A common solution would be great but would mean adding new dependency
support into the staging code.

Ross


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

* Re: Build broken with current master
  2019-04-10 13:00     ` Burton, Ross
@ 2019-04-10 13:24       ` Andreas Müller
  0 siblings, 0 replies; 5+ messages in thread
From: Andreas Müller @ 2019-04-10 13:24 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Patches and discussions about the oe-core layer

On Wed, Apr 10, 2019 at 3:00 PM Burton, Ross <ross.burton@intel.com> wrote:
>
> On Tue, 9 Apr 2019 at 22:41, Andreas Müller <schnitzeltony@gmail.com> wrote:
> > > The recipe that depends on docbook-xml-dtd4-native also needs to
> > > depend on libxml2-native.
> >
> > Do I have to go through recipes failing - or is there a chance for a
> > common solution?
>
> Very few recipes should be depending directly on docbook-xml and
> docbook-xsl, and they'll need the depends added.
Had two and stopped then.
>
> A common solution would be great but would mean adding new dependency
> support into the staging code.
>
Rolled back - have no time to look into this one.

maybe naive but is

RDEPENDS_${PN}_append_class-native = " libxml2-native"

in docbook-xml-dtd4 a possible way to fix this in a common way?

Andreas


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

end of thread, other threads:[~2019-04-10 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 17:55 Build broken with current master Andreas Müller
2019-04-09 19:52 ` Burton, Ross
2019-04-09 21:40   ` Andreas Müller
2019-04-10 13:00     ` Burton, Ross
2019-04-10 13:24       ` Andreas Müller

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.