Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562052 - games-emulation/dolphin fails with new miniupnpc-1.9.20150917
Summary: games-emulation/dolphin fails with new miniupnpc-1.9.20150917
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Devan Franchini (RETIRED)
URL: https://github.com/dolphin-emu/dolphi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-02 16:38 UTC by Sander Sweers
Modified: 2015-12-12 05:01 UTC (History)
1 user (show)

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


Attachments
backported miniupnpc api 14 (0001-Add-miniupnpc-api-14-support.patch,898 bytes, patch)
2015-10-07 22:33 UTC, Sander Sweers
Details | Diff
build log (games-emulation_dolphin-4.0.2-r7_20151002-170431.xz,13.31 KB, application/octet-stream)
2015-10-07 22:45 UTC, Sander Sweers
Details
Patch for 5.0_rc for newer miniupnpc support (5.0_rc--miniupnpc.patch,5.43 KB, patch)
2015-10-24 08:55 UTC, Alex Ford
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sander Sweers 2015-10-02 16:38:05 UTC
miniupnpc-1.9.20150917 added to the tree by mgorny has api changes that break this package. Upstream fixed the 
Upstream patch https://github.com/dolphin-emu/dolphin/commit/8c5744bca705a0895bd51c966a30171ee2bab43a

----
[ 54%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/Src/Tracer.cpp.o
cd /var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2_build/Source/Core/Core && /usr/bin/x86_64-pc-linux-gnu-g++  -DDATA_DIR=\"/usr/share/games/dolphin/\" -DHAVE_ALSA=1 -DHAVE_AO=0 -DHAVE_BLUEZ=1 -DHAVE_LIBAV -DHAVE_OPENAL=1 -DHAVE_PORTAUDIO=0 -DHAVE_PULSEAUDIO=1 -DHAVE_WAYLAND=0 -DHAVE_WX=1 -DHAVE_X11=1 -DHAVE_X11_XINPUT2=1 -DHAVE_XRANDR=1 -DUSER_DIR=\".dolphin-emu\" -DUSE_UPNP -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__LIBUSB__ -D__WXGTK__  -DNDEBUG -O2 -pipe -march=native  -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wlogical-op -Wshadow -Winit-self -fvisibility-inlines-hidden -fvisibility=hidden -pthread -I/usr/include/AL -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/AudioCommon/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Common/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/DebuggerUICommon/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/DebuggerWX/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/DiscIO/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/DolphinWX/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/InputCommon/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/VideoCommon/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/VideoUICommon/Src -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Externals/Bochs_disasm -I/usr/include/soundtouch -I/usr/include/SDL2 -I/usr/include/libusb-1.0 -I/usr/include/miniupnpc -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Externals/polarssl/include -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Externals/SOIL -I/usr/include/libdrm -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Externals/CLRun/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -isystem /usr/lib64/wx/include/gtk2-unicode-3.0 -isystem /usr/include/wx-3.0 -I/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2_build/Source/Core/Common/Src    -msse2 -Wall -fno-strict-aliasing -fno-exceptions -fopenmp -std=gnu++0x -o CMakeFiles/core.dir/Src/Tracer.cpp.o -c /var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src/Tracer.cpp
/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src/NetPlayServer.cpp: In static member function âstatic bool NetPlayServer::initUPnP()â:
/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src/NetPlayServer.cpp:555:59: fout: invalid conversion from âint*â to âunsigned charâ [-fpermissive]
  devlist = upnpDiscover(2000, NULL, NULL, 0, 0, &upnperror);
                                                           ^
/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src/NetPlayServer.cpp:555:59: fout: too few arguments to function âUPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)â
In file included from /var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2/Source/Core/Core/Src/NetPlayServer.cpp:490:0:
/usr/include/miniupnpc/miniupnpc.h:54:1: note: declared here
 upnpDiscover(int delay, const char * multicastif,
 ^
Source/Core/Core/CMakeFiles/core.dir/build.make:398: recept voor doel 'Source/Core/Core/CMakeFiles/core.dir/Src/NetPlayServer.cpp.o' is mislukt
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/NetPlayServer.cpp.o] Fout 1
make[2]: *** Wachten op onvoltooide taken...
make[2]: Map '/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2_build' wordt verlaten
CMakeFiles/Makefile2:490: recept voor doel 'Source/Core/Core/CMakeFiles/core.dir/all' is mislukt
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Fout 2
make[1]: Map '/var/tmp/portage/games-emulation/dolphin-4.0.2-r7/work/dolphin-4.0.2_build' wordt verlaten
Makefile:149: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
Comment 1 Amy Liffey gentoo-dev 2015-10-06 08:13:16 UTC
Can you please attach full build.log and emerge --info?

Thanks
Comment 2 Alex Ford 2015-10-07 22:10:02 UTC
This package has had issues with the release candidates for a while. The bug posted here: https://bugs.dolphin-emu.org/issues/9012
mentions that a temporary workaround until that patch hits mainstream is to temporarily edit the ./configure script.

This should be patch for the 5.0_rc ebuild

~Alex Ford
Comment 3 Sander Sweers 2015-10-07 22:33:49 UTC
Created attachment 414036 [details, diff]
backported miniupnpc api 14
Comment 4 Sander Sweers 2015-10-07 22:37:56 UTC
(In reply to Alex Ford from comment #2)
I posted a backward compatible patch for 4.0 which fixes the build problem with miniupnpc api 14. It works nicely for me for me.
Comment 5 Sander Sweers 2015-10-07 22:45:32 UTC
Created attachment 414038 [details]
build log

emerge --info

Portage 2.2.22 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-5.2.0, glibc-2.21-r1, 4.2.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.2.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    15321940 total,   1955104 free
KiB Swap:    8388604 total,   8387368 free
Timestamp of repository gentoo: Tue, 06 Oct 2015 17:45:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.2.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

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

mate
    location: /home/sander/repos/mate-overlay
    masters: gentoo
    priority: 0

jitsi
    location: /home/sander/repos/jitsi
    masters: gentoo
    priority: 2

mate-community
    location: /home/sander/repos/mate-community
    masters: gentoo
    priority: 3

infirit
    location: /home/sander/repos/infirit
    masters: gentoo
    priority: 4

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

elementary
    location: /var/lib/layman/elementary
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    masters: gentoo
    priority: 50

seafile
    location: /var/lib/layman/seafile
    masters: gentoo
    priority: 50

tox-overlay
    location: /var/lib/layman/tox-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
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/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 -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 aspell avahi avx berkdb bluetooth bluray branding bzip2 cairo caja canberra caps cdda cddb cdio cdr cjk cli consolekit corefonts cracklib crypt cue cups curl cxx dbus dconf device-mapper dri dts dv dvd dvdr egl emboss encode exif faac faad fam ffmpeg firefox flac fontconfig fontforge fortran gdbm gif glamor gles gles1 gles2 gmp gnome-keyring gpm gstreamer gtk gtk3 hires-icons iconv icu idn introspection ipv6 jpeg jpeg2k lame lcms ldap libcanberra libnotify libsecret lm_sensors lzma lzo mad mate mate-keyring mmx mmxext mng modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses networkmanager nls nptl nsplugin offensive ogg openal opengl openldap openmp opus osmesa pam pango pch pcre pdf png policykit ppds ppp pulseaudio python qt3support qt4 readline resolvconf rle samba sasl scanner schroedinger sdl seccomp session sndfile speex spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg syslog tcpd telepathy theora threads tiff truetype udev udisks unicode upnp upower usb usbredir v4l vaapi vdpau vorbis vpx wavpack wayland webp wmf wxwidgets x264 x265 xcb xml xmp xpm xscreensaver xv xvid xvmc zeroconf zip 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 auth_digest dav_fs authn_file dav authz_groupfile" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch access shot mate-keyring" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB en_US nl it_IT fr_FR es_ES ru_RU ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa" 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_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 6 Alex Ford 2015-10-24 08:55:49 UTC
Created attachment 415330 [details, diff]
Patch for 5.0_rc for newer miniupnpc support
Comment 7 Devan Franchini (RETIRED) gentoo-dev 2015-12-12 05:01:52 UTC
dolphin-5.0 is now on the portage tree, thank you for submitting this bug report and the patch. Please feel free to submit more bug reports if the dolphin-5.0 ebuild has any issues (which it shouldn't but, you never know).