[oe-issues] [Bug 3385] sourcepkg.bbclass: fails to handle packages with no external sources

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Wed Nov 28 17:39:23 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=3385





--- Comment #2 from Robert Schuster <thebohemian at gmx.net>  2007-11-28 09:39:23 ---
I debugged this a bit.

sourcepkg.bbclass contains the lines :

s_tree_raw = s.split('/')[1]
s_tree = bb.data.expand(s_tree_raw, d)

where s is S in unexpanded form. The first line assumes that S looks like
"${WORKDIR}/foo". This fails for shasum because S is "${WORKDIR}" there.

However I think that the whole approach taken by sourcepkg does not work: For
instance sometimes 'source packages' are distributed as ZIP files containing
binaries and another zip with the source included (e.g. the Eclipse foundation
is so kind to do it this way).

So whenever a recipe needs a custom unpack step to reach its sources and S is
not literally the source code directory the approach taken by sourcepkg fails.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list