Opened 2 years ago

Closed 2 years ago

#13743 closed build error (fixed)

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: Blocking:
Patch: no

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 (2)

comment:1 Changed 2 years ago by dirtyepic@…

  • Cc dirtyepic@… added

comment:2 Changed 2 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(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.