View Issue Details

IDProjectCategoryView StatusLast Update
0018273CentOS-8libreofficepublic2021-08-10 19:19
Reportersrobi55 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.4.2105 
Summary0018273: sdk idlc fails to compile
DescriptionRecently upgraded to CentOS 8.4. Rebuilding project using libreoffice sdk fails to compile idl files.
Steps To ReproduceUsed attached script and example idl. Ends with

/usr/lib64/libreoffice/sdk/bin/idlc: compiling 1 source files ...
Compiling: /tmp/ExampleEnum.idl
/usr/lib64/libreoffice/sdk/bin/idlc: starting preprocessor failed

However, use packages by libreoffice results in:

/opt/libreoffice6.4/sdk/bin/idlc: compiling 1 source files ...
Compiling: /tmp/ExampleEnum.idl
/opt/libreoffice6.4/sdk/bin/idlc: returned successful/opt/libreoffice6.4/sdk/bin/idlc Version 1.1
TagsNo tags attached.

Activities

srobi55

srobi55

2021-08-10 19:19

reporter  

ExampleEnum.idl (196 bytes)   
/*
 * ExampleEnum.idl
 */
#ifndef __org_example_ExampleEnum__
#define __org_example_ExampleEnum__

module org { module example {
  published enum ExampleEnum {
    On,
    Off
  };
}; };

#endif

ExampleEnum.idl (196 bytes)   
sdk_idlc (530 bytes)   
#!/usr/bin/bash

#
# sdk_idlc - a script to run idlc against one file
#

office_home=/usr/lib64/libreoffice
#office_home=/opt/libreoffice6.0
office_program_dir=$office_home/program
office_tool_path=$office_program_dir:/usr/bin
sdk_idlc=$office_home/sdk/bin/idlc
sdk_idl_dir=$office_home/sdk/idl

idl_out=/tmp
target=/tmp/ExampleEnum.idl

export PATH=$office_tool_path
export LD_LIBRARY_PATH=$office_tool_path:/lib64:/usr/lib64
export DYLD_LIBRARY_PATH=$office_tool_path

$sdk_idlc -verbose -C -O $idl_out -I $sdk_idl_dir $target

sdk_idlc (530 bytes)   

Issue History

Date Modified Username Field Change
2021-08-10 19:19 srobi55 New Issue
2021-08-10 19:19 srobi55 File Added: ExampleEnum.idl
2021-08-10 19:19 srobi55 File Added: sdk_idlc