Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #1

mardy opened this issue Jul 5, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jul 5, 2019

Hi! While building the sources within the Halium project, I met the same error reported here. I found that there are updated patches in this project, so I ran:

mardy@putinotto:/mnt/Lavoro/halium$ cd device/samsung/sharkls-common/patches/
mardy@putinotto:/mnt/Lavoro/halium/device/samsung/sharkls-common/patches$ ls  sprd-diff
mardy@putinotto:/mnt/Lavoro/halium/device/samsung/sharkls-common/patches$ ./ 
* Select directory bootable/recovery
patching file minui/
patching file minui/graphics_fbdev.cpp
Directory bootable/recovery patched

* Select directory bootable/recovery-twrp
patching file minui/
patching file minui/graphics_fbdev.cpp
Directory bootable/recovery-twrp patched

* Select directory external/tinyalsa
patching file include/tinyalsa/asoundlib.h
patching file pcm.c
Directory external/tinyalsa patched

* Select directory frameworks/av
patching file include/media/stagefright/MediaCodec.h
patching file media/libstagefright/ACodec.cpp
patching file media/libstagefright/
patching file media/libstagefright/CameraSource.cpp
patching file media/libstagefright/MediaCodec.cpp
patching file media/libstagefright/StagefrightMetadataRetriever.cpp
patching file media/libstagefright/wifi-display/source/Converter.cpp
patching file media/mtp/MtpDataPacket.cpp
patching file media/mtp/MtpServer.cpp
patching file services/audioflinger/Threads.cpp
patching file services/audiopolicy/common/managerdefinitions/src/TypeConverter.cpp
Directory frameworks/av patched

* Select directory frameworks/base
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|diff --git a/media/java/android/media/ b/media/java/android/media/
|index e08c290..434c1ae 100644
|--- a/media/java/android/media/
|+++ b/media/java/android/media/
File to patch: 

but as you can see, while some patches could be applied, the last one doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.