Re: Trying to build LO on OS X: problem with make operation

2016-09-17 Thread Piet van Oostrum
Michael Lewis wrote:

 > Hello, I am attempting to build LibreOffice on OSX, using the directions for 
 > minimal build on the 
 > Building LibreOffice on OS X web page (
 > https://wiki.documentfoundation.org/Development/BuildingOnMac).
 > 
 > I got most of the way through the directions, but when I executed make 2>&1 
 > | tee build.log, the
 > make operation did not complete. Here is where it stopped:
 > 
 > cd /Users/ml/lo/core/external/tarballs/tmp && echo fetching 
 > boost_1_60_0.tar.bz2 && bash -c '/usr/
 > bin/curl -O http://dev-www.libreoffice.org/src/boost_1_60_0.tar.bz2 2>&1 | 
 > tee -a /Users/ml/lo/
 > core/external/tarballs/fetch.log && [ $PIPESTATUS -eq 0 ]' && SUM=`md5 -r 
 > boost_1_60_0.tar.bz2 |
 > sed "s/ .*//"` && if test "$SUM" != "65a840e1a0b13a558ff19eeb2c4f0cbe"; then 
 > echo ERROR: expected
 > checksum for boost_1_60_0.tar.bz2 is 65a840e1a0b13a558ff19eeb2c4f0cbe 2>&1 | 
 > tee -a /Users/ml/lo/
 > core/external/tarballs/fetch.log; false; fi && mv boost_1_60_0.tar.bz2 ../ 
 > fetching boost_1_60_0.tar.bz2
 >   % Total% Received % Xferd  Average Speed   TimeTime Time  
 > Current
 >  Dload  Upload   Total   SpentLeft  Speed
 >  66 73.0M   66 48.8M0 0  38169  0  0:33:25  0:22:22  0:11:03 
 > 0curl: (18) transfer
 > closed with 25091031 bytes remaining to read
 > make: *** [/Users/ml/lo/core/workdir/download] Error 1
 > 
 > I  don’t know what Error 1 means or what I’m doing wrong here. Any help 
 > appreciated.
 > 
I think Error 1 means that a command in the Makefile failed. From the log it 
seems to me that the download of boost_1_60_0.tar.bz2 failed.
-- 
Piet van Oostrum 
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Trying to build LO on OS X: problem with make operation

2016-09-15 Thread Kohei Yoshida
On Thu, 2016-09-15 at 10:39 -0700, Michael Lewis wrote:
> 
> cd /Users/ml/lo/core/external/tarballs/tmp && echo fetching
> boost_1_60_0.tar.bz2 && bash -c '/usr/bin/curl -O http://dev-www.libr
> eoffice.org/src/boost_1_60_0.tar.bz2 2>&1 | tee -a
> /Users/ml/lo/core/external/tarballs/fetch.log && [ $PIPESTATUS -eq 0
> ]' && SUM=`md5 -r boost_1_60_0.tar.bz2 | sed "s/ .*//"` && if test
> "$SUM" != "65a840e1a0b13a558ff19eeb2c4f0cbe"; then echo ERROR:
> expected checksum for boost_1_60_0.tar.bz2 is
> 65a840e1a0b13a558ff19eeb2c4f0cbe 2>&1 | tee -a
> /Users/ml/lo/core/external/tarballs/fetch.log; false; fi && mv
> boost_1_60_0.tar.bz2 ../ 
> fetching boost_1_60_0.tar.bz2
>   % Total    % Received % Xferd  Average Speed   Time    Time    
> Time  Current
>                                  Dload  Upload   Total   Spent   
> Left  Speed
>  66 73.0M   66 48.8M    0     0  38169      0  0:33:25  0:22:22 
> 0:11:03     0curl: (18) transfer closed with 25091031 bytes remaining
> to read
> make: *** [/Users/ml/lo/core/workdir/download] Error 1
> 
> 
> I  don’t know what Error 1 means or what I’m doing wrong here. Any
> help appreciated.

You need to go up a little to catch the real error, which is

> curl: (18) transfer closed with 25091031 bytes remaining to read

The 'make' program itself is just a wrapper that spawns subprocesses,
so when the subprocess fails and it throws this "Error 1" message, you
need to hunt for the failed sub-process that gives you the actual
reason for the failure.

Now as to the actual error message, I'm guessing that you somehow lost
your network connection to the server and the downloading process got
interrupted as a result.  You just need to re-run make and see if it
succeeds the second time, provided that you haven't actually lost your
network connection to the server.

Kohei
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice