[oe-issues] [Bug 3385] New: 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 16:10:19 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=3385
Summary: sourcepkg.bbclass: fails to handle packages with no
external sources
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: thebohemian at gmx.net
When you are using sourcepkg the build immediately fails with shasum-native.
sourcepkg should probably skip the step if the SRC_URI contains no external
references.
Should probably be another bug but it simple: For brevity sourcepkg should be
named package_source to be similar to package_deb and the others.
NOTE: package shasum-native-1.0-r1: task do_create_orig_tgz: started
NOTE: exceptions.IndexError:list index out of range while evaluating:
mkdir -p /home/rob/oe/chinook/tmp/deploy/source
cd /home/rob/oe/chinook/tmp/work/shasum-native-1.0-r1
for i in .pc autom4te.cache; do
echo $i >> temp/exclude-from-file
done
src_tree=${@get_src_tree(d)}
echo $src_tree
oenote "Creating .orig.tar.gz in
/home/rob/oe/chinook/tmp/deploy/source/shasum-native-1.0.orig.tar.gz"
tar cvzf
/home/rob/oe/chinook/tmp/deploy/source/shasum-native-1.0.orig.tar.gz
--exclude-from temp/exclude-from-file $src_tree
cp -pPR $src_tree $src_tree.orig
NOTE: exceptions.IndexError:list index out of range while evaluating:
cd /home/rob/oe/chinook/tmp/work/shasum-native-1.0-r1
for i in .pc autom4te.cache; do
echo $i >> temp/exclude-from-file
done
src_tree=${@get_src_tree(d)}
for i in `find . -maxdepth 1 -type f`; do
mkdir -p $src_tree/chinook-compat/files
cp $i $src_tree/chinook-compat/files
done
oenote "Creating .diff.gz in
/home/rob/oe/chinook/tmp/deploy/source/shasum-native-1.0-r1.diff.gz"
LC_ALL=C TZ=UTC0 diff --exclude-from=temp/exclude-from-file -Naur
$src_tree.orig $src_tree | gzip -c >
/home/rob/oe/chinook/tmp/deploy/source/shasum-native-1.0-r1.diff.gz
rm -rf $src_tree.orig
NOTE: exceptions.IndexError:list index out of range while evaluating:
src_tree=${@get_src_tree(d)}
dest=/home/rob/oe/chinook/tmp/work/shasum-native-1.0-r1/$src_tree/chinook-compat
mkdir -p $dest
cp /home/rob/oe/org.openembedded.dev/packages/shasum/shasum-native.bb
$dest
ERROR: function do_create_orig_tgz failed
--
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