Ticket #13743 (closed build error: fixed)

Opened 19 months ago

Last modified 19 months ago

wxGTK-2.8.12 has m4 macros from two versions of bakefile

Reported by: heroxbd Owned by:
Priority: normal Milestone: 2.8.13
Component: build Version: 2.8.12
Keywords: Cc: dirtyepic@…
Blocked By: Patch: no
Blocking:

Description

As shown below in the appendix, autoconf_inc.m4 is from bakefile-0.2.9 and build/aclocal/bakefile.m4 is from bakefile-0.2.8. This causes autoconf -B build/autoconf_prepend-include to fail, with

configure: error: Versions of Bakefile used to generate makefiles (0.2.9)
and configure (0.2.8) do not match.

Please ship consistent m4 macros regarding to bakefile version, to let the user run only autoconf when tweaking configure.in, instead of having to install bakefile and run bakefile_gen.

A bug report on gentoo:

 https://bugs.gentoo.org/show_bug.cgi?id=394123

Appendix
========

$ grep -n BAKEFILE -r . | grep 0.2
./configure:49663:    BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"
./configure:49666:BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.8"
./autoconf_inc.m4:7:BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
./build/aclocal/bakefile.m4:840:    BAKEFILE_BAKEFILE_M4_VERSION="0.2.8"

Change History

Changed 19 months ago by dirtyepic@…

  • cc dirtyepic@… added

Changed 19 months ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [69977]) Update version in bakefile.m4 and regenerate configure to reflect it.

Autoconf format files (autoconf_inc.m4 and Makefile.in itself) were generated
with bakefile 0.2.9 but bakefile.m4 still contained 0.2.8, resulting in errors
when configuring.

Closes #13743.

Note: See TracTickets for help on using tickets.