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