Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 483358

Summary: =sys-devel/automake-1.13.4 fails test instmany-python - t/instmany-python.dir/x-bin/rm: safe command line limit of 2500 characters exceeded
Product: Gentoo Linux Reporter: Sean Santos <quantheory>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: emeric.maschino, kingjon3377, tech31842
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info automake
test-suite.log

Description Sean Santos 2013-09-02 09:04:25 UTC
Created attachment 357624 [details]
build.log

I'm attaching the build and test suite logs. Here's a little snippet from the test suite log that seems to reveal the issue:

/var/tmp/portage/sys-devel/automake-1.13.4/work/automake-1.13.4/t/instmany-python.dir/x-bin/rm: 
safe command line limit of 2500 characters exceeded
make[1]: *** [uninstall-nobase_pythonPYTHON] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/automake-1.13.4/work/automake-1.13.4/t/in
stmany-python.dir/build/long_subdir_name_with_many_characters'
Comment 1 Sean Santos 2013-09-02 09:04:57 UTC
Created attachment 357628 [details]
emerge --info automake
Comment 2 Sean Santos 2013-09-02 09:05:50 UTC
Created attachment 357630 [details]
test-suite.log
Comment 3 Jason Bucata 2013-10-20 20:00:40 UTC
The same thing happens on my system.
Comment 4 Achim Derigs 2015-07-17 15:54:41 UTC
The same thing happens with sys-devel/automake-1.15::gentoo on my system.
Comment 5 eroen 2017-08-10 20:58:14 UTC
With automake-1.15.1 and python3.6 I see these and a bunch more python related tests fail, mostly because of missing .pyo files.

If I set EPYTHON=python2.7 in the environment, all tests pass.
Comment 6 Larry the Git Cow gentoo-dev 2018-02-25 01:59:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43d394421ca6fcc030952d60200f2888fcd37cb6

commit 43d394421ca6fcc030952d60200f2888fcd37cb6
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-02-25 01:39:04 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-02-25 01:58:45 +0000

    sys-devel/automake: Rev bump to address several issues
    
    Ebuild changes:
    ===============
    - EAPI bumped to EAPI=6 (1.9.x-1.14.x).
    
    - Avoid (low risk) race in /tmp (1.10.x-1.15.x). [Bug 522638]
    
    - Avoid makeinfo requirement when bootstraping (1.14.x-1.15.x).
      [Bug 628912]
    
    - Fix man4.test failure (1.11.x). [Bug 583108]
    
    - Add Python 2.7 requirement for test suite. [Bug 483358, 623432]
    
    - Fix test failures when using >=app-arch/gzip-1.8 (1.14.x). [Bug 604570]
    
    - Updated GIT/SRC_URI to use HTTPS (1.14.x-1.15.x).
    
    - Live ebuild updated with changes from above (9999).
    
    Closes: https://bugs.gentoo.org/583108
    Closes: https://bugs.gentoo.org/483358
    Closes: https://bugs.gentoo.org/623432
    Closes: https://bugs.gentoo.org/604570
    Bug: https://bugs.gentoo.org/522638
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-devel/automake/automake-1.10.3-r3.ebuild       |  95 +++++++++++++++++
 sys-devel/automake/automake-1.11.6-r3.ebuild       | 106 +++++++++++++++++++
 sys-devel/automake/automake-1.12.6-r2.ebuild       |  93 +++++++++++++++++
 sys-devel/automake/automake-1.13.4-r2.ebuild       |  94 +++++++++++++++++
 sys-devel/automake/automake-1.14.1-r2.ebuild       | 112 +++++++++++++++++++++
 sys-devel/automake/automake-1.15.1-r2.ebuild       | 112 +++++++++++++++++++++
 sys-devel/automake/automake-1.9.6-r5.ebuild        |  95 +++++++++++++++++
 sys-devel/automake/automake-9999.ebuild            |  40 +++++---
 ....11-install-sh-avoid-low-risk-race-in-tmp.patch |  77 ++++++++++++++
 ...utomake-1.13-perl-escape-curly-bracket-r1.patch |  37 +++++++
 .../automake/files/automake-1.14-gzip-fix.patch    |  67 ++++++++++++
 ....14-install-sh-avoid-low-risk-race-in-tmp.patch |  77 ++++++++++++++
 ....15-install-sh-avoid-low-risk-race-in-tmp.patch |  82 +++++++++++++++
 .../files/automake-1.9.6-ignore-comments-r1.patch  |  29 ++++++
 .../automake-1.9.6-include-dir-prefix-r1.patch     |  31 ++++++
 .../automake-1.9.6-infopage-namechange-r1.patch    |  33 ++++++
 16 files changed, 1167 insertions(+), 13 deletions(-)