LibreOffice build failure

Asked by Jack Radigan on 2013-01-05

I'm trying to build the 3.6 release of LO from Quantal for Precise.

It's a vanilla backport, no changes to control, rules, etc. On a local machine I've been able to build both the amd64 and i386 successfully within a pbuilder chroot that was built as-per the directions on the Ubuntu developer's wiki.

The PPA I'm using for this is https://launchpad.net/~centrych-dev/+archive/precise-updates

It includes several support libraries that have been already backported from Quantal (these are also being used in my local pbuilder environment).

What's odd is that the errors for each build are entirely different.

The amd64 build is failing with "configure: error: servlet-api.jar not found."
https://launchpad.net/~centrych-dev/+archive/precise-updates/+build/4189444

The i386 failure is even more bizarre "ERROR: Info: /build/buildd/libreoffice-3.6.2~rc2/solver/unxlngi6.pro/pck/scalc_it.zip unpacked without problems !"
https://launchpad.net/~centrych-dev/+archive/precise-updates/+build/4189445

Any help would be greatly appreciated, thanks in advance.

-jack-

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libreoffice Edit question
Assignee:
No assignee Edit question
Solved by:
Jack Radigan
Solved:
Last query:
Last reply:
William Grant (wgrant) said : #1

Do you have build logs from successful local pbuilder builds?

Jack Radigan (jprad) said : #2

On 01/04/2013 09:50 PM, William Grant wrote:
> Your question #218352 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/218352
>
> Status: Open => Needs information
>
> William Grant requested more information:
> Do you have build logs from successful local pbuilder builds?
>

Sure, attached both.

William Grant (wgrant) said : #3

Questions don't accept attachments. You'll need to upload them somewhere (paste.ubuntu.com, perhaps).

Jack Radigan (jprad) said : #4

On 01/04/2013 10:21 PM, William Grant wrote:
> Your question #218352 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/218352
>
> Status: Open => Needs information
>
> William Grant requested more information:
> Questions don't accept attachments. You'll need to upload them somewhere
> (paste.ubuntu.com, perhaps).
>

Sorry about that.

The logs are pretty big as text. Tried to paste as a comment to my
question and to paste.ubuntu.com, but both choked.

I've posted them as g'zipped files on the project website that you
download: https://sites.google.com/a/centrych.org/public/files.

-jack-

William Grant (wgrant) said : #5

If you look further up in the i386 log, you'll see the true cause: "IO error: write error during copy : No space left on device". You'll need to reduce the build's disk space requirements.

The amd64 build is probably failing because it needs libservlet3.0-java, but it's only in Build-Depends-Indep so it's only installed for the i386/all build. pbuilder always builds the arch-indep packages, so it always installs Build-Depends-Indep in addition to Build-Depends.

Jack Radigan (jprad) said : #6

If I request a bump in PPA size does that solve the disk space issue with the i386 build? If not, how do I reduce the build requirements?

I'll modify the depends for the amd64 build and resubmit.

BTW, do you know if pbuilder can be modified to behave the way a PPA build does so that I can catch these errors during my local build tests?

Thanks a lot for the help, really appreciate it.

William Grant (wgrant) said : #7

The disk space limit is unaffected by your PPA quota -- it's just what's available on the builder. The package is apparently creating tens of gigabytes of build artifacts, which seems somewhat excessive.

pbuilder's --binary-arch option should cause just the architecture-dependent bits to be built, like an amd64 PPA build.

Jack Radigan (jprad) said : #8

Been looking through a couple of libreoffice builds that completed successfully.

libservlet3.0-java is not a binary package, it's an "all". On my build that failed libservlet2.5-java was pulled in, but that is not listed in either Depends or Depends-indep, only libservlet3.0-java.

Why would 2.5 get pulled instead of 3.0? Both libraries are present in Precise, is that not the case on the build server?

Regarding the PPA size not helping, are you sure? The PPA's that have successful libreoffice builds all have 15+GB PPAs.

Launchpad Janitor (janitor) said : #9

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Jack Radigan (jprad) said : #10

First, thanks for the previous help.

Although it took a while, I've finally come up with a set of changes to debian/rules that can successfully build LibreOffice on Launchpad.

However, there's minor detail left. The release version of debian/rules checks the package name for the existence of "ppa" and, if present, trims the number of languages so the build can complete.

My hope is that there's a better way to do this instead of resorting to such an ugly hack.

Do all Launchpad build servers set an environment variable that can be checked to accomplish this?

Thanks.

-jack-

Jack Radigan (jprad) said : #11

Figured it out.

Thanks again.