Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909078 - media-gfx/ttfautohint-1.8.4-r3 fails at configure (Cannot build a test Qt program)
Summary: media-gfx/ttfautohint-1.8.4-r3 fails at configure (Cannot build a test Qt pro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 12:01 UTC by Althorion
Modified: 2023-06-26 12:44 UTC (History)
0 users

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


Attachments
emerge --info '=media-gfx/ttfautohint-1.8.4-r3::gentoo' (file_909078.txt,20.90 KB, text/plain)
2023-06-24 12:02 UTC, Althorion
Details
build.log (build.log,12.23 KB, text/x-log)
2023-06-24 12:03 UTC, Althorion
Details
environment (environment,71.69 KB, text/plain)
2023-06-24 12:04 UTC, Althorion
Details
config.log (config.log,126.52 KB, text/x-log)
2023-06-26 11:02 UTC, Althorion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Althorion 2023-06-24 12:01:18 UTC
media-gfx/ttfautohint-1.8.4-r3 fails while emerging at configure stage with the error `Cannot build a test Qt program`.

$ emerge -pqv '=media-gfx/ttfautohint-1.8.4-r3::gentoo'
[ebuild  N    ] media-gfx/ttfautohint-1.8.4-r3  USE="qt5"

Important part of the error:
Info: creating stash file /tmp/portage/portage/media-gfx/ttfautohint-1.8.4-r3/work/ttfautohint-1.8.4/conftest.dir/.qmake.stash
checking whether we can build a simple Qt application... ko
configure: error: Cannot build a test Qt program

Reproducible: Always
Comment 1 Althorion 2023-06-24 12:02:09 UTC
Created attachment 864555 [details]
emerge --info '=media-gfx/ttfautohint-1.8.4-r3::gentoo'
Comment 2 Althorion 2023-06-24 12:03:46 UTC
Created attachment 864556 [details]
build.log
Comment 3 Althorion 2023-06-24 12:04:34 UTC
Created attachment 864557 [details]
environment
Comment 4 Mike Gilbert gentoo-dev 2023-06-25 22:38:08 UTC
> !!! Please attach the following file when seeking support:
> !!! /tmp/portage/portage/media-gfx/ttfautohint-1.8.4-r3/work/ttfautohint-1.8.4/config.log

Please change the status to UNCONFIRMED once the above has been provided.
Comment 5 Althorion 2023-06-26 11:02:45 UTC
Created attachment 864630 [details]
config.log
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-26 11:12:53 UTC
g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_conftest.o moc_conftest.cpp
g++ -Wl,-O1 -o conftest.dir conftest.o moc_conftest.o   /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Core.so -lGL -pthread   
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /usr/lib64/libQt5Gui.so: undefined reference to `QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)@Qt_5'
collect2: error: ld returned 1 exit status

Your /usr/lib64/libQt5Gui.so appears to be broken. Please try emerge -v1  /usr/lib64/libQt5Gui.so.
Comment 7 Althorion 2023-06-26 12:44:25 UTC
Thanks, that solved the issue.