[opensuse-buildservice] libreoffice on onerirc takes an extremely long time to build
Because it was not in BS, I attempted to build libreoffice for oneriric. It takes an extremely long time to build. The i586 version is still building. x86_64 version terminated with this error:
Job seems to be stuck here, killed. qemu: terminating on signal 15 from pid 14358 No buildstatus set, either the packager broke the base system (glibc/bash/perl) or the build host has a kernel or hardware problem, OBS server will retry... https://build.opensuse.org/package/live_build_log?arch=x86_64&package=libre-office-java-common&project=home%3Apelliott11%3Aastrology%3Aoneiric- dependancies&repository=xUbuntu_11.10
https://build.opensuse.org/package/show?package=libre-office-java-common&project=home%3Apelliott11%3Aastrology%3Aoneiric-dependancies Did it stop because of a limit on total build time for a single source package? If so, that limit needs to be increased. Because it takes so long, I hesitate to trigger a rebuild without somekind of solution to this prpblem. Please suggest what I should do. Thank You. -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
Hi Paul, Paul Elliott píše v Út 10. 01. 2012 v 09:23 -0600:
Because it was not in BS, I attempted to build libreoffice for oneriric. It takes an extremely long time to build. The i586 version is still building.
It depends how fast is your machine and how many localizations you are building. The build might take 15 minutes if you do en-US build from unpacked sources on machine with many CPUs and plenty of RAM. It usually takes several hours on the usual i586/x86_64 build hosts in BS for the 50 localizations. I heard that it takes even one week on some less powerful systems. If you do not need all the localizations, you might speed it up significantly by replacing %define test_build_langs 2 with %define test_build_langs 1 in the .spec files. You might even try the value "0" but I havn't tested it for a long time, so it might break somewhere. If you have more CPU's you should use parallel build. For example, if you have 4 cores, you could use: osc build --jobs=4 Do not use too high number because there are two levels of parallelism, so you might actually get 4x4=16 jobs this way. A big number might make your machine unusable, start swapping and slow down everything in the end. Best Regards, Petr PS: I have never tried to build LO for Ubuntu in BS. I am not sure how the conversion between RPM spec files and DEB control files actually works. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Building locally does me no good. I need to build it in BS, so it will be available from the BS. The package I am really trying to build uses unoconv which uses libreoffice- writer and libreoffice-java-common. Is there anyway to make these packages available from the BS for oneriric? They are in main so they are supposed to be there. As it is the BS aborts both archetectures saying the job is stuck. On Wednesday, January 11, 2012 09:22:39 AM Petr Mladek wrote:
Hi Paul,
Paul Elliott píše v Út 10. 01. 2012 v 09:23 -0600:
Because it was not in BS, I attempted to build libreoffice for oneriric. It takes an extremely long time to build. The i586 version is still building.
It depends how fast is your machine and how many localizations you are building.
The build might take 15 minutes if you do en-US build from unpacked sources on machine with many CPUs and plenty of RAM. It usually takes several hours on the usual i586/x86_64 build hosts in BS for the 50 localizations. I heard that it takes even one week on some less powerful systems.
If you do not need all the localizations, you might speed it up significantly by replacing
%define test_build_langs 2
with
%define test_build_langs 1
in the .spec files. You might even try the value "0" but I havn't tested it for a long time, so it might break somewhere.
If you have more CPU's you should use parallel build. For example, if you have 4 cores, you could use:
osc build --jobs=4
Do not use too high number because there are two levels of parallelism, so you might actually get 4x4=16 jobs this way. A big number might make your machine unusable, start swapping and slow down everything in the end.
Best Regards, Petr
PS: I have never tried to build LO for Ubuntu in BS. I am not sure how the conversion between RPM spec files and DEB control files actually works.
Well building for ubuntu has nothing to do with rpms. You just put the debian source package in your "files" section, usually it works. -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
Paul Elliott píše v St 11. 01. 2012 v 11:39 -0600:
Building locally does me no good. I need to build it in BS, so it will be available from the BS.
Sure. On the other hand, you should make sure that you are able to build the packages locally (osc build) before you push them to BS. It is much easier and faster when debugging potential build problems.
The package I am really trying to build uses unoconv which uses libreoffice- writer and libreoffice-java-common.
I am not familiar with unoconv. Are these packages needed at runtime or build time?
Is there anyway to make these packages available from the BS for oneriric?
Ubuntu:11.10 BS project is maintained by Adrian, see https://build.opensuse.org/project/users?project=Ubuntu%3A11.10 Adrian, where could we check the list of packages in this project? Would be possible to add more packages if necessary?
PS: I have never tried to build LO for Ubuntu in BS. I am not sure how the conversion between RPM spec files and DEB control files actually works.
Well building for ubuntu has nothing to do with rpms. You just put the debian source package in your "files" section, usually it works.
I see. I though that BS has some support to build deb files using spec files (convert the spec to deb control file or so. We build LO rpms, so BS should be capable to build also debs. Anyway, if the needed libreoffice packages are available in the official Ubuntu 11.10 installation, it should be easier to add them to the BS repo. I hope that Adrian could help here. Best Regards, Petr -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Donnerstag, 12. Januar 2012, 10:35:25 schrieb Petr Mladek:
Paul Elliott píše v St 11. 01. 2012 v 11:39 -0600: ...
Is there anyway to make these packages available from the BS for oneriric?
Ubuntu:11.10 BS project is maintained by Adrian, see https://build.opensuse.org/project/users?project=Ubuntu%3A11.10
Adrian, where could we check the list of packages in this project? Would be possible to add more packages if necessary?
osc api /build/Ubuntu:11.10/standard/i586/_repository It should contain all packages from 11.10 GA. Not more and not less. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Adrian Schröter píše v Čt 12. 01. 2012 v 10:50 +0100:
Am Donnerstag, 12. Januar 2012, 10:35:25 schrieb Petr Mladek:
Paul Elliott píše v St 11. 01. 2012 v 11:39 -0600: ...
Is there anyway to make these packages available from the BS for oneriric?
Ubuntu:11.10 BS project is maintained by Adrian, see https://build.opensuse.org/project/users?project=Ubuntu%3A11.10
Adrian, where could we check the list of packages in this project? Would be possible to add more packages if necessary?
osc api /build/Ubuntu:11.10/standard/i586/_repository
It should contain all packages from 11.10 GA. Not more and not less.
$> osc api /build/Ubuntu:11.10/standard/i586/_repository | \ grep -e libreoffice-java-common \ -e libreoffice-writer <binary filename="libreoffice-java-common_3.4.3-3ubuntu2_all.deb" size="3741502" mtime="1318595971" /> <binary filename="libreoffice-writer_3.4.3-3ubuntu2_i386.deb" size="6511234" mtime="1318592263" /> So, the two required packages are there and you should not need to build them yourself. If you are unsure how to set build dependencies for your new package or how to create it, I suggest to ask on the opensuse-packaging@opensuse.org mailing list. IMHO, it is more appropriate for this kind of questions. I do not have experience with Debian packaging, so I am not sure how some things work there. Best Regards, Petr -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday, January 12, 2012 07:06:16 AM Petr Mladek wrote:
Adrian Schröter píše v Čt 12. 01. 2012 v 10:50 +0100:
Am Donnerstag, 12. Januar 2012, 10:35:25 schrieb Petr Mladek:
Paul Elliott píše v St 11. 01. 2012 v 11:39 -0600: ...
Is there anyway to make these packages available from the BS for oneriric?
Ubuntu:11.10 BS project is maintained by Adrian, see https://build.opensuse.org/project/users?project=Ubuntu%3A11.10
Adrian, where could we check the list of packages in this project? Would be possible to add more packages if necessary?
osc api /build/Ubuntu:11.10/standard/i586/_repository
It should contain all packages from 11.10 GA. Not more and not less.
$> osc api /build/Ubuntu:11.10/standard/i586/_repository | \ grep -e libreoffice-java-common \ -e libreoffice-writer <binary filename="libreoffice-java-common_3.4.3-3ubuntu2_all.deb" size="3741502" mtime="1318595971" /> <binary filename="libreoffice-writer_3.4.3-3ubuntu2_i386.deb" size="6511234" mtime="1318592263" />
So, the two required packages are there and you should not need to build them yourself.
In this case I do not understand why this build failed for Ubuntu 11.10: https://build.opensuse.org/package/show?package=debian&project=home%3Apelliott11%3Aastrology%3Aswissephauto%3Alibswe If you put the mouse cursor over the xUbuntu_10.10 box where it says "unresolveable" it says: "nothing provides libreoffice-writer, nothing provides libreoffice-java-common" When you are doing a build for ubuntu 11.10 are not the packages for Ubuntu:11.10/standard supposed to be available by default? I did not have to do anything special to make libreoffice-writer, and libreoffice-java-common available for ubuntu 11.04 which builds perfectly. Please tell me why these are marked as unresolveable for 11.10? -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
Paul Elliott píše v Čt 12. 01. 2012 v 13:35 -0600:
In this case I do not understand why this build failed for Ubuntu 11.10: https://build.opensuse.org/package/show?package=debian&project=home%3Apelliott11%3Aastrology%3Aswissephauto%3Alibswe If you put the mouse cursor over the xUbuntu_10.10 box where it says "unresolveable" it says: "nothing provides libreoffice-writer, nothing provides libreoffice-java-common"
When you are doing a build for ubuntu 11.10 are not the packages for Ubuntu:11.10/standard supposed to be available by default?
I did not have to do anything special to make libreoffice-writer, and libreoffice-java-common available for ubuntu 11.04 which builds perfectly.
I am not sure what has changed over night but the build succeeded. Best Regards, Petr -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Paul Elliott
-
Petr Mladek