From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 12 Apr 2012 15:08:25 +0200 Subject: [Buildroot] Using Kernel git tree tries to extract non extractable file In-Reply-To: References: Message-ID: <20120412150825.2b1d1057@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Thu, 12 Apr 2012 12:33:43 +0000 (UTC), Graham a ?crit : > I would have thought that as git provides a source tree "as is" there > is no need to uncompress. When you specify the source of a package as a git tree, what Buildroot keeps inside the dl/ directory is a tarball of the sources, as generated by 'git archive'. For the corresponding code, see the DOWNLOAD_GIT macro in package/Makefile.package.in. > Output : > linux 2.6.34 Downloading > Initialized empty Git repository > in /home/gnewton/buildroot-2012.02/dl/linux- 2.6.34/ > remote: Counting objects: 1901116, done. > remote: Compressing objects: 100% (315962/315962), done. > remote: Total 1901116 (delta 1568013), reused 1900830 (delta 1567732) > Receiving objects: 100% (1901116/1901116), 443.51 MiB | 19.29 MiB/s, > done. Resolving deltas: 100% (1568013/1568013), done. > fatal: Not a valid object name Hint: this is the problem. The BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="2.6.34" you're passing is not a valid version name: it should be a commit hash, or the name of a tag, or the name of a branch. This is where your problem is. However, it is not normal that Buildroot does not abort here on such error, this should be fixed. Regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com