[GRASS-dev] [GRASS GIS] #424: AC_CONFIG_AUX_DIR added in configure.in of 6.4.x causes rpmbuild failure

GRASS GIS trac at osgeo.org
Tue Jan 6 14:51:41 EST 2009


#424: AC_CONFIG_AUX_DIR added in configure.in of 6.4.x causes rpmbuild failure
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect   |      Status:  new                      
 Priority:  major    |   Milestone:  6.4.0                    
Component:  default  |     Version:  6.4.0 RCs                
 Keywords:           |    Platform:  Linux                    
      Cpu:  All      |  
---------------------+------------------------------------------------------
 The following addition to configure.in of 6.4.x:
 {{{
 diff -u ~/grass63_release/configure.in configure.in
 --- /home/neteler/grass63_release/configure.in  2008-03-26
 16:04:27.000000000 +0100
 +++ configure.in        2008-09-12 23:02:45.000000000 +0200
 @@ -99,6 +99,10 @@

  AC_SUBST(ARCH)

 +# Use absolute path for aux directory so that install-sh works
 +
 +AC_CONFIG_AUX_DIR($SRCDIR)
 +
  # Set GISBASE and GRASS_BIN

  GISBASE=${WINDSTDIR}/dist.${ARCH}
 }}}

 leads to this error when creating a (Mandriva) RPM from 6.4.0RC1:

 {{{
 rpmbuild -ba grass640RC1.specExecuting(%prep): /bin/sh -e /var/tmp/rpm-
 tmp.40668
 + umask 022
 + cd /usr/src/rpm/BUILD
 ...
 + LDFLAGS='-L/usr/X11R6/lib64 -Wl,--as-needed -Wl,--no-undefined'
 + export LDFLAGS
 + CONFIGURE_TOP=.
 + /usr/lib/rpm/manbo/force-as-needed-for-shared-lib-in-libtool
 Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf
 http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
 + /usr/lib/rpm/manbo/drop-ld-no-undefined-for-shared-lib-modules-in-
 libtool
 + cputoolize -c .
 libtoolize: cannot handle variables in AC_CONFIG_AUX_DIR
 error: Bad exit status from /var/tmp/rpm-tmp.16786 (%build)


 RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.16786 (%build)
 }}}

 Do we really need AC_CONFIG_AUX_DIR (e.g., in GRASS 6.3 it wasn't needed)
 or can it be conditionalized?

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/424>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list