Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622436

Summary: dev-qt/qtgui-5.6.2 fails with "error: cannot find -lqtharfbuzzng"
Product: Gentoo Linux Reporter: toraboracaveman
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED OBSOLETE    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info '=dev-qt/qtgui-5.6.2::gentoo'
REAL `emerge --info '=dev-qt/qtgui-5.6.2::gentoo'`

Description toraboracaveman 2017-06-22 04:44:51 UTC
Created attachment 477584 [details]
build.log

`emerge dev-qt/qtgui` fails with error:

 /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: cannot find -lqtharfbuzzng

'build.log' and `emerge --info '=dev-qt/qtgui-5.6.2::gentoo'` are attached.
Comment 1 toraboracaveman 2017-06-22 04:46:32 UTC
Created attachment 477586 [details]
emerge --info '=dev-qt/qtgui-5.6.2::gentoo'
Comment 2 toraboracaveman 2017-06-22 04:50:16 UTC
Created attachment 477588 [details]
REAL `emerge --info '=dev-qt/qtgui-5.6.2::gentoo'`
Comment 3 toraboracaveman 2017-06-22 04:50:54 UTC
2nd attachment is the build environment file. 3rd is the real emerge --info.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2017-06-25 07:19:53 UTC
Was this the Qt downgrade that was being discussed on IRC?
Comment 5 Francesco Turco 2017-07-16 15:30:26 UTC
I had a similar problem while downgrading qt packages from version 5.9.1 to version 5.7.1-r1. As a workaround I uninstalled =dev-qt/qtgui-5.9.1 before emerging =dev-qt/qtgui-5.7.1-r1.
Comment 6 . 2017-10-10 03:45:09 UTC
(In reply to Francesco Turco from comment #5)
> I had a similar problem while downgrading qt packages from version 5.9.1 to
> version 5.7.1-r1. As a workaround I uninstalled =dev-qt/qtgui-5.9.1 before
> emerging =dev-qt/qtgui-5.7.1-r1.

Confirmed. In my case it was also needed to uninstall =dev-qt/qtwidgets-5.9* due to file conflicts.
Comment 7 Marian Kyral 2017-10-11 05:37:41 UTC
(In reply to Francesco Turco from comment #5)
> I had a similar problem while downgrading qt packages from version 5.9.1 to
> version 5.7.1-r1. As a workaround I uninstalled =dev-qt/qtgui-5.9.1 before
> emerging =dev-qt/qtgui-5.7.1-r1.

I can confirm as well. After unsuccessful upgrade to Qt-5.9.2 I decided to go back to 5.7.1. But I stuck on "cannot find -lqtharfbuzzng" error. This workaround fixed it.

Thanks
Comment 8 Ionen Wolkens gentoo-dev 2023-09-09 17:00:11 UTC
Nothing to do here I believe, major qt5 downgrades wouldn't happen anymore either way.