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

Bug 935134

Summary: games-simulation/simutrans-124.1: does not compile with net-libs/miniupnpc-2.2.8 error: too few arguments to function ‘int UPNP_GetValidIGD(UPNPDev*, UPNPUrls*, IGDdatas*, char*, int, char*, int)’
Product: Gentoo Linux Reporter: tastytea <gentoo>
Component: Current packagesAssignee: tastytea <gentoo>
Status: UNCONFIRMED ---    
Severity: normal CC: mgorny, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://forum.simutrans.com/index.php/topic,23136.0.html
See Also: https://github.com/gentoo/gentoo/pull/37357
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description tastytea 2024-06-29 11:04:40 UTC
Created attachment 896619 [details]
build log

miniupnpc changed the number of arguments for UPNP_GetValidIGD() in 2.2.8, which causes the simutrans build to fail. this also is true for simutrans-124.0. it works fine with miniupnpc-2.2.7.

i believe this may be problem with more packages.
Comment 1 tastytea 2024-06-29 11:11:27 UTC
forgot to add the lik to the miniupnpc changelog: <miniupnp.free.fr/files/changelog.php?file=miniupnpc-2.2.8.tar.gz>

> UPNP_GetValidIGD(): distinguish between not connected and connected to a
>     "private" network (with a reserved IP address).
>   Increments API_VERSION to 18