Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801922 - dev-qt/qt-creator-4.15.1 without clang USE flag: x86_64-pc-linux-gnu/bin/ld: cannot find -lSqlite
Summary: dev-qt/qt-creator-4.15.1 without clang USE flag: x86_64-pc-linux-gnu/bin/ld: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 18:16 UTC by Alexey Mishustin
Modified: 2021-12-02 19:09 UTC (History)
4 users (show)

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


Attachments
Ebuild for Qt Creator 4.15.2 fixing building without clang use (qt-creator-4.15.2.ebuild,7.10 KB, text/plain)
2021-07-19 09:13 UTC, Hans F. Nordhaug
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Mishustin 2021-07-12 18:16:47 UTC
When compiling dev-qt/qt-creator-4.15.1 without clang USE flag, it fails with error 
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSqlite

It was said in the bug 750527 to create the file /etc/portage/profile/package.use.mask with the content "dev-qt/qt-creator -clang", but that workaround wasn't necessary in my case. I just added "clang" to /etc/portage/package.use and the problem solved.
Comment 1 Hans F. Nordhaug 2021-07-15 05:43:55 UTC
PS! The reason the file /etc/portage/profile/package.use.mask was mentioned earlier is that the flag was in fact masked. That was fixed when 4.15.1 was released.

@pesa: Sorry that I forgot about this issue when creating my PR.
Comment 2 Blake Leverett 2021-07-16 17:21:15 UTC
Is there a way to build without the clang use flag?  That flag causes a bunch of stuff to be installed that I don't want.
Comment 3 Hans F. Nordhaug 2021-07-19 09:13:13 UTC
Created attachment 725119 [details]
Ebuild for Qt Creator 4.15.2 fixing building without clang use

he attached ebuild builds the newly released 4.15.2 without clang use.

The problem was that qmldesigner (which is enabled by defalut) also needed SQLite. I have extended the check before removing SQLite from building.

PS! The maintainer should make the same change to qt-creator-9999.ebuild
Comment 4 Larry the Git Cow gentoo-dev 2021-12-02 19:09:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ee29848e4a7b874b9c53fffabe87cb193f1a2a

commit 53ee29848e4a7b874b9c53fffabe87cb193f1a2a
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2021-12-02 19:08:57 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2021-12-02 19:08:57 +0000

    dev-qt/qt-creator: bump to 6.0.0
    
    Closes: https://bugs.gentoo.org/807580
    Closes: https://bugs.gentoo.org/801922
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qt-creator/Manifest                |   1 +
 dev-qt/qt-creator/qt-creator-6.0.0.ebuild | 231 ++++++++++++++++++++++++++++++
 2 files changed, 232 insertions(+)