Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641120 - media-sound/mpd-0.20.12 + net-libs/libupnp-1.8.3 error: expected unqualified-id before ‘const’
Summary: media-sound/mpd-0.20.12 + net-libs/libupnp-1.8.3 error: expected unqualified-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mikle Kolyada (RETIRED)
URL: https://github.com/MusicPlayerDaemon/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-15 12:50 UTC by Alan McKinnon
Modified: 2018-08-28 12:09 UTC (History)
4 users (show)

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


Attachments
build log (media-sound:mpd-0.20.12:20171215-114403.log,96.89 KB, text/x-log)
2017-12-15 12:53 UTC, Alan McKinnon
Details
emerge --info (emerge-info,5.87 KB, text/plain)
2017-12-15 12:54 UTC, Alan McKinnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan McKinnon 2017-12-15 12:50:46 UTC
media-sound/mpd-0.20.12 doe snot build with net-libs/libupnp-1.8.3.

mpd builds fine with USE="-upnp".
Comment 1 Alan McKinnon 2017-12-15 12:53:42 UTC
Created attachment 510128 [details]
build log
Comment 2 Alan McKinnon 2017-12-15 12:54:18 UTC
Created attachment 510130 [details]
emerge --info

emerge --info
Comment 3 Jeremy Stent 2017-12-20 04:04:23 UTC
This appears to be because the upnp header has macros that define the same functions, so the macro is applied to the function name.  If we disable UPNP compat then this error is cleared up.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-08-26 08:15:01 UTC
Will test and bump shortly, already in the local overlay of mine
Comment 5 Larry the Git Cow gentoo-dev 2018-08-28 12:09:32 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(+)