#3219 closed defect (fixed)
Can't build against git repo
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | blocker | Milestone: | Website Management, Bots |
Component: | QA/buildbots | Version: | master |
Keywords: | Cc: |
Description
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.
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.
Change History (5)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Even better: .gitattributes See http://git-scm.com/docs/gitattributes#_checking-out_and_checking-in
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Try the git config commands described here ? https://help.github.com/articles/dealing-with-line-endings/