Bug 985849

Summary: perl-OpenOffice-UNO does not build due unkown -BUCR optoin
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-OpenOffice-UNOAssignee: Paul Howarth <paul>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: lkundrak, paul, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-OpenOffice-UNO-0.07-9.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-18 14:16:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.