Bug 985849 - perl-OpenOffice-UNO does not build due unkown -BUCR optoin
Summary: perl-OpenOffice-UNO does not build due unkown -BUCR optoin
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-OpenOffice-UNO
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Howarth
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 11:25 UTC by Petr Pisar
Modified: 2013-07-18 14:16 UTC (History)
3 users (show)

Fixed In Version: perl-OpenOffice-UNO-0.07-9.fc20
Clone Of:
Environment:
Last Closed: 2013-07-18 14:16:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2013-07-18 11:25:30 UTC
Current perl-OpenOffice-UNO does build in rawhide:

+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables'
Checking if your kit is complete...
Looks good
Writing Makefile for OpenOffice::UNO
+ make -j5
/usr/bin/perl /usr/share/perl5/vendor_perl/ExtUtils/xsubpp  -C++ -typemap /usr/share/perl5/ExtUtils/typemap -typemap typemap  UNO.xs > UNO.xsc && mv UNO.xsc UNO.c
/usr/lib/libreoffice/sdk/bin/cppumaker -Gc -BUCR -O/builddir/build/BUILD/OpenOffice-UNO-0.07/blib/uno -Tcom.sun.star.lang.IllegalArgumentException -Tcom.sun.star.uno.RuntimeException -Tcom.sun.star.uno.TypeClass -Tcom.sun.star.uno.XAggregation -Tcom.sun.star.uno.XComponentContext -Tcom.sun.star.lang.XInitialization -Tcom.sun.star.lang.XMultiComponentFactory -Tcom.sun.star.lang.XMultiServiceFactory -Tcom.sun.star.registry.XRegistryKey -Tcom.sun.star.lang.XServiceInfo -Tcom.sun.star.lang.XSingleComponentFactory -Tcom.sun.star.lang.XSingleServiceFactory -Tcom.sun.star.lang.XTypeProvider -Tcom.sun.star.uno.XWeak -Tcom.sun.star.lang.XComponent -Tcom.sun.star.bridge.XUnoUrlResolver -Tcom.sun.star.container.XHierarchicalNameAccess -Tcom.sun.star.uno.DeploymentException -Tcom.sun.star.registry.XSimpleRegistry -Tcom.sun.star.reflection.XIdlClass -Tcom.sun.star.reflection.XIdlReflection -Tcom.sun.star.beans.XMaterialHolder -Tcom.sun.star.script.XTypeConverter -Tcom.sun.star.beans.XIntrospection -Tcom.sun.star.script.XInvocation2 -Tcom.sun.star.lang.WrappedTargetRuntimeException "/usr/lib/libreoffice/ure/share/misc/types.rdb"
/usr/bin/perl -pe "s<UNO_PATH></usr/lib/libreoffice/ure/share/misc>" -- perluno.tmpl > perluno
Illegal option the option is unknown-BUCR
make: *** [blib/uno/headers] Error 1

I think contemporary cppumaker does not understand -BUCR option. Incompatible LibreOffice version?

Comment 1 Paul Howarth 2013-07-18 14:16:20 UTC
You're right about contemporary cppumaker. The "-B" option has been removed and it's auto-applied where necessary.

Having patched out that option, I did a scratch build for f20-perl and that worked too, though it took three attempts to get the current rawhide build to work - I think there may be some sort of timeout in the test suite that gets triggered if it takes too long, so it depends on how busy the builder is as to whether it works or not.


Note You need to log in before you can comment on or make changes to this bug.