Hi All, Today I am after the making of packages with bitbake. I tried this http://releases.linaro.org/13.08/openembedded/aarch64 [Building from source tab]
mkdir openembedded cd openembedded git clone git://git.linaro.org/openembedded/jenkins-setup.git cd jenkins-setup git checkout release-13.08 cd .. sudo bash jenkins-setup/pre-build-root-install-dependencies.sh bash jenkins-setup/init-and-build.sh
All goes well unitl the last 'bash jen..' line
My host machine is an ubuntu 12.04 LTS My git is through a scosck (tsocks) and my loacl git command do a tsock /sur/bin/git.
Here is the output I got running this list oc commands. . . . cd openembedded CU82$ git clone git://git.linaro.org/openembedded/jenkins-setup.git Cloning into 'jenkins-setup'... remote: Counting objects: 548, done.K remote: Compressing objects: 100% (493/493), done.K remote: Total 548 (delta 315), reused 100 (delta 52)K Receiving objects: 100% (548/548), 69.41 KiB, done. Resolving deltas: 100% (315/315), done.
CU82$ cd jenkins-setup
CU82$ git checkout release-13.08 Note: checking out 'release-13.08'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5c740ba... remove toolchain-layer
CU82$ cd ..
CU82$ sudo bash jenkins-setup/pre-build-root-install-dependencies.sh Hit http://fr.archive.ubuntu.com precise Release.gpg Hit http://extras.ubuntu.com precise Release.gpg Hit http://extras.ubuntu.com precise Release . . . Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://security.ubuntu.com precise-security/universe Translation-en Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done chrpath is already the newest version. diffstat is already the newest version. gawk is already the newest version. git-core is already the newest version. texinfo is already the newest version. unzip is already the newest version. wget is already the newest version. build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version. bzip2 is already the newest version. cvs is already the newest version. libtool is already the newest version. patch is already the newest version. realpath is already the newest version. texi2html is already the newest version. bzr is already the newest version. desktop-file-utils is already the newest version. python is already the newest version. subversion is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
CU82$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8 Target architecture: armv8
gpg: keyring `/home/phi/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/phi/.repoconfig/gnupg/pubring.gpg' created gpg: /home/phi/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer repo@android.kernel.org" import ed gpg: key 338871A4: public key "Conley Owens cco3@android.com" imported gpg: Total number processed: 2 gpg: imported: 2 (RSA: 1)
remote: Counting objects: 24, done.K remote: Compressing objects: 100% (16/16), done.K remote: Total 24 (delta 8), reused 0 (delta 0)K Unpacking objects: 100% (24/24), done.
From git://git.linaro.org/openembedded/manifest
* [new branch] master -> origin/master * [new branch] release-13.07 -> origin/release-13.07 * [new branch] release-13.08 -> origin/release-13.08 * [new branch] yocto-lng -> origin/yocto-lng
Your Name [phi]:phi Your Email [phi@hpfrcu82.(none)]: phi.debian@gmail.com Your identity is: phi phi.debian@gmail.com is this correct [y/N]?y
Testing colorized output (for 'repo diff', 'repo status'): 30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m 36m cyan m 37;40m white m 1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m Enable color display in this user account (y/N)?N
I said no here as I don't use a xterm...
And the error now
repo has been initialized in /d1/arm64/openembedded 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
real 0m0.926s user 0m0.108s sys 0m0.028s jenkins-setup/init-and-build.sh: line 54: cd: poky: No such file or directory jenkins-setup/init-and-build.sh: line 57: oe-init-build-env: No such file or dir ectory jenkins-setup/functions.sh: line 49: conf/bblayers.conf: No such file or directo ry /d1/arm64/openembedded/../openembedded-core/meta: No such file or directory jenkins-setup/functions.sh: line 64: conf/bblayers.conf: No such file or directo ry jenkins-setup/functions.sh: line 72: conf/site.conf: No such file or directory jenkins-setup/functions.sh: line 126: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory df: `/var/lib/lightdm/.gvfs': Permission denied
plenty of space, no cleanup The BBPATH variable is not set
Any help appreciated :)
Cheers, Phi
Phi Debian phi.debian@gmail.com writes:
Hi All, Today I am after the making of packages with bitbake. I tried this http://releases.linaro.org/13.08/openembedded/aarch64 [Building from source tab]
mkdir openembedded cd openembedded git clone git://git.linaro.org/openembedded/jenkins-setup.git cd jenkins-setup git checkout release-13.08 cd .. sudo bash jenkins-setup/pre-build-root-install-dependencies.sh bash jenkins-setup/init-and-build.sh
All goes well unitl the last 'bash jen..' line
My host machine is an ubuntu 12.04 LTS My git is through a scosck (tsocks) and my loacl git command do a tsock /sur/bin/git.
Here is the output I got running this list oc commands. . . . cd openembedded CU82$ git clone git://git.linaro.org/openembedded/jenkins-setup.git Cloning into 'jenkins-setup'... remote: Counting objects: 548, done.K remote: Compressing objects: 100% (493/493), done.K remote: Total 548 (delta 315), reused 100 (delta 52)K Receiving objects: 100% (548/548), 69.41 KiB, done. Resolving deltas: 100% (315/315), done.
CU82$ cd jenkins-setup
CU82$ git checkout release-13.08 Note: checking out 'release-13.08'.
You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 5c740ba... remove toolchain-layer
CU82$ cd ..
CU82$ sudo bash jenkins-setup/pre-build-root-install-dependencies.sh Hit http://fr.archive.ubuntu.com precise Release.gpg Hit http://extras.ubuntu.com precise Release.gpg Hit http://extras.ubuntu.com precise Release . . . Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://security.ubuntu.com precise-security/universe Translation-en Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done chrpath is already the newest version. diffstat is already the newest version. gawk is already the newest version. git-core is already the newest version. texinfo is already the newest version. unzip is already the newest version. wget is already the newest version. build-essential is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done automake is already the newest version. bzip2 is already the newest version. cvs is already the newest version. libtool is already the newest version. patch is already the newest version. realpath is already the newest version. texi2html is already the newest version. bzr is already the newest version. desktop-file-utils is already the newest version. python is already the newest version. subversion is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
CU82$ bash jenkins-setup/init-and-build.sh
GCC version: 4.8 Target architecture: armv8
gpg: keyring `/home/phi/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/phi/.repoconfig/gnupg/pubring.gpg' created gpg: /home/phi/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer repo@android.kernel.org" import ed gpg: key 338871A4: public key "Conley Owens cco3@android.com" imported gpg: Total number processed: 2 gpg: imported: 2 (RSA: 1)
remote: Counting objects: 24, done.K remote: Compressing objects: 100% (16/16), done.K remote: Total 24 (delta 8), reused 0 (delta 0)K Unpacking objects: 100% (24/24), done. From git://git.linaro.org/openembedded/manifest
- [new branch] master -> origin/master
- [new branch] release-13.07 -> origin/release-13.07
- [new branch] release-13.08 -> origin/release-13.08
- [new branch] yocto-lng -> origin/yocto-lng
Your Name [phi]:phi Your Email [phi@hpfrcu82.(none)]: phi.debian@gmail.com Your identity is: phi phi.debian@gmail.com is this correct [y/N]?y
Testing colorized output (for 'repo diff', 'repo status'): 30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m 36m cyan m 37;40m white m 1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m Enable color display in this user account (y/N)?N
I said no here as I don't use a xterm...
And the error now
repo has been initialized in /d1/arm64/openembedded 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
real 0m0.926s user 0m0.108s sys 0m0.028s jenkins-setup/init-and-build.sh: line 54: cd: poky: No such file or directory jenkins-setup/init-and-build.sh: line 57: oe-init-build-env: No such file or dir ectory jenkins-setup/functions.sh: line 49: conf/bblayers.conf: No such file or directo ry /d1/arm64/openembedded/../openembedded-core/meta: No such file or directory jenkins-setup/functions.sh: line 64: conf/bblayers.conf: No such file or directo ry jenkins-setup/functions.sh: line 72: conf/site.conf: No such file or directory jenkins-setup/functions.sh: line 126: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory df: `/var/lib/lightdm/.gvfs': Permission denied
plenty of space, no cleanup The BBPATH variable is not set
Any help appreciated :)
I know this may not feel like help...
I just cut+paste from the instructions, as listed, and was able to start a build.
What's the output from:
$ which repo $ lsb_release -a
And, assuming you now have repo(1) installed, could you try the instructions again.
Cheers, Phi
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Hi Andrew,
On Wed, Sep 4, 2013 at 4:41 PM, Andrew McDermott andrew.mcdermott@linaro.org wrote:
I know this may not feel like help...
I just cut+paste from the instructions, as listed, and was able to start a build.
What's the output from:
$ which repo $ lsb_release -a
CU82$ /usr/bin/lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise
And, assuming you now have repo(1) installed, could you try the instructions again.
CU82$ dpkg -l | awk '{print $2}' | grep repo libgirepository-1.0-1 python-problem-report python-reportlab python-reportlab-accel
No sign of repo(1) and I saw no docco saying where to get it.
Any pointer ?
Cheers Phi
On Wed, Sep 4, 2013 at 9:35 PM, Phi Debian phi.debian@gmail.com wrote:
I found 1 rep in openembedded/.repo/repo/repo
What should I do with this?
'repo' is a tool initially developed for Android development, but it is not specific to Android. At Linaro we use repo to manage the OE source trees too.
To install repo, you need to follow the instructions here http://source.android.com/source/downloading.html.
I agree that this is missing from the Linaro ARMv8 release notes https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded, and it should be added.
I would recommend your remove everything, and restart with a fresh install of repo. i don't really understand your initial log error, tbh...
nico
Hi Nico,
Read your suggestion leds me to ~/bin didn't noticed the armv8 instruction do create this and indeed I d'ont get that in my PATH
Before redoing it from scratch, I give the armv8 dooc one more chance, just including ~/bin in my PATH and see what we got.
Cheers, Phi
On Wed, Sep 4, 2013 at 9:46 PM, Nicolas Dechesne
To install repo, you need to follow the instructions here http://source.android.com/source/downloading.html.
I agree that this is missing from the Linaro ARMv8 release notes https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded, and it should be added.
I would recommend your remove everything, and restart with a fresh install of repo. i don't really understand your initial log error, tbh...
nico
Well actually ~/bin was in my PATH, didn't noticed, was placed in /etc/profile at some point of time.
So I removed ~/bin/repo ~/.repo* openembedded and tried the androind path
Got the same question the repo ask (user name, email) and it failed the same way.
CU82$ m/platform/manifest -b android-4.0.1_r1 < .repo/manifests/: discarding 89 commits
Your Name [phi]: Your Email [phi.debian@gmail.com]:
Your identity is: phi phi.debian@gmail.com is this correct [y/N]? y
Testing colorized output (for 'repo diff', 'repo status'): 30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m 36m cyan m 37;40m white m 1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m Enable color display in this user account (y/N)? N
repo has been initialized in /d1/arm64/openembedded
CU82$ repo sync 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
The python error are the sams as the process I followed for armv8, I guess the armv8 process is close to make it, it must hide, all this manual setup of repo, but something is missing on my node that prevent repo the work correctly.
Actually I try to build ksh93, if one of you can build it, I got script that depend on it.
I do all this oe build only for that, I guess it will endup my a manual x compile :)
Cheers, Phi
Hi Phi,
On 09/04/2013 04:18 PM, Phi Debian wrote:
On Wed, Sep 4, 2013 at 9:46 PM, Nicolas Dechesne
To install repo, you need to follow the instructions here http://source.android.com/source/downloading.html.
I agree that this is missing from the Linaro ARMv8 release notes https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded, and it should be added.
I would recommend your remove everything, and restart with a fresh install of repo. i don't really understand your initial log error, tbh...
nico
Well actually ~/bin was in my PATH, didn't noticed, was placed in /etc/profile at some point of time.
So I removed ~/bin/repo ~/.repo* openembedded and tried the androind path
Got the same question the repo ask (user name, email) and it failed the same way.
CU82$ m/platform/manifest -b android-4.0.1_r1 < .repo/manifests/: discarding 89 commits
Your Name [phi]: Your Email [phi.debian@gmail.com]:
Your identity is: phi phi.debian@gmail.com is this correct [y/N]? y
Testing colorized output (for 'repo diff', 'repo status'): 30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m 36m cyan m 37;40m white m 1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m Enable color display in this user account (y/N)? N
repo has been initialized in /d1/arm64/openembedded
CU82$ repo sync 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
The python error are the sams as the process I followed for armv8, I guess the armv8 process is close to make it, it must hide, all this manual setup of repo, but something is missing on my node that prevent repo the work correctly.
To me the error looks like a git issue. You could try:
strace -fo mytrace repo sync
Then looking at what exactly repo is trying to exec (you can probably search for "execve.*git.*symbolic"), and then maybe see why that's failing.
Christopher
Hi Christopher,
On Wed, Sep 4, 2013 at 11:19 PM, Christopher Covington cov@codeaurora.org wrote:
To me the error looks like a git issue. You could try:
strace -fo mytrace repo sync
Then looking at what exactly repo is trying to exec (you can probably search for "execve.*git.*symbolic"), and then maybe see why that's failing.
Christopher
Well I cleanup up all repo thing and restarted the instal the armv8 way.
It goes ok up to
bash jenkins-setup/init-and-build.sh
Here I looked at that script tht is pretty short.
I executed each statement one by one, all is ok up to git_clone_update
This one goes to completion without any complain, asking name and email thing. then the next statement is
if [[ -d openembedded-core ]]; then cd openembedded-core else cd poky fi
Neither of thos dir are created at that point, so I suppose git_clone_update didn't made its job, but didn't say ainything about it.
After this point all goes wild.. Since the dir where not created the oe-init-build-dev is not defined the the source of it can't work etc...
Cheers, Phi
On 5 September 2013 09:00, Phi Debian phi.debian@gmail.com wrote:
Hi Christopher,
On Wed, Sep 4, 2013 at 11:19 PM, Christopher Covington cov@codeaurora.org wrote:
To me the error looks like a git issue. You could try:
strace -fo mytrace repo sync
Then looking at what exactly repo is trying to exec (you can probably search for "execve.*git.*symbolic"), and then maybe see why that's failing.
Christopher
Well I cleanup up all repo thing and restarted the instal the armv8 way.
It goes ok up to
bash jenkins-setup/init-and-build.sh
could you try to run the script from jenkins-setup dir: cd jenkins-setup bash init-and-build.sh
maybe there's some paths assumption in the script...
Here I looked at that script tht is pretty short.
I executed each statement one by one, all is ok up to git_clone_update
This one goes to completion without any complain, asking name and email thing. then the next statement is
if [[ -d openembedded-core ]]; then cd openembedded-core else cd poky fi
Neither of thos dir are created at that point, so I suppose git_clone_update didn't made its job, but didn't say ainything about it.
After this point all goes wild.. Since the dir where not created the oe-init-build-dev is not defined the the source of it can't work etc...
Cheers, Phi
Hi Fathi,
Cleaned up all repo things. re-did the process like this
mkdir openembedded cd openembedded git clone git://git.linaro.org/openembedded/jenkins-setup.git cd jenkins-setup git checkout release-13.08 # cd .. removed this then removed jenkins on the two following lines # sudo bash jenkins-setup/pre-build-root-install-dependencies.sh
sudo bash pre-build-root-install-dependencies.sh bash init-and-build.sh
Same punishment :) We always got git_clone_update (called from init-and-build.sh) that fail the same way, bottom of stack sayin
File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/project.py", line 2202, in runner p.stderr)) error.GitError: manifests symbolic-ref: usage: git symbolic-ref [options] name [ref]
=============================================== CU82$ bash init-and-build.sh
GCC version: 4.8 Target architecture: armv8
gpg: keyring `/home/phi/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/phi/.repoconfig/gnupg/pubring.gpg' created gpg: /home/phi/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer repo@android.kernel.org" import ed gpg: key 338871A4: public key "Conley Owens cco3@android.com" imported gpg: Total number processed: 2 gpg: imported: 2 (RSA: 1)
remote: Counting objects: 24, done.K remote: Compressing objects: 100% (16/16), done.K remote: Total 24 (delta 8), reused 0 (delta 0)K Unpacking objects: 100% (24/24), done.
From git://git.linaro.org/openembedded/manifest
* [new branch] master -> origin/master * [new branch] release-13.07 -> origin/release-13.07 * [new branch] release-13.08 -> origin/release-13.08 * [new branch] yocto-lng -> origin/yocto-lng
Your Name [phi]: Your Email [phi@hpfrcu82.(none)]: phi.debian@gmail.com
Your identity is: phi phi.debian@gmail.com is this correct [y/N]? y
Testing colorized output (for 'repo diff', 'repo status'): 30m black m 31m red m 32m green m 33m yellow m 34m blue m 35m magenta m 36m cyan m 37;40m white m 1;30m bold m 2;30m dim m 4;30m ul m 7;30m reverse m Enable color display in this user account (y/N)? N
repo has been initialized in /d1/arm64/openembedded/jenkins-setup Traceback (most recent call last): File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/main.py", line 414, in < module> _Main(sys.argv[1:]) File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/main.py", line 390, in _ Main result = repo._Run(argv) or 0 File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/main.py", line 138, in _ Run result = cmd.Execute(copts, cargs) File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/subcmds/sync.py", line 5 67, in Execute no_tags=opt.no_tags) File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/project.py", line 1015, in Sync_NetworkHalf self._InitMRef() File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/project.py", line 1937, in _InitMRef self._InitAnyMRef(R_M + self.manifest.branch) File "/d1/arm64/openembedded/jenkins-setup/.repo/repo/project.py", line 1955, in _InitAnyMRef self.bare_git.symbolic_ref('-m', msg, ref, dst) File "/d1/arm64/openembedded/jenkins-setup/.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
real 0m0.923s user 0m0.092s sys 0m0.036s init-and-build.sh: line 54: cd: poky: No such file or directory init-and-build.sh: line 57: oe-init-build-env: No such file or directory ./functions.sh: line 49: conf/bblayers.conf: No such file or directory /d1/arm64/openembedded/jenkins-setup/../openembedded-core/meta: No such file or directory ./functions.sh: line 64: conf/bblayers.conf: No such file or directory ./functions.sh: line 72: conf/site.conf: No such file or directory ./functions.sh: line 126: conf/site.conf: No such file or directory sed: can't read conf/local.conf: No such file or directory df: `/var/lib/lightdm/.gvfs': Permission denied
plenty of space, no cleanup The BBPATH variable is not set
Hi Chrstopher
Here is the execve from mytrace
CU82$ type python python is a tracked alias for /usr/bin/python
CU82$ python --version Python 2.7.3
CU82$ grep execve mytrace 20735 execve("/home/phi/bin/repo", ["repo", "sync"], [/* 29 vars */]) = 0 20735 execve("./python", ["python", "/home/phi/bin/repo", "sync"], [/* 29 vars * /]) = -1 ENOENT (No such file or directory) 20735 execve("/home/phi/util/python", ["python", "/home/phi/bin/repo", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/home/phi/bin/python", ["python", "/home/phi/bin/repo", "sync"], [ /* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/local/sbin/python", ["python", "/home/phi/bin/repo", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/local/bin/python", ["python", "/home/phi/bin/repo", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/sbin/python", ["python", "/home/phi/bin/repo", "sync"], [/* 2 9 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/bin/python", ["python", "/home/phi/bin/repo", "sync"], [/* 29 vars */]) = 0 20735 execve("/d1/arm64/openembedded/.repo/repo/main.py", ["/d1/arm64/openembedd ed/.repo/rep"..., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19 ", "--wrapper-path=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = 0 20735 execve("./python", ["python", "/d1/arm64/openembedded/.repo/rep"..., "--re po-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrapper-path=/hom e/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/home/phi/util/python", ["python", "/d1/arm64/openembedded/.repo/r ep"..., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrap per-path=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/home/phi/bin/python", ["python", "/d1/arm64/openembedded/.repo/re p"..., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrapp er-path=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No s uch file or directory) 20735 execve("/usr/local/sbin/python", ["python", "/d1/arm64/openembedded/.repo/ rep"..., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wra pper-path=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/local/bin/python", ["python", "/d1/arm64/openembedded/.repo/r ep"..., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrap per-path=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/sbin/python", ["python", "/d1/arm64/openembedded/.repo/rep".. ., "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrapper-p ath=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20735 execve("/usr/bin/python", ["python", "/d1/arm64/openembedded/.repo/rep"... , "--repo-dir=/d1/arm64/openembedde"..., "--wrapper-version=1.19", "--wrapper-pa th=/home/phi/bin/rep"..., "--", "sync"], [/* 29 vars */]) = 0 20736 execve("./git", ["git", "config", "--file", "/home/phi/.gitconfig", "--nul l", "--list"], [/* 29 vars */]) = -1 ENOENT (No such file or directory) 20736 execve("/home/phi/util/git", ["git", "config", "--file", "/home/phi/.gitco nfig", "--null", "--list"], [/* 29 vars */]) = 0 20737 execve("/usr/bin/tsocks", ["tsocks", "/usr/bin/git", "config", "--file", " /home/phi/.gitconfig", "--null", "--list"], [/* 29 vars */] <unfinished ...> 20737 <... execve resumed> ) = 0 20737 execve("/usr/bin/git", ["/usr/bin/git", "config", "--file", "/home/phi/.gi tconfig", "--null", "--list"], [/* 30 vars */]) = 0 20738 execve("./git", ["git", "fetch", "origin", "--tags", "+refs/heads/*:refs/r emotes/origi"...], [/* 30 vars */]) = -1 ENOENT (No such file or directory) 20738 execve("/home/phi/util/git", ["git", "fetch", "origin", "--tags", "+refs/h eads/*:refs/remotes/origi"...], [/* 30 vars */]) = 0 20739 execve("/usr/bin/tsocks", ["tsocks", "/usr/bin/git", "fetch", "origin", "- -tags", "+refs/heads/*:refs/remotes/origi"...], [/* 30 vars */] <unfinished ...>
20739 <... execve resumed> ) = 0 20739 execve("/usr/bin/git", ["/usr/bin/git", "fetch", "origin", "--tags", "+ref s/heads/*:refs/remotes/origi"...], [/* 31 vars */]) = 0 20740 execve("/usr/lib/git-core/git", ["git", "rev-list", "--verify-objects", "- -stdin", "--not", "--all", "--quiet"], [/* 32 vars */]) = 0 20741 execve("/usr/lib/git-core/git", ["git", "rev-list", "--verify-objects", "- -stdin", "--not", "--all"], [/* 32 vars */]) = 0 20742 execve("./git", ["git", "symbolic-ref", "-m", "manifest set to master", "r efs/remotes/m/master", "refs/remotes/origin/master"], [/* 30 vars */]) = -1 ENOE NT (No such file or directory) 20742 execve("/home/phi/util/git", ["git", "symbolic-ref", "-m", "manifest set t o master", "refs/remotes/m/master", "refs/remotes/origin/master"], [/* 30 vars * /]) = 0 20743 execve("/usr/bin/tsocks", ["tsocks", "/usr/bin/git", "symbolic-ref", "-m", "manifest", "set", "to", "master", "refs/remotes/m/master", "refs/remotes/origi n/master"], [/* 30 vars */] <unfinished ...> 20743 <... execve resumed> ) = 0 20743 execve("/usr/bin/git", ["/usr/bin/git", "symbolic-ref", "-m", "manifest", "set", "to", "master", "refs/remotes/m/master", "refs/remotes/origin/master"], [ /* 31 vars */]) = 0
Cheers Phi
Just for the record in case it helps diagnose this
I setup "set -x" into ./jenkins-setup/functions.sh::git_clone_update()
It shows the 2 repo invocations
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 --quiet -j3
I ran strace on that later as asked by Christopher.
From there repo sync can be run multiple times with always the same error.
I also run it like this
CU82$ 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]
I am python ignorant and dunno how to check what project.py:2202 is doing
Nicolas Dechesne nicolas.dechesne@linaro.org writes:
On Wed, Sep 4, 2013 at 9:35 PM, Phi Debian phi.debian@gmail.com wrote:
I found 1 rep in openembedded/.repo/repo/repo
What should I do with this?
'repo' is a tool initially developed for Android development, but it is not specific to Android. At Linaro we use repo to manage the OE source trees too.
To install repo, you need to follow the instructions here http://source.android.com/source/downloading.html.
I agree that this is missing from the Linaro ARMv8 release notes https://wiki.linaro.org/HowTo/ARMv8/OpenEmbedded, and it should be added.
repo get installed automatically when the `pre-build-root-install-dependencies.sh' is run:
$ tail -5 pre-build-root-install-dependencies.sh
# Get latest repo script and install it in PATH (use our mirror of repo) test -d $HOME/bin || mkdir -p $HOME/bin wget -cq --no-check-certificate "http://android.git.linaro.org/gitweb?p=tools/repo.git%3Ba=blob_plain%3Bf=rep..." -O $HOME/bin/repo chmod a+x $HOME/bin/repo
I would recommend your remove everything, and restart with a fresh install of repo. i don't really understand your initial log error, tbh...
nico _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
On Thu, Sep 5, 2013 at 9:47 AM, Andrew McDermott
repo get installed automatically when the `pre-build-root-install-dependencies.sh' is run:
$ tail -5 pre-build-root-install-dependencies.sh
# Get latest repo script and install it in PATH (use our mirror of repo) test -d $HOME/bin || mkdir -p $HOME/bin wget -cq --no-check-certificate "http://android.git.linaro.org/gitweb?p=tools/repo.git%3Ba=blob_plain%3Bf=rep..." -O $HOME/bin/repo chmod a+x $HOME/bin/repo
That's true, but it doens't explain why repo sync fail later...
My cleanup process ro remove ~/.repo* ~/bin/repo, so each time I redo the procedure to get this openembeded thiong working I start with a brand new hierachy...
Phi Debian phi.debian@gmail.com writes:
On Thu, Sep 5, 2013 at 9:47 AM, Andrew McDermott
repo get installed automatically when the `pre-build-root-install-dependencies.sh' is run:
$ tail -5 pre-build-root-install-dependencies.sh
# Get latest repo script and install it in PATH (use our mirror of repo) test -d $HOME/bin || mkdir -p $HOME/bin wget -cq --no-check-certificate "http://android.git.linaro.org/gitweb?p=tools/repo.git%3Ba=blob_plain%3Bf=rep..." -O $HOME/bin/repo chmod a+x $HOME/bin/repo
That's true, but it doens't explain why repo sync fail later...
My cleanup process ro remove ~/.repo* ~/bin/repo, so each time I redo the procedure to get this openembeded thiong working I start with a brand new hierachy...
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
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:]) 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
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
NO LD_LIBRARY_PATH
PATH=.:/home/phi/util:/home/phi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/us r/bin:/sbin:/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin:/usr/local/bin/X11:/d 1/armv64/tch/bin
Did the repo init in /tmp using ~/bin/repo (from armv8 clean install) then instead of doing
bash jenkins-setup/init-and-build.sh
I did
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
then both repo sync OR newlyinstalled /tmp/.repo/repo/repo sync give teh same error
CU82$ /tmp/.repo/repo/repo sync Traceback (most recent call last): File "/tmp/.repo/repo/main.py", line 414, in <module> _Main(sys.argv[1:]) File "/tmp/.repo/repo/main.py", line 390, in _Main result = repo._Run(argv) or 0 File "/tmp/.repo/repo/main.py", line 138, in _Run result = cmd.Execute(copts, cargs) File "/tmp/.repo/repo/subcmds/sync.py", line 567, in Execute no_tags=opt.no_tags) File "/tmp/.repo/repo/project.py", line 1015, in Sync_NetworkHalf self._InitMRef() File "/tmp/.repo/repo/project.py", line 1937, in _InitMRef self._InitAnyMRef(R_M + self.manifest.branch) File "/tmp/.repo/repo/project.py", line 1955, in _InitAnyMRef self.bare_git.symbolic_ref('-m', msg, ref, dst) File "/tmp/.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
Phi Debian phi.debian@gmail.com writes:
NO LD_LIBRARY_PATH
PATH=.:/home/phi/util:/home/phi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/us r/bin:/sbin:/bin:/usr/games:/sbin:/usr/sbin:/usr/local/bin:/usr/local/bin/X11:/d 1/armv64/tch/bin
If you set PATH to:
$ export PATH=/usr/sbin:/usr/bin:/sbin:/bin:/home/phi/bin
and try again does it make any difference?
Did the repo init in /tmp using ~/bin/repo (from armv8 clean install) then instead of doing
bash jenkins-setup/init-and-build.sh
I did
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
then both repo sync OR newlyinstalled /tmp/.repo/repo/repo sync give teh same error
CU82$ /tmp/.repo/repo/repo sync Traceback (most recent call last): File "/tmp/.repo/repo/main.py", line 414, in <module> _Main(sys.argv[1:]) File "/tmp/.repo/repo/main.py", line 390, in _Main result = repo._Run(argv) or 0 File "/tmp/.repo/repo/main.py", line 138, in _Run result = cmd.Execute(copts, cargs) File "/tmp/.repo/repo/subcmds/sync.py", line 567, in Execute no_tags=opt.no_tags) File "/tmp/.repo/repo/project.py", line 1015, in Sync_NetworkHalf self._InitMRef() File "/tmp/.repo/repo/project.py", line 1937, in _InitMRef self._InitAnyMRef(R_M + self.manifest.branch) File "/tmp/.repo/repo/project.py", line 1955, in _InitAnyMRef self.bare_git.symbolic_ref('-m', msg, ref, dst) File "/tmp/.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
On Thu, Sep 5, 2013 at 12:22 PM, Andrew McDermott andrew.mcdermott@linaro.org wrote:
If you set PATH to:
$ export PATH=/usr/sbin:/usr/bin:/sbin:/bin:/home/phi/bin
and try again does it make any difference?
Yes it hangs
So that's lead me to add /home/phi/util in the PATH and then double checking I don't introduce unwanted colision
CU82$ ls /home/phi/util/ a64 a64~ git
CU82$ more /home/phi/util/git #! /usr/bin/ksh tsocks /usr/bin/git $@
Ouch reading this I see the problem, and it is with a red face that I admit my little contribution with this setup was this 2 lines script I did once to get my initial kernel source grab and relied upon.
The error.GitError: manifests symbolic-ref: usage: git symbolic-ref [options] all of the sudden make sense, the git runstring is garbled.
tsocks /usr/bin/git "$@"
Is the answer :)
Thank you all for your patience and leading me to the solution.
Let's go bitcake now :)
Cheers, Phi