Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 818211 - lxde-base/lxterminal-0.4.0: emerge fails with automake mismatch
Summary: lxde-base/lxterminal-0.4.0: emerge fails with automake mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-15 04:17 UTC by Jay Faulkner
Modified: 2021-10-20 01:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=lxde-base/lxterminal-0.4.0::gentoo' (emerge_info_lxterminal,8.87 KB, text/plain)
2021-10-15 04:17 UTC, Jay Faulkner
Details
build.log (file_818211.txt,2.55 KB, text/plain)
2021-10-15 04:22 UTC, Jay Faulkner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jay Faulkner 2021-10-15 04:17:47 UTC
Created attachment 744984 [details]
emerge --info '=lxde-base/lxterminal-0.4.0::gentoo'

I was installing lxterminal on my system, and got an automake error -- it appears to be of the type mentioned here: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Autotools_failures#automake_version_mismatch_when_running_eautoreconf

Error:
 * Failed running 'automake'!
 * 
 * Include in your bug report the contents of:
 * 
 *   /var/tmp/portage/lxde-base/lxterminal-0.4.0/temp/automake.out
 * ERROR: lxde-base/lxterminal-0.4.0::gentoo failed (prepare phase):
 *   Failed running 'automake'!
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_prepare
 *   environment, line 1595:  Called eautoreconf
 *   environment, line  893:  Called eautomake
 *   environment, line  847:  Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign' '--force-missing'
 *   environment, line  600:  Called die
 * The specific snippet of code:
 *           die "Failed running '${1}'!";
 * 
 * If you need support, post the output of `emerge --info '=lxde-base/lxterminal-0.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=lxde-base/lxterminal-0.4.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/lxde-base/lxterminal-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/lxde-base/lxterminal-0.4.0/temp/environment'.
 * Working directory: '/var/tmp/portage/lxde-base/lxterminal-0.4.0/work/lxterminal-0.4.0'
 * S: '/var/tmp/portage/lxde-base/lxterminal-0.4.0/work/lxterminal-0.4.0'

$ emerge -pqv '=lxde-base/lxterminal-0.4.0::gentoo'
[ebuild  N    ] lxde-base/lxterminal-0.4.0 

$ sudo cat /var/tmp/portage/lxde-base/lxterminal-0.4.0/temp/automake.out
***** automake *****
***** PWD: /var/tmp/portage/lxde-base/lxterminal-0.4.0/work/lxterminal-0.4.0
***** automake --add-missing --copy --foreign --force-missing

configure.ac:8: error: version mismatch.  This is Automake 1.16.4,
configure.ac:8: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:8: comes from Automake 1.16.3.  You should recreate
configure.ac:8: aclocal.m4 with aclocal and run automake again.


emerge info output is attached


I am happy to help debug or test any patches. Thanks!
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 04:18:35 UTC
Can you include the full build.lo too?
Comment 2 Jay Faulkner 2021-10-15 04:22:07 UTC
Created attachment 744987 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-15 04:28:50 UTC
Hm, I can't reproduce this. Was hoping for user patches or something.

- Reproducible?
- Clock right?
Comment 4 Jay Faulkner 2021-10-15 04:40:09 UTC
I've figured it out. Working on my git+signing setup now, then I'll submit a PR to Gentoo and link it here.
Comment 5 Jay Faulkner 2021-10-15 04:48:57 UTC
I posted a patch here: https://github.com/gentoo/gentoo/pull/22582.

The failure was reproducible in every case; I have no idea about what could be particularly strange about my machine. This change led to a correctly built and working lxterminal.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-20 01:14:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03820a4c8bea239c7c4b67b9dbbb1b382f154009

commit 03820a4c8bea239c7c4b67b9dbbb1b382f154009
Author:     Jay Faulkner <jay@jvf.cc>
AuthorDate: 2021-10-15 04:43:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-20 01:10:24 +0000

    lxde-base/lxterminal: fix maintainer mode / automake mismatch
    
    Per the instructions in the QA project wiki page, I removed
    the aclocal.m4 file from the upstream package during the build
    phase. That resulted in a successful compilation of the package.
    
    Closes: https://bugs.gentoo.org/818211
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Jay Faulkner <jay@jvf.cc>
    Closes: https://github.com/gentoo/gentoo/pull/22582
    Signed-off-by: Sam James <sam@gentoo.org>

 lxde-base/lxterminal/lxterminal-0.4.0.ebuild | 3 +++
 1 file changed, 3 insertions(+)