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

Kohei Yoshida libreoffice at kohei.us
Thu Sep 15 22:11:11 UTC 2016


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


More information about the LibreOffice mailing list