Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

race condition when building appstream-qt #292

Closed
antonio-rojas opened this issue Nov 30, 2020 · 5 comments
Closed

race condition when building appstream-qt #292

antonio-rojas opened this issue Nov 30, 2020 · 5 comments

Comments

@antonio-rojas
Copy link
Contributor

Building with multiple threads fails:

[27/146] Compiling C++ object qt/libAppStreamQt.so.0.13.0.p/image.cpp.o
FAILED: qt/libAppStreamQt.so.0.13.0.p/image.cpp.o 
c++ -Iqt/libAppStreamQt.so.0.13.0.p -Iqt/ -I../AppStream-0.13.0/qt -Isrc/ -I../AppStream-0.13.0/src -I/usr/include/qt/QtCore -I/usr/include/qt -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=gnu++14 -g -Wno-unused-parameter -Wno-error=deprecated-copy -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread -DQT_CORE_LIB -MD -MQ qt/libAppStreamQt.so.0.13.0.p/image.cpp.o -MF qt/libAppStreamQt.so.0.13.0.p/image.cpp.o.d -o qt/libAppStreamQt.so.0.13.0.p/image.cpp.o -c ../AppStream-0.13.0/qt/image.cpp
In file included from ../AppStream-0.13.0/src/appstream.h:30,
                 from ../AppStream-0.13.0/qt/image.cpp:21:
../AppStream-0.13.0/src/as-component.h:31:10: fatal error: as-enums-types.h: No such file or directory
   31 | #include "as-enums-types.h"
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

perhaps a missing dependency in the appstreamqt_lib target?

@ximion
Copy link
Owner

ximion commented Nov 30, 2020

Hmm, this shouldn't happen and I can't reproduce this issue... Is this in a clean chroot?
I'll have a closer look at the dependencies.

@antonio-rojas
Copy link
Contributor Author

Yes, it is a clean chroot

@ximion ximion closed this as completed in 176971e Nov 30, 2020
@ximion
Copy link
Owner

ximion commented Nov 30, 2020

Can you maybe quickly verify whether the patch linked above fixes this for you?

@antonio-rojas
Copy link
Contributor Author

yes, all good now

@ximion
Copy link
Owner

ximion commented Nov 30, 2020

Okay, bugfix release time then ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants