[postgis-tickets] [PostGIS] #3219: Can't build against git repo

PostGIS trac at osgeo.org
Thu Jul 30 16:41:42 PDT 2015


#3219: Can't build against git repo
-----------------------+----------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  Management 2.0
Component:  buildbots  |    Version:  trunk
 Keywords:             |
-----------------------+----------------------------
 strk was kind enough to setup a git winnie branch on github/postgis  --

 but sadly this does not work for me.

 http://winnie.postgis.net:1500/job/PostGIS_EDB_Regress_winnie/5/console
 {{{
 PORT IS 10343
 PGIS_REG_TMPDIR IS
 /projects/postgis/tmp/2.2.winnie_pg9.4_geos3.5.0dev_gdal2.0w64
 * Running /bin/libtoolize (2.4.2)
    OPTIONS = --force --copy --install

 libtoolize: putting auxiliary files in `.'.
 libtoolize: copying file `./config.guess'

 libtoolize: copying file `./config.sub'

 libtoolize: copying file `./install-sh'
 libtoolize: copying file `./ltmain.sh'
 libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `macros'.
 libtoolize: copying file `macros/libtool.m4'
 libtoolize: copying file `macros/ltoptions.m4'

 libtoolize: copying file `macros/ltsugar.m4'
 libtoolize: copying file `macros/ltversion.m4'
 libtoolize: copying file `macros/lt~obsolete.m4'
 libtoolize: Consider adding `-I macros' to ACLOCAL_AMFLAGS in Makefile.am.
 * Running /bin/aclocal (1.12.6)

 configure.ac:1276: error: `
 ' is already registered with AC_CONFIG_FILES.
 /sources/autoconf/autoconf-2.69-1/src/autoconf-2.69/lib/autoconf/status.m4:288:
 AC_CONFIG_FILES is expanded from...
 configure.ac:1276: the top level
 /bin/m4: cannot remove temporary directory
 /projects/postgis/tmp/2.2.winnie_pg9.4_geos3.5.0dev_gdal2.0w64/m4-WexfWi:
 Directory not empty
 autom4te: /bin/m4 failed with exit status: 1
 aclocal: error: autom4te failed with exit status: 1

   Something went wrong, giving up!
 }}}

 My guess is that git is switching to native mode and configure script gets
 all mangled under windows with the windows line breaks.
 similar to what this person describes.

 https://ask.wireshark.org/questions/24787/solved-error-with-autogensh-
 usrshareaclocal-is-already-registered-with-ac_config_files

 I suspect that is also why I can't build postgresql from git repo (can
 only build from the generated tar balls).

 Anyway have to figure out how to force specific unix line breaks via git
 as we currently can do with SVN, otherwise  this is a pretty much a non-
 starter for me working on a git repo.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3219>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list