Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716514 - [qt overlay] dev-qt/linguist-tools-5.15.0_beta3: qttools-config.pri: No such file or directory
Summary: [qt overlay] dev-qt/linguist-tools-5.15.0_beta3: qttools-config.pri: No such ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://code.qt.io/cgit/qt/qttools.gi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-07 04:34 UTC by Perfect Gentleman
Modified: 2020-04-09 22:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2020-04-07 04:34:07 UTC
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3 ...
 * Running qt5_qmake in src/linguist
Info: creating stash file /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3/.qmake.stash
Cannot read /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3/qttools-config.pri: No such file or directory
Project ERROR: Could not find feature linguist.
 * ERROR: dev-qt/linguist-tools-5.15.0_beta3::qt failed (configure phase):
 *   qmake failed (src/linguist)

Reproducible: Always
Comment 1 Perfect Gentleman 2020-04-07 04:38:14 UTC
 # cat build.log
-------------------------------------------------
 * Package:    dev-qt/linguist-tools-5.15.0_beta3
 * Repository: qt
 * Maintainer: qt@gentoo.org
 * Upstream:   https://bugreports.qt.io/
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux qml userland_GNU
 * FEATURES:   ccache network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking qttools-everywhere-src-5.15.0-beta3.tar.xz to /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work
>>> Source unpacked in /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work
>>> Preparing source in /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3 ...
 * Running qt5_qmake in src/linguist
Info: creating stash file /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3/.qmake.stash
Cannot read /tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3/qttools-config.pri: No such file or directory
Project ERROR: Could not find feature linguist.
 * ERROR: dev-qt/linguist-tools-5.15.0_beta3::qt failed (configure phase):
 *   qmake failed (src/linguist)
 * 
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 1998:  Called qt5-build_src_configure
 *   environment, line 1570:  Called qt5_foreach_target_subdir 'qt5_qmake'
 *   environment, line 1692:  Called qt5_qmake
 *   environment, line 1779:  Called die
 * The specific snippet of code:
 *       "${qmakepath}"/qmake "${projectdir}" CONFIG+=$(usex debug debug release) CONFIG-=$(usex debug release debug) QMAKE_AR="$(tc-getAR) cqs" QMAKE_CC="$(tc-getCC)" QMAKE_LINK_C="$(tc-getCC)" QMAKE_LINK_C_SHLIB="$(tc-getCC)" QMAKE_CXX="$(tc-getCXX)" QMAKE_LINK="$(tc-getCXX)" QMAKE_LINK_SHLIB="$(tc-getCXX)" QMAKE_OBJCOPY="$(tc-getOBJCOPY)" QMAKE_RANLIB= QMAKE_STRIP="$(tc-getSTRIP)" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= QMAKE_LFLAGS="${LDFLAGS}" QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= "${myqmakeargs[@]}" || die "qmake failed (${projectdir#${S}/})"
 * 
 * If you need support, post the output of `emerge --info '=dev-qt/linguist-tools-5.15.0_beta3::qt'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/linguist-tools-5.15.0_beta3::qt'`.
 * The complete build log is located at '/tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/temp/environment'.
 * Working directory: '/tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta3/src/linguist'
 * S: '/tmp/portage/dev-qt/linguist-tools-5.15.0_beta3/work/qttools-everywhere-src-5.15.0-beta
----------------------------------------------------------------------------------------------
Comment 2 Perfect Gentleman 2020-04-07 04:38:23 UTC
~ $ emerge --info
Portage 2.3.96 (python 3.8.2-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.3.0, glibc-2.31-r2, 5.6.2-gentoo x86_64)
=================================================================
System uname: Linux-5.6.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-glibc2.2.5
KiB Mem:    16088012 total,   3560912 free
KiB Swap:   13720572 total,  13708540 free
Head commit of repository pf4public: 77aa6a595cce5adc880b099f73eec756af2fef44

Head commit of repository gnome: 03664e2efda313a016be91ea34a38ffca7772bf7

Head commit of repository gentoo: 145f1875df3693bd564ed191a5243b94b3680936

Head commit of repository mozilla: 75c0c950f0c172fa122a9686c880e05e01f9c192

Head commit of repository qt: aefade7ae0d3be5b6c432a7e6edef20d896ff3e9

Head commit of repository kde: 0bdc8e40338ab758572ef269d52504c504256dc8

Head commit of repository pg_overlay: 03d9d5f835547b93ad9cdec74cf3c4d3493c378b

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p16::gentoo
dev-lang/perl:            5.30.2::pg_overlay
dev-lang/python:          2.7.17-r2::pg_overlay, 3.8.2-r1::pg_overlay
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.0::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

pf4public
    location: /usr/portage/overlay/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    priority: -1
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

gnome
    location: /usr/portage/proj/gnome
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/gnome.git
    masters: gentoo
    priority: 3
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: 5
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay
    sync-git-clone-extra-opts: --depth 1 --single-branch --branch master

mozilla
    location: /usr/portage/proj/mozilla
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/mozilla.git
    masters: gentoo
    priority: 7
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

qt
    location: /usr/portage/proj/qt
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 9
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

kde
    location: /usr/portage/proj/kde
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/kde.git
    masters: gentoo
    priority: 11
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

pg_overlay
    location: /usr/portage/overlay/pg_overlay
    sync-type: git
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 13
    eclass-overrides: gnome mozilla gentoo qt kde pg_overlay

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -flto=9 -fomit-frame-pointer -ftree-vectorize -fuse-linker-plugin -fdevirtualize-speculatively -fdevirtualize-at-ltrans -fno-plt -fno-stack-protector -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -flto=9 -fomit-frame-pointer -ftree-vectorize -fuse-linker-plugin -fdevirtualize-speculatively -fdevirtualize-at-ltrans -fno-plt -fno-stack-protector -s"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-march=native -mtune=native -O2 -pipe -flto=9 -fomit-frame-pointer -ftree-vectorize -fuse-linker-plugin -fdevirtualize-speculatively -fdevirtualize-at-ltrans -fno-plt -fno-stack-protector -s"
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 parallel-install 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="-march=native -mtune=native -O2 -pipe -flto=9 -fomit-frame-pointer -ftree-vectorize -fuse-linker-plugin -fdevirtualize-speculatively -fdevirtualize-at-ltrans -fno-plt -fno-stack-protector -s"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/lib/systemd /usr/lib/systemd /usr/share/fish /usr/share/zsh"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--strip-debug -Wl,--discard-all -march=native -mtune=native -O2 -pipe -flto=9 -fomit-frame-pointer -ftree-vectorize -fuse-linker-plugin -fdevirtualize-speculatively -fdevirtualize-at-ltrans -fno-plt -fno-stack-protector -s"
LINGUAS="en en_US en-US ru ru_RU ru-RU"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
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="/tmp"
USE="X acl alsa amd64 bash-completion bzip2 cairo cli cups custom-cflags cxx dbus dri elogind ffmpeg flac fontconfig gdbm gif gmp iconv icu introspection jpeg kde lcms libtirpc lzma lzo mmap mtp ncurses nls nptl ogg opengl openmp orc pam pch pcre png pulseaudio readline seccomp split-usr ssl svg symlink threads tiff truetype udev unicode vaapi vorbis wavpack wayland webp xattr xcb xft xmpp zip zlib zstd" 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 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="libinput" KERNEL="linux" L10N="en en_US en-US ru ru_RU ru-RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Perfect Gentleman 2020-04-07 04:41:35 UTC
deleting these strings from src/linguist/linguist.pro
------------------------------------------
nclude($$OUT_PWD/../../qttools-config.pri)
QT_FOR_CONFIG += tools-private
requires(qtConfig(linguist))
----------------------------
helps.
Comment 4 Chiitoo gentoo-dev 2020-04-07 12:33:19 UTC
Thanks for the reminder!

I was aware of this since https://code.qt.io/cgit/qt/qttools.git/commit/?h=5.15&id=50ef2ac2 but forgot to push any fixes.
Comment 5 cyrillic 2020-04-07 23:33:44 UTC
I think every package that is split off from qttools-everywhere-src is having this problem.

... but linguist-tools is the only one I care about for building scribus.
Comment 6 Perfect Gentleman 2020-04-08 00:34:19 UTC
(In reply to cyrillic from comment #5)
> I think every package that is split off from qttools-everywhere-src is
> having this problem.
> 
> ... but linguist-tools is the only one I care about for building scribus.

Nope, qdbus hasn't. Also designer has.
Comment 7 Larry the Git Cow gentoo-dev 2020-04-09 22:17:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=e86f6c527e9371790330a0f6aac4fa5c2baecf44

commit e86f6c527e9371790330a0f6aac4fa5c2baecf44
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2020-04-07 12:37:04 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2020-04-09 22:15:35 +0000

    dev-qt: fix 5.15 configure for qttools modules
    
    Upstream added configure features for more qttools [1], which requires
    similar workarounds for out-of-source builds that have been used for
    some of the modules for a time already.
    
    1. https://code.qt.io/cgit/qt/qttools.git/commit/?h=5.15&id=50ef2ac2
    
    Bug: https://bugs.gentoo.org/633776
    Bug: https://bugs.gentoo.org/676948
    Closes: https://bugs.gentoo.org/716514
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>

 dev-qt/designer/designer-5.15.0_beta3.ebuild             | 10 ++++++++++
 dev-qt/designer/designer-5.15.9999.ebuild                | 10 ++++++++++
 dev-qt/linguist-tools/linguist-tools-5.15.0_beta3.ebuild | 10 ++++++++++
 dev-qt/linguist-tools/linguist-tools-5.15.9999.ebuild    | 10 ++++++++++
 dev-qt/pixeltool/pixeltool-5.15.0_beta3.ebuild           | 10 ++++++++++
 dev-qt/pixeltool/pixeltool-5.15.9999.ebuild              | 10 ++++++++++
 dev-qt/qdoc/qdoc-5.15.0_beta3.ebuild                     |  1 +
 dev-qt/qdoc/qdoc-5.15.9999.ebuild                        |  1 +
 dev-qt/qtdiag/qtdiag-5.15.0_beta3.ebuild                 | 10 ++++++++++
 dev-qt/qtdiag/qtdiag-5.15.9999.ebuild                    | 10 ++++++++++
 dev-qt/qtpaths/qtpaths-5.15.0_beta3.ebuild               | 10 ++++++++++
 dev-qt/qtpaths/qtpaths-5.15.9999.ebuild                  | 10 ++++++++++
 dev-qt/qtplugininfo/qtplugininfo-5.15.0_beta3.ebuild     | 10 ++++++++++
 dev-qt/qtplugininfo/qtplugininfo-5.15.9999.ebuild        | 10 ++++++++++
 14 files changed, 122 insertions(+)