Bug 1165442 - libpeas fails to build with -j1
Summary: libpeas fails to build with -j1
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Factory
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-02 13:05 UTC by Bernhard Wiedemann
Modified: 2020-05-18 14:03 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2020-03-02 13:05:14 UTC
While working on reproducible builds for openSUSE, I found that
our libpeas package fails to build with -j1

Steps To Reproduce:

osc co openSUSE:Factory/libpeas && cd $_
osc build -j1 --noservice standard
(same with added --vm-type=kvm )

Actual Results:

[   61s] cc -Itests/libpeas/d65a112@@extension-c@exe -Itests/libpeas -I../tests/libpeas -I. -I../ -Ilibpeas -I../libpeas -Itests/libpeas/introspection -I../tests/libpeas/introspection -Itests/testing-util -I../tests/testing-util -Itests/libpeas/testing -I../tests/libpeas/testing -Itests/libpeas/plugins/embedded -I../tests/libpeas/plugins/embedded -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gobject-introspection-1.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -pthread -DPYGOBJECT_MAJOR_VERSION=3 -DPYGOBJECT_MINOR_VERSION=34 -DPYGOBJECT_MICRO_VERSION=0 -MD -MQ 'tests/libpeas/d65a112@@extension-c@exe/extension-c.c.o' -MF 'tests/libpeas/d65a112@@extension-c@exe/extension-c.c.o.d' -o 'tests/libpeas/d65a112@@extension-c@exe/extension-c.c.o' -c ../tests/libpeas/extension-c.c
[   61s] ../tests/libpeas/extension-c.c:32:10: fatal error: plugins/embedded/embedded-resources.h: No such file or directory
[   61s]    32 | #include "plugins/embedded/embedded-resources.h"
[   61s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[   61s] compilation terminated.
[   61s] ninja: build stopped: subcommand failed.

This is probably a race from insufficiently specified deps.

Feel free to move upstream as you see fit.
Comment 1 Dominique Leuenberger 2020-05-18 14:03:23 UTC
I can't reproduce this anymore with libpeas 1.26.0, so likley this is indeed fixed.

From the changelog:
Sat Mar  7 17:59:20 UTC 2020 - bjorn.lie@gmail.com

- Update to version 1.26.0:
  + Simplified i18n usage.
  + Build system fixes.
  + Updated translations.