Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 802372 - dev-qt/qt-creator-4.15.1[+android] fails to build
Summary: dev-qt/qt-creator-4.15.1[+android] fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-16 05:12 UTC by Pavel Volkov
Modified: 2021-11-21 20:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,105.52 KB, application/gzip)
2021-07-16 05:13 UTC, Pavel Volkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Volkov 2021-07-16 05:12:37 UTC
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,origin -Wl,-rpath,/usr/lib64 -Wl,-z,origin '-Wl,-rpath,$ORIGIN:$ORIGIN/../:$ORIGIN/.' -Wl,--no-undefined -shared -Wl,-soname,libMacros.so -o libMacros.so .obj/release-shared/macrosplugin.o .obj/release-shared/macro.o .obj/release-shared/macroevent.o .obj/release-shared/macromanager.o .obj/release-shared/macrooptionswidget.o .obj/release-shared/macrooptionspage.o .obj/release-shared/macrolocatorfilter.o .obj/release-shared/savedialog.o .obj/release-shared/macrotextfind.o .obj/release-shared/texteditormacrohandler.o .obj/release-shared/actionmacrohandler.o .obj/release-shared/findmacrohandler.o .obj/release-shared/imacrohandler.o .obj/release-shared/qrc_macros.o .obj/release-shared/moc_macrosplugin.o .obj/release-shared/moc_macromanager.o .obj/release-shared/moc_macrooptionswidget.o .obj/release-shared/moc_macrolocatorfilter.o .obj/release-shared/moc_savedialog.o .obj/release-shared/moc_macrotextfind.o .obj/release-shared/moc_texteditormacrohandler.o .obj/release-shared/moc_actionmacrohandler.o .obj/release-shared/moc_findmacrohandler.o .obj/release-shared/moc_imacrohandler.o  -L/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/lib64/qtcreator -L/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/lib64/qtcreator/plugins -lCore -L/usr/lib64 -lKF5SyntaxHighlighting -lTextEditor -lAggregation -lExtensionSystem -lUtils /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Concurrent.so /usr/lib64/libQt5Core.so -lGL -lpthread    
mv -f libMacros.so ../../../lib64/qtcreator/plugins/libMacros.so
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/src/plugins/macros'
make[2]: *** No rule to make target 'languageclient-make_first', needed by 'sub-android-make_first'.  Stop.
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/src/plugins'
make[1]: *** [Makefile:182: sub-plugins-make_first-ordered] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/src'
make: *** [Makefile:48: sub-src-make_first-ordered] Error 2

Reproducible: Always




Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.1.0, glibc-2.33-r1, 5.13.0-gentoo-r1melf x86_64)
=================================================================
System uname: Linux-5.13.0-gentoo-r1melf-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.33
KiB Mem:    32811276 total,   8686492 free
KiB Swap:   15728636 total,  15728636 free
Timestamp of repository gentoo: Wed, 14 Jul 2021 19:45:01 +0000
Head commit of repository gentoo: 9d86d7c0b3f6ede53bfd9b5e7ae81af3dc4db919
Timestamp of repository binaryden: Mon, 12 Jul 2021 15:08:47 +0000
Head commit of repository binaryden: 3941179aff6cf04d11501c92b3ad0a832f87afe0

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r3::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.36.1-r1::gentoo
sys-devel/gcc:            11.1.0-r2::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.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gentoo.bloodhost.ru/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: -4
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

binaryden
    location: /var/db/repos/binaryden
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/binaryden.git
    masters: gentoo

custom
    location: /usr/local/portage
    masters: gentoo
    priority: 70

Installed sets: @apps-binary, @development, @filesystems, @fonts, @kdeapps, @nfc, @python-extra
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE all-rights-reserved freedist linux-fw-redistributable no-source-code MPEG-4 unRAR Skype-TOS Spotify NPSL BitstreamCyberbit MSttfEULA grass-ipafonts free-noncomm bh-luxi all-rights-reserved"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=znver2 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/ibus/component/simple.xml"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/openvpn/update-systemd-resolved /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=znver2 "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --quiet-build"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.leaseweb.com/gentoo/"
INSTALL_MASK=" /etc/init.d/ /etc/xinetd.d/ /etc/hosts /etc/networks /etc/xdg/autostart/solaar.desktop /usr/share/applications/discord.desktop /usr/share/applications/slack.desktop /usr/share/applications/skypeforlinux.desktop /usr/share/applications/spotify.desktop /usr/share/applications/zoom-zoom.desktop /etc/X11/Sessions/blackbox /usr/share/xsessions/blackbox.desktop "
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB ru ja"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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="X a52 aac acl acpi activities alsa amd64 anthy branding btrfs bzip2 cacert cairo cdda cdr cjk cli crypt cryptsetup cups dbus declarative djvu dri dts dvd dvdr egl emboss encode exif ffmpeg flac fortran gdbm gif git gpg gpm gstreamer gtk gui ibus iconv icu idn ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc lm_sensors mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 raw readline samba scanner sdl seccomp spell split-usr ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb v4l vaapi vorbis wayland widgets wxwidgets x264 x265 xattr xcb xml xv xvid 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 sha 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" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB ru ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86 AMDGPU" 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="ruby27" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon r600 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, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, RUSTFLAGS
Comment 1 Pavel Volkov 2021-07-16 05:13:50 UTC
Created attachment 724099 [details]
build.log
Comment 2 Stas 2021-07-27 13:16:06 UTC
1) modify the file /src/libs/libs.pro
- sqlite
+ sqlite \
+ languageserverprotocol

2) modify the file /src/libs/plugins.pro
- conan
+ conan \
+ languageclient
Comment 3 hangglider 2021-07-31 19:51:27 UTC
Works for me, even if patch looks a bit strange. Second file is src/plugins/plugins.pro.
Comment 4 Peter Sliepenbeek 2021-08-14 07:21:06 UTC
Or add an explicit 'lsp' use flag.
Comment 5 Thomas Capricelli 2021-09-09 13:31:17 UTC
It also fails with +mcu:

make[2]: ingresso nella directory «/var/tmp/portage/dev-qt/qt-creator-4.15.1/work/qt-creator-opensource-src-4.15.1/src/plugins»
make[2]: ***  Nessuna regola per generare l'obiettivo «baremetal-make_first», necessario per «sub-mcusupport-make_first».  Arresto.
make[2]: *** Attesa per i processi non terminati....
Comment 6 Rick Foland 2021-10-06 08:08:36 UTC
I also had this issue and adding the 'lsp' use flag worked for me. Thanks.
Comment 7 Larry the Git Cow gentoo-dev 2021-11-21 20:02:10 UTC
The bug has been referenced in the following commit(s):

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

commit b8ff4e5c839462c4bfa518c9b6a42d1f156d3330
Author:     Kritzmensch <streef.gtx@gmail.com>
AuthorDate: 2021-11-21 19:56:42 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2021-11-21 20:01:54 +0000

    dev-qt/qt-creator: add 'baremetal' as a required dep for 'mcu'
    
    Bug: https://bugs.gentoo.org/802372
    Closes: https://github.com/gentoo/gentoo/pull/23019
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qt-creator/qt-creator-4.15.1.ebuild | 2 +-
 dev-qt/qt-creator/qt-creator-9999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2021-11-21 20:10:19 UTC
The bug has been closed via the following commit(s):

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

commit 25b802bcfecca3ca93b279aee7e1ce843639243a
Author:     Davide Pesavento <pesa@gentoo.org>
AuthorDate: 2021-11-21 20:09:19 +0000
Commit:     Davide Pesavento <pesa@gentoo.org>
CommitDate: 2021-11-21 20:09:19 +0000

    dev-qt/qt-creator: USE=android requires lsp
    
    Closes: https://bugs.gentoo.org/802372
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Davide Pesavento <pesa@gentoo.org>

 dev-qt/qt-creator/qt-creator-4.15.1.ebuild | 1 +
 dev-qt/qt-creator/qt-creator-9999.ebuild   | 1 +
 2 files changed, 2 insertions(+)