GIT errors during Yocto build by Bitbake - yocto

I'm trying to build a image for IMX8MP SolidRun board (Hummingboard Mate board) but I'm going crazy with this. I'm using this git page:
https://github.com/SolidRun/meta-solidrun-arm-imx8
With this repo:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.0.xml
But I have tried with this repo too:
repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.2.xml
These are the errors I get with different configurations:
FIRST ONE:
ERROR: tinycompress-1.1.6-r0 do_fetch: Fetcher failure for URL:
'git://git.alsa-project.org/tinycompress.git;protocol=git;branch=master'.
Unable to fetch URL from any source. ERROR: Logfile of failure stored
in:
/home/holoh/yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/tinycompress/1.1.6-r0/temp/log.do_fetch.21811
ERROR: Task
(/home/holoh/yocto/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_fetch)
failed with exit code '1'
CHANGING URL configuration on yocto/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb because firewall could be acting.( to https://github.com/alsa-project/tinycompress.git adding protocol=https), the error I have received is this:
ERROR: tinycompress-1.1.6-r0 do_fetch: Fetcher failure for URL:
'https://github.com/alsa-project/tinycompress.git;protocol=https;branch=master'.
Missing SRC_URI checksum ERROR: Logfile of failure stored in:
/home/holoh/yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/tinycompress/1.1.6-r0/temp/log.do_fetch.10927
ERROR: Task
(/home/holoh/yocto/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_fetch)
failed with exit code '1'
I add checksum line as I can read here (Turn off Source Checksum Check Yocto). Two solutions tried, same result:
ERROR: tinycompress-1.1.6-r0 do_patch: Command Error: 'quilt --quiltrc
/home/holoh/yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/tinycompress/1.1.6-r0/recipe-sysroot-native/etc/quiltrc
push' exited with 0 Output: stdout: Applying patch
0001-tinycompress-Add-id3-decoding.patch patching file
include/tinycompress/id3_tag_decode.h can't find file to patch at
input line 224 Perhaps you used the wrong -p or --strip option? The
text leading up to this was:
-------------------------- |diff --git a/src/utils/Makefile.am b/src/utils/Makefile.am |index 1b996d4..e813689 100644 |---
a/src/utils/Makefile.am |+++ b/src/utils/Makefile.am
-------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 236 Perhaps you
used the wrong -p or --strip option? The text leading up to this was:
-------------------------- |diff --git a/src/utils/cplay.c b/src/utils/cplay.c |index 87863a3..2a52b52 100644 |---
a/src/utils/cplay.c |+++ b/src/utils/cplay.c
-------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file src/utils/id3_tag_decode.c Patch
0001-tinycompress-Add-id3-decoding.patch does not apply (enforce with
-f)
stderr: ERROR: Logfile of failure stored in:
/home/holoh/yocto/build-xwayland-imx8mpsolidrun/tmp/work/cortexa53-crypto-poky-linux/tinycompress/1.1.6-r0/temp/log.do_patch.22146
ERROR: Task
(/home/holoh/yocto/sources/meta-imx/meta-sdk/recipes-multimedia/tinycompress/tinycompress_1.1.6.bb:do_patch)
failed with exit code '1'
What is going on here? I don't understand why It doesn't work, I'm following only the steps and this sh*t is impossible.

You have a proxy i guess. Try to disable it.
I tested it works fine.

Related

How does one install coq-serapi for coq 8.10 using opam pin and ideally using a commit from coq-serapi?

I tried finding the version compatible with coq 8.10 and installing it via opam pin but it's output is odd:
opam pin add -y coq-serapi git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766
output:
(iit_synthesis) brando9~ $ opam pin add -y coq-serapi git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766
[coq-serapi.8.10.0+0.7.2] synchronised (git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766)
[WARNING] Failed checks on coq-serapi package definition from source at
git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766:
warning 62: License doesn't adhere to the SPDX standard, see https://spdx.org/licenses/: "GPL 3"
coq-serapi is now pinned to git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766 (version 8.10.0+0.7.2)
The following actions will be performed:
↻ recompile coq-serapi 8.10.0+0.7.2*
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved coq-serapi.8.10.0+0.7.2 (git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766)
[ERROR] The compilation of coq-serapi.8.10.0+0.7.2 failed at "dune build -p coq-serapi -j 127".
#=== ERROR while compiling coq-serapi.8.10.0+0.7.2 ============================#
# context 2.1.4 | linux/x86_64 | ocaml-base-compiler.4.07.1 | pinned(git+https://github.com/ejgallego/coq-serapi.git#b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766#b6c7a46a)
# path ~/.opam/coq-8.10/.opam-switch/build/coq-serapi.8.10.0+0.7.2
# command ~/.opam/coq-8.10/bin/dune build -p coq-serapi -j 127
# exit-code 1
# env-file ~/.opam/log/coq-serapi-807247-646161.env
# output-file ~/.opam/log/coq-serapi-807247-646161.out
### output ###
# Error: The implementation serlib/plugins/ltac/ser_tacentries.ml
# [...]
# type 'a grammar_tactic_prod_item_expr =
# 'a Ltac_plugin.Tacentries.grammar_tactic_prod_item_expr
# File "serlib/plugins/ltac/ser_tacentries.mli", line 19, characters 0-83:
# Expected declaration
# File "plugins/ltac/tacentries.mli", line 25, characters 0-156:
# Actual declaration
# (cd _build/default && /lfs/ampere1/0/brando9/.opam/coq-8.10/bin/ocamlopt.opt -w -40 -rectypes -g -ppx '.ppx/57e0400f3b219ff4fc65d1fbd820e35d/ppx.exe --as-ppx --cookie '\''library-name="serlib_ltac"'\''' -I serlib/plugins/ltac/.serlib_ltac.objs/byte -I serlib/plugins/ltac/.serlib_ltac.objs/native -I /lfs/ampere1/0/brando9/.opam/coq-8.10/lib/base/caml -I /lfs/ampere1/0/brando9/.opam/coq-8.10/li[...]
# File "plugins/ltac/tacenv.mli", line 74, characters 0-379:
# Error: This variant or record definition does not match that of type
# Ltac_plugin.Tacenv.ltac_entry
# The types for field tac_body are not equal.
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build coq-serapi 8.10.0+0.7.2
└─
╶─ No changes have been performed
[NOTE] Pinning command successful, but your installed packages may be out of sync.
does someone know how to fix it? Is it just trying other commits until it works?
commits: https://github.com/ejgallego/coq-serapi/commits/b6c7a46a8942b43cfd6a6e7d5fa3b155f17f1766
related: requesting commit for coq-serapi from mantainer: https://github.com/ejgallego/coq-serapi/issues/319

NixOS - Issue packaging neovim plugin from github

I'm trying to add a neovim plugin that doesn't exist in nixpkgs yet (modes.nvim), but having trouble getting it to work.
I'm using NixOS 22.05, and Home Manager, and I am using the following to build this plugin:
pkgs.vimUtils.buildVimPlugin {
name = "modes-nvim";
src = pkgs.fetchFromGitHub {
owner = "mvllow";
repo = "modes.nvim";
rev = "3188692abf02a8838ec75e59d68c2ce3e4323f5c";
sha256 = "sha256-2QDpwQ9+F5t5gTR1KLVzRrvriwo5JUHatZEJnc0ojV8=";
};
}
Initially, I used lib.pkgs.fakeSha256 to get a "mismatched hash" error, and copy/pasted the has from that error message, so I think it's correct, though other things I've seen on the internet seem to have the SHA256 as a hex string, so not sure what's going on there.
When I run home-manager switch, I get the following error:
these 12 derivations will be built:
/nix/store/pna2lzjc3q56z59b2kfazzxi8m6swp8d-vimplugin-modes-nvim.drv
/nix/store/mnj1d881d8s57yj3y8wjy7i9nl3m089f-vimplugin-modes-nvim.drv
/nix/store/5l8vqvx2bbawkkj92s8qd0p5hw16pcmq-vim-pack-dir.drv
/nix/store/jgqf68sd50s79pydzs9154p509l5109v-hm_nviminit.vim.drv
/nix/store/rq8f75qr9ahrfr0hvp51inn19088bz5p-manifest.vim.drv
/nix/store/hbzm2xr6nv8mr2l9nrlf742fqdmw9nv3-neovim-0.7.2.drv
/nix/store/zks47ifk7njz1s8y7hvq357ac8z6azkd-neovim-0.7.2-fish-completions.drv
/nix/store/rkaa094vvyjcyy4v1zkh4f8xz64vqxas-cameron-fish-completions.drv
/nix/store/0073403x9b4wv13gm7a6bqy4765pi8g5-home-manager-files.drv
/nix/store/lxwpbhb6ryhwrff4cjyniff11843cf9x-home-manager-path.drv
/nix/store/xbbn44253wjh90md4hqrrc2wfpafkc55-activation-script.drv
/nix/store/ijwmv897xc2wlr1ij4a30vk4z154ikbf-home-manager-generation.drv
building '/nix/store/pna2lzjc3q56z59b2kfazzxi8m6swp8d-vimplugin-modes-nvim.drv'...
Sourcing vim-command-check-hook.sh
Using vimCommandCheckHook
Sourcing vim-gen-doc-hook
unpacking sources
unpacking source archive /nix/store/fcxyif8piqar9w9ynmi6ym71hw6zsy7a-source
source root is source
patching sources
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash
test -r dependencies/pack/vendor/start/plenary.nvim || git clone --depth=1 https://github.com/nvim-lua/plenary.nvim.git dependencies/pack/vendor/start/plenary.nvim
/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash: line 1: git: command not found
make: *** [Makefile:7: install_dependencies] Error 127
error: builder for '/nix/store/pna2lzjc3q56z59b2kfazzxi8m6swp8d-vimplugin-modes-nvim.drv' failed with exit code 2;
last 10 log lines:
> unpacking source archive /nix/store/fcxyif8piqar9w9ynmi6ym71hw6zsy7a-source
> source root is source
> patching sources
> configuring
> no configure script, doing nothing
> building
> build flags: SHELL=/nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash
> test -r dependencies/pack/vendor/start/plenary.nvim || git clone --depth=1 https://github.com/nvim-lua/plenary.nvim.git dependencies/pack/vendor/start/plenary.nvim
> /nix/store/iffl6dlplhv22i2xy7n1w51a5r631kmi-bash-5.1-p16/bin/bash: line 1: git: command not found
> make: *** [Makefile:7: install_dependencies] Error 127
For full logs, run 'nix log /nix/store/pna2lzjc3q56z59b2kfazzxi8m6swp8d-vimplugin-modes-nvim.drv'.
error: 1 dependencies of derivation '/nix/store/mnj1d881d8s57yj3y8wjy7i9nl3m089f-vimplugin-modes-nvim.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5l8vqvx2bbawkkj92s8qd0p5hw16pcmq-vim-pack-dir.drv' failed to build
error: 1 dependencies of derivation '/nix/store/jgqf68sd50s79pydzs9154p509l5109v-hm_nviminit.vim.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rq8f75qr9ahrfr0hvp51inn19088bz5p-manifest.vim.drv' failed to build
error: 1 dependencies of derivation '/nix/store/0073403x9b4wv13gm7a6bqy4765pi8g5-home-manager-files.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hbzm2xr6nv8mr2l9nrlf742fqdmw9nv3-neovim-0.7.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ijwmv897xc2wlr1ij4a30vk4z154ikbf-home-manager-generation.drv' failed to build
It appears to be failing due to git not being found. Of course, I have git installed for me, but perhaps this command is being run in an environment that doesn't have access to my installed packages.
I'm very new to Nix and NixOS, so I'm not really sure how to begin fixing this issue. I've searched online for answers, but haven't found anything about this issue. Any advice is much appreciated.

Custom recipe for mgetty in yocto project

I have tried to create a custom recipe, in Yocto project, for mgetty. But when I build my custom image, there are some issues that I cannot figure out.
This is my custom mgetty_1.2.0.bb
DESCRIPTION = "mgetty 1.2.0 recipe"
SECTION = "mgetty"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fd3b2e6132b4ff4cb475558807ded25f"
SRC_URI = "ftp://mgetty.greenie.net/pub/mgetty/source/1.2/mgetty-${PV}.tar.gz"
SRC_URI[md5sum] = "6700f55a61f3a71ce7b882a0d0b82d19"
inherit autotools
And this is the error output:
ERROR: mgetty-1.2.0-r0 do_compile: oe_runmake failed
ERROR: mgetty-1.2.0-r0 do_compile: Function failed: do_compile (log file is
located at [...path...])
ERROR: Logfile of failure stored in: [...path...]
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8
| make: *** No targets specified and no makefile found. Stop.
| ERROR: oe_runmake failed
| WARNING: [...path...] exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at [...path...])
ERROR: Task ([...path...]/recipes-mgetty/mgetty/mgetty_1.2.0.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 2741 tasks of which 2734 didn't need to be
rerun and 1 failed.
NOTE: Writing buildhistory
Did I missed something in my recipe?
I'd suggest using devtool if you are new to Yocto. So, in this case:
devtool add mgetty ftp://mgetty.greenie.net/pub/mgetty/source/1.2/mgetty-1.2.0.tar.gz
This will create a local workspace for you with the recipe and sources. Now, devtool should be able to detect some of the things automatically based on presence of certain files in the package.
But, for projects like this, you might have to make changes to the Makefile as well to make sure that it doesn't override the compiler and flags variables. So, in this case, make changes to ensure CC, CFLAGS, LDFLAGS is not over-ridden etc. (replacing = with ?= would be one way of doing it). Once that is done, use 'devtool build' to build your recipe and resolve any further issues.
Once you're done with the changes, please create commits for them in the devtool workspace and use 'devtool finish' to create patches for these commits and have them included them in your recipe. See:
https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#sdk-devtool-use-devtool-modify-to-modify-the-source-of-an-existing-component
For more information, refer to the manual.

Post review request of committed files in CVS to Review Board

I am trying to post review request of files i committed in CVS, currently i have two file with their revisions. I have tried almost all possible combinations mentioned # https://www.reviewboard.org/docs/rbtools/0.7/rbt/commands/post/#posting-paths
but none of them worked. Samples are below:
rbt post -d src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1:src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2 ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1:ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1.2.1
rbt post -d src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java#1.1.4.27.4.2.12.8.2.3.4.1.4.1,#1.1.4.27.4.2.12.8.2.3.4.1.4.2 ui/Accounting/AP/Reports/rptCheckReconciliation.jsp#1.1.4.6.32.1.34.1,#1.1.4.6.32.1.34.1.2.1
rbt post -d -I src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1,##1.1.4.27.4.2.12.8.2.3.4.1.4.2 -I ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1,##1.1.4.6.32.1.34.1.2.1
rbt post -d src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1 src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2 ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1 ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1.2.1
rbt post -d src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1,##1.1.4.27.4.2.12.8.2.3.4.1.4.2 ui/Accounting/AP/Reports/rptCheckReconciliation.jsp##1.1.4.6.32.1.34.1,##1.1.4.6.32.1.34.1.2.1
I am getting either
rbtools.clients.errors.TooManyRevisionsError: Too many revisions specified
error or
rbtools.commands.CommandError: Error validating diff
The specified diff file is empty. (HTTP 400, API Error 219)
I have 2 files, their traces are below:
/home/cvs/src/ns/src/com/sibisoft/northstar/acc/ap/reports/Attic/ApReportUtil.java,v <-- src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java
new revision: 1.1.4.27.4.2.12.8.2.3.4.1.4.2; previous revision: 1.1.4.27.4.2.12.8.2.3.4.1.4.1
/home/cvs/src/ns/ui/Accounting/AP/Reports/Attic/rptCheckReconciliation.jsp,v <-- ui/Accounting/AP/Reports/rptCheckReconciliation.jsp
new revision: 1.1.4.6.32.1.34.1.2.1; previous revision: 1.1.4.6.32.1.34.1
Any help would be really appreciated.
UPDATE:
#unreturnedURL: I tried but getting following error.
D:\IntelliJ_workspace\52B7>rbt post -d -I src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1:src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2
>>> RBTools 0.7.5 alpha 0 (dev)
>>> Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]
>>> Running on Windows-8-6.2.9200
>>> Home = C:\Users\Waqar Ali Khan\AppData\Roaming
>>> Current directory = D:\IntelliJ_workspace\52B7
>>> Checking for a Subversion repository...
>>> Unable to execute "svn help": skipping SVN
>>> Checking for a Git repository...
>>> Running: git rev-parse --git-dir
>>> Command exited with rc 128: ['git', 'rev-parse', '--git-dir']
fatal: Not a git repository (or any of the parent directories): .git
---
>>> Checking for a Mercurial repository...
>>> Unable to execute "hg --help": skipping Mercurial
>>> Checking for a CVS repository...
>>> repository info: Path: CVS-SERVER:/home/cvs/src, Base path: None, Supports changesets: False
>>> Making HTTP GET request to http://example.com/api/
>>> Running: cvs diff -uN src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1:src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2
>>> Command exited with rc 1: ['cvs', 'diff', '-uN', 'src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1:src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2']
>>> Making HTTP GET request to http://example.com/api/validation/diffs/
>>> Cached response for HTTP GET http://example.com/api/validation/diffs/ expired and was modified
>>> Making HTTP POST request to http://example.com/api/validation/diffs/
>>> Got API Error 219 (HTTP code 400): The specified diff file is empty.
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u'The specified diff file is empty.', u'code': 219}}
Traceback (most recent call last):
File "C:\Program Files (x86)\RBTools\bin\..\Python27\Scripts\rbt-script.py", line 8, in <module>
load_entry_point('RBTools==0.7.5alpha0', 'console_scripts', 'rbt')()
File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\main.py", line 133, in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\__init__.py", line 622, in run_from_argv
exit_code = self.main(*args) or 0
File "C:\Program Files (x86)\RBTools\Python27\lib\site-packages\rbtools-0.7.5alpha0-py2.7.egg\rbtools\commands\post.py", line 754, in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff
The specified diff file is empty. (HTTP 400, API Error 219)
The link you mentioned is for posting diff for uncommited code for Perforce. Instead try this: https://www.reviewboard.org/docs/rbtools/0.7/rbt/commands/post/#posting-committed-code.
Try posting for a single file with -I option e.g.
rbt post -d -I src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.1:src/com/sibisoft/northstar/acc/ap/reports/ApReportUtil.java##1.1.4.27.4.2.12.8.2.3.4.1.4.2
If it does not work, pls post the complete debug log. If it works, try for both files with -I before each revision range.

how do I interpret patch output?

I am trying to manually apply some patches, and wonder if I am interpreting the last few lines correctly. Here they are:
patching file frameworks/opt/telephony/tests/telephonytests/src/com/android/internal /telephony/gsm/UsimDataDownloadCommands.java
Hunk #1 succeeded at 651 with fuzz 2 (offset 21 lines).
can't find file to patch at input line 404
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java b/packages/apps/Phone/src/com/android/phone/PhoneInterfaceMan
ager.java
|index 6600ae5..2ae6739 100644
|--- a/packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java
|+++ b/packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java
--------------------------
File to patch: smartcard-api.patch
was UsimDataDownloadCommands.java file patched ok? Fuzz means, the patch utility found the match for target string, but it was at a different line. Right?
What about PhoneInterfaceManager.java file? I do have this file in my directory. But I am not sure what to do with it as there is not associated reject file for me to use? What is the reference to line 404? Is that the line number in my patch?
Thanks