[MacPorts] #15870: gpsbabel 1.3.5 fails build - "configure.in:39: error: AC_SUBST"

MacPorts noreply at macports.org
Fri Jul 18 23:34:43 PDT 2008


#15870: gpsbabel 1.3.5 fails build - "configure.in:39: error: AC_SUBST"
--------------------------------+-------------------------------------------
  Reporter:  arno at alum.wpi.edu  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:  Port Bugs                            
 Component:  ports              |     Version:  1.6.0                                
Resolution:  fixed              |    Keywords:  gpsbabel                             
--------------------------------+-------------------------------------------
Changes (by ryandesign at macports.org):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Sorry, arno, I didn't see your message before committing a different
 change.

 I can reproduce the problem with Mac OS X 10.5.4 and Xcode 3.1 on a
 MacBook Pro. I also have the autoconf 2.62 port installed.

 The solution from #16012 isn't applicable here. There, we needed to patch
 configure.ac anyway because it couldn't properly detect iconv in Mac OS X.
 And configure.ac contained a definition that newer autoconf apparently
 doesn't like anymore so I fixed those definitions.

 But here, I can't even see why autoconf would need to run. I mean I see
 why it is running: MacPorts runs "`./configure`" which generates Makefile
 from Makefile.in, and Makefile now has an mtime of "now" making it newer
 than the configure script. Then MacPorts runs "`make all`" and the
 Makefile has set up its dependencies such that the executable depends on
 the configure script, and the rule for building the configure script says
 to run autoconf. So even if I could fix the reported error, we'd be back
 to running "`./configure`", then "`make all`" which would cause
 "`autoconf`" to run and re-run the configure phase again. It's all
 nonsense. I nullified the rule for running autoconf to build the configure
 script since it's already built. Now the port builds for me.

 Fix is in r38415. Thank you, arno, for reporting this problem.

 Michael, you should report both of these problems (1. autoconf is run
 every time which shouldn't be necessary; 2. current version of autoconf
 complains) to the developers of gpsbabel when you get a chance.

-- 
Ticket URL: <http://trac.macports.org/ticket/15870#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list