Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551338 - media-sound/mpd-0.18.16 invalid conversion from uint8_t* to const char*
Summary: media-sound/mpd-0.18.16 invalid conversion from uint8_t* to const char*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 2 votes (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
: 551442 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-05 21:03 UTC by Christopher Dale
Modified: 2015-09-16 15:27 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mpd 0.18.16 build log (mpd-0.18.16:20150606-081019.log,37.08 KB, text/plain)
2015-06-06 08:15 UTC, Fab
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Dale 2015-06-05 21:03:11 UTC
`emerge --info '=media-sound/mpd-0.18.16::gentoo'`
8<
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 4.0.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.4-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    16044384 total,    109572 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 05 Jun 2015 19:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 archive berkdb bindist bzip2 cairo cli cracklib crypt cups cxx dri flac fortran freerdp gdbm gif gtk gudev hvm iconv icu ipv6 jpeg lame libnotify minizip mmx mmxext modules mp3 multilib ncurses nls nptl opengl openmp pam pcre png python readline samba session sna sse sse2 ssl tcpd thunar truetype udev unicode vaapi vorbis 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" CAMERAS="ptp2" 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 itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/mpd-0.18.16::gentoo was built with the following:
USE="alsa bzip2 curl ffmpeg fifo flac id3tag ipv6 lame mad network tcpd unicode vorbis -adplug -ao -audiofile -cdio -debug -faad -fluidsynth -gme -inotify -jack -libav -libmpdclient -libsamplerate -mikmod -mms -modplug -mpg123 -musepack -ogg -openal -opus -oss -pipe -pulseaudio -recorder (-selinux) -sid -sndfile -soundcloud -sqlite -systemd -twolame -wavpack -wildmidi -zeroconf -zip" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders"
>8

`emerge -pqv '=media-sound/mpd-0.18.16::gentoo'`
8<
!!! SYNC setting found in make.conf.
    This setting is Deprecated and no longer used.  Please ensure your 'sync-type' and 'sync-uri' are set correctly in /etc/portage/repos.conf/gentoo.conf
bash: [ebuild: command not found
>8

Thanks for any assistance :D
Comment 1 Mike Gilbert gentoo-dev 2015-06-06 02:03:43 UTC
Please attache a build log.
Comment 2 Fab 2015-06-06 08:15:40 UTC
Created attachment 404644 [details]
mpd 0.18.16 build log

Same error here. Here is my build log, and my emerge --info :

$ emerge --info media-sound/mpd
Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.14.43 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.43-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:     4018092 total,   1346384 free
KiB Swap:    6291444 total,   6291444 free
Timestamp of repository gentoo: Sat, 06 Jun 2015 06:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /portage/trees/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

anders-larsson
    location: /portage/trees/simplescreenrecorder
    sync-type: git
    sync-uri: https://github.com/anders-larsson/gentoo-overlay.git
    masters: gentoo
    priority: 0

gnome15
    location: /portage/trees/gnome15
    sync-type: git
    sync-uri: https://github.com/CMoH/gnome15-overlay.git
    masters: gentoo
    priority: 0

java
    location: /portage/trees/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 0

steam-overlay
    location: /portage/trees/steam
    sync-type: git
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 0

voyageur
    location: /portage/trees/voyageur
    sync-type: git
    sync-uri: https://cafarelli.fr/git/voyageur-overlay/
    masters: gentoo
    priority: 0

perso
    location: /portage/trees/perso
    sync-type: git
    sync-uri: /home/depots/gentoo/overlays/perso.git
    masters: gentoo
    priority: 9998

netfab
    location: /portage/trees/netfab
    sync-type: git
    sync-uri: /home/depots/gentoo/overlays/netfab.git
    masters: gentoo
    priority: 9999

Installed sets: @common-apps, @games-apps, @kde-apps, @portage-apps, @qemukvm, @system-apps, @xfce
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -mtune=generic -O2 -pipe -mcx16 -msahf -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mno-movbe -mno-aes -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase"
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"
CXXFLAGS="-march=corei7-avx -mtune=generic -O2 -pipe -mcx16 -msahf -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mno-movbe -mno-aes -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase"
DISTDIR="/portage/distpack/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs 3 --load-average 3 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/portage/distpack/packages/coreIx"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gnutls gstreamer gtk gtk2 gtk3 hddtemp iconv id3tag java jpeg lcms libnotify lm_sensors mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session sox spell sse sse2 ssl startup-notification steamruntime svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wxwidgets x264 xcb xml xv 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" CAMERAS="directory fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nouveau 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

media-sound/mpd-0.18.16::gentoo was built with the following:
USE="alsa bzip2 curl ffmpeg fifo flac id3tag mad network ogg tcpd unicode vorbis -adplug -ao -audiofile -cdio -debug -faad -fluidsynth -gme -inotify -ipv6 -jack -lame -libav -libmpdclient -libsamplerate -mikmod -mms -modplug -mpg123 -musepack -openal -opus -oss -pipe -pulseaudio -recorder (-selinux) -sid -sndfile -soundcloud -sqlite -systemd -twolame -wavpack -wildmidi -zeroconf -zip" ABI_X86="64"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -L/usr/lib64/sidplay/builders"
Comment 4 cono 2015-06-06 09:53:23 UTC
Yeah, works as a charm, added patch from the URL:
http://git.musicpd.org/cgit/master/mpd.git/diff/?id=41b4a63f2b772eba1e436c82fc9c5c9766d4470e

And changed ebuild:
% diff -p5 /usr/{,local/}portage/media-sound/mpd/mpd-0.18.16.ebuild
*** /usr/portage/media-sound/mpd/mpd-0.18.16.ebuild	2015-02-28 00:31:13.000000000 +0200
--- /usr/local/portage/media-sound/mpd/mpd-0.18.16.ebuild	2015-06-06 12:41:32.390205263 +0300
*************** src_prepare() {
*** 99,108 ****
--- 99,109 ----
  	DOC_CONTENTS="If you will be starting mpd via /etc/init.d/mpd, please make
  		sure that MPD's pid_file is _set_."
  
  	cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
  	epatch "${FILESDIR}"/${PN}-0.18.conf.patch
+ 	epatch "${FILESDIR}"/${PN}-0.18.ffmpeg.patch
  
  	if has_version dev-libs/libcdio-paranoia; then
  		sed -i \
  			-e 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:' \
  			src/input/CdioParanoiaInputPlugin.cxx || die
Comment 5 Alarig Le Lay 2015-06-06 11:36:54 UTC
I have the same bug on my two computers running mpd.
Comment 6 Mike Gilbert gentoo-dev 2015-06-07 21:33:15 UTC
*** Bug 551442 has been marked as a duplicate of this bug. ***
Comment 7 François Bissey 2015-06-07 23:26:05 UTC
I notice that the commit says the fix is in, then unreleased, mpd 0.18.20, which is in the tree along with other versions up to 0.19.9. Putting 0.18.20 in my keyword file was a simpler solution to importing upstream patch in a private overlay.

Should we request the stabilization of a newer mpd?
Comment 8 Christopher Dale 2015-06-08 13:55:14 UTC
Hey everyone, thanks for looking into this; it was a busy weekend so I couldn't pay much attention to this. If you still need the build log I can upload it but it looks like Fab uploaded theirs.
Comment 9 Alarig Le Lay 2015-06-10 11:58:48 UTC
(In reply to Francois Bissey from comment #7)
> I notice that the commit says the fix is in, then unreleased, mpd 0.18.20,
> which is in the tree along with other versions up to 0.19.9. Putting 0.18.20
> in my keyword file was a simpler solution to importing upstream patch in a
> private overlay.
> 
> Should we request the stabilization of a newer mpd?

Indeed, the upgrade in version 0.19.9-r1 fixed the bug for me.
Comment 10 Christoph Mende (RETIRED) gentoo-dev 2015-09-16 15:27:16 UTC
(In reply to Alarig Le Lay from comment #9)
> (In reply to Francois Bissey from comment #7)
> > I notice that the commit says the fix is in, then unreleased, mpd 0.18.20,
> > which is in the tree along with other versions up to 0.19.9. Putting 0.18.20
> > in my keyword file was a simpler solution to importing upstream patch in a
> > private overlay.
> > 
> > Should we request the stabilization of a newer mpd?
> 
> Indeed, the upgrade in version 0.19.9-r1 fixed the bug for me.

Closing then snice 0.19.9-r1 is stable.