View previous topic :: View next topic |
Author |
Message |
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Sat Apr 03, 2004 3:08 am Post subject: openoffice-ximian-1.1.52 builds, but fails on src_install() |
|
|
I managed to successfully build openoffice-ximian-1.1.52, but when it was running src_install(), it bombed on line 411 of the ebuild. No error, other than the build error, was given.
I tried the following:
Code: | cd /usr/portage/app-office/openoffice-ximian
ebuild openoffice-ximian-1.1.52.ebuild install |
It succesfully recognized that the build was complete, and it allowed me to repeat the installation attempt. It bombed at the same point each time.
The line where it bombs is the command which runs the AUTORESPONSE file against setup. I tried to track the problem down, by putting some echo commands in the build for debugging purposes, but I did not realize that portage would blow away my work directory once the build changed. So, I lost the whole deal. ARG! Must be a switch to prevent that.
I am emerging the -bin version now, although, since my whole system is compiled with nptl from the ground up, I'm wondering if that is wise. _________________ Teilo who is called Teilo |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Sat Apr 03, 2004 3:19 am Post subject: Re: openoffice-ximian-1.1.52 builds, but fails on src_instal |
|
|
teilo wrote: | I managed to successfully build openoffice-ximian-1.1.52, but when it was running src_install(), it bombed on line 411 of the ebuild. No error, other than the build error, was given.
I tried the following:
Code: | cd /usr/portage/app-office/openoffice-ximian
ebuild openoffice-ximian-1.1.52.ebuild install |
It succesfully recognized that the build was complete, and it allowed me to repeat the installation attempt. It bombed at the same point each time.
The line where it bombs is the command which runs the AUTORESPONSE file against setup. I tried to track the problem down, by putting some echo commands in the build for debugging purposes, but I did not realize that portage would blow away my work directory once the build changed. So, I lost the whole deal. ARG! Must be a switch to prevent that.
I am emerging the -bin version now, although, since my whole system is compiled with nptl from the ground up, I'm wondering if that is wise. |
What happens if you try to emerge the ebuild in that directory? I want to try that tomorrow. _________________ My Company: Hakata Consulting |
|
Back to top |
|
|
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Sat Apr 03, 2004 4:41 am Post subject: |
|
|
Quote: | What happens if you try to emerge the ebuild in that directory? I want to try that tomorrow. |
I did try to emerge the build. That is what I did first. It compiled without error. But when the ebuild started to install the completed build, it failed with an error. That is why I used the ebuild command above, to verify that the compile was indeed successful.
Since this ebuild is failing on the install function of the ebuild, this is not a function of the openoffice-ximian source itself. I could have run the setup program manually, and had a complete and working openoffice build. In fact, I wish I had done so, since it would have been compiled with my optimizations and nptl. I could have done an administrative setup, got it working in /opt, then done a user-based setup, just like the stock openoffice package works. Maybe I'll try this later. _________________ Teilo who is called Teilo |
|
Back to top |
|
|
teilo Apprentice
Joined: 20 Jun 2003 Posts: 276 Location: Minneapolis, MN
|
Posted: Sat Apr 03, 2004 4:46 am Post subject: |
|
|
One further, possibly relavent note:
When I first tried to emerge this build, the digest failed. I used the ebuild digest command to update the digest files. Soooo - if something changed significantly in the newer file, like maybe in the setup program, then perhaps the Autoresponse file needs work. _________________ Teilo who is called Teilo |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Sat Apr 03, 2004 6:32 am Post subject: |
|
|
I will try to compile it tomorrow and keep you updated on it. Normally it takes about 8 hours for my notebook to compile Oo. _________________ My Company: Hakata Consulting |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Sat Apr 03, 2004 3:21 pm Post subject: |
|
|
teilo wrote: | One further, possibly relavent note:
When I first tried to emerge this build, the digest failed. I used the ebuild digest command to update the digest files. Soooo - if something changed significantly in the newer file, like maybe in the setup program, then perhaps the Autoresponse file needs work. |
This will be the first thing I check if Ximian OOo does not work right:
Code: |
* ****************************************************************
* It is important to note that OpenOffice.org is a very fragile
* build when it comes to CFLAGS. A number of flags have already
* been filtered out. If you experience difficulty merging this
* package and use agressive CFLAGS, lower the CFLAGS and try to
* merge again.
* ****************************************************************
|
_________________ My Company: Hakata Consulting |
|
Back to top |
|
|
kevmille Guru
Joined: 26 Jul 2003 Posts: 311 Location: Ho Chi Minh City (Saigon), Vietnam
|
Posted: Sun Apr 04, 2004 4:37 am Post subject: |
|
|
I did the following and finally got Ximian_OOo to compile successfully.
Code: | cd /usr/portage/app-office/openoffice-ximian
emerge openoffice-ximian-1.1.52.ebuild |
_________________ My Company: Hakata Consulting |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|