Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1688815

Summary: Scriplet errors during installation
Product: Red Hat Enterprise Linux 8 Reporter: Branislav Náter <bnater>
Component: compat-locales-sapAssignee: Mike FABIAN <mfabian>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 8.0CC: eng-i18n-bugs, mfabian, petersen, poyadav, qe-i18n-bugs, smaitra
Target Milestone: rcKeywords: i18n
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1691988 (view as bug list) Environment:
Last Closed: 2019-07-30 19:32:27 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:
Bug Depends On:    
Bug Blocks: 1691988    

Description Branislav Náter 2019-03-14 14:10:34 UTC
Description of problem:
Following output is produced during package installation:

On x86_64:
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    1/1 
  Running scriptlet: compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    1/1 
cp: cannot stat '/usr/lib/locale/locale-archive': No such file or directory
/usr/sbin/build-locale-archive: cannot open locale archive template file "/usr/lib/locale/locale-archive.tmpl": No such file or directory

  Verifying        : compat-locales-sap-1.0.10-5.el8.noarch

On ppc64le, there is segmentation fault:
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Installing       : compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    1/1 
  Running scriptlet: compat-locales-sap-1.0.10-5.el8.noarch                                                                                                                                                    1/1 
/var/tmp/rpm-tmp.fEV9Rt: line 3: 20922 Segmentation fault      (core dumped) /usr/sbin/build-locale-archive

  Verifying        : compat-locales-sap-1.0.10-5.el8.noarch

Version-Release number of selected component (if applicable):
compat-locales-sap-1.0.10-5.el8.noarch

How reproducible:
always

Steps to Reproduce:
1. yum install compat-locales-sap

Actual results:
see above (no such file or segmentation fault)

Expected results:
no errors

Additional info:
Tested on RC-2.0

Comment 1 Branislav Náter 2019-03-14 14:33:07 UTC
Segmentation fault is present also on aarch64 architecture.

Comment 8 Mike FABIAN 2019-04-19 09:57:54 UTC
New build trying to remove "noarch" because the locales are architecture dependent:

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=21208575

Comment 9 Mike FABIAN 2019-04-23 08:01:04 UTC
New build adding "Conflicts:      %{name} <= 1.0.10-6"
to solve rpmdeplint problem

https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=21249225

Comment 12 errata-xmlrpc 2019-07-30 19:32:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:1993