SAP Knowledge Base Article - Preview

3147597 - BI 4.x patch Install fails with error "compilation failed"

Symptom

  • A BI 4.3 SP01 patch 10 update Install failed with error "compilation failed"
  • The installer fails with the below messages:

    Please wait while the installer loads...
    [Error] Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/InstallUI/FormBody.pm line 176.
    Compilation failed in require at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/InstallUI/FormScreen.pm line 18.
    BEGIN failed--compilation aborted at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/InstallUI/FormScreen.pm line 18.
    Compilation failed in require at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/DialogLayoutParser.pm line 17.
    BEGIN failed--compilation aborted at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/DialogLayoutParser.pm line 17.
    Compilation failed in require at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/ShowDialog.pm line 14.
    BEGIN failed--compilation aborted at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/ShowDialog.pm line 14.
    Compilation failed in require at (eval 6) line 27.
    BEGIN failed--compilation aborted at (eval 6) line 27.

    [Error] Undefined subroutine &ShowDialog::showDialog2 called at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/ShowDisplayMessage.pm line 263.

    [Error] Attempt to reload ShowDialog.pm aborted.
    Compilation failed in require at (eval 8) line 27.
    BEGIN failed--compilation aborted at (eval 8) line 27.

    Finished, return code is 0

  • Here is what is seen in install logs:
  • ErrorsAndWarnings.log file shows following:
  • Error: Redirected from stderrError: Undefined subroutine &ShowDialog::showDialog2 called at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/ShowDisplayMessage.pm line 263.
  • Setupengine.log shows following error:
  • 11:09:33.015 Error: Redirected from stderr
    11:09:33.015 Error: Undefined subroutine &ShowDialog::showDialog2 called at /usr/sap/install/SBOP_43_SP1_1000/dunit/product.boe64one.patch-4.3.1.10-core-32/actions/ShowDisplayMessage.pm line 263.
  • A stack trace of the installer showed following error:
  • 454330 write(2, "Attempt to reload ShowDialog.pm aborted.\nCompilation failed in require at (eval 8) line 27.\nBEGIN failed--compilation aborted at (eval 8) line 27.\n", 147) = 147
    454330 write(1, "[Error] Attempt to reload ShowDialog.pm aborted.\nCompilation failed in require at (eval 8) line 27.\nBEGIN failed--compilation aborted at (eval 8) line 27.\n", 155) = 155
  • Issues with setup engine (perl) version: The issue indicated perl version as possible culprit as the failed functionality was perl messages included in the Business One installers (under path setup.engine/perl). The following is noted:
  • 4.3_SP2_P0 - perl v 5.34.0 (installer works - if the SP02 install was retried)
  • 4.3_SP1_P0 & 4.3_SP1_P1000   perl v 5.8.9 (installer fails with compile errors in ShowDialog.pm)


Read more...

Environment

  • SAP BI 4.3 SP0 Patch 200
  • SAP Hana 2.x
  • RHEL 7.6
  • Tomcat 9

Product

SAP BusinessObjects Business Intelligence platform 4.3 ; SAP Lumira 2.4, server edition

Keywords

KBA , BI-BIP-INS , Installation, Updates, Upgrade, Patching , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.