Bug 1757854

Summary: automake 1.16.1 bug on am__pep3147_tweak
Product: [Fedora] Fedora Reporter: Sandro Bonazzola <sbonazzo>
Component: automakeAssignee: Patrik Novotný <panovotn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: jjanco, karsten, kasal, panovotn, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: automake-1.16.1-13.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1759942 (view as bug list) Environment:
Last Closed: 2019-11-09 22:39:26 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:    
Bug Blocks: 1759942    

Description Sandro Bonazzola 2019-10-02 14:56:38 UTC
This bug was initially created as a copy of Bug #1716384

I am copying this bug because: 

despite it has been fixed in Fedora 29 it's still there in Fedora 30




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

Comment 1 Sandro Bonazzola 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 2 Fedora Update System 2019-11-01 14:30:44 UTC
FEDORA-2019-5f53dc10b2 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5f53dc10b2

Comment 3 Fedora Update System 2019-11-02 02:26:43 UTC
automake-1.16.1-13.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5f53dc10b2

Comment 4 Fedora Update System 2019-11-09 22:39:26 UTC
automake-1.16.1-13.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.