Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641584 - media-sound/mpd-0.20.12 error: UPnP client support: libupnp not found
Summary: media-sound/mpd-0.20.12 error: UPnP client support: libupnp not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 16:00 UTC by Leonid Kopylov
Modified: 2018-08-28 12:09 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,11.32 KB, text/plain)
2017-12-18 16:01 UTC, Leonid Kopylov
Details
build.log (build.log,278.34 KB, text/plain)
2017-12-19 05:27 UTC, Leonid Kopylov
Details
failed build log (build.log,257.71 KB, text/x-log)
2018-01-03 15:27 UTC, Neil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2017-12-18 16:00:19 UTC
emerge -pqv '=media-sound/mpd-0.20.12::gentoo'
[ebuild  N    ] media-sound/mpd-0.20.12  USE="alsa bzip2 cdio curl eventfd expat ffmpeg fifo flac icu id3tag inotify ipv6 mad network ogg pulseaudio samba signalfd sqlite systemd tcpd unicode upnp vorbis zlib -adplug -ao -audiofile -debug -faad -fluidsynth -gme -jack -lame -libav -libmpdclient -libsamplerate -libsoxr -mikmod -mms -modplug -mpg123 -musepack -nfs -openal -opus -oss -pipe -recorder (-selinux) -sid -sndfile -soundcloud -twolame -wavpack -webdav -wildmidi -zeroconf -zip"

# emerge --info '=media-sound/mpd-0.20.12::gentoo'
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r3, 4.14.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:     4049520 total,   1346092 free
KiB Swap:    4194300 total,   3776300 free
Timestamp of repository gentoo: Mon, 18 Dec 2017 15:30:01 +0000
Head commit of repository gentoo: 63af35345cb6fac37af85186b65a1c44f8317b7a
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

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

4nykey
    location: /var/lib/layman/4nykey
    sync-type: laymansync
    sync-uri: https://github.com/4nykey/4nykey.git
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/dotnet.git
    masters: gentoo
    priority: 50

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: laymansync
    sync-uri: git://github.com/microcai/gentoo-zh.git
    masters: gentoo
    priority: 50

jm-overlay
    location: /var/lib/layman/jm-overlay
    sync-type: laymansync
    sync-uri: https://github.com/Jannis234/jm-overlay.git
    masters: dotnet gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @my-archives, @my-browsers, @my-cloud, @my-disk-utils, @my-docker, @my-editors, @my-hardware-utils, @my-im-voip, @my-kernel-tools, @my-log-monitor, @my-mail-clients, @my-media, @my-media-players, @my-media-tools, @my-net-analyzers, @my-net-tools, @my-portage-tools, @my-remote, @my-security, @my-servers, @my-system-tools, @my-text-browsers, @my-virt-utils, @my-virtualization
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA FraunhoferFDK google-chrome Nero-EULA-US OPERA-2014 RAR TeamViewer"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 accessibility acl acpi afp alsa amd64 anacron audit berkdb bluetooth branding bzip2 cairo cdda cdio cdr cli client colord conntrack cracklib crypt cryptsetup cups curl cxx dbus device-mapper dolphin dos drawing dri dts dvd dvdr eds emboss emerald encode evo examples exif expat experimental fam fdk firefox flac fortran fuse gd gdbm gegl geoip gif glamor gles gnome gnome-keyring gnome-online-accounts go google googledrive gpg gpm grub gssapi gstreamer gtk gtk3 gui html http iconv icu id3tag idn introspection ipv6 itunes java jpeg jpeg2k kde kerberos lastfm lcms ldap legacy-systray libkms libnotify libsecret libuv logrotate mad math mbox mdadm minizip mng modules mount mp3 mp4 mpd mpeg mpx multilib multimedia nautilus ncurses netlink network-cron networkmanager nftables nls notmuch nptl nscd offensive ogg openexr opengl openmp openntpd pam pango pcap pcre pdf pdfimport perl plasma png policykit pop ppds pulseaudio python qml qrcode qt3support qt5 quickstarter raw readline remote samba sasl script scripttools sdl seccomp session slp smi smime sodium spell sqlite ssl startup-notification stats steamfonts streaming svg symlink sync-plugin-portage systemd tcpd tfshark threads tiff tk tools tracker trayicon truetype udev udisks unicode upnp upower usb usbredir user-session vlc vorbis wayland winbind wininst wxwidgets x264 xa xattr xcb xinerama xkb xml xv xvid zlib" ABI_X86="64 32" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul 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" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" LINGUAS="en he ru en_US he_IL ru_RU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="vmware" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonid Kopylov 2017-12-18 16:01:06 UTC
Created attachment 510762 [details]
build.log
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-18 19:33:20 UTC
This bug also doesn't make sense.

What version of libupnp do you have installed?
Comment 3 Leonid Kopylov 2017-12-18 19:36:05 UTC
(In reply to Andreas Sturmlechner from comment #2)
> This bug also doesn't make sense.
> 
> What version of libupnp do you have installed?

# emerge libupnp -pqv
[ebuild   R   ] net-libs/libupnp-1.8.3-r1  USE="ipv6 reuseaddr -blocking-tcp -debug -doc -samples -static-libs"
Comment 4 Leonid Kopylov 2017-12-19 05:26:43 UTC
with USE=-upnp it also failed
Comment 5 Leonid Kopylov 2017-12-19 05:27:08 UTC
Created attachment 510846 [details]
build.log
Comment 6 Neil 2018-01-03 15:26:30 UTC
I have the same error trying to compile media-sound/mpd-0.20.12 on one system as Leonid.

# emerge --info media-sound/mpd
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/no-multilib, gcc-7.2.0, glibc-2.26-r5, 4.14.10-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.10-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.4.1
KiB Mem:    32770504 total,   4983376 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 03 Jan 2018 06:15:01 +0000
Head commit of repository gentoo: c0f2d036a569a8a7d5dca3f17ab8c2f952b8cce6
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

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

slack
    location: /usr/local/portage
    masters: gentoo

x-local
    location: /usr/portage/local
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet --alphabetical --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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="http://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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 acl acpi alsa amd64 bash-completion berkdb bindist bzip2 cdda cddb cdio cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dri dvd dvdr emacs exif flac fortran gdbm gif gimp glitz gtk gtk3 iconv icu id3tag introspection ipv6 jpeg kpathsea lensfun modules mp3 ncurses nls nptl offensive ogg opengl openmp oss pam pcre pdf perl png policykit pulseaudio python qt5 readline sdl seccomp session spell sqlite ssh ssl svg tcpd thunar tiff truetype udev unicode usb vorbis x264 xattr xcb xinetd 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_1 sse4_2" 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" KERNEL="linux" L10N="en en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

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


# emerge -pqv media-sound/mpd
[ebuild     U ] media-sound/mpd-0.20.14 [0.20.10] USE="-adplug alsa -ao -audiofile bzip2 cdio curl -debug eventfd -expat -faad ffmpeg fifo flac -fluidsynth -gme icu id3tag inotify ipv6 -jack -lame -libav -libmpdclient -libsamplerate -libsoxr mad -mikmod -mms -modplug -mpg123 -musepack network -nfs ogg -openal -opus oss -pipe pulseaudio -recorder -samba (-selinux) -sid signalfd -sndfile soundcloud sqlite -systemd tcpd -twolame unicode -upnp vorbis -wavpack -webdav -wildmidi -zeroconf -zip zlib"
Comment 7 Neil 2018-01-03 15:27:20 UTC
Created attachment 512976 [details]
failed build log
Comment 8 Andreas Sturmlechner gentoo-dev 2018-01-03 15:29:00 UTC
What version of libcdio?
Comment 9 Neil 2018-01-03 15:30:44 UTC
# eix libcdio
[I] dev-libs/libcdio
     Available versions:  0.93(0/15) (~)0.94-r1(0/16) (~)1.0.0-r1(0/17) (~)1.1.0(0/17) (~)2.0.0(0/18) {cddb +cxx minimal static-libs test ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.0.0(0/18)(06:58:40 02/01/18)(cddb cxx -minimal -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/libcdio/
     Description:         A library to encapsulate CD-ROM reading and control



I've also found the init script no longer works...

 # /etc/init.d/mpd restart
 * Caching service dependencies ...                                                                                                                                        [ ok ]
 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands, extra_started_commands or extra_stopped_commands.
 * Stopping mpd ...
 * Failed to stop mpd                                                                                                                                                      [ !! ]
 * ERROR: mpd failed to stop


The offending line...

# grep opts /etc/init.d/mpd
23:command_args=${opts:=${CFGFILE}}
Comment 10 Andreas Sturmlechner gentoo-dev 2018-01-09 18:11:18 UTC
(In reply to Neil from comment #6)
> I have the same error trying to compile media-sound/mpd-0.20.12 on one
> system as Leonid.
No, you have a different issue that is covered in bug 641078.

Please keep it at one issue per bug.
Comment 11 Michael Ferber 2018-01-18 06:46:42 UTC
The bug reported by Leonid can be solved / worked around by setting PKG_CONFIG_PATH and by putting libupnp.pc into the directory specified by PKG_CONFIG_PATH

unfortunately I then get compie errors (not looked at in detail so far) I think all the errors are related to the last libupnp upgrade.

Kind regards
Michael
Comment 12 Denis Descheneaux 2018-01-21 22:20:40 UTC
Have you tried installing libupnp:0 and rebuilding mpd...
Comment 13 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-04-21 04:29:58 UTC
The issue appears to be that the dependency for USE="upnp" is only:

  net-libs/libupnp:=

Which allows net-libs/libupnp-1.8.3-r1:1.8 to satisfy it

However, that version of libupnp does this:

pkg-config --exists --print-errors libupnp
Package libupnp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libupnp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libupnp' found

Because the pkgconfig file installed is:

 $ qlist =libupnp-1.8.3-r1 | grep  '[.]pc'
 /usr/lib64/pkgconfig/libupnp-1.8.pc

Thus:

 $ pkg-config --exists --print-errors libupnp-1.8
 $

Is the only OK construct.

Subsequently, having slot 0 of libupnp makes this work

 $ qlist =libupnp-1.6.24 | grep  '[.]pc'
 /usr/lib64/pkgconfig/libupnp.pc

 $ pkg-config --exists --print-errors libupnp
 $

So the dependency needs fixing, probably to:

  net-libs/libupnp:0=


This is still insufficient to get mpd compiling for me (a different bug), but it at least gets past configure.
Comment 14 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-08-28 11:08:46 UTC
(In reply to Michael Ferber from comment #11)
> The bug reported by Leonid can be solved / worked around by setting
> PKG_CONFIG_PATH and by putting libupnp.pc into the directory specified by
> PKG_CONFIG_PATH
> 
> unfortunately I then get compie errors (not looked at in detail so far) I
> think all the errors are related to the last libupnp upgrade.
> 
> Kind regards
> Michael

which is nit gentoo problem at all, it has to be reported upstream
Comment 15 Larry the Git Cow gentoo-dev 2018-08-28 12:09:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9d610a56339495bb5bf5d4bd0e770b15247f21d

commit f9d610a56339495bb5bf5d4bd0e770b15247f21d
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2018-08-28 12:08:09 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2018-08-28 12:09:21 +0000

    media-sound/mpd: Version bump (v0.20.21)
    
    - CDEPEND -> COMMON_DEPEND to avoid possible further collision
    - switch src_install() to default
    - pin net-libs/libupnp to the zero slot as pkg-config fails otherwise
    - remove lbcdio patch (has been upstreamed)
    
    Closes: https://bugs.gentoo.org/641120
    Closes: https://bugs.gentoo.org/645916
    Closes: https://bugs.gentoo.org/641584
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-sound/mpd/Manifest           |   1 +
 media-sound/mpd/mpd-0.20.21.ebuild | 270 +++++++++++++++++++++++++++++++++++++
 2 files changed, 271 insertions(+)