mythcdrom-linux.cpp: In member function ‘virtual MythMediaStatus MythCDROMLinux::checkMedia()’: mythcdrom-linux.cpp:588:42: error: invalid conversion from ‘__u8* {aka unsigned char*}’ to ‘const char*’ [-fpermissive] .arg(QString(buf.creation_date).left(16)); ^ In file included from /usr/include/qt5/QtCore/qdatetime.h:44:0, ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma_20180224-093310 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv media-tv/mythtv [ebuild N ] media-tv/mythtv-0.28.1-r4 USE="alsa dvd hls mythlogserver theora vorbis wrapper xml xvid (-altivec) -autostart -bluray -cec -crystalhd -debug -dvb -egl -fftw -ieee1394 -jack -lcd -libass -lirc -perl -pulseaudio -python -systemd -vaapi -vdpau -xmltv -zeroconf" INPUT_DEVICES="-joystick" PYTHON_TARGETS="python2_7"
Created attachment 521370 [details] emerge-info.txt
Created attachment 521372 [details] emerge-history.txt
Created attachment 521374 [details] environment
Created attachment 521376 [details] etc.portage.tbz2
Created attachment 521378 [details] logs.tbz2
Created attachment 521380 [details] media-tv:mythtv-0.28.1-r4:20180228-035005.log
why is this running an old gcc?
(In reply to Pacho Ramos from comment #7) requested by a dev to run a small fraction of tinderbox images with an older GCC
I would then show the list of failing packages to that dev but don't report them. I don't see any reason to try to fix bugs also for old gcc versions... specially when those versions are even hardmasked in 17.x profiles and old profiles will die soon
I get the same error with gcc-6.4.0 and gcc-7.3.0 Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r6, 4.15.7-gentoo-r1 x86_64) ================================================================= System uname: Linux-4.15.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.4.1 KiB Mem: 8075372 total, 1466464 free KiB Swap: 8389104 total, 8388848 free Timestamp of repository gentoo: Sat, 03 Mar 2018 07:30:01 +0000 Head commit of repository gentoo: c99f88ac60042d76899d5e04241672643d6fac38 sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p1) 2.30.0 app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r2::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo, 1.16-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r2::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: nelz location: /mnt/portage/nelz masters: gentoo priority: 15 gentoo location: /var/portage sync-type: rsync sync-uri: rsync://portage.digimed.co.uk/portage priority: 20 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sunrise location: /mnt/portage/layman/sunrise masters: gentoo priority: 50 digimed location: /mnt/portage/local masters: gentoo priority: 100 Installed sets: @dependencies, @gcc, @kde, @kernels, @laptop, @temp ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /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/init.d /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=native -O2 -pipe" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 7 --quiet-unmerge-warn --backtrack=20" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://tux.rainside.sk/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.localhost.net.ar/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="--jobs 8 --load 10" PKGDIR="/mnt/portage/packages/fenchurch" 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 a52 aac aalib acpi activities alsa amd64 apng audiofile bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cli crypt cryptsetup cups curl cxx dbus declarative device-mapper djvu dri dts dvb dvd dvdr ebook emacs encode exif fam ffmpeg flac gdbm gif gimp glamor gmp gnutls gpg gphoto2 gpm gtk iconv id3 imagemagick imap java jpeg jpeg2k kde kdeenablefinal kdeprefix kipi kwallet laptop libnotify libwww lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf phonon plasma png policykit pulseaudio qml qt3support qt5 quicktime rdesktop readline real scanner sdl seccomp semantic-desktop snmp spell sse sse2 sse3 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis webkit widgets wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xulrunner xv xvid zlib zsh-completion" 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="braindump flow karbon kexi krita sheets stage words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="apache apcups battery cgroups cpu cpufreq curl df disk ethstat exec filecount interface load logfile md memory network nfs notify_desktop notify_email ntpd ping processes python rrdtool sensors syslog tail thermal uptime vmem wireless" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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
then please provide the build.log with gcc-6 because it compiles ok for me Thanks
Created attachment 522892 [details] Build log
Portage 2.3.24 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.26-r6, 4.15.7-gentoo-r1 x86_64) ================================================================= System uname: Linux-4.15.7-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.4.1 KiB Mem: 8075372 total, 1503348 free KiB Swap: 8389104 total, 8388592 free Timestamp of repository gentoo: Wed, 07 Mar 2018 15:00:01 +0000 Head commit of repository gentoo: fc6918c1958c013b0ae8c6b880d6bcd40b7273f7 sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p1) 2.30.0 app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r2::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r2::gentoo, 1.16-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 6.4.0-r1::gentoo, 7.2.0-r1::gentoo, 7.3.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r2::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: nelz location: /mnt/portage/nelz masters: gentoo priority: 15 gentoo location: /var/portage sync-type: rsync sync-uri: rsync://portage.digimed.co.uk/portage priority: 20 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sunrise location: /mnt/portage/layman/sunrise masters: gentoo priority: 50 digimed location: /mnt/portage/local masters: gentoo priority: 100 Installed sets: @dependencies, @gcc, @kde, @kernels, @laptop, @temp ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /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/init.d /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=native -O2 -pipe" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 7 --quiet-unmerge-warn --backtrack=20" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://tux.rainside.sk/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.localhost.net.ar/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="--jobs 8 --load 10" PKGDIR="/mnt/portage/packages/fenchurch" 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 a52 aac aalib acpi activities alsa amd64 apng audiofile bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cli crypt cryptsetup cups curl cxx dbus declarative device-mapper djvu dri dts dvb dvd dvdr ebook emacs encode exif fam ffmpeg flac gdbm gif gimp glamor gmp gnutls gpg gphoto2 gpm gtk iconv id3 imagemagick imap java jpeg jpeg2k kde kdeenablefinal kdeprefix kipi kwallet laptop libnotify libwww lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf phonon plasma png policykit pulseaudio qml qt3support qt5 quicktime rdesktop readline real scanner sdl seccomp semantic-desktop snmp spell sse sse2 sse3 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis webkit widgets wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xulrunner xv xvid zlib zsh-completion" 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="braindump flow karbon kexi krita sheets stage words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="apache apcups battery cgroups cpu cpufreq curl df disk ethstat exec filecount interface load logfile md memory network nfs notify_desktop notify_email ntpd ping processes python rrdtool sensors syslog tail thermal uptime vmem wireless" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa intel" 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
Created attachment 542904 [details, diff] Fix "invalid conversion" compilation error I created a simple patch that fixes this compilation error. While the conversion does technically make a const out of a non-const, if there is a bug here, it was likely here in the older versions too. When combined with my patch for but 658534, this results in a buildable package. I have not tested it, but it does build for me now.
Created attachment 546038 [details, diff] mythcdrom-linux.patch Williams patch is not only for this bug but combines some other fixes as well. These seem to have been patched already in tree so here the shortened patch for the fix of the invalid conversion bug only. Together with the patch I posted for bug #665182 mythtv-0.28.1-r4 compiles fine for me with gcc-7.3.0-r3 and Qt-5.11.1 on x86_64.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f434f613b2c031adcc77b569baf05db6ef02af commit a9f434f613b2c031adcc77b569baf05db6ef02af Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-20 14:47:11 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-20 16:35:30 +0000 media-tv/mythtv: Bump to 29.1 Thanks-to: Preston Crow Thanks-to: Tom Dexter Closes: https://bugs.gentoo.org/645850 Closes: https://bugs.gentoo.org/649044 Closes: https://bugs.gentoo.org/658534 Closes: https://bugs.gentoo.org/665182 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 media-tv/mythtv/Manifest | 1 + media-tv/mythtv/mythtv-29.1.ebuild | 369 +++++++++++++++++++++++++++++++++++++ 2 files changed, 370 insertions(+)