Dependency qt5 (modules: DefinitelyNotFound) found: NO (tried pkgconfig, qmake-qt5 and qmake) Determining dependency 'Qt5Core' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion Qt5Core` -> 0 5.11.3 Called `/usr/bin/pkg-config --cflags Qt5Core` -> 0 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -I/usr/include/qt5 Called `/usr/bin/pkg-config Qt5Core --libs` -> 0 -lQt5Core Called `/usr/bin/pkg-config Qt5Core --libs` -> 0 -lQt5Core Running compile: Working directory: /var/tmp/portage/dev-util/meson-0.49.2/temp/tmp6r2uw1hg Command line: x86_64-pc-linux-gnu-g++ /var/tmp/portage/dev-util/meson-0.49.2/temp/tmp6r2uw1hg/testfile.cpp -pipe -D_FILE_OFFSET_BITS=64 -o /var/tmp/portage/dev-util/meson-0.49.2/temp/tmp6r2uw1hg/output.exe -O2 -Wl,-O1 -Wl,--as-needed -O0 -fpermissive -Wl,--start-group -lQt5Core -Wl,--end-group -Wl,--allow-shlib-undefined Code: int main(int argc, char **argv) { return 0; } Compiler stdout: Compiler stderr: Determining dependency 'Qt5DefinitelyNotFound' with pkg-config executable '/usr/bin/pkg-config' Found qmake: /usr/bin/qmake (5.11.3) Dependency qt5 (modules: Core, DefinitelyNotFound) found: NO (tried pkgconfig, qmake-qt5 and qmake) Determining dependency 'Qt5Core' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --variable=host_bins Qt5Core` -> 0 /usr/lib64/qt5/bin Got pkgconfig variable host_bins : /usr/lib64/qt5/bin Dependency qt5 (modules: Core) found: YES 5.11.3 (pkg-config) Determining dependency 'Qt5Gui' with pkg-config executable '/usr/bin/pkg-config' Called `/usr/bin/pkg-config --modversion Qt5Gui` -> 1 Found qmake: /usr/bin/qmake (5.11.3) Dependency qt5 (modules: Gui) found: NO (tried pkgconfig, qmake-qt5 and qmake) meson.build:33:2: ERROR: Dependency "qt5" not found, tried pkgconfig, qmake-qt5 and qmake * ERROR: dev-util/meson-0.49.2::gentoo failed (test phase): * Testing failed with python3.5 Portage 2.3.62 (python 2.7.15-final-0, default/linux/amd64/17.0, gcc-8.2.0, glibc-2.28-r5, 4.20.10-gentoo x86_64) ================================================================= System uname: Linux-4.20.10-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6 KiB Mem: 16438052 total, 2717952 free KiB Swap: 0 total, 0 free sh bash 5.0_p2 ld GNU ld (Gentoo 2.31.1 p5) 2.31.1 app-shells/bash: 5.0_p2::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.0::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/cmake: 3.13.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41::gentoo sys-apps/sandbox: 2.15::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r4::gentoo sys-devel/gcc: 8.2.0-r6::gentoo, 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 adjust location: /overlay/gentoo-overlay masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" 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/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg 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 sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" 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="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp sqlite ssl tcpd test unicode xattr zlib" ABI_X86="64" 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="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7 pypy pypy3" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint intel mach64 nouveau nv r128 radeon savage sis trident v4l vesa" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The test suite requires qtgui if qtcore is present, so we will need to work around that in the ebuild. It looks like the best way to handle this is going to be to use has_version checks to make sure qtgui is present if qtcore is and remove the qt tests if it is not.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444110f1ded243ffe62e98f2fbc23b2423443708 commit 444110f1ded243ffe62e98f2fbc23b2423443708 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2019-03-02 23:04:02 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2019-03-02 23:06:16 +0000 dev-util/meson: fix qt tests Upstream only supports the qt tests if both qtcore and qtgui are installed, so if only qtcore is installed, skip the tests. Closes: https://bugs.gentoo.org/678664 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-util/meson/meson-0.49.2.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
Removing that directory doesn't actually work.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89525ece37bbabb5e73f122352c973ccf5456db commit a89525ece37bbabb5e73f122352c973ccf5456db Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-03-02 23:38:51 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-03-02 23:38:51 +0000 dev-util/meson: revert non-working qt tests fix Bug: https://bugs.gentoo.org/678664 Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-util/meson/meson-0.49.2.ebuild | 5 ----- dev-util/meson/meson-9999.ebuild | 5 ----- 2 files changed, 10 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498a117389dad49f045a17295a80de8a4aa12bb7 commit 498a117389dad49f045a17295a80de8a4aa12bb7 Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2019-03-03 18:22:08 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-03-03 18:36:48 +0000 dev-util/meson: skip testing when qtcore is installed without qtgui Closes: https://bugs.gentoo.org/678664 Package-Manager: Portage-2.3.59_p2, Repoman-2.3.12_p67 Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-util/meson/meson-0.49.2.ebuild | 7 ++++++- dev-util/meson/meson-9999.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-)