All of lore.kernel.org
 help / color / mirror / Atom feed
* native sysroot race with rpmbuild
@ 2017-08-14  8:33 Jussi Kukkonen
  2017-08-14 10:38 ` Richard Purdie
  2017-08-26 22:36 ` Richard Purdie
  0 siblings, 2 replies; 5+ messages in thread
From: Jussi Kukkonen @ 2017-08-14  8:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

I'm seeing lots of this failure in my last build:

| DEBUG: PKGWRITEDIR:
/mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-r0/deploy-rpms/noarch
| DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux',
'common-glibc', 'allarch-linux', 'common']
| DEBUG: Executing shell function BUILDSPEC
|
/mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-r0/recipe-sysroot-native/usr/bin/rpmbuild:
error while loading shared libraries: libdw.so.1: cannot open shared object
file: No such file or directory
| WARNING: exit code 127 from a shell command.
| DEBUG: Python function do_package_rpm finished
| DEBUG: Python function do_package_write_rpm finished
| ERROR: Function failed: BUILDSPEC (log file is located at
/mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-r0/temp/log.do_package_write_rpm.21827)
ERROR: Task
(/home/jku/src/poky/meta/recipes-gnome/gnome/adwaita-icon-theme_3.24.0.bb:do_package_write_rpm)
failed with exit code '1'

* libdw.so.1 isn't found when rpmbuild runs
* seems to be a race as the library is there when I check (and building
again works)
* Seems to mostly happen with allarch recipes (maybe they're just fast
enough): sysvinit-inittab, adwaita, xcursor-transparent-theme, iso-codes

Any ideas?

Jussi

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

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

* Re: native sysroot race with rpmbuild
  2017-08-14  8:33 native sysroot race with rpmbuild Jussi Kukkonen
@ 2017-08-14 10:38 ` Richard Purdie
  2017-08-14 10:55   ` Jussi Kukkonen
  2017-08-26 22:36 ` Richard Purdie
  1 sibling, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2017-08-14 10:38 UTC (permalink / raw)
  To: Jussi Kukkonen, Patches and discussions about the oe-core layer

On Mon, 2017-08-14 at 11:33 +0300, Jussi Kukkonen wrote:
> I'm seeing lots of this failure in my last build:
> 
> | DEBUG: PKGWRITEDIR: /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-
> icon-theme/3.24.0-r0/deploy-rpms/noarch
> | DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux',
> 'common-glibc', 'allarch-linux', 'common']
> | DEBUG: Executing shell function BUILDSPEC
> | /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/recipe-sysroot-native/usr/bin/rpmbuild: error while loading shared
> libraries: libdw.so.1: cannot open shared object file: No such file
> or directory
> | WARNING: exit code 127 from a shell command.
> | DEBUG: Python function do_package_rpm finished
> | DEBUG: Python function do_package_write_rpm finished
> | ERROR: Function failed: BUILDSPEC (log file is located at
> /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/temp/log.do_package_write_rpm.21827)
> ERROR: Task (/home/jku/src/poky/meta/recipes-gnome/gnome/adwaita-
> icon-theme_3.24.0.bb:do_package_write_rpm) failed with exit code '1'
> 
> * libdw.so.1 isn't found when rpmbuild runs
> * seems to be a race as the library is there when I check (and
> building again works)
> * Seems to mostly happen with allarch recipes (maybe they're just
> fast enough): sysvinit-inittab, adwaita, xcursor-transparent-theme,
> iso-codes
> 
> Any ideas?

Could you tar up /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-
theme/3.24.0-r0/temp/log* and share somewhere please?

Not sure what is going on there, it seems odd :( What other tasks were
running when this happened?

I had a go at reproducing this locally but couldn't.

Cheers,

Richard


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

* Re: native sysroot race with rpmbuild
  2017-08-14 10:38 ` Richard Purdie
@ 2017-08-14 10:55   ` Jussi Kukkonen
  2017-08-14 11:02     ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Jussi Kukkonen @ 2017-08-14 10:55 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

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

On 14 August 2017 at 13:38, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
>
> On Mon, 2017-08-14 at 11:33 +0300, Jussi Kukkonen wrote:
> > I'm seeing lots of this failure in my last build:
> >
> > | DEBUG: PKGWRITEDIR: /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-
> > icon-theme/3.24.0-r0/deploy-rpms/noarch
> > | DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux',
> > 'common-glibc', 'allarch-linux', 'common']
> > | DEBUG: Executing shell function BUILDSPEC
> > | /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> > r0/recipe-sysroot-native/usr/bin/rpmbuild: error while loading shared
> > libraries: libdw.so.1: cannot open shared object file: No such file
> > or directory
> > | WARNING: exit code 127 from a shell command.
> > | DEBUG: Python function do_package_rpm finished
> > | DEBUG: Python function do_package_write_rpm finished
> > | ERROR: Function failed: BUILDSPEC (log file is located at
> > /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> > r0/temp/log.do_package_write_rpm.21827)
> > ERROR: Task (/home/jku/src/poky/meta/recipes-gnome/gnome/adwaita-
> > icon-theme_3.24.0.bb:do_package_write_rpm) failed with exit code '1'
> >
> > * libdw.so.1 isn't found when rpmbuild runs
> > * seems to be a race as the library is there when I check (and
> > building again works)
> > * Seems to mostly happen with allarch recipes (maybe they're just
> > fast enough): sysvinit-inittab, adwaita, xcursor-transparent-theme,
> > iso-codes
> >
> > Any ideas?
>
> Could you tar up /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-
> theme/3.24.0-r0/temp/log* and share somewhere please?


Adwaita I had lost already but I've put the logs for failing
packagegroup-core-x11-sato here:
https://github.com/jku/packagegroup-core-x11-sato-logs

There's this in the log:
| NOTE: rpm-native exists in sysroot, skipping

>
> Not sure what is going on there, it seems odd :( What other tasks were
> running when this happened?

I was building core-image-sato so possibly many things.

>
> I had a go at reproducing this locally but couldn't.

It seemed to happen to lots of recipes but I can't reproduce afterwards
either.

Jussi

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

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

* Re: native sysroot race with rpmbuild
  2017-08-14 10:55   ` Jussi Kukkonen
@ 2017-08-14 11:02     ` Richard Purdie
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2017-08-14 11:02 UTC (permalink / raw)
  To: Jussi Kukkonen; +Cc: Patches and discussions about the oe-core layer

On Mon, 2017-08-14 at 13:55 +0300, Jussi Kukkonen wrote:
> Adwaita I had lost already but I've put the logs for failing
> packagegroup-core-x11-sato here:
> https://github.com/jku/packagegroup-core-x11-sato-logs
>  
> There's this in the log:
> | NOTE: rpm-native exists in sysroot, skipping

What is really interesting is:

https://github.com/jku/packagegroup-core-x11-sato-logs/blob/master/log.do_package_qa.28854

which looks to have been running about the same time as:

https://github.com/jku/packagegroup-core-x11-sato-logs/blob/master/log.do_package_write_rpm.28850

(similar pids and listed in https://github.com/jku/packagegroup-core-x11-sato-logs/blob/master/log.task_order after one another)

Note that package_qa seems to think the dependency disappeared and is
uninstalling elfutils (which provides libdw) from the sysroot.

That might be enough to figure out some kind of reproducer. All very
interesting and "potentially problematic"...

Cheers,

Richard


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

* Re: native sysroot race with rpmbuild
  2017-08-14  8:33 native sysroot race with rpmbuild Jussi Kukkonen
  2017-08-14 10:38 ` Richard Purdie
@ 2017-08-26 22:36 ` Richard Purdie
  1 sibling, 0 replies; 5+ messages in thread
From: Richard Purdie @ 2017-08-26 22:36 UTC (permalink / raw)
  To: Jussi Kukkonen, Patches and discussions about the oe-core layer

On Mon, 2017-08-14 at 11:33 +0300, Jussi Kukkonen wrote:
> I'm seeing lots of this failure in my last build:
> 
> | DEBUG: PKGWRITEDIR: /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-
> icon-theme/3.24.0-r0/deploy-rpms/noarch
> | DEBUG: SITE files ['endian-little', 'bit-32', 'common-linux',
> 'common-glibc', 'allarch-linux', 'common']
> | DEBUG: Executing shell function BUILDSPEC
> | /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/recipe-sysroot-native/usr/bin/rpmbuild: error while loading shared
> libraries: libdw.so.1: cannot open shared object file: No such file
> or directory
> | WARNING: exit code 127 from a shell command.
> | DEBUG: Python function do_package_rpm finished
> | DEBUG: Python function do_package_write_rpm finished
> | ERROR: Function failed: BUILDSPEC (log file is located at
> /mnt/extra-ssd/tmp/work/all-poky-linux/adwaita-icon-theme/3.24.0-
> r0/temp/log.do_package_write_rpm.21827)
> ERROR: Task (/home/jku/src/poky/meta/recipes-gnome/gnome/adwaita-
> icon-theme_3.24.0.bb:do_package_write_rpm) failed with exit code '1'

I've just sent a patch to staging.bbclass which I believe should fix
this error. We also saw it on the autobuilder and I had other reports
about it.

Cheers,

Richard


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

end of thread, other threads:[~2017-08-26 22:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14  8:33 native sysroot race with rpmbuild Jussi Kukkonen
2017-08-14 10:38 ` Richard Purdie
2017-08-14 10:55   ` Jussi Kukkonen
2017-08-14 11:02     ` Richard Purdie
2017-08-26 22:36 ` Richard Purdie

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.