When compiling media-sound/qmidiroute-0.4.0 I run into the following error: make[3]: Entering directory '/var/tmp/portage/media-sound/qmidiroute-0.4.0/work/qmidiroute-0.4.0/src' x86_64-pc-linux-gnu-g++ -Wall -Wextra -D_REENTRANT -DTRANSLATIONSDIR=\"/usr/share/qmidiroute/translations\" -DHAVE_CONFIG_H -I. -fPIC -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -std=c++11 -MT mainwindow.o -MD -MP -MF .deps/mainwindow.Tpo -c -o mainwindow.o mainwindow.cpp mainwindow.cpp:1:18: fatal error: QLabel: No such file or directory #include <QLabel> ^ compilation terminated. make[3]: *** [Makefile:509: mainwindow.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/media-sound/qmidiroute-0.4.0/work/qmidiroute-0.4.0/src' make[2]: *** [Makefile:550: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-sound/qmidiroute-0.4.0/work/qmidiroute-0.4.0/src' make[1]: *** [Makefile:390: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-sound/qmidiroute-0.4.0/work/qmidiroute-0.4.0/src' make: *** [Makefile:422: all-recursive] Error 1
# emerge --info '=media-sound/qmidiroute-0.4.0' Portage 2.3.6 (python 3.4.6-final-0, default/linux/amd64/13.0, gcc-6.3.0, glibc-2.24-r3, 4.11.8-rt-rt4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.11.8-rt-rt4-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.4.1 KiB Mem: 8176984 total, 5707640 free KiB Swap: 2097148 total, 2097148 free sh bash 4.4_p12 ld GNU gold (Gentoo 2.28 p1.2 2.28) 1.14 app-shells/bash: 4.4_p12::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1::gentoo sys-apps/openrc: 0.27.2::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r3::gentoo sys-devel/automake: 1.15.1::gentoo sys-devel/binutils: 2.28-r2::gentoo sys-devel/gcc: 6.3.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.24-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git@github.com:lilrc/gentoo.git priority: -1000 lilrc location: /home/kalle/lilrc-overlay masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE @MISC-FREE freedist" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS=" --binpkg-changed-deps=y --binpkg-respect-use=y --buildpkg-exclude app-admin/lilrc-update --buildpkg-exclude app-emulation/virtualbox-modules --buildpkg-exclude sys-fs/vhba --buildpkg-exclude sys-kernel/* --buildpkg-exclude virtual/*" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo" INSTALL_MASK="/etc/systemd /usr/lib/systemd" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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="X a52 aac alloca alsa amd64 aspell cairo cd cdda cddb cdr cracklib crypt cups curl djvu dri drm dssi dvd dvdr dvi exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame libkms libnotify libsamplerate mad matplotlib mp3 mpeg netifrc nptl octave ogg opengl openmp openrc orc pam pdf png postscript qt4 qt5 readline sndfile spell ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vaapi vdpau vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 sse4_1" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="nouveau" Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Created attachment 479264 [details] build.log
The bug comes from the fact that configure silently checks for QtOpenGL (which is not used anywhere in the source code). Removing the check fixes the issue. See pull request at ${URL}.
commit c5a6e610e460d214909f72203e40f412855f973b Author: Karl Linden <karl.j.linden@gmail.com> Date: Sun Jul 2 08:45:36 2017 +0200 media-sound/qmidiroute: Patch away unnecessary check for QtOpenGL. Gentoo-Bug: 623414 Package-Manager: Portage-2.3.6, Repoman-2.3.2