Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750527 - dev-qt/qt-creator-4.15.0 version bump
Summary: dev-qt/qt-creator-4.15.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 7 votes (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-10-21 08:13 UTC by Sergey Torokhov
Modified: 2021-07-12 18:19 UTC (History)
12 users (show)

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


Attachments
Patch adding new ebuild and patch file for Qt Creator 4.13.2 (qt-creator-4.13.2.patch,18.83 KB, patch)
2020-11-20 08:15 UTC, Hans F. Nordhaug
Details | Diff
Patch adding new ebuild and patch file for Qt Creator 4.13.3 (qt-creator-4.13.3.patch,18.84 KB, patch)
2020-11-23 10:45 UTC, Hans F. Nordhaug
Details | Diff
Patch adding new ebuild and patch file for Qt Creator 4.13.3 and 4.14.o (qt-creator-4.14.0.patch,30.91 KB, patch)
2020-12-24 13:10 UTC, Hans F. Nordhaug
Details | Diff
simplified qt-creator-4.14.0.ebuild (qt-creator-4.14.0.ebuild,6.85 KB, text/plain)
2021-01-28 00:39 UTC, Victor Mataré
Details
Improved patch adding new ebuild and patch file for Qt Creator 4.13.3 and 4.14.0 (qt-creator-4.14.0-r1.patch,31.21 KB, patch)
2021-02-23 12:02 UTC, Hans F. Nordhaug
Details | Diff
Patch adding new ebuilds for Qt Creator 4.13.3 and 4.14.1 (qt-creator-4.14.1.patch,32.63 KB, patch)
2021-02-25 15:01 UTC, Hans F. Nordhaug
Details | Diff
Adding ebuild for Qt Creator 4.15.0 beta1 (qt-creator-4.15.0_beta1.patch,10.15 KB, patch)
2021-03-17 11:21 UTC, Hans F. Nordhaug
Details | Diff
Ebuild for Qt Creator 4.15 RC1 and clean-up (qt-creator-4.15.0_rc1.patch,19.03 KB, patch)
2021-04-30 15:09 UTC, Hans F. Nordhaug
Details | Diff
Ebuild for Qt Creator 4.15.1 and clean-up (qt-creator-4.15.1.patch,19.00 KB, patch)
2021-06-17 06:26 UTC, Hans F. Nordhaug
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2020-10-21 08:13:57 UTC
Current qt-creator-4.12.3.ebuild of portage tree is compatible only with llvm:9 and :10, but not with llvm:10.1 or :11.

Please bump version to 4.13.2 and fix there compatibility with newer llvm slots where it possible.

Reproducible: Always
Comment 1 Hans F. Nordhaug 2020-11-20 08:15:20 UTC
Created attachment 673363 [details, diff]
Patch adding new ebuild and patch file for Qt Creator 4.13.2

This patchs also adds support for llvm / clang 11.0.0.
Comment 2 Hans F. Nordhaug 2020-11-20 08:16:21 UTC
NB! If you are using Clang 11, you will also want / need patch from the following issue until it's resolved: https://bugs.gentoo.org/755668
Comment 3 Cyril 2020-11-20 09:18:39 UTC
Nice,

Works after removing lines 111-112 in patch 
+-- 
+2.26.2

Thanks Hans
Comment 4 Hans F. Nordhaug 2020-11-23 10:45:58 UTC
Created attachment 674449 [details, diff]
Patch adding new ebuild and patch file for Qt Creator 4.13.3

Qt Creator 4.13.3 just released. Patch updated - without the stupid mistake.
Comment 5 Hans F. Nordhaug 2020-12-11 15:25:37 UTC
From /usr/portage/profiles/package.mask:

# Michał Górny <mgorny@gentoo.org> (2020-11-29)
# An awful hack-package that was dumped on others, and not touched
# by the person adding it since.  Depends on obsolete LLVM versions
# and needs a version bump.
# Removal in 30 days.  Bug #734732.
dev-libs/libclangformat-ide

Removing that package causes problems for Clang support in Qt Creator and is a serious issue. Please visit https://bugs.gentoo.org/734732 and raise your concerns.
Comment 6 Dmitry Grigoriev 2020-12-22 01:36:11 UTC
(In reply to Hans F. Nordhaug from comment #4)
> Qt Creator 4.13.3 just released. Patch updated - without the stupid mistake.

Thank you, works like a charm! (together with patch from #755668)
Comment 7 Hans F. Nordhaug 2020-12-24 13:10:41 UTC
Created attachment 679374 [details, diff]
Patch adding new ebuild and patch file for Qt Creator 4.13.3 and 4.14.o

Updated patch adding support for the new released Qt Creator 4.14.0. 

NB! Qt Creator 4.14.0 doesn't need the dylib fix anymore, but the ClangFormat patch is still needed and hence the dev-libs/libclangformat-ide package.
Comment 8 Hans F. Nordhaug 2020-12-24 13:14:44 UTC
NB! Because of the erroneous profile use mask of clang (in /usr/portage/profiles/base/package.use.mask), you should add a file  /etc/portage/profile/package.use.mask containing "dev-qt/qt-creator -clang" to get any Clang feature, not only the Clang format plugin.
Comment 9 Simon Maurer 2021-01-13 10:04:17 UTC
Thanks for the ebuild. But after the update, the clang code model could't find some of the standard header files (e.g. stdbool.h and stddef.h). I had to add the line
sed -i -e "/^CLANG_INCLUDE_DIR\s*=/s:\$\${LLVM_LIBDIR}:${EPREFIX}/usr/lib:" src/shared/clang/clang_defines.pri || die
to src_prepare(). Looks like CLANG_RESOURCE_DIR was renamed to CLANG_INCLUDE_DIR in clang_defines.pri
Comment 10 Victor Mataré 2021-01-28 00:39:30 UTC
Created attachment 684936 [details]
simplified qt-creator-4.14.0.ebuild

Here is an ebuild with the dependency on libclangformat-ide removed. libclangformat-ide is not essential, the clang code model works fine without it. Given the fact that libclangformat-ide is currently in limbo for lack of a maintainer, this should simplify acceptance. The ebuild also incorporates the CLANG_INCLUDE_DIR fix mentioned above by Simon Maurer.
Comment 11 Vyacheslav 2021-01-29 22:57:12 UTC
Victor Mataré tnx for your ebuild with working clang code model!
Comment 12 Hans F. Nordhaug 2021-02-23 12:02:25 UTC
Created attachment 688140 [details, diff]
Improved patch adding new ebuild and patch file for Qt Creator 4.13.3 and 4.14.0

- Instead of removing support for libclangformat-ide, added separate clangformat use flag so people without libclangformat-ide can get clang code model support in Qt Creator. This should make everybody happy.
- Contains CLANG_INCLUDE_DIR fix - thanks for spotting it.
- Removed client use flag for gdb as it no longer exists. Block gdb upgrade.
Comment 13 Sergey Torokhov 2021-02-23 14:11:38 UTC
Some new ebuilds of sys-devel/gdb has no USE flag "client".
Comment 14 Hans F. Nordhaug 2021-02-23 14:20:51 UTC
There are currently no sys-devel/gdb ebuilds that has the client use flag, and hence the client use flag in Qt Creator blockED the upgrade of gdb.
Comment 15 Sergey Torokhov 2021-02-23 21:07:20 UTC
Yes, "client" option now is always on in sys-devel/gdb and if gdb is already updated to current portage tree then attached qt-creator ebuild couldn't be merged with explicit requirements of sys-devel/gdb[client], e.g. for new qt-creator installation.
Comment 16 Sergey Torokhov 2021-02-23 21:10:31 UTC
(In reply to Hans F. Nordhaug from comment #14)
> There are currently no sys-devel/gdb ebuilds that has the client use flag,
> and hence the client use flag in Qt Creator blockED the upgrade of gdb.

Sorry, I checked ebuild instead of atrached patch that fix it.
Comment 17 Hans F. Nordhaug 2021-02-25 15:01:27 UTC
Created attachment 688356 [details, diff]
Patch adding new ebuilds for Qt Creator 4.13.3 and 4.14.1

Prior patch updated for newly released Qt Creator 4.14.1 and improved further. Separate clangformat use flag should work properly now. I had forgotten about "llvm_check_deps". Also updated clang plugin use flag descriptions in metadata.xml. (I didn't add clangformat use flag and son to version 4.13.3. Now that 4.14.1 is released, we probably should just skip it.)

I have also verified that my 11.0.0 patch for the (removed) dev-libs/libclangformat-ide package still works for 11.0.1. Will attach it under bug 755668 even it it is closed. I'm willing to maintain that package. (Will make a formal request somewhere.)

So, what more can I do to get a new version of Qt Creator into Gentoo?

NB! I just discovered bug 757756 that is almost a duplicate. These two bugs should reference each other.
Comment 18 Bluey The Dog 2021-03-13 06:25:27 UTC
Could someone please advise me how to test Hans's patch? In the past I've tested some of the posted ebuilds but this patch has me stumped as to what I need already installed etc
Comment 19 Hans F. Nordhaug 2021-03-15 09:07:11 UTC
I'm unsure what the problem is. Anyway:

cd /usr/portage/
wget 'https://750527.bugs.gentoo.org/attachment.cgi?id=688356' -O 750527.patch
patch -n -p1 < 750527.patch

Then you have the ebuild for Qt Creator 4.14.1. Since the new USE flag clangformat isn't enabled by default, you don't have to mess with the dev-libs/libclangformat-ide package unless you really need the Clang format plugin.

NB! You have to add "dev-qt/qt-creator -clang" in /etc/portage/profile/package.use.mask before merging the package.
Comment 20 Hans F. Nordhaug 2021-03-15 09:16:48 UTC
It should of course be

patch -p1 < 750527.patch

without "-n". I think I was trying to do a dry-run when testing and just copied the command. ("-n" means "--normal" for patch ...)
Comment 21 Hans F. Nordhaug 2021-03-17 11:21:24 UTC
Created attachment 692133 [details, diff]
Adding ebuild for Qt Creator 4.15.0 beta1

Qt Creator 4.15.0 beta1 was just released. The dev-libs/libclangformat-ide package is no loner needed.
Comment 22 Bluey The Dog 2021-04-29 15:01:16 UTC
Don't know if it is relevant but I have taken Hans's 'beta1 ebuild, modified it to use clang 12, I think, and got it to build. Then copied this is 'beta2, redid the Manifest step and managed to get that to build. Then once again copied this ebuild to 'rc1, did Manifest and in turn it built. 

I intend to learn how to do the whole ebuild thingy but at the moment I'm very entry level so I've probably overlooked something in what I've done. I'm about to do some coding using the resultant creator so hopefully it won't "break" mid use.
Comment 23 Hans F. Nordhaug 2021-04-30 15:09:59 UTC
Created attachment 704538 [details, diff]
Ebuild for Qt Creator 4.15 RC1 and clean-up

Synced a lot useful changes from qt-creator-9999.ebuild to qt-creator-4.15.0_rc1.ebuild and some changes, mostly clangformat, the other way - so the files are in sync. Removed support for Clang 9 and added Clang 12.

Also removed qt-creator-4.12.3-r1.ebuild and related patches.
Comment 24 Bluey The Dog 2021-05-01 16:58:56 UTC
Just tried Hans's latest effort and it built clean. Time to do some more coding using it.
Comment 25 Szef 2021-05-13 11:53:55 UTC
I tried Hans's patch and it is failed to build for me.

Problem is about missing lib: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSqlite

It seems that this lib should be in ./lib64/qtcreator directory (at least it is there in my current 4.12.3 installation in /usr/lib64/qtcreator), but it is not. 
All other libs (10 in my case) that are in /usr/lib64/qtcreator match those in ./lib64/qtcreator, libSqlite.so is only problem.
Comment 26 Hans F. Nordhaug 2021-05-14 11:09:36 UTC
This is because the clang use flag isn't set.

The flag is masked in /usr/portage/profiles/base/package.use.mask and you have to unmask it by creating /etc/portage/profile/package.use.mask containing "dev-qt/qt-creator -clang".

This global masking will/should be removed whenever the maintainer releases a new version of this package.
Comment 27 Szef 2021-05-14 13:30:12 UTC
Thank you very much, all done!
Comment 28 Hans F. Nordhaug 2021-06-03 06:24:25 UTC
It's close to a month after 4.15.0 was released and there is a decent patch in this issue. Please consider creating a new release of this package. If a PR is necessary, please let me know.
Comment 29 Hans F. Nordhaug 2021-06-17 06:26:32 UTC
Created attachment 716493 [details, diff]
Ebuild for Qt Creator 4.15.1 and clean-up

Just updating patch showing that it works for version 4.15.1 too.

Is there any hope of getting this committed?
Comment 30 Sergey Torokhov 2021-06-17 06:43:14 UTC
Could you please create pull request with ebuild update for qt-creator on https://github.com/gentoo/gentoo ?

Gentoo proxy-maint project developers could review it as issue exists. Usually they review after 30 days after pr creation  but maybe after "ping" on irc channel of libera.chat it will go fast.
Comment 31 Hans F. Nordhaug 2021-06-21 05:55:35 UTC
Just for the record - I have created a pull request: https://github.com/gentoo/gentoo/pull/21278

I have not pinged any Gentoo proxy-maint project devs.
Comment 32 Davide Pesavento (RETIRED) gentoo-dev 2021-06-21 06:45:04 UTC
Thanks. I'll take a look this week.
Comment 33 Hans F. Nordhaug 2021-07-08 12:29:08 UTC
Is perfect stopping progress here, or are you just very busy?

Even if the patch / PR isn't perfect, it's surely better than the current situation with an outdated Qt Creator and no clang support (because of entry in package.use.mask).
Comment 34 Larry the Git Cow gentoo-dev 2021-07-11 05:37:00 UTC
The bug has been closed via the following commit(s):

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

commit a3345ca863b3f721acd8841249670c2fcba9616a
Author:     Hans Fredrik Nordhaug <hansfn@gmail.com>
AuthorDate: 2021-07-11 05:17:36 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2021-07-11 05:18:54 +0000

    dev-qt/qt-creator: add 4.15.1
    
    Closes: https://bugs.gentoo.org/721720
    Closes: https://bugs.gentoo.org/750527
    Closes: https://github.com/gentoo/gentoo/pull/21278
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Hans Fredrik Nordhaug <hansfn@gmail.com>
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qt-creator/Manifest                 |   1 +
 dev-qt/qt-creator/qt-creator-4.15.1.ebuild | 232 +++++++++++++++++++++++++++++
 2 files changed, 233 insertions(+)
Comment 35 Alexey Mishustin 2021-07-12 11:15:27 UTC
Hi



4.15.1 isn't compiling for me, with error

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: impossible to find -lSqlite



emerge --info dev-qt/qt-creator
Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1, gcc-10.3.0, glibc-2.33-r1, 5.12.12-gentoo-v67 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.12.12-gentoo-v67-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.33
KiB Mem:    32875148 total,  26871116 free
KiB Swap:   31250428 total,  31250428 free
Timestamp of repository gentoo: Sun, 11 Jul 2021 13:45:01 +0000
Head commit of repository gentoo: 5679689b8e90604c57efe28d0d08ced22dbc65a8
Head commit of repository steam-overlay: c93a9167c9251ceceb6e7ee35cdf636cb59be6f4

sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.10_p2::gentoo, 3.9.5_p2::gentoo
dev-lang/rust:            1.52.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r1::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://thinkserver/gentoo-portage/
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

unknown
    location: /var/db/repos/unknown
    masters: gentoo
    priority: 51

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fstack-protector-strong"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub /etc /usr/bin/startx /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/cursors/xorg-x11 /usr/share/easy-rsa /usr/share/fbpanel/images /usr/share/gnupg/qualified.txt /usr/share/portage/config/make.globals /usr/share/scite/SciTEGlobal.properties /usr/share/themes/Clearlooks/openbox-3/themerc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fstack-protector-strong"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/"
INSTALL_MASK="/usr/share/cursors/xorg-x11/default"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j15"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 bitmap-fonts bzip2 cdr cjk cli crypt cups dri dvd ffmpeg fontconfig fortran gdbm gnutls iconv libglvnd libtirpc lpr multilib ncurses nls nptl openmp pam pcre perl readline samba seccomp split-usr ssl tcpd truetype unicode usb xattr xft zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26" SANE_BACKENDS="canon canon630u canon_dr canon_pp epson epson2" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

dev-qt/qt-creator-4.12.3-r1::gentoo was built with the following:
USE="cppcheck designer doc git help lsp mercurial python qmldesigner qmlprofiler valgrind -android -autotest -baremetal -beautifier -boot2qt -clang -clearcase -cmake -ctfvisualizer -cvs -glsl -ios -mcu -modeling -nim -perforce -perfprofiler -qbs -qnx -remotelinux -scxml -serialterminal -silversearcher -subversion -systemd -test -webassembly -webengine -winrt" ABI_X86="(64)" L10N="ru -cs -da -de -fr -ja -pl -sl -uk -zh-CN -zh-TW"
FEATURES="preserve-libs qa-unresolved-soname-deps binpkg-logs merge-sync xattr fixlafiles strict unmerge-logs assume-digests network-sandbox pid-sandbox sfperms ipc-sandbox ebuild-locks binpkg-docompress config-protect-if-modified unmerge-orphans sandbox binpkg-dostrip parallel-fetch userpriv news multilib-strict sign usersync usersandbox unknown-features-warn distlocks userfetch protect-owned"
Comment 36 Alexey Mishustin 2021-07-12 11:16:50 UTC
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: impossible to find -lSqlite

or "cannot find" (my message is localized)
Comment 37 Hans F. Nordhaug 2021-07-12 11:29:02 UTC
See comment 25 / 26.
Comment 38 Davide Pesavento (RETIRED) gentoo-dev 2021-07-12 16:58:56 UTC
(In reply to Alexey Mishustin from comment #35)
> 4.15.1 isn't compiling for me, with error
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/
> ld: impossible to find -lSqlite
Please open a new bug.
Comment 39 Alexey Mishustin 2021-07-12 17:28:35 UTC
(In reply to Hans F. Nordhaug from comment #37)
> See comment 25 / 26.

Thanks, it helped.

(In reply to Davide Pesavento from comment #38)
> (In reply to Alexey Mishustin from comment #35)
> > 4.15.1 isn't compiling for me, with error
> > 
> > /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/
> > ld: impossible to find -lSqlite
> Please open a new bug.

Should I open a new bug and describe the workaround with clang USE flag in this bug?
Comment 40 Davide Pesavento (RETIRED) gentoo-dev 2021-07-12 17:33:35 UTC
(In reply to Alexey Mishustin from comment #39)
> (In reply to Hans F. Nordhaug from comment #37)
> > See comment 25 / 26.
> 
> Thanks, it helped.
> 
> (In reply to Davide Pesavento from comment #38)
> > (In reply to Alexey Mishustin from comment #35)
> > > 4.15.1 isn't compiling for me, with error
> > > 
> > > /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/
> > > ld: impossible to find -lSqlite
> > Please open a new bug.
> 
> Should I open a new bug and describe the workaround with clang USE flag in
> this bug?

Yes please. I don't really understand what this is about, nor what the workaround entails. If the ebuild fails unless a specific USE flag is enabled, that's certainly a bug that needs fixing.
Comment 41 Alexey Mishustin 2021-07-12 18:19:21 UTC
(In reply to Davide Pesavento from comment #40)
> (In reply to Alexey Mishustin from comment #39)
> > Should I open a new bug and describe the workaround with clang USE flag in
> > this bug?
> 
> Yes please. I don't really understand what this is about, nor what the
> workaround entails. If the ebuild fails unless a specific USE flag is
> enabled, that's certainly a bug that needs fixing.

801922

Before creating that bug, I checked: creating the file /etc/portage/profile/package.use.mask is not necessary, the problem is solving just by adding clang USE flag to /etc/portage/package.use.