[opensuse-factory] automake 1.12 and gettext in our coming 12.2
Hi, all The version of gettext in 12.2 has an upstream bug that it still uses depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12. http://lists.gnu.org/archive/html/automake-patches/2012-04/msg00198.html https://aur.archlinux.org/packages.php?ID=33722 (latest comment say it's a gettext bug) And this will cause some packages in 12.2 fails with a "gcc warning taken as error" error. Solution A is to tweak the spec file of specific packages like man, gnutls by replacing "AM_PROG_MKDIR_P" to newer "AC_PROG_MKDIR_P", "$(MKDIR_P)" to "$(mkdir_p)" and removing "-Werror" from CFLAGS. This is okay to man, but to gnutls, this tweak seems doesn't build .po files at all. Solution B is to tweak gettext package but I don't know how. So gettext maintainers please take care of it. Greetings, Marguerite -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Monday 2012-07-02 01:44, Marguerite Su wrote:
depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12.
And this will cause some packages in 12.2 fails with a "gcc warning taken as error" error.
Solution A is to tweak the spec file of specific packages like man, gnutls by replacing "AM_PROG_MKDIR_P" to newer "AC_PROG_MKDIR_P", "$(MKDIR_P)" to "$(mkdir_p)" and removing "-Werror" from CFLAGS.
I doubt that "mkdir_p" is the new name. Not only would that be completely contrary to the path the toolchain has taken before, and I have quite the faith in the autoconf documentation which still says MKDIR_P. Last but not least, automake still emits MKDIR_P into Makefiles. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, Jul 2, 2012 at 8:41 AM, Jan Engelhardt <jengelh@inai.de> wrote:
I doubt that "mkdir_p" is the new name. Not only would that be completely contrary to the path the toolchain has taken before, and I have quite the faith in the autoconf documentation which still says MKDIR_P. Last but not least, automake still emits MKDIR_P into Makefiles.
mkdir_p is not a must. I didn't make myself clear. I tried to locate that error message, but seems it's has been fix by my last patch or something....anyway good news it's gone. Greetings, Marguerite -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02.07.2012 01:44, Marguerite Su wrote:
Hi, all
The version of gettext in 12.2 has an upstream bug that it still uses depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12.
http://lists.gnu.org/archive/html/automake-patches/2012-04/msg00198.html
https://aur.archlinux.org/packages.php?ID=33722 (latest comment say it's a gettext bug)
And this will cause some packages in 12.2 fails with a "gcc warning taken as error" error.
Solution A is to tweak the spec file of specific packages like man, gnutls by replacing "AM_PROG_MKDIR_P" to newer "AC_PROG_MKDIR_P", "$(MKDIR_P)" to "$(mkdir_p)" and removing "-Werror" from CFLAGS.
This is okay to man, but to gnutls, this tweak seems doesn't build .po files at all.
Solution B is to tweak gettext package but I don't know how.
So gettext maintainers please take care of it.
I patched gettext, but I'm not sure it helped Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 02.07.2012 01:44, Marguerite Su wrote:
Hi, all
The version of gettext in 12.2 has an upstream bug that it still uses depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12.
http://lists.gnu.org/archive/html/automake-patches/2012-04/msg00198.html
I reverted to 1.12 now, 1.12.1 is obviously a bad release - AM_PROG_MKDIR_P was supposed to be marked as deprecated, but they simply broke it. Gretings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 01/07/12 19:44, Marguerite Su escribió:
Hi, all
The version of gettext in 12.2 has an upstream bug that it still uses depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12.
http://lists.gnu.org/archive/html/automake-patches/2012-04/msg00198.html
https://aur.archlinux.org/packages.php?ID=33722 (latest comment say it's a gettext bug)
And this will cause some packages in 12.2 fails with a "gcc warning taken as error" error.
Solution A is to tweak the spec file of specific packages like man, gnutls by replacing "AM_PROG_MKDIR_P" to newer "AC_PROG_MKDIR_P", "$(MKDIR_P)" to "$(mkdir_p)" and removing "-Werror" from CFLAGS.
This is okay to man, but to gnutls, this tweak seems doesn't build .po files at all.
Apparently there is also a bug in aclocal: main::scan_file() called too early to check prototype at /usr/bin/aclocal line 642. keeps showing while building packages..hrmmm -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 03.07.2012 23:14, schrieb Cristian Rodríguez:
El 01/07/12 19:44, Marguerite Su escribió:
Hi, all
The version of gettext in 12.2 has an upstream bug that it still uses depreciated AM_PROG_MKDIR_P which is obsoleted since automake 1.10 and actively obsoleted from 1.12.
http://lists.gnu.org/archive/html/automake-patches/2012-04/msg00198.html
https://aur.archlinux.org/packages.php?ID=33722 (latest comment say it's a gettext bug)
And this will cause some packages in 12.2 fails with a "gcc warning taken as error" error.
Solution A is to tweak the spec file of specific packages like man, gnutls by replacing "AM_PROG_MKDIR_P" to newer "AC_PROG_MKDIR_P", "$(MKDIR_P)" to "$(mkdir_p)" and removing "-Werror" from CFLAGS.
This is okay to man, but to gnutls, this tweak seems doesn't build .po files at all.
Apparently there is also a bug in aclocal:
main::scan_file() called too early to check prototype at /usr/bin/aclocal line 642.
1.12.1 has a fix for that. It was one reason why I took this update. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Cristian Rodríguez
-
Jan Engelhardt
-
Marguerite Su
-
Stephan Kulow