datapatch Fails with "Error at line 22407: Warning: Package altered with compilation errors"

(Doc ID 2275458.1)

Last updated on JUNE 14, 2017

Applies to:

Oracle Database - Standard Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

datapatch fails with following error:

./datapatch -verbose
Patch 25171037 apply: WITH ERRORS
 logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/25171037/21099266/25171037_apply_SPENDMAP_2017May30_10_43_30.log (errors)
 Error at line 22407: Warning: Package altered with compilation errors.

 Check view dba_errors for errors:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms