Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Perşembe 23 Aralık 2010 günü (saat 21:34:47) Miklos Vajna şunları yazmıştı:
Hi Gökçen,

On Thu, Dec 23, 2010 at 04:14:30PM +0000, Gökçen Eraslan 
<gokcen@pardus.org.tr> wrote:
To build RC2, I cannot get tarballs when I use configure --without-git.
In download_external_sources.sh script line 18[1]:

wget
http://cgit.freedesktop.org/libreoffice/bootstrap/plain/fetch_tarballs.sh
?id=$GIT_TAG -O fetch_tarballs.sh && chmod 755 fetch_tarballs.sh

But this command does not work since fetch_tarballs.sh is renamed[2] to
download. Can anybody fix that?

What is the error message you get?

http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?id=fe225c2eb323
6e186983d17c8f5dd83a6bdeb2ec

This commit is in master only, while you're trying to build RC2 which is
from the libreoffice-3-3 branch.

I just built today RC2 from tarballs successfully. (Though we do not use
./download since sources are downloaded before the build by the package
builder.)

If you use configure --without-git and ./download afterwards, it fails with 
this error:

--2010-12-27 09:58:05--  
http://cgit.freedesktop.org/libreoffice/bootstrap/plain/fetch_tarballs.sh?id=LIBREOFFICE_3_3_0_2
Resolving cgit.freedesktop.org (cgit.freedesktop.org)... 131.252.210.176
Connecting to cgit.freedesktop.org (cgit.freedesktop.org)|
131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 404 Not found
2010-12-27 09:58:05 ERROR 404: Not found.

--2010-12-27 09:58:05--  
http://cgit.freedesktop.org/libreoffice/bootstrap/plain/ooo.lst?id=LIBREOFFICE_3_3_0_2
Resolving cgit.freedesktop.org (cgit.freedesktop.org)... 131.252.210.176
Connecting to cgit.freedesktop.org (cgit.freedesktop.org)|
131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 404 Not found
2010-12-27 09:58:06 ERROR 404: Not found.

./download_external_sources.sh: line 17: ./fetch_tarballs.sh: Permission 
denied
rmdir: failed to remove `/tmp/tmp.jg2CTi12z0': Directory not empty
Done



When I apply attached patch I can download external sources, since id variable 
is libreoffice-3.3.0.2, not LIBREOFFICE_3_3_0_2:


--2010-12-27 09:58:47--  
http://cgit.freedesktop.org/libreoffice/bootstrap/plain/fetch_tarballs.sh?id=libreoffice-3.3.0.2
Resolving cgit.freedesktop.org (cgit.freedesktop.org)... 131.252.210.176
Connecting to cgit.freedesktop.org (cgit.freedesktop.org)|
131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4638 (4.5K) [text/plain]
Saving to: `fetch_tarballs.sh'

100%[====================================================================================================================================================================================================>]
 
4,638       18.8K/s   in 0.2s    

2010-12-27 09:58:53 (18.8 KB/s) - `fetch_tarballs.sh' saved [4638/4638]

--2010-12-27 09:58:53--  
http://cgit.freedesktop.org/libreoffice/bootstrap/plain/ooo.lst?id=libreoffice-3.3.0.2
Resolving cgit.freedesktop.org (cgit.freedesktop.org)... 131.252.210.176
Connecting to cgit.freedesktop.org (cgit.freedesktop.org)|
131.252.210.176|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4646 (4.5K) [text/plain]
Saving to: `ooo.lst'

100%[====================================================================================================================================================================================================>]
 
4,646       18.7K/s   in 0.2s    

2010-12-27 09:58:59 (18.7 KB/s) - `ooo.lst' saved [4646/4646]


-- 
Gökçen Eraslan
Index: libreoffice-build-3.3.0.2/download_external_sources.sh
===================================================================
--- libreoffice-build-3.3.0.2.orig/download_external_sources.sh
+++ libreoffice-build-3.3.0.2/download_external_sources.sh
@@ -8,7 +8,7 @@ export CLONEDIR
 if test -e $CLONEDIR/bootstrap/fetch_tarballs.sh -a -e $CLONEDIR/bootstrap/ooo.lst; then
     $CLONEDIR/bootstrap/fetch_tarballs.sh $CLONEDIR/bootstrap/ooo.lst
 else
-    GIT_TAG=`echo $OOO_SOURCEDIRNAME | tr "a-z.-" "A-Z__"`
+    GIT_TAG=$OOO_SOURCEDIRNAME
     tmp=`mktemp -q -d`
 
     cd $tmp

Attachment: signature.asc
Description: This is a digitally signed message part.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.