Bug 985849 - perl-OpenOffice-UNO does not build due unkown -BUCR optoin
perl-OpenOffice-UNO does not build due unkown -BUCR optoin
Product: Fedora
Classification: Fedora
Component: perl-OpenOffice-UNO (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Paul Howarth
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-07-18 07:25 EDT by Petr Pisar
Modified: 2013-07-18 10:16 EDT (History)
3 users (show)

See Also:
Fixed In Version: perl-OpenOffice-UNO-0.07-9.fc20
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-18 10:16:20 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Pisar 2013-07-18 07:25:30 EDT
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 10:16:20 EDT
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.