[Bug 4938] New: build of git-native fails

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Tue Dec 16 14:47:02 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4938

           Summary: build of git-native fails
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: david.hagood at aeroflex.com


The build of git-native-1.6.0.4-r3 fails with:
NOTE: make NO_TCLTK=1
DESTDIR=/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging
install
    SUBDIR perl
    SUBDIR templates
install -d -m 755
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/bin'
install -d -m 755
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/libexec/git-core/'
install  git-fast-import git-fetch-pack git-hash-object git-index-pack
git-merge-index git-merge-tree git-mktag git-mktree git-pack-redundant
git-patch-id git-receive-pack git-send-pack git-show-index git-unpack-file
git-update-server-info git-upload-pack git-var git-http-push git-daemon
git-imap-send git-shell git-am git-bisect git-filter-branch git-lost-found
git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool
git-parse-remote git-pull git-quiltimport git-rebase--interactive git-rebase
git-repack git-request-pull git-sh-setup git-stash git-submodule
git-web--browse git-add--interactive git-archimport git-cvsexportcommit
git-cvsimport git-cvsserver git-relink git-send-email git-svn git-instaweb
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/libexec/git-core/'
install git git-upload-pack git-receive-pack git-upload-archive git-shell
git-cvsserver
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/bin'
make -C templates
DESTDIR='/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging'
install
make[1]: Entering directory
`/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/git-1.6.0.4/templates'
install -d -m 755
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/share/git-core/templates/'
(cd blt && tar cf - .) | \
    (cd
'/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/temp-staging/space/OpenEmbedded/build/tmp/staging/i686-linux/usr/share/git-core/templates/'
&& umask 022 && tar xfo -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/space/OpenEmbedded/build/tmp/work/i686-linux/git-native-1.6.0.4-r3/git-1.6.0.4/templates'
make: *** [install] Error 2
FATAL: oe_runmake failed

The likely cause is the command
cd blt && tar cf - .

The "cd" command is outputting the new CWD to stdout, and that is confusing the
second tar. Now, *IF* I can find where this lives, I will change it to
cd blt &>/dev/null && tar cf - .

This is a systemic error: In many cases within the Bitbake process it is
assumed that a "cd" will output NOTHING to stdout, and this is NOT true.

-- 
Configure bugmail: http://bugs.openembedded.net/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