Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 836168

Summary: media-sound/mpd-0.23.6[upnp expat] - ../mpd-0.23.6/src/lib/upnp/Init.cxx:42:21: error: 'UpnpInit' was not declared in this scope
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Adrian Schollmeyer <nex+b-g-o>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/MusicPlayerDaemon/MPD/issues/1499
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2022-03-26 15:35:25 UTC
Created attachment 767879 [details]
build.log

[...]
[154/606] powerpc64-unknown-linux-gnu-g++ -Isrc/lib/upnp/libupnp.a.p -Isrc/lib/upnp -I../mpd-0.23.6/src/lib/upnp -Isrc -I../mpd-0.23.6/src -I. -I../mpd-0.23.6 -I/usr/include/upnp -I/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-qual -Wdouble-promotion -Wmissing-declarations -Wshadow -Wunused -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wcomma-subscript -Wextra-semi -Wmismatched-tags -Woverloaded-virtual -Wsign-promo -Wvolatile -Wvirtual-inheritance -Wno-non-virtual-dtor -Wsuggest-override -fvisibility=hidden -ffunction-sections -fdata-sections -D_GNU_SOURCE -O2 -mcpu=970 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC -DBOOST_ALL_NO_LIB -pthread -MD -MQ src/lib/upnp/libupnp.a.p/Init.cxx.o -MF src/lib/upnp/libupnp.a.p/Init.cxx.o.d -o src/lib/upnp/libupnp.a.p/Init.cxx.o -c ../mpd-0.23.6/src/lib/upnp/Init.cxx
FAILED: src/lib/upnp/libupnp.a.p/Init.cxx.o 
powerpc64-unknown-linux-gnu-g++ -Isrc/lib/upnp/libupnp.a.p -Isrc/lib/upnp -I../mpd-0.23.6/src/lib/upnp -Isrc -I../mpd-0.23.6/src -I. -I../mpd-0.23.6 -I/usr/include/upnp -I/usr/include -fdiagnostics-color=always -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Wpedantic -std=c++17 -ffast-math -ftree-vectorize -Wcast-qual -Wdouble-promotion -Wmissing-declarations -Wshadow -Wunused -Wvla -Wwrite-strings -fno-threadsafe-statics -fmerge-all-constants -Wcomma-subscript -Wextra-semi -Wmismatched-tags -Woverloaded-virtual -Wsign-promo -Wvolatile -Wvirtual-inheritance -Wno-non-virtual-dtor -Wsuggest-override -fvisibility=hidden -ffunction-sections -fdata-sections -D_GNU_SOURCE -O2 -mcpu=970 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fPIC -DBOOST_ALL_NO_LIB -pthread -MD -MQ src/lib/upnp/libupnp.a.p/Init.cxx.o -MF src/lib/upnp/libupnp.a.p/Init.cxx.o.d -o src/lib/upnp/libupnp.a.p/Init.cxx.o -c ../mpd-0.23.6/src/lib/upnp/Init.cxx
../mpd-0.23.6/src/lib/upnp/Init.cxx: In function 'void DoInit(const char*)':
../mpd-0.23.6/src/lib/upnp/Init.cxx:42:21: error: 'UpnpInit' was not declared in this scope; did you mean 'UpnpInit2'?
   42 |         auto code = UpnpInit(iface, 0);
      |                     ^~~~~~~~
      |                     UpnpInit2
ninja: build stopped: subcommand failed.
 * ERROR: media-sound/mpd-0.23.6::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2022-03-26 15:37:09 UTC
Created attachment 767880 [details]
emerge --info
Comment 2 Adrian Schollmeyer 2023-01-18 20:44:14 UTC
Seems to me like this is fixed upstream and versions with the fix applied are available in Gentoo now.