Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255845 - openoffice-3.0.0 build fails with USE="mono"
Summary: openoffice-3.0.0 build fails with USE="mono"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 256221 257987 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-21 23:40 UTC by Ildar Sagdejev
Modified: 2009-05-22 00:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
log of failure when emerging openoffice-3.0.0 with USE="mono", mono-2.2-r2 installed (failed-emerge-openoffice-3.0.0-with-mono.log,3.63 KB, text/plain)
2009-01-21 23:41 UTC, Ildar Sagdejev
Details
my 'emerge --info' at time of failure (emerge-info-original,3.85 KB, text/plain)
2009-01-21 23:41 UTC, Ildar Sagdejev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ildar Sagdejev 2009-01-21 23:40:06 UTC
Building app-office/openoffice-3.0.0 fails with USE="mono" (I've got dev-lang/mono-2.2-r2 installed).  With USE="-mono" it builds successfully (amd64).  The error is:

1 module(s): 
        cli_ure
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/cli_ure/source/climaker

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from cli_ure"
Comment 1 Ildar Sagdejev 2009-01-21 23:41:16 UTC
Created attachment 179241 [details]
log of failure when emerging openoffice-3.0.0 with USE="mono", mono-2.2-r2 installed
Comment 2 Ildar Sagdejev 2009-01-21 23:41:54 UTC
Created attachment 179243 [details]
my 'emerge --info' at time of failure
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-22 09:03:42 UTC
Might be a problem with Mono 2.2, my last full build predates this, going to check myself. 

Besides that: As the ebuild states please try to rebuild with MAKEOPTS="-j1" before filing a bug, so that we get a useful error output... (or try to find the relevant part in the log ;) )
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-22 09:11:02 UTC
(In reply to comment #3)
> Might be a problem with Mono 2.2, my last full build predates this, going to
> check myself. 

Reproduced. Problem lies in this file:
/ooo/build/ooo300-m9/cli_ure/source/climaker/makefile.mk
Line:
 mkbundle2 --static -L $(OUT)/lib --deps -o $(BIN)$/climaker $(BIN)$/climaker.exe $(BIN)/cli_basetypes.dll
From mono-2.2 on we no longer install a static copy of libmono, so that line needs to change to s/--static//

(What's with all the patches in subdirectories in openoffice?)
Comment 5 Ildar Sagdejev 2009-01-22 16:02:14 UTC
> Besides that: As the ebuild states please try to rebuild with MAKEOPTS="-j1"
> before filing a bug, so that we get a useful error output... (or try to find
> the relevant part in the log ;) )

Sorry, I forgot to mention I have also tried building with -j1, and the failure is the same, and with USE="-mono" openoffice builds fine with MAKEOPTS="-j5".
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-24 20:37:30 UTC
*** Bug 256221 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-27 15:04:39 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Might be a problem with Mono 2.2, my last full build predates this, going to
> > check myself. 
> 
> Reproduced. Problem lies in this file:
> /ooo/build/ooo300-m9/cli_ure/source/climaker/makefile.mk

Thanks for the pointer, I've done a patch for OOo 3.0.1 now, will be in the tree soon. Not done for the stable release atm as I'm not to sure if this might have some side effects for Mono 2.0 users.

@Peter: Any expertise on this would be helpful ;)
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-27 16:00:41 UTC
(In reply to comment #7)

> Thanks for the pointer, I've done a patch for OOo 3.0.1 now, will be in the
> tree soon. Not done for the stable release atm as I'm not to sure if this
> might have some side effects for Mono 2.0 users.
> 
> @Peter: Any expertise on this would be helpful ;)

I don't see how it could be harmful. Climaker is, as far as I can tell, a tool that openoffice needs to build itself which is then discarded. If it were something that got installed, then maybe there would be problems on the next libmono ABI bump. But that's life with a source-distro.
Comment 9 BedOS_Gui 2009-01-27 20:11:16 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > (In reply to comment #3)
> > > Might be a problem with Mono 2.2, my last full build predates this, going to
> > > check myself. 
> > 
> > Reproduced. Problem lies in this file:
> > /ooo/build/ooo300-m9/cli_ure/source/climaker/makefile.mk
> 
> Thanks for the pointer, I've done a patch for OOo 3.0.1 now, will be in the
> tree soon. Not done for the stable release atm as I'm not to sure if this might
> have some side effects for Mono 2.0 users.
The compilation works fine on my amd64 box with your patch Andreas, thanks !

Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-09 12:29:58 UTC
*** Bug 257987 has been marked as a duplicate of this bug. ***
Comment 11 Peter Alfredsen (RETIRED) gentoo-dev 2009-05-22 00:06:05 UTC
Marking as FIXED. Mono-2.4 no longer builds only dynamic libraries and the patch isn't applied there, I see.