Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679296 - dev-qt/qtdeclarative-5.12.1 fails to compile due to missing files
Summary: dev-qt/qtdeclarative-5.12.1 fails to compile due to missing files
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-03 06:00 UTC by Francois Chenier
Modified: 2019-03-18 10:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emergeinfo.log,5.21 KB, text/plain)
2019-03-03 06:00 UTC, Francois Chenier
Details
Build log file (qtdeclarative-5.12.1.log.tar.bz2,35.45 KB, application/x-bzip2)
2019-03-11 08:29 UTC, Francois Chenier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chenier 2019-03-03 06:00:03 UTC
Created attachment 567526 [details]
emerge --info

This build spit the dummy because ui_import.h, ui_pane.h and ui_properties.h
 are not generated in this ebuild. This happens when building qmleasing module near at the end.

https://code.woboq.org/qt5/qtdeclarative/tools/qmleasing/.uic/

Returned error is:
In file included from main.cpp:29:
mainwindow.h:34:10: fatal error: ui_properties.h: No such file or directory
 #include "ui_properties.h"
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:1337: .obj/main.o] Error 1
make[2]: *** Waiting for unfinished jobs....


I managed to rebuild the 3 files (which should be created at build time) & restart the ebuild to fix the issue.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2019-03-11 06:54:35 UTC
Could you please also attach the failing build log?
Comment 2 Francois Chenier 2019-03-11 08:29:28 UTC
Created attachment 568540 [details]
Build log file

Sorry compressed due to file size limit.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2019-03-11 12:12:35 UTC
Can you try with MAKEOPTS="-j1"?

I do see missing lines from your log such as "/usr/lib64/qt5/bin/uic properties.ui -o .uic/ui_properties.h" so it would be interesting to see if this is a parallel build issue or something else.
Comment 4 Francois Chenier 2019-03-11 20:09:38 UTC
(In reply to Michael Palimaka (kensington) from comment #3)
> Can you try with MAKEOPTS="-j1"?
> 

Same result and it's not because /usr/lib64/qt5/bin/uic is not in my filesystem. Might be related or not; I have the same issue with dev-qt/designer-5.12.1 package which also refuse to compile for missing header files. Again, after manually creating missing header file (with uic) and injecting it in the source code, it compile and work fine.

Strange because all other 29 dev-qt packages in my filesystem compile perfectly.
Comment 5 Francois Chenier 2019-03-12 22:58:48 UTC
Before someone ask, same issue with dev-qt/qtdeclarative-r1. I had to manually generate header files to get this package to compile.
Comment 6 Francois Chenier 2019-03-18 10:59:01 UTC
Issue fixed in dev-qt/qtdeclarative-5.12.2.

This latest release also fix similar issue for dev-qt/designer