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

Open
mardy opened this issue Jul 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@mardy
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
apply_sprd-diff.sh  remove_sprd-diff.sh  sprd-diff
mardy@putinotto:/mnt/Lavoro/halium/device/samsung/sharkls-common/patches$ ./apply_sprd-diff.sh 
* Select directory bootable/recovery
patching file minui/Android.mk
patching file minui/graphics_fbdev.cpp
Directory bootable/recovery patched

* Select directory bootable/recovery-twrp
patching file minui/Android.mk
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/Android.mk
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/AudioSystem.java b/media/java/android/media/AudioSystem.java
|index e08c290..434c1ae 100644
|--- a/media/java/android/media/AudioSystem.java
|+++ b/media/java/android/media/AudioSystem.java
--------------------------
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.