Bug 26852 - bootstrap fails, if neither zip nor fastjar can be found
Summary: bootstrap fails, if neither zip nor fastjar can be found
Status: RESOLVED DUPLICATE of bug 26829
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-24 17:10 UTC by Debian GCC Maintainers
Modified: 2006-03-24 17:14 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Debian GCC Maintainers 2006-03-24 17:10:42 UTC
the install in libjava/classpath/tools fails, if neither zip nor fastjar can be found. The just built fastjar is not found/used.

(cd classes; \
        if test "" != ""; then  -r ../tools.zip .; fi; \
        if test "/usr/bin/fastjar" != ""; then /usr/bin/fastjar cf ../tools.zip .; fi; \
        cd ..)
rm -rf classes

works, 

but if we don't a fastjar installed:

(cd classes; \
	if test "" != ""; then  -r ../tools.zip .; fi; \
	if test "" != ""; then  cf ../tools.zip .; fi; \
	cd ..)
rm -rf classes
test -z "/usr/lib/gcc-snapshot/share/classpath/tools" || mkdir -p -- "/build/buildd/gcc-snapshot-20060323/debian/tmp/usr/lib/gcc-snapshot/share/classpath/tools"
 /usr/bin/install -c -m 644 '../../../../../src/libjava/classpath/tools/tools.zip' '/build/buildd/gcc-snapshot-20060323/debian/tmp/usr/lib/gcc-snapshot/share/classpath/tools/tools.zip'
/usr/bin/install: cannot stat `../../../../../src/libjava/classpath/tools/tools.zip': No such file or directory
Comment 1 Andrew Pinski 2006-03-24 17:14:42 UTC

*** This bug has been marked as a duplicate of 26829 ***