-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Richard Purdie wrote:
> Hi,
> 
> On Wed, 2007-03-28 at 18:01 +0000, Scott Oberg wrote:
>> I'm trying to checkout multiple components from svn trunks in a single
>> recipe file.  If there's a no-brainer solution, I'd appreciate the heads
>> up.  If not, then here's my use case.  I'm not a python dev, but I'm
>> starting to pick up enough to be dangerous:)
>>
>> I'm fighting against the lack of the ability to supply a checkout name
>> for the svn checkout OR the ability for the svn fetcher to handle a
>> module path (potential patch to svn.py at bottom).  I think it's a
>> little messy to create separate .bb files for the components that should
>> be built under a single make...but maybe that's what you'll recommend:)
>>
>> Is the lack of a checkout name param done by design?  I don't think it
>> could be for performance reasons since each recipe gets it's own
>> svn/recipie_name dir.  Therefore, a common svn checkout cannot be reused
>> across recipes.  ref:
>> http://bugs.openembedded.org/show_bug.cgi?id=1168
> 
> I think you might be onto a problem and you're probably trying something
> nobody has tried before. Could you confirm which version of bitbake
> you're using though? 1.8.x and onwards have quite a few fetcher changes
> and I'd like to confirm the problem exists in that version.
Good call,

Long story short, it looks like the same problem is still part of the
1.8 branch (which for lib/bb/fetch/svn.py is still in sync with the trunk).

Thanks,

Scott

I 'thought' that I was updating bitbake's trunk, but it turns out that I
checked out 1.6 branch a while ago.  Now, I've checked out the
bitbake-1.8 branch r802 and re-ran the test to get the same error. The
tar cmd gets a clipped module path. In the example below it needs
cdc/trunk, but only looks for trunk.

...
Checked out revision 3878.
tar: trunk: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
NOTE: Task failed: Fetch failed: cdc/trunk

[EMAIL PROTECTED] openmoko-angstrom]$ bitbake --version
BitBake Build Tool Core version 1.8.1, bitbake version 1.8.1

[EMAIL PROTECTED] oedev]$ svn diff bitbake-1.8/lib/bb/fetch/svn.py
Index: bitbake-1.8/lib/bb/fetch/svn.py
===================================================================
- --- bitbake-1.8/lib/bb/fetch/svn.py     (revision 802)
+++ bitbake-1.8/lib/bb/fetch/svn.py     (working copy)
@@ -135,7 +135,7 @@

         os.chdir(pkgdir)
         # tar them up to a defined filename
- -        myret = os.system("tar -czf %s %s" % (ud.localpath,
os.path.basename(ud.module)))
+        myret = os.system("tar -czf %s %s" % (ud.localpath, ud.module))
         if myret != 0:
             try:
                 os.unlink(ud.localpath)


> 
> Cheers,
> 
> Richard
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQIVAwUBRgrnH3uDTbCxG8PhAQJ2/RAAn9GOtCyuYKgN+2uuM3LRC8uUsZzl63A6
X0KwDPwPE+O/XanoOXrf8I5UXnh7sG8MAMFZDhbmMXsC5mvvI/kemCMVLRDbNmv5
18qHbJrbtiMlAZs/IghGGBIaqVnAlKNB4owjZb9OKNmhJTnF83EQrFv/841SACGD
LOicJzKusjjr0JoOijiwPPHQYWQDWZpoWRy3TFPFrF7x9XX777Lb4xDjpWSjmOMW
TOdKRB/ETAPMZ0lxjxEGQfpLz/LWISxJYTyT6t0YPZC+rugwCrLdR9YfA2ErXUo5
Q/+C7sh09Zubu0QiAyMWSH20LhnyOxSTW73fE00xgWrnY9LYQZflwHnBNEZtXhje
CpaBByKZYkpt+AQvL1mlP/azod/TYQjXRSNUAIjPAK0nCFHPMnxRMRWecTezFiOM
mYYjOrJeaTofHVwIKopa3qqSVjGats9rSUqUWtOsMNluj+KYvxH65KPQ8F+rXcZk
YDxwbdaLEQu2NjTsqV66BNyKKS/t2/KbYx8Ch+Y3uh/FK4P2VrzCMuO4vqvEJbX7
FRBRvvmId4YyAz/wOYFwFia/D2ll1sjdWiZTTS59O4rQ2g6KAdvDnHV9lqGzZUEk
KpuZpdJZ0ifvHlsSISj88Yut8GNcrKSzX6obBgMdeBM5o29uiKoAowrmtwHmecnf
LTLdrwoK2UA=
=B2mr
-----END PGP SIGNATURE-----
_______________________________________________
Bitbake-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bitbake-dev

Reply via email to