Created attachment 470386 [details] build log x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I/usr/include/qt4/QtCore -O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1 -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Winline -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fstack-protector-strong -c -o qphotorec-moc_qphotorec.o `test -f 'moc_qphotorec.cpp' || echo './'`moc_qphotorec.cpp In file included from qphotorec.h:15:0, from moc_qphotorec.cpp:9: ../config.h:593:0: warning: "_FORTIFY_SOURCE" redefined #define _FORTIFY_SOURCE 2 <built-in>: note: this is the location of the previous definition moc_qphotorec.cpp:15:2: error: #error "This file was generated using the moc from 5.7.1. It" #error "This file was generated using the moc from 5.7.1. It" ^~~~~ moc_qphotorec.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt." #error "cannot be used with the include files from this version of Qt." ^~~~~ moc_qphotorec.cpp:17:2: error: #error "(The moc has changed too much.)" #error "(The moc has changed too much.)" ^~~~~ Portage 2.3.5 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop, gcc-6.3.0, glibc-2.24-r1, 4.10.10-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.10.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.3 KiB Mem: 16345372 total, 10948060 free KiB Swap: 4095996 total, 4095996 free Timestamp of repository gentoo: Wed, 19 Apr 2017 12:00:01 +0000 sh bash 4.4_p12 ld GNU ld (Gentoo 2.27 p1.0) 2.27 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r1::gentoo dev-lang/python: 2.7.13::gentoo, 3.4.6::gentoo, 3.6.1::gentoo dev-util/cmake: 3.8.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.25::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.4_p6-r2::gentoo, 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.27::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-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 dupa location: /usr/local/portage/moje masters: gentoo priority: 0 gentoo-snappy location: /usr/local/portage/gentoo-snappy sync-type: git sync-uri: https://github.com/zyga/gentoo-snappy.git masters: gentoo priority: 50 multimedia location: /var/lib/layman/multimedia masters: gentoo priority: 50 qt location: /var/lib/layman/qt masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n --autounmask-write" FCFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1" GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/" LANG="pl_PL.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="X Xaw3d a52 aac aalib acl acpi adobe-cff aes alsa amd64 amr amrnb amrwb apng async audiofile automount avahi avresample avx avx2 bash-completion berkdb bfq bidi bineditor bluetooth bluray branding bzip2 c++0x c++11 c++14 cairo cdda cddb cdparanoia chdir clang clangcodemodel clangstaticanalyzer cli consolekit cracklib crypt css cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr ebook editor efi emboss emovix enca encode exchange exif faac faad fam fat fdk ffmpeg fftw firefox firefox3 flac fma3 fontconfig fortran fribidi g3dvl gd gdbm geoip gif glamor glitz gmedia gnuplot gold gphoto2 gpm gtk gtkstyle hddtemp hpijs iconv id3 id3tag imagemagick inotify iostats ipod ipv6 jpeg jpeg2k kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lldb lm_sensors lto lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modeling modules moodbar mp3 mp3tunes mp4 mpeg mplayer mtp multilib musicbrainz ncurses networkmanager nls notebook nptl nsplugin ntfs nvidia ogg okteta openal opencl opencore-amr opengl openmp optimized-qmake opus pam pango pch pcre pdf png policykit popcnt portage ppds private-headers pulseaudio python3 qt3 qt3support qt4 qt5 qthelp raster readline realmedia roe scanner schroedinger sdl seccomp secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse41 sse4_1 sse4a ssl ssse3 startup-notification steamruntime suid svg swat symlink syslog tcpd theora threads tiff truetype udev udisks unicode upnp upower usb vaapi vamp vcd vdpau vorbis wifi wmf wmp wxwidgets wxwindows x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4 sse4_2 sse41 sse4_1 sse42 sse4a aes avx avx2 fma3 popcnt" 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="evdev" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= app-admin/testdisk-7.0-r3::gentoo was built with the following: USE="jpeg ntfs qt4 -ewf -reiserfs -static" ABI_X86="64" CFLAGS="-O3 -march=native -pipe" CXXFLAGS="-O3 -march=native -pipe" dev-qt/qtcore-4.8.7-r2::gentoo was built with the following: USE="exceptions glib iconv pch qt3support ssl (-aqua) -debug -icu -libressl" ABI_X86="32 64 -x32" CFLAGS="-O3 -march=native -pipe" CXXFLAGS="-O3 -march=native -pipe" dev-qt/qtcore-5.7.1-r2::gentoo was built with the following: USE="icu -debug -systemd -test" ABI_X86="64" CFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1 -ggdb" CXXFLAGS="-O3 -march=native -pipe -fno-delete-null-pointer-checks -flifetime-dse=1 -ggdb"
I had the same issue, I solved it by running that: export QT_SELECT=qt4;emerge testdisk
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c93d4c95f28c62aaded3d4bc95dc9cfca9cef64 commit 2c93d4c95f28c62aaded3d4bc95dc9cfca9cef64 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-12-04 20:04:30 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-12-04 21:52:17 +0000 app-admin/testdisk: Fix qtbindir Closes: https://bugs.gentoo.org/616008 Package-Manager: Portage-2.3.16, Repoman-2.3.6 app-admin/testdisk/Manifest | 2 +- .../testdisk/files/testdisk-7.0-qtbindir.patch | 27 ++++++++++++++++++++++ app-admin/testdisk/testdisk-7.0-r3.ebuild | 2 ++ 3 files changed, 30 insertions(+), 1 deletion(-)