Bug 197551 - [arm] emulators/dolphin-emu fails to build on armv6
Summary: [arm] emulators/dolphin-emu fails to build on armv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Some People
Assignee: Ganael LAPLANCHE
URL: http://chips.ysv.freebsd.org/data/11a...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-12 00:45 UTC by Sean Bruno
Modified: 2015-02-23 13:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (martymac)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Bruno freebsd_committer freebsd_triage 2015-02-12 00:45:02 UTC
[  7%] Building CXX object Source/Core/AudioCommon/CMakeFiles/audiocommon.dir/Src/OpenALStream.cpp.o
cd /wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon && /nxb-bin/usr/bin/c++   -DDATA_DIR=\"/usr/local/share/dolphin-emu/\" -DHAVE_ALSA=0 -DHAVE_AO=0 -DHAVE_BLUEZ=0 -DHAVE_LIBAV -DHAVE_OPENAL=1 -DHAVE_PORTAUDIO=1 -DHAVE_PULSEAUDIO=0 -DHAVE_WAYLAND=0 -DHAVE_WX=1 -DHAVE_X11=1 -DHAVE_X11_XINPUT2=1 -DHAVE_XRANDR=1 -DUSER_DIR=\".dolphin-emu\" -DUSE_EGL=1 -DUSE_GLES=1 -DUSE_UPNP -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_M_ARM=1 -D_M_GENERIC=1 -D_THREAD_SAFE -D__LIBUSB__ -D__WXGTK__ -O -pipe -DLIBICONV_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG -Wtype-limits -Wsign-compare -Wignored-qualifiers -Wuninitialized -Wshadow -Winit-self -fvisibility-inlines-hidden -fvisibility=hidden -I/usr/local/include/wx-3.0 -O -pipe -DLIBICONV_PLUG -fno-strict-aliasing  -DLIBICONV_PLUG -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/SFML/include -I/usr/local/include/portaudio2 -I/usr/local/include -I/usr/local/include/AL -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Common/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/Core/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DebuggerUICommon/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DebuggerWX/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DiscIO/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/DolphinWX/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/InputCommon/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/VideoCommon/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/VideoUICommon/Src -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/Bochs_disasm -I/usr/local/include/soundtouch -I/usr/local/include/SDL -I/usr/local/include/miniupnpc -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/SOIL -I/usr/include/GL -I/usr/local/include/libdrm -I/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Externals/CLRun/include -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/gtk-2.0 -isystem /usr/local/lib/wx/include/gtk2-unicode-3.0 -isystem /usr/local/include/wx-3.0    -marm -march=armv7-a -Wall -fno-strict-aliasing -fno-exceptions -fomit-frame-pointer -Wno-unknown-pragmas -std=gnu++0x -o CMakeFiles/audiocommon.dir/Src/OpenALStream.cpp.o -c /wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src/OpenALStream.cpp
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src/OpenALStream.cpp:202:25: error: cannot initialize a parameter of type 'const SAMPLETYPE *' (aka 'const short *') with an lvalue of type 'float [512]'
                soundTouch.putSamples(dest, numSamples);
                                      ^~~~
/usr/local/include/soundtouch/SoundTouch.h:237:31: note: passing argument to parameter 'samples' here
            const SAMPLETYPE *samples,  ///< Pointer to sample buffer.
                              ^
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src/OpenALStream.cpp:251:5: error: no matching function for call to 'dpl2decode'
                                dpl2decode(sampleBuffer, nSamples, dpl2);
                                ^~~~~~~~~~
/wrkdirs/usr/ports/emulators/dolphin-emu/work/dolphin-emu-dolphin-88fabf7/Source/Core/AudioCommon/Src/DPL2Decoder.h:8:6: note: candidate function not viable: no known conversion from 'soundtouch::SAMPLETYPE [49152]' to 'float *' for 1st argument
void dpl2decode(float *samples, int numsamples, float *out);
     ^
2 errors generated.
*** Error code 1
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-12 00:45:02 UTC
Auto-assigned to maintainer martymac@FreeBSD.org
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-02-23 13:41:23 UTC
A commit references this bug:

Author: martymac
Date: Mon Feb 23 13:40:56 UTC 2015
New revision: 379674
URL: https://svnweb.freebsd.org/changeset/ports/379674

Log:
  Mark the port as broken on armv6.

  Progress has been done upstream to add arm support to Dolphin, so this will
  probably be for a future release.

  PR:		197551
  Submitted by:	sbruno

Changes:
  head/emulators/dolphin-emu/Makefile
Comment 3 Ganael LAPLANCHE freebsd_committer freebsd_triage 2015-02-23 13:43:30 UTC
Hi Sean,

Thanks for your report.

As you can see, I've marked the port as broken for armv6. This version is quite old by now ; let's wait for a newer one to dig more into this.

Regards,

Ganaël.