Closed Bug 1032536 Opened 10 years ago Closed 6 years ago

Can't build emulator-kk|jb build on MacOS

Categories

(Firefox OS Graveyard :: Gaia::Build, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zbraniecki, Unassigned)

Details

Trying to build emulator-jb or emulator-kk on MacOS 10.9 gives:

BluetoothServiceBluedroid.o
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp: In function 'void RemoteDevicePropertiesCallback(bt_status_t, bt_bdaddr_t*, int, bt_property_t*)':
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:517:18: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp: At global scope:
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_state_t)' to 'pin_request_callback {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int)}' [-fpermissive]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_bdaddr_t*, bt_bdname_t*, uint32_t, uint8_t) {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, unsigned char)}' to 'ssp_request_callback {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, bt_ssp_variant_t, unsigned int)}' [-fpermissive]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_bdaddr_t*, bt_bdname_t*, uint32_t, bt_ssp_variant_t, uint32_t) {aka void (*)(bt_bdaddr_t*, bt_bdname_t*, unsigned int, bt_ssp_variant_t, unsigned int)}' to 'bond_state_changed_callback {aka void (*)(bt_status_t, bt_bdaddr_t*, bt_bond_state_t)}' [-fpermissive]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_status_t, bt_bdaddr_t*, bt_bond_state_t)' to 'acl_state_changed_callback {aka void (*)(bt_status_t, bt_bdaddr_t*, bt_acl_state_t)}' [-fpermissive]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_status_t, bt_bdaddr_t*, bt_acl_state_t)' to 'callback_thread_event {aka void (*)(bt_cb_thread_evt)}' [-fpermissive]
../../../gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:791:1: error: invalid conversion from 'void (*)(bt_cb_thread_evt)' to 'dut_mode_recv_callback {aka void (*)(short unsigned int, unsigned char*, unsigned char)}' [-fpermissive]

In the directory  /Volumes/projects/mozilla/B2G/objdir-gecko/dom/bluetooth
The following command failed to execute properly:
/usr/local/bin/ccache /Volumes/projects/mozilla/B2G/prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-g++ -o BluetoothServiceBluedroid.o -c -I../../dist/system_wrappers -include /Volumes/projects/mozilla/B2G/gecko/config/gcc_hidden.h -DMOZ_B2G_BT_BLUEDROID -DOS_POSIX=1 -DOS_LINUX=1 -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -DNO_NSPR_10_SUPPORT -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth -I. -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/bluedroid -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/bluedroid/hfp -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/ipc -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/../base -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/../network/src -I/Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/../system/gonk -I/Volumes/projects/mozilla/B2G/gecko/ipc/chromium/src -I/Volumes/projects/mozilla/B2G/gecko/ipc/glue -I/Volumes/projects/mozilla/B2G/objdir-gecko/ipc/ipdl/_ipdlheaders -I../../dist/include -I/Users/zbraniecki/projects/mozilla/B2G/objdir-gecko/dist/include/nspr -I/Users/zbraniecki/projects/mozilla/B2G/objdir-gecko/dist/include/nss -I/Users/zbraniecki/projects/mozilla/B2G/objdir-gecko/dist/include -I/Volumes/projects/mozilla/B2G/gecko/modules/zlib/src -fPIC -DANDROID -isystem /Volumes/projects/mozilla/B2G/bionic/libc/arch-arm/include -isystem /Volumes/projects/mozilla/B2G/bionic/libc/include/ -isystem /Volumes/projects/mozilla/B2G/bionic/libc/kernel/common -isystem /Volumes/projects/mozilla/B2G/bionic/libc/kernel/arch-arm -isystem /Volumes/projects/mozilla/B2G/bionic/libm/include -I/Volumes/projects/mozilla/B2G/system -I/Volumes/projects/mozilla/B2G/system/core/include -isystem /Volumes/projects/mozilla/B2G/bionic -I/Volumes/projects/mozilla/B2G/hardware/libhardware/include -I/Volumes/projects/mozilla/B2G/external/valgrind/fxos-include -I/Volumes/projects/mozilla/B2G/frameworks/native/include -I/Volumes/projects/mozilla/B2G/frameworks/av/include -I/Volumes/projects/mozilla/B2G/frameworks/av/include/media -I/Volumes/projects/mozilla/B2G/frameworks/av/include/camera -I/Volumes/projects/mozilla/B2G/frameworks/native/include/media/openmax -I/Volumes/projects/mozilla/B2G/frameworks/av/media/libstagefright/include -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/BluetoothServiceBluedroid.o.pp -DANDROID -isystem /Volumes/projects/mozilla/B2G/bionic/libc/arch-arm/include -isystem /Volumes/projects/mozilla/B2G/bionic/libc/include/ -isystem /Volumes/projects/mozilla/B2G/bionic/libc/kernel/common -isystem /Volumes/projects/mozilla/B2G/bionic/libc/kernel/arch-arm -isystem /Volumes/projects/mozilla/B2G/bionic/libm/include -I/Volumes/projects/mozilla/B2G/system -I/Volumes/projects/mozilla/B2G/system/core/include -isystem /Volumes/projects/mozilla/B2G/bionic -I/Volumes/projects/mozilla/B2G/hardware/libhardware/include -I/Volumes/projects/mozilla/B2G/external/valgrind/fxos-include -I/Volumes/projects/mozilla/B2G/frameworks/native/include -I/Volumes/projects/mozilla/B2G/frameworks/av/include -I/Volumes/projects/mozilla/B2G/frameworks/av/include/media -I/Volumes/projects/mozilla/B2G/frameworks/av/include/camera -I/Volumes/projects/mozilla/B2G/frameworks/native/include/media/openmax -I/Volumes/projects/mozilla/B2G/frameworks/av/media/libstagefright/include -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Werror=int-to-pointer-cast -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -mandroid -fno-short-enums -fno-exceptions -Wno-psabi -DMOZ_ENABLE_JS_DUMP -include /Volumes/projects/mozilla/B2G/gonk-misc/Unicode.h -I/Volumes/projects/mozilla/B2G/gecko/build/stlport/stlport -I/Volumes/projects/mozilla/B2G/ndk/sources/cxx-stl/system/include -march=armv7-a -mthumb -mfpu=vfp -mfloat-abi=softfp -mno-unaligned-access -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fno-reorder-functions -funwind-tables /Volumes/projects/mozilla/B2G/gecko/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp
make[6]: *** [BluetoothServiceBluedroid.o] Error 1
make[5]: *** [dom/bluetooth/compile] Error 2
make[4]: *** [compile] Error 2
make[3]: *** [default] Error 2
make[2]: *** [realbuild] Error 2
make[1]: *** [build] Error 2
make: *** [out/target/product/generic/obj/DATA/gecko_intermediates/gecko] Error 2
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.