Bug 1759942

Summary: automake 1.16.1 bug on am__pep3147_tweak
Product: Red Hat Enterprise Linux 8 Reporter: Sandro Bonazzola <sbonazzo>
Component: automakeAssignee: Patrik Novotný <panovotn>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: databases-maint, extras-qa, hhorak, jkejda, kasal, mkyral, panovotn, praiskup
Target Milestone: rcKeywords: Regression, Reproducer, TestCaseProvided
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: automake-1.16.1-7.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 1757854 Environment:
Last Closed: 2021-05-18 16:05:54 UTC Type: ---
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: 1757854    
Bug Blocks:    

Description Sandro Bonazzola 2019-10-09 13:07:32 UTC
+++ This bug was initially created as a clone of Bug #1757854 +++

This bug was initially created as a copy of Bug #1716384

I am copying this bug because: automake-1.16.1-6.el8.noarch is affected as well

despite it has been fixed in Fedora 29




Description of problem:
In projects using automake for handling python packages "make uninstall" fails due to a bug in am__pep3147_tweak
More info on the issue can be found in http://gnu-automake.7480.n7.nabble.com/bug-31222-automake-1-16-1-am-pep3147-tweak-bug-td22937.html#a23017

Fixing patch has been already merged upstream: http://git.savannah.gnu.org/cgit/automake.git/commit/?id=a348d830659fffd2cfc42994524783b07e69b4b5


Version-Release number of selected component (if applicable):
automake-1.16.1-5.fc29.noarch


How reproducible: 100%


Steps to Reproduce:
reproduced while working on ovirt-hosted-engine-setup:


1. git clone git://gerrit.ovirt.org/ovirt-hosted-engine-setup
2. autoreconf -ivf
3. ./configure
4. make uninstall  (or make distcheck, which calls make uninstall)

Actual results:
[2019-05-31T11:38:43.568Z] make[4]: Entering directory '/home/jenkins/workspace/ovirt-hosted-engine-setup_standard-check-patch/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-2.4.0-0.0.master/_build/sub/src/ovirt_hosted_engine_setup'

[2019-05-31T11:38:43.568Z] /bin/sh: -c: line 11: syntax error near unexpected token `|'

[2019-05-31T11:38:43.568Z] /bin/sh: -c: line 11: `echo "$py_files" |  | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \'

[2019-05-31T11:38:43.568Z] make[4]: *** [Makefile:477: uninstall-dist_ovirthostedenginelibPYTHON] Error 1

[2019-05-31T11:38:43.568Z] make[4]: Leaving directory '/home/jenkins/workspace/ovirt-hosted-engine-setup_standard-check-patch/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-2.4.0-0.0.master/_build/sub/src/ovirt_hosted_engine_setup'



Expected results:
automake doesn't fail

--- Additional comment from Sandro Bonazzola on 2019-10-02 14:57:27 UTC ---

automake - noarch 1.16.1-12.fc30

make[4]: Entering directory '/home/jenkins/workspace/ovirt-hosted-engine-ha_standard-check-patch/ovirt-hosted-engine-ha/ovirt-hosted-engine-ha-2.4.0-0.0.master.20191001121531/_build/sub/ovirt_hosted_engine_ha/lib/ovf'
/bin/sh: -c: line 11: syntax error near unexpected token `|'
/bin/sh: -c: line 11: `echo "$py_files" |  | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \'
make[4]: *** [Makefile:381: uninstall-dist_ovflibPYTHON] Error 1

Comment 20 errata-xmlrpc 2021-05-18 16:05:54 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 (automake bug fix and enhancement update), 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-2021:1916