[Libreoffice] new bootstrap: quick stop

Miklos Vajna vmiklos at frugalware.org
Fri Dec 3 07:04:10 PST 2010


On Fri, Dec 03, 2010 at 03:50:17PM +0100, Thomas Klausner <wiz at NetBSD.org> wrote:
> > > I looked at the Makefile target and saw that it wants to run
> > > ./bootstrap, so I did that manually; after a successful finish, gmake
> > > now dies with:
> > > gmake: *** [src/downloaded] Error 1
> > 
> > 	Ditto.

I can reproduce this bug when I used --with-system-libs. A workaround is
to 'mkdir src' before 'make'.

Trivial fix for the bootstrap repo attached, does it look sane?

Thanks.
-------------- next part --------------
From 3268b837433537a209aa6edd64d2277b53277f47 Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos at frugalware.org>
Date: Fri, 3 Dec 2010 15:59:23 +0100
Subject: [PATCH] Makefile: mkdir src before touch src/downloaded

When using --with-system-libs the download script does not do anything,
so the src directory will not be created. Because of a this, an initial
'make' would fail otherwise.
---
 Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 9e05c70..87e9610 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,7 +37,7 @@ dmake/dmake at EXEEXT@:
 
 src/downloaded: ooo.lst download
 	@. ./*[Ee]nv.[Ss]et.sh && \
-	$$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
+	mkdir -p src && $$SRC_ROOT/download $$SRC_ROOT/ooo.lst && touch $@
 
 fetch: src/downloaded
 
-- 
1.7.3.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101203/774548f0/attachment.pgp>


More information about the LibreOffice mailing list