Phi Debian phi.debian@gmail.com writes:
On Thu, Sep 5, 2013 at 10:34 AM, Andrew McDermott andrew.mcdermott@linaro.org wrote:
Does the repo sync work outside of the Linaro scripts?
What's the output from:
$ PATH=$PATH:~/bin $ cd /tmp $ repo init --quiet -u git://git.linaro.org/openembedded/manifest.git -b \ master -m default.xml --repo-url=git://android.git.linaro.org/tools/repo $ repo sync
No I already did run this way to get the strace
repo init run ok then reposync fail.
CU82$ repo sync Traceback (most recent call last): File "/d1/arm64/openembedded/.repo/repo/main.py", line 414, in <module> _Main(sys.argv[1:])
Does initializing it and running it in /tmp make any difference?
Also, could you:
$ echo $PATH $ echo $LD_LIBRARY_PATH
File "/d1/arm64/openembedded/.repo/repo/main.py", line 390, in _Main result = repo._Run(argv) or 0 File "/d1/arm64/openembedded/.repo/repo/main.py", line 138, in _Run result = cmd.Execute(copts, cargs) File "/d1/arm64/openembedded/.repo/repo/subcmds/sync.py", line 567, in Execute
no_tags=opt.no_tags)
File "/d1/arm64/openembedded/.repo/repo/project.py", line 1015, in Sync_Networ kHalf self._InitMRef() File "/d1/arm64/openembedded/.repo/repo/project.py", line 1937, in _InitMRef self._InitAnyMRef(R_M + self.manifest.branch) File "/d1/arm64/openembedded/.repo/repo/project.py", line 1955, in _InitAnyMRe f self.bare_git.symbolic_ref('-m', msg, ref, dst) File "/d1/arm64/openembedded/.repo/repo/project.py", line 2202, in runner p.stderr)) error.GitError: manifests symbolic-ref: usage: git symbolic-ref [options] name [ ref]
-q, --quiet suppress error message for non-symbolic (detached) ref
s -m <reason> reason of the update
And with all traces
CU82$ repo -help Usage: repo [-p|--paginate|--no-pager] COMMAND [ARGS]
Options: -h, --help show this help message and exit -p, --paginate display command output in the pager --no-pager disable the pager --trace trace git command execution --time time repo command execution --version display this version of repo
CU82$ strace -fo mytrace repo --trace sync : unpickle /d1/arm64/openembedded/.repo/manifests.git/config : git config --file /home/phi/.gitconfig --null --list 1>| 2>| : unpickle /d1/arm64/openembedded/.repo/repo/.git/config : export GIT_DIR=/d1/arm64/openembedded/.repo/manifests.git : git fetch origin --tags +refs/heads/*:refs/remotes/origin/* : load refs /d1/arm64/openembedded/.repo/manifests.git : git symbolic-ref -m manifest set to master refs/remotes/m/master refs/remotes/ origin/master 1>| 2>| Traceback (most recent call last): File "/d1/arm64/openembedded/.repo/repo/main.py", line 414, in <module> _Main(sys.argv[1:]) File "/d1/arm64/openembedded/.repo/repo/main.py", line 390, in _Main result = repo._Run(argv) or 0 File "/d1/arm64/openembedded/.repo/repo/main.py", line 138, in _Run result = cmd.Execute(copts, cargs) File "/d1/arm64/openembedded/.repo/repo/subcmds/sync.py", line 567, in Execute
no_tags=opt.no_tags)
File "/d1/arm64/openembedded/.repo/repo/project.py", line 1015, in Sync_Networ kHalf self._InitMRef() File "/d1/arm64/openembedded/.repo/repo/project.py", line 1937, in _InitMRef self._InitAnyMRef(R_M + self.manifest.branch) File "/d1/arm64/openembedded/.repo/repo/project.py", line 1955, in _InitAnyMRe f self.bare_git.symbolic_ref('-m', msg, ref, dst) File "/d1/arm64/openembedded/.repo/repo/project.py", line 2202, in runner p.stderr)) error.GitError: manifests symbolic-ref: usage: git symbolic-ref [options] name [ ref]
-q, --quiet suppress error message for non-symbolic (detached) ref
s -m <reason> reason of the update