Trying to update my system (which is primarily a backend media system). The mythtv package fails to compile - stops at videosource.cpp. Here is the end of the log where the error occurs nclude/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cardutil.o cardutil.cpp recordingprofile.cpp: In static member function ‘static RPPopupResult RecordingProfilePopup::showPopup(MythMainWindow*, QString, QString, QString&)’: recordingprofile.cpp:1429:49: warning: ‘MythPopupBox::MythPopupBox(MythMainWindow*, const char*)’ is deprecated [-Wdeprecated-declarations] parent, title.toLatin1().constData()); ^ In file included from ../libmyth/mythconfigdialogs.h:12:0, from ../libmyth/settings.h:831, from recordingprofile.h:5, from recordingprofile.cpp:2: ../libmyth/mythdialogs.h:118:5: note: declared here MythPopupBox(MythMainWindow *parent, const char *name = "MythPopupBox") MDEPRECATED; ^ x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=core-avx-i -O2 -msse4.1 -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time -I/usr/include/freetype2 -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -isystem ../../external/libhdhomerun -fvisibility=hidden -std=gnu++11 -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE -DUSING_LIBCRYPTO -DFFTW3_SUPPORT -DUSING_X11 -DUSING_XV -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_MHEG -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_OSS -DUSING_V4L2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_VBOX -DUSING_CETON -DUSING_IVTV -DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2 -isystem /usr/include/X11 -I../../external/zeromq/include -I../../external/nzmqt/include/nzmqt -I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio -I../libmythbase -Impeg -Ichannelscan -Ivisualisations -Irecorders -Irecorders/dvbdev -Irecorders/rtp -Irecorders/vbitext -Irecorders/HLS -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/BasicUsageEnvironment -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/groupsock -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/liveMedia -I../libmythlivemedia/UsageEnvironment/include -I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui -I../libmythupnp -I../libmythservicecontracts -I../../external/libmythbluray -I../../external/minilzo -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sourceutil.o sourceutil.cpp videosource.cpp: In member function ‘void DataDirectLineupSelector::fillSelections(const QString&, const QString&, int)’: videosource.cpp:370:65: warning: ‘MythProgressDialog::MythProgressDialog(const QString&, int, bool, const QObject*, const char*)’ is deprecated [-Wdeprecated-declarations] MythProgressDialog *pdlg = new MythProgressDialog(waitMsg, 2); ^ In file included from videosource.cpp:27:0: ../libmyth/mythdialogs.h:208:5: note: declared here MythProgressDialog(const QString& message, int totalSteps = 0, ^ videosource.cpp: In member function ‘uint VideoDevice::fillSelectionsFromDir(const QDir&, uint, uint, QString, QString, bool)’: videosource.cpp:810:46: error: ‘minor’ was not declared in this scope uint minor_num = minor(st.st_rdev); ^ make[2]: *** [Makefile:2899: videosource.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/media-tv/mythtv-0.28.1-r1/work/mythtv-0.28.1/mythtv/libs/libmythtv' make[1]: *** [Makefile:291: sub-libmythtv-make_first] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-tv/mythtv-0.28.1-r1/work/mythtv-0.28.1/mythtv/libs' make: *** [Makefile:67: libs] Error 2 * ERROR: media-tv/mythtv-0.28.1-r1::gentoo failed (compile phase): nclude/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o cardutil.o cardutil.cpp recordingprofile.cpp: In static member function ‘static RPPopupResult RecordingProfilePopup::showPopup(MythMainWindow*, QString, QString, QString&)’: recordingprofile.cpp:1429:49: warning: ‘MythPopupBox::MythPopupBox(MythMainWindow*, const char*)’ is deprecated [-Wdeprecated-declarations] parent, title.toLatin1().constData()); ^ In file included from ../libmyth/mythconfigdialogs.h:12:0, from ../libmyth/settings.h:831, from recordingprofile.h:5, from recordingprofile.cpp:2: ../libmyth/mythdialogs.h:118:5: note: declared here MythPopupBox(MythMainWindow *parent, const char *name = "MythPopupBox") MDEPRECATED; ^ x86_64-pc-linux-gnu-g++ -c -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -march=core-avx-i -O2 -msse4.1 -fomit-frame-pointer -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -msse -pthread -g -Wall -Wpointer-arith -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Wmissing-declarations -Wno-switch -Woverloaded-virtual -funit-at-a-time -I/usr/include/freetype2 -isystem ../../external/libmythdvdnav/dvdnav -isystem ../../external/libmythdvdnav/dvdread -isystem ../../external/libhdhomerun -fvisibility=hidden -std=gnu++11 -D_REENTRANT -fPIC -DMMX -D_GNU_SOURCE -DUSING_LIBCRYPTO -DFFTW3_SUPPORT -DUSING_X11 -DUSING_XV -DUSING_OPENGL -DUSING_OPENGL_VIDEO -DUSING_MHEG -DUSING_FRONTEND -DUSING_FFMPEG_THREADS -DUSING_OSS -DUSING_V4L2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_VBOX -DUSING_CETON -DUSING_IVTV -DUSING_HDPVR -DUSING_DVB -DUSING_BACKEND -DMTV_API -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2 -isystem /usr/include/X11 -I../../external/zeromq/include -I../../external/nzmqt/include/nzmqt -I.. -I../.. -I../../external/FFmpeg -I. -I../libmyth -I../libmyth/audio -I../libmythbase -Impeg -Ichannelscan -Ivisualisations -Irecorders -Irecorders/dvbdev -Irecorders/rtp -Irecorders/vbitext -Irecorders/HLS -I../libmythlivemedia/BasicUsageEnvironment/include -I../libmythlivemedia/BasicUsageEnvironment -I../libmythlivemedia/groupsock/include -I../libmythlivemedia/groupsock -I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/liveMedia -I../libmythlivemedia/UsageEnvironment/include -I../libmythlivemedia/UsageEnvironment -I../libmythbase -I../libmythui -I../libmythupnp -I../libmythservicecontracts -I../../external/libmythbluray -I../../external/minilzo -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtSql -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o sourceutil.o sourceutil.cpp videosource.cpp: In member function ‘void DataDirectLineupSelector::fillSelections(const QString&, const QString&, int)’: videosource.cpp:370:65: warning: ‘MythProgressDialog::MythProgressDialog(const QString&, int, bool, const QObject*, const char*)’ is deprecated [-Wdeprecated-declarations] MythProgressDialog *pdlg = new MythProgressDialog(waitMsg, 2); ^ In file included from videosource.cpp:27:0: ../libmyth/mythdialogs.h:208:5: note: declared here MythProgressDialog(const QString& message, int totalSteps = 0, ^ videosource.cpp: In member function ‘uint VideoDevice::fillSelectionsFromDir(const QDir&, uint, uint, QString, QString, bool)’: videosource.cpp:810:46: error: ‘minor’ was not declared in this scope uint minor_num = minor(st.st_rdev); ^ make[2]: *** [Makefile:2899: videosource.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/media-tv/mythtv-0.28.1-r1/work/mythtv-0.28.1/mythtv/libs/libmythtv' make[1]: *** [Makefile:291: sub-libmythtv-make_first] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-tv/mythtv-0.28.1-r1/work/mythtv-0.28.1/mythtv/libs' make: *** [Makefile:67: libs] Error 2 * ERROR: media-tv/mythtv-0.28.1-r1::gentoo failed (compile phase): Reproducible: Always Steps to Reproduce: 1. emerge mythtv Actual Results: errors as per description. Expected Results: compile and install successfully Here is the emerge --info output Portage 2.3.6 (python 2.7.12-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.25-r4, 4.4.39-gentoo-4a x86_64) ================================================================= System uname: Linux-4.4.39-gentoo-4a-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.3 KiB Mem: 16303032 total, 2359372 free KiB Swap: 17825788 total, 17543376 free Timestamp of repository gentoo: Mon, 04 Sep 2017 22:15:01 +0000 sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.28 p1.2) 2.28 distcc 3.2rc1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.1-r2::gentoo dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo dev-util/cmake: 3.7.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.3::gentoo sys-apps/openrc: 0.29::gentoo sys-apps/sandbox: 2.10-r3::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.28-r2::gentoo, 2.28.1::gentoo sys-devel/gcc: 5.4.0-r3::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r4::gentoo Repositories: gentoo location: /mnt/raid2 sync-type: rsync sync-uri: rsync://rsync.au.gentoo.org/gentoo-portage/ priority: -1000 dev-zero location: /var/lib/layman/dev-zero masters: gentoo priority: 50 jkolo location: /var/lib/layman/jkolo masters: gentoo priority: 50 lmiphay location: /var/lib/layman/lmiphay masters: gentoo priority: 50 squeezebox location: /var/lib/layman/squeezebox masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx-i -O2 -pipe -msse4.1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/www/localhost/htdocs/mythweb/includes/init.php" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /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="-march=core-avx-i -O2 -pipe -msse4.1" DISTDIR="/mnt/raid2/distfiles" FCFLAGS="-O2 -pipe" 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="-O2 -pipe" GENTOO_MIRRORS="http://mirror.aarnet.edu.au/pub/gentoo/ ftp://ftp.iinet.net.au/pub/linux/Gentoo ftp://ftp.swin.edu.au/gentoo/distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/linux/distributions/gentoo" INSTALL_MASK=" /usr/lib/systemd" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/var/spool/mail/binpkg" 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 acl alsa amd64 amr apache2 audiofile authdaemond avx berkdb bzip2 cgi cli cracklib cross-compile crypt ctype cups cxx dba dbus discard-path dri dvb encode expat faac faad faad2 fastcgi flac force-cgi-redirect fortran gd gdbm h264 iconv imagemagick imap innodb jpeg jpeg2k kerberos lame libsndfile libwww maildir mkv mmx mmxext modules mp3 mp4 multilib mysql mysqli ncurses nls nptl oav ogg opengl openmp pam pcre php png python qt3support readline samba seccomp session slang slp sse sse2 sse3 sse4_1 ssl ssse3 svg swat syslog tcpd theora threads transcode truetype unicode v4l2 vorbis wav win32codecs x264 xattr xml xvid 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" 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" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 492418 [details] emerge --info #working here
Thank you for the report. Please *attach* the logfiles, https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Report_a_build-time_bug_.28emerge_failed.29 The installation worked fine here, besides many QA warnings. Perhaps the system update was not clean and some libs need to be rebuilt first? It is sad to read that you have problems with the software. The situation seems to be a bit more complicate and requires some analysis. We can not help you efficiently via bug tracker. The bug tracker aims rather on specific problems in .ebuilds and less on individual systems. I have had very good experience on the gentoo IRC [1] with questions like this. Of course there are also forums and mailing lists [2,3]. I hope you understand, that I will close the bug here therefore and wish you good luck on one of the mentioned channels [4]. Please reopen the ticket in order to provide an indication for an specific error in an ebuild or any gentoo related product. [1] https://www.gentoo.org/get-involved/irc-channels/ [2] https://forums.gentoo.org/ [3] https://www.gentoo.org/get-involved/mailing-lists/all-lists.html [4] https://www.gentoo.org/support/
Just ran into this same problem, it is a duplicate of https://bugs.gentoo.org/604430 The solution by Richard Freeman in comment 7 made it compile for me: Mythtv fixed this upstream in b012ff0f6b284969183863d42a6a14eb77ed0a1d A patch can be downloaded @ https://github.com/MythTV/mythtv/commit/b012ff0f6b284969183863d42a6a14eb77ed0a1d.patch
This should be re-opened until it is fixed
Nevermind, it's already a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=604430