ubuntu touch source code build fail (repo_branch = 'phablet-trusty' dedault )

Bug #1441963 reported by and
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

when i get ubuntu touch source default like : phablet-dev-bootstrap ./ (repo_branch = 'phablet-trusty' )

it download all source success, [ part of android source is android 4.2.2 ? ]

when i build it ,meet error, it reports frameworks/native/ .... some head file can not find , and other error exit

 default repo_branch is right (about aosp part ) ? i compare which it neeeed head can find on android 4.4.2 ,

does default repo_branch have wrong branch with aosp 4.2.2 (right is 4.4.2 ????????????????????????/)

and@y460:~/phablet/ubuntuTouch$ make -j4
...

Revision history for this message
and (liulover5) wrote :

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.2
CM_VERSION=
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.13.0-32-generic-x86_64-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JDQ39E
OUT_DIR=/home/and/phablet/ubuntuTouch/out
============================================

Revision history for this message
and (liulover5) wrote :

target thumb C++: libmedia_compat_layer <= ubuntu/libhybris/compat/media/media_codec_layer.cpp
In file included from frameworks/native/include/utils/String16.h:22:0,
                 from frameworks/native/include/binder/IBinder.h:22,
                 from frameworks/native/include/binder/Binder.h:20,
                 from frameworks/native/include/binder/IInterface.h:21,
                 from frameworks/native/include/binder/IMemory.h:26,
                 from frameworks/av/include/media/mediaplayer.h:22,
                 from ubuntu/libhybris/compat/media/media_compatibility_layer.cpp:31:
frameworks/native/include/utils/Unicode.h:26:18: error: redeclaration of C++ built-in type 'char32_t' [-fpermissive]
frameworks/native/include/utils/Unicode.h:27:18: error: redeclaration of C++ built-in type 'char16_t' [-fpermissive]
make: *** [/home/and/phablet/ubuntuTouch/out/target/product/generic/obj/SHARED_LIBRARIES/libmedia_compat_layer_intermediates/media_compatibility_layer.o] 错误 1
make: *** 正在等待未完成的任务....
ubuntu/libhybris/compat/camera/direct_camera_test.cpp: In function 'MediaRecorderWrapper* start_video_recording(CameraControl*)':
ubuntu/libhybris/compat/camera/direct_camera_test.cpp:392:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
In file included from frameworks/native/include/utils/String16.h:22:0,
                 from frameworks/native/include/binder/IBinder.h:22,
                 from frameworks/native/include/binder/Binder.h:20,
                 from frameworks/native/include/binder/IInterface.h:21,
                 from frameworks/native/include/gui/ISurfaceTexture.h:26,
                 from frameworks/native/include/gui/SurfaceTextureClient.h:20,
                 from frameworks/native/include/gui/Surface.h:30,
                 from ubuntu/libhybris/compat/media/surface_texture_client_hybris_priv.h:24,
                 from ubuntu/libhybris/compat/media/media_codec_layer.cpp:30:
frameworks/native/include/utils/Unicode.h:26:18: error: redeclaration of C++ built-in type 'char32_t' [-fpermissive]
frameworks/native/include/utils/Unicode.h:27:18: error: redeclaration of C++ built-in type 'char16_t' [-fpermissive]

Revision history for this message
Hakam (hakamelassouad) wrote :

Same issue here while compiling for i9105p, I think you need to remove it from the source. I'll try to remove from build/core/main.mk

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chromium-browser (Ubuntu) because there has been no activity for 60 days.]

Changed in chromium-browser (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.