I patch my xkeyboard-config to add my custom keyboard layout, so I need to recompile that package everytime i change that layout, but compilation always fails because it needs automake 1.15 which isn't pulled automatically when installing xkeyboard-config. Compiles fine when I explicitly install automake 1.15. Workaround: emerge -av1 automake:1.15 Reproducible: Always Steps to Reproduce: 1. emerge -av1 xkeyboard-config Actual Results: Fails to build. Build log: (lots of stuff) Making all in symbols make[1]: Entering directory '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25/symbols' cd .. && /bin/sh /var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25/missing automake-1.15 --foreign symbols/Makefile /var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25/missing: line 81: automake-1.15: command not found WARNING: 'automake-1.15' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/> make[1]: *** [Makefile:403: Makefile.in] Error 127 make[1]: Leaving directory '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25/symbols' make: *** [Makefile:461: all-recursive] Error 1 * ERROR: x11-misc/xkeyboard-config-2.25::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=x11-misc/xkeyboard-config-2.25::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-misc/xkeyboard-config-2.25::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/temp/environment'. * Working directory: '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25' * S: '/var/tmp/portage/x11-misc/xkeyboard-config-2.25/work/xkeyboard-config-2.25' Expected Results: Build the package successfully.
Created attachment 572232 [details] build log
Please attach the pacth(es) you are applying.
*patch(es)
Created attachment 572238 [details, diff] user patch Oh, sorry, I thought it happens regardless of user patches but looks like I was wrong. It compiles fine without this patch. In that case I'm not sure whether it's a bug that should be fixed or should I just add automake:1.15 to my world file instead?
well, you're modifying Makefile.am which triggers maintainer-mode which triggers rebuild of Makefile.in and Makefile. If you can move that change over to Makefile.in your issue should be fixed.
You're right, I moved that change to Makefile.in and it compiles without automake:1.15. Thank you and sorry for creating this bug request, I thought it was a problem with the ebuild, but it was just my patch.