Docker container for building LibreOffice

Dashamir Hoxha dashohoxha at gmail.com
Thu Jul 23 09:42:23 PDT 2015


After making the docker container work, now I am blocked at the compilation.
I get these error messages:
----------
+ make
mkdir -p /compile/libreoffice-5-0/instdir
/compile/libreoffice-5-0/solenv/bin/install-gdb-printers -a
/compile/libreoffice-5-0/instdir -c
make -j 1  -rs -f /compile/libreoffice-5-0/Makefile.gbuild    all
[build DEP] LNK:Library/libsvtlo.so
[build LNK] Library/libsvtlo.so
/compile/libreoffice-5-0/workdir/CxxObject/svtools/source/dialogs/prnsetup.o:
In function `PrinterSetupDialog::ImplPropertiesHdl(void*)':
prnsetup.cxx:(.text+0x1e67): undefined reference to
`Printer::Setup(vcl::Window*)'
prnsetup.cxx:(.text+0x1ee5): undefined reference to
`Printer::Setup(vcl::Window*)'
collect2: error: ld returned 1 exit status
make[1]: *** [/compile/libreoffice-5-0/instdir/program/libsvtlo.so] Error 1
make: *** [build] Error 2
----------

At this point I am totally clueless about what is going on, what is wrong
and how to fix it.
I am trying to compile the latest version of the branch `libreoffice-5-0`
(maybe it is not
a wise thing to compile an unstable branch). You can reproduce this error
by following
the steps on README:
 - https://github.com/FreeSoft-AL/libreoffice-compile/blob/master/README.md
But you need to install Docker first (https://docs.docker.com/installation/)
and it will take lots of time and downloading for the first time (I guess
you are familiar with this).

Sorry for disturbing you time and again, but when it doesn't work it does
not work and
we need to fix it.

Regards,
Dashamir


On Thu, Jul 23, 2015 at 5:40 PM, Dashamir Hoxha <dashohoxha at gmail.com>
wrote:

>
>
> On Mon, Jul 20, 2015 at 5:58 PM, Dashamir Hoxha <dashohoxha at gmail.com>
> wrote:
>
>> Hi,
>>
>> I have created  a docker container that has all the tools needed for
>> building LibreOffice.
>> See: https://github.com/FreeSoft-AL/libreoffice-compile
>> It has worked well in the past and I have been able to compile libreoffice
>> (for example check out this:
>>
>> https://drive.google.com/drive/folders/0B7H_DCc2DjNGfmZxaVB1ZGxDbHVjWUE5WW1uRUxwdUQ0WTdVc1NHWVNOOXFHWDM3QkxWd0E
>> )
>>
>> However, when I try to build the image now (with the command
>> `docker/build.sh`),
>> I get the following errors related to installing dependencies (the command
>> `apt-get -y build-dep libreoffice`).
>>
>> Do you have any idea on what has changed, or what might be wrong, or how
>> to fix it?
>>
>
> I tried it again and this time everything went fine (no errors). So,
> either it was a temporary error,
> or something was wrong with the server (network configuration, firewall,
> proxy, etc.)
> This time I tried it on a different server. I cannot access anymore the
> old server, so I can't
> make sure whether it was a temporary issue with the ubuntu servers, or a
> problem with
> my server. The important thing is that scripts are OK and they work as
> expected.
>
> Thanks for trying to help me.
>
>
>>
>> Thanks,
>> Dashamir
>>
>> P.S. I hope that this is the right mailing list for such kind of
>> questions, otherwise
>>         please let me know where should I ask.
>>
>>
>> ERROR MESSAGES:
>> ----------------------------------------------------------------------
>>
>> Get:604 http://archive.ubuntu.com/ubuntu/ trusty/main fastjar amd64
>> 2:0.98-5 [77.4 kB]
>> Get:605 http://archive.ubuntu.com/ubuntu/ trusty-updates/main
>> libbluetooth-dev amd64 4.101-0ubuntu13.1 [66.2 kB]
>> Get:606 http://archive.ubuntu.com/ubuntu/ trusty/main unixodbc-dev amd64
>> 2.2.14p2-5ubuntu5 [211 kB]
>> Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libnss3-nssdb
>> all 2:3.17.4-0ubuntu0.14.04.1
>>   404  Not Found [IP: 91.189.92.201 80]
>> Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libnss3 amd64
>> 2:3.17.4-0ubuntu0.14.04.1
>>   404  Not Found [IP: 91.189.92.201 80]
>> Err http://archive.ubuntu.com/ubuntu/ trusty-security/main
>> linux-libc-dev amd64 3.13.0-55.94
>>   404  Not Found [IP: 91.189.92.201 80]
>> Err http://archive.ubuntu.com/ubuntu/ trusty-security/main libnss3-dev
>> amd64 2:3.17.4-0ubuntu0.14.04.1
>>   404  Not Found [IP: 91.189.92.201 80]
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-nssdb_3.17.4-0ubuntu0.14.04.1_all.deb
>>  404  Not Found [IP: 91.189.92.201 80]
>>
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3_3.17.4-0ubuntu0.14.04.1_amd64.deb
>>  404  Not Found [IP: 91.189.92.201 80]
>>
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-55.94_amd64.deb
>>  404  Not Found [IP: 91.189.92.201 80]
>>
>> E: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/pool/main/n/nss/libnss3-dev_3.17.4-0ubuntu0.14.04.1_amd64.deb
>>  404  Not Found [IP: 91.189.92.201 80]
>>
>> E: Unable to fetch some archives, maybe run apt-get update or try with
>> --fix-missing?
>> E: Failed to process build dependencies
>> Fetched 294 MB in 19min 6s (256 kB/s)
>> The command '/bin/sh -c apt-get -y build-dep libreoffice' returned a
>> non-zero code: 100
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150723/0bcff029/attachment.html>


More information about the LibreOffice mailing list