Hi, using my own .bb file I was trying to download u-boot-am33x from the following link : http://arago-project.org/git/projects/?p=u-boot-am33x.git;a=commit;h=d0e52e5b10ce05ddcee0a53bcdcbaeff70002d95In the u-boot-am33x.bb i set the SRC_URL as follows : SRCREV = "d0e52e5b10ce05ddcee0a53bcdcbaeff70002d95" SRC_URI = "http://arago-project.org/git/projects/?p=u-boot-am33x.git;protocol=git;branch=master"but when i run the bitbake for u-boot-am33x I am getting errors,showing do-fetch failed.please refer below for error logs.Any suggestions would be helpful. utc-arago@utc-arago-desktop:~/oe$ utc-arago@utc-arago-desktop:~/oe$ MACHINE=am335x-evm bitbake --buildfile=u-boot-am33xBuild Configuration:BB_VERSION = "1.10.2"METADATA_BRANCH = "master"METADATA_REVISION = "da378da"TARGET_ARCH = "arm"TARGET_OS = "linux-gnueabi"MACHINE = "am335x-evm"DISTRO = "angstrom"DISTRO_VERSION = "2011.09"TARGET_FPU = "hard"--2012-04-04 17:36:42-- http://arago-project.org/git/projects/?p=u-boot-am33x.gitResolving arago-project.org... 184.73.161.183Connecting to arago-project.org|184.73.161.183|:80... NOTE: Preparing runqueueNOTE: Executing runqueueconnected.HTTP request sent, awaiting response... NOTE: Running task 2 of 19 (ID: 9, /home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb, do_fetch)NOTE: package u-boot-am33x-1.0-r12: task do_fetch: StartedNOTE: fetch http://arago-project.org/git/projects/?p=u-boot-am33x.git200 OKLength: unspecified [text/html]Saving to: `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.8' 0K .......... .......... ....... 28.0K=1.0s2012-04-04 17:36:46 (28.0 KB/s) - `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.8' saved [28123]--2012-04-04 17:36:46-- http://mirrors.openembedded.org//?p=u-boot-am33x.gitResolving mirrors.openembedded.org... NOTE: fetch http://mirrors.openembedded.org//?p=u-boot-am33x.git82.197.159.157Connecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection timed out.Retrying.--2012-04-04 17:37:09-- (try: 2) http://mirrors.openembedded.org//?p=u-boot-am33x.gitConnecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection timed out.Retrying.--2012-04-04 17:37:32-- (try: 3) http://mirrors.openembedded.org//?p=u-boot-am33x.gitConnecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection timed out.Retrying.--2012-04-04 17:37:56-- (try: 4) http://mirrors.openembedded.org//?p=u-boot-am33x.gitConnecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection timed out.Retrying.--2012-04-04 17:38:21-- (try: 5) http://mirrors.openembedded.org//?p=u-boot-am33x.gitConnecting to mirrors.openembedded.org|82.197.159.157|:80... failed: Connection timed out.Giving up.--2012-04-04 17:38:42-- http://sources.openembedded.org//?p=u-boot-am33x.gitResolving sources.openembedded.org... NOTE: fetch http://sources.openembedded.org//?p=u-boot-am33x.git140.211.169.152Connecting to sources.openembedded.org|140.211.169.152|:80... connected.HTTP request sent, awaiting response... 200 OKLength: 50 [text/plain]Saving to: `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.9' 0K 100% 4.69M=0s2012-04-04 17:38:44 (4.69 MB/s) - `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.9' saved [50/50]--2012-04-04 17:38:44-- http://www.angstrom-distribution.org/unstable/sources/?p=u-boot-am33x.gitResolving www.angstrom-distribution.org... 188.40.83.200Connecting to www.angstrom-distribution.org|188.40.83.200|:80... NOTE: fetch http://www.angstrom-distribution.org/unstable/sources/?p=u-boot-am33x.gitconnected.HTTP request sent, awaiting response... 200 OKLength: 52970 (52K) [text/html]Saving to: `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.10' 0K .......... .......... .......... .......... .......... 96% 8.12K 0s 50K . 100% 2.72K=6.8s2012-04-04 17:38:52 (7.61 KB/s) - `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.10' saved [52970/52970]--2012-04-04 17:38:52-- http://arago-project.org/files/sources/?p=u-boot-am33x.gitResolving arago-project.org... 184.73.161.183Connecting to arago-project.org|184.73.161.183|:80... NOTE: fetch http://arago-project.org/files/sources/?p=u-boot-am33x.gitconnected.HTTP request sent, awaiting response... 200 OKLength: unspecified [text/html]Saving to: `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.11' 0K .......... ... 43.4K=0.3s2012-04-04 17:38:53 (43.4 KB/s) - `/home/utc-arago/oe/downloads/index.html?p=u-boot-am33x.git.11' saved [13560]ERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb do_fetch failedERROR: Task 9 (/home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb' failedNOTE: Task failed: Fetch failed: Unable to fetch URL http://arago-project.org/git/projects/?p=u-boot-am33x.git;a=commit;protocol=git;branch=master from any source.NOTE: package u-boot-am33x-1.0-r12: task do_fetch: FailedERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb do_fetch failedERROR: Task 9 (/home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago-oe-dev/recipes/U-bootbitbake/u-boot-am33x.bb' failedutc-arago@utc-arago-desktop:~/oe$
Surendra Dhobale
Try setting your SRC_URI to use git://.......
SRC_URI = "git://arago-project.org/git/projects/?p=u-boot-am33x.git;protocol=git;branch=master"
Chase
Hi chase,
Thanks for the reply.Ya, I forgot to change the http protocol before. But after I changed it,
its showing me different error that,the remote end hung up unexpectedly . I tried to clone it mannually,
using
git clone git://arago-project.org/git/projects/?p=u-boot-am33x.git;protocol=git;branch=master
but same above mentioned error is showing up.I do have similar kind of errors with two more recipe files:
i) qt-patientcare_1.0.bb
ii) rt-tests_git.bb
i) with qt-patientcare_1.0.bb , where SRC_URI is set as below :
BRANCH ?= "master"SRCREV = "ceb38cf2a0af923d79f64ccc4359c1ad401954ff"SRC_URI = "git://arago-project.org/git/projects/qt4-demos.git;protocol=git;branch=${BRANCH}"
but after running the command MACHINE=am335x-evm bitbake --buildfile=qt-patientcare_1.0
,i am getting below errors ::
utc-arago@utc-arago-desktop:~/oe$ MACHINE=am335x-evm bitbake --buildfile=qt-patientcare_1.0Build Configuration:BB_VERSION = "1.10.2"METADATA_BRANCH = "master"METADATA_REVISION = "da378da"TARGET_ARCH = "arm"TARGET_OS = "linux-gnueabi"MACHINE = "am335x-evm"DISTRO = "angstrom"DISTRO_VERSION = "2011.09"TARGET_FPU = "hard"--2012-04-05 11:38:04-- http://www.angstrom-distribution.org/unstable/sources/git_arago-project.org.git.projects.qt4-demos.git_ceb38cf2a0af923d79f64ccc4359c1ad401954ff.tar.gzResolving www.angstrom-distribution.org... NOTE: Preparing runqueueNOTE: Executing runqueueNOTE: Running task 2 of 19 (ID: 8, /home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb, do_fetch)NOTE: package qt-patientcare-1.0-r0.0: task do_fetch: StartedNOTE: fetch http://www.angstrom-distribution.org/unstable/sources/git_arago-project.org.git.projects.qt4-demos.git_ceb38cf2a0af923d79f64ccc4359c1ad401954ff.tar.gz188.40.83.200Connecting to www.angstrom-distribution.org|188.40.83.200|:80... connected.HTTP request sent, awaiting response... 404 Not Found2012-04-05 11:38:06 ERROR 404: Not Found.From git://arago-project.org/git/projects/qt4-demos * branch master -> FETCH_HEADNOTE: Creating tarball of git repositoryfatal: failed to unpack tree object ceb38cf2a0af923d79f64ccc4359c1ad401954ffERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb do_fetch failedERROR: Task 8 (/home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb' failedNOTE: Task failed: Fetch failed: Unable to fetch URL git://arago-project.org/git/projects/qt4-demos.git;protocol=git;branch=master from any source.NOTE: package qt-patientcare-1.0-r0.0: task do_fetch: FailedERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb do_fetch failedERROR: Task 8 (/home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago/recipes/ti/qt-patientcare_1.0.bb' failedutc-arago@utc-arago-desktop:~/oe$
ii) with rt-tests_git.bb , where SRC_URI is set as below :
SRCREV = "42ab9e7cd259fae674dc2b2aa2962caaf8f09409"PV = "0.51+${PR}+gitr${SRCREV}"SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests;protocol=git" but after running the command MACHINE=am335x-evm bitbake --buildfile=rt-tests_git
,i am getting below errors :
utc-arago@utc-arago-desktop:~/oe$ MACHINE=am335x-evm bitbake --buildfile=rt-tests_gitBuild Configuration:BB_VERSION = "1.10.2"METADATA_BRANCH = "master"METADATA_REVISION = "da378da"TARGET_ARCH = "arm"TARGET_OS = "linux-gnueabi"MACHINE = "am335x-evm"DISTRO = "angstrom"DISTRO_VERSION = "2011.09"TARGET_FPU = "hard"NOTE: Preparing runqueueNOTE: Executing runqueueNOTE: Running task 1 of 18 (ID: 10, /home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb, do_setscene)--2012-04-05 11:57:51-- http://www.angstrom-distribution.org/unstable/sources/git_git.kernel.org.pub.scm.linux.kernel.git.tglx.rt-tests_42ab9e7cd259fae674dc2b2aa2962caaf8f09409.tar.gzResolving www.angstrom-distribution.org... NOTE: package rt-tests-0.51+r0+gitr42ab9e7cd259fae674dc2b2aa2962caaf8f09409-r0: task do_setscene: StartedNOTE: package rt-tests-0.51+r0+gitr42ab9e7cd259fae674dc2b2aa2962caaf8f09409-r0: task do_setscene: Succeeded188.40.83.200Connecting to www.angstrom-distribution.org|188.40.83.200|:80... NOTE: Running task 2 of 18 (ID: 8, /home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb, do_fetch)connected.HTTP request sent, awaiting response... NOTE: package rt-tests-0.51+r0+gitr42ab9e7cd259fae674dc2b2aa2962caaf8f09409-r0: task do_fetch: StartedNOTE: fetch http://www.angstrom-distribution.org/unstable/sources/git_git.kernel.org.pub.scm.linux.kernel.git.tglx.rt-tests_42ab9e7cd259fae674dc2b2aa2962caaf8f09409.tar.gz404 Not Found2012-04-05 11:57:52 ERROR 404: Not Found.fatal: The remote end hung up unexpectedlyCloning into /home/utc-arago/oe/downloads/git/git.kernel.org.pub.scm.linux.kernel.git.tglx.rt-tests...ERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb do_fetch failedERROR: Task 8 (/home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb' failedNOTE: Task failed: Fetch failed: Unable to fetch URL git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests;protocol=git from any source.NOTE: package rt-tests-0.51+r0+gitr42ab9e7cd259fae674dc2b2aa2962caaf8f09409-r0: task do_fetch: FailedERROR: TaskFailed event exception, abortingERROR: Build of /home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb do_fetch failedERROR: Task 8 (/home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb, do_fetch) failed with exit code 1ERROR: '/home/utc-arago/oe/arago-oe-dev/recipes/rt-tests/rt-tests_git.bb' failedutc-arago@utc-arago-desktop:~/oe$
How to resolve this issue??? arago-tisdk-image is not getting build up because of these 2 packages.Any suggestions
would be helpful from your side :)
Thanks in advance,
Surendra
Surendra,
You may want to try your clone again. Sometimes the arago server can get loaded with requests but I am able to do the clone myself this morning.
I tried it for several times but every time its showing me the same error.
MACHINE=am335x-evm bitbake --buildfile=qt-patientcare_1.0
MACHINE=am335x-evm bitbake --buildfile=rt-tests_git
Above 2 packages are not getting fetched from the source repository.The
arago-tisdk-image is not getting build up because of this.One more query, why the
SRC_URI is getting redirected to
http://www.angstrom-distribution.org/unstable/sources/.............
I visited those links which shows the page doesnt exist.How to resolve
this issue??Thanks for your patience reply :)
I'm not sure about the --buildfile usage above.
As for the SRC_URI redirection, that is the result of source mirroring. The fetch will look to the mirrors first to see if the package exists there first, if not then it will fall back to cloning the repository.
I have just done a fetch of both of these repositories with no issue. Are you sure you have your GIT proxy setup correctly?
Hi,
why don't you try giving the command through command line, give the following command it works I have tried it works,
/ti/am33x# git clone git://arago-project.org/git/projects/u-boot-am33x.gitCloning into u-boot-am33x...remote: Counting objects: 154797, done.remote: Compressing objects: 100% (28825/28825), done.
.....
Similarly you can clone other repositories, just change the the git path of the repo you want to clone.
ex: git clone git://arago-project.org/git/projects/qt4-demos.git
Thx,
--Prabhakar Lad
Thanks for the reply.Chase, my intention was to create ipks using bitbake file.For other packages
using the command MACHINE=am335x-evm bitbake --buildfile=<recipe name> , I was
able to did the same.In this procedure the downloads folder gets populated with the package.tar.gz
and corresponding package.tar.gz.md5. If i clone the qt-patientcare_1.0 using the git clone,
git clone git://arago-project.org/git/projects/qt4-demos.git;protocol=git;branch=master
qt4-demos folder gets cloned.But there is no .tar.gz or .md5 for that folder.
My query is that, how to work with that;i mean where to keep it (in downloads
folder) and how to create .ipks out of it?? My final aim is to build the rtfs for arago-tisdk-image,
MACHINE=am335x-evm bitbake --buildfile=arago-tisdk-image
but in the middle of this building procedure its getting failed due to qt-patientcare_1.0.bb and rt-tests_git.bb.
Prabhakar, rt-tests_git is not getting cloned using the git clone.How to resolve this issue for achieving build
automation???
Thanks,
--Surendra
which branch are you trying to clone ? Can you post the link of it..
hi Prabhakar,
I have posted the rt-tests_git.bb file below.I need to create the .ipks using the .bb file.
My query is that how come manual cloning is going to help me.For building rtfs I need these .ipk
creations automatically to be done.How to resolve this issue??
-------------------------------------------------- rt-tests_git.bb-----------------------------------------------------------
DESCRIPTION = "Real-time tests, such as cyclictest, for real-time linux PREEMPT RT kernels"HOMEPAGE = "http://rt.wiki.kernel.org/index.php/Cyclictest"LICENSE = "GPL"PR = "r0"SRCREV = "42ab9e7cd259fae674dc2b2aa2962caaf8f09409"PV = "0.51+${PR}+gitr${SRCREV}"SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests;protocol=git"S = "${WORKDIR}/git"# Limit to cyclictest only for non-real-time kernels.# EXTRA_OEMAKE = "cyclictest"TARGET_CC_ARCH += "${LDFLAGS}"do_install() { install -d ${D}${bindir} # any file that is executable by user and/or group for binary in `find . -perm /u+x,g+x -type f` do install -m 0755 $binary ${D}${bindir} done}
------------------------------------------------------------------------------------------------------------------------------
thanks,
--surendra
I just realized that you are trying to build qt-patientcare. That has been pulled in the qt4-demos repository. the arago meta data was also updated in the next branch to remove this but has not yet been merged into master. Please checkout the next branch of the arago repository because qt-patientcare has been removed there and rt-tests has been updated there.
You can do this with
git branch --track next origin/next
git checkout next
Thanks.Yes,you were right.In next branch arago-tisdk-image is now getting build up.
Right now I am trying to customize default arago-tisdk-image rtfs. I need to add some
additional packages and need to delete unwanted ones.In arago/recipes/tasks recipe files
by adding the .ipk package names I can do addition.But i am not sure about deletion process.
I mean, I cross checked all 9 task recipe files contents (mentioned in arago-tisdk-image.bb )
manually with installed-packages.txt (arago-tmp/deploy/glibc/images/am335x-evm/arago-tisdk-image-glibc-ipk-2011.09-am335x-evm-testlab/)
and find out additional 537 .ipk package names,about which i don't know how did they get
incorporated in the installed-packages.txt. Because they were not specifically mentioned in those
9 task recipe files.
examples:
angstrom-version_1:2011.09-r7.6_am335x-evm.ipkarago-gpl-notice_1.0-r2.6_all.ipkbc_1.06-r2.6_armv7a.ipkbinutils_2.20.1-r13.4-arago1.6_armv7a.ipkbinutils-symlinks_2.20.1-r13.4-arago1.6_armv7a.ipkbluetooth-gui_1.0-r7+gitref5b7eb58c8125b826ca36d94c594f09f462b3ab.6_armv7a.ipkbonnie++_1.03c-r0.6_armv7a.ipkdbus_1.4.1-r20.0-arago3.6_armv7a.ipkdbus-x11_1.4.1-r20.0-arago3.6_armv7a.ipkdebianutils_2.30-r2.6_armv7a.ipkdirectfb_1.4.11-r1.0-arago1.6_armv7a.ipkdt_17.07-r0.1.6_armv7a.ipkeggdbus_0.6-r0.6_armv7a.ipkgadget-init_1.0-r6.6_am335x-evm.ipkgconf_2.28.0-r2-arago1.6_armv7a.ipkgdk-pixbuf-loader-gif_2.20.1-r10.4.6_armv7a.ipkgdk-pixbuf-loader-jpeg_2.20.1-r10.4.6_armv7a.ipkgdk-pixbuf-loader-png_2.20.1-r10.4.6_armv7a.ipkgdk-pixbuf-loader-xpm_2.20.1-r10.4.6_armv7a.ipkgnome-keyring_2.28.2-r1.6_armv7a.ipkgnome-vfs_2.24.1-r3.6_armv7a.ipkgnome-vfs-plugin-file_2.24.1-r3.6_armv7a.ipkgst-ffmpeg_0.10.11-r1-arago1.6_armv7a.ipkgst-plugin-a52dec_0.10.16-r12.1-arago1.6_armv7a.ipkgst-plugin-adder_0.10.30-r12.0-arago1.6_armv7a.ipkgst-plugin-adpcmdec_0.10.20-r12.2-arago3.6_armv7a.ipkgst-plugin-adpcmenc_0.10.20-r12.2-arago3.6_armv7a.ipk.............etc
If I want to remove some of those out of 537 .ipk packages,hw am i suppose to do that???
Any suggestion from your side would be helpful.Thanks in advance.
Those are likely pulled in as dependency packages the other packages. Bitbake is good about that so that if you want to install a package that requires some other libraries (like perhaps libgcc) you don't have to call that out explicitly. You can remove them from the file system using the package manager like http://processors.wiki.ti.com/index.php/AMSDK_File_System_Optimization/Customization. But you need to be careful that you don't remove something that is a dependency of something you actually want to use.
Using the -g option to bitbake. i.e.:
bitbake -g my-image
Will give you a package-depend.dot file which you can look through to find out what packages are using a particular ipk and decide if you want to remove it.
Hi Chase, Thanks for your reply.Yes, using bitbake -g my-image three .dot files were generated,- pn-depends.dot, task-depends.dot and package-depends.dot.From the below link ,
I don't know all the differences in the .dot files but I use the package-depends.dot file to look at what dependencies are brought in by each package.
For your other compile issues are you using the arago toolchain or codesourcery? You should be using the Arago toolchain from inside of the SDK in the linux-devkit/bin directory.
Lastly, for the bluez-libs package try just adding bluez-libs and not the libbluetooth3 package.
Hi Chase,
for compilation i am using arago toolchain only.its arago-2011.09-armv7a-linux-gnueabi-sdk.
export PATH=/opt/arago-2011.09/armv7a/bin:$PATH ,its working fine for other packages.Only above mentioned
5 packages showing errors.Is there any other alternative way to do so??
With regards,