Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836168 - 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
Summary: media-sound/mpd-0.23.6[upnp expat] - ../mpd-0.23.6/src/lib/upnp/Init.cxx:42:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Adrian Schollmeyer
URL: https://github.com/MusicPlayerDaemon/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-26 15:35 UTC by ernsteiswuerfel
Modified: 2023-01-18 20:44 UTC (History)
1 user (show)

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


Attachments
build.log (mpd-0.23.6:20220326-153107.log,147.99 KB, text/x-log)
2022-03-26 15:35 UTC, ernsteiswuerfel
Details
emerge --info (file_836168.txt,6.45 KB, text/plain)
2022-03-26 15:37 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.