Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

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

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.

Change History (5)

comment:1 by strk, 9 years ago

Try the git config commands described here ? https://help.github.com/articles/dealing-with-line-endings/

comment:3 by robe, 9 years ago

okay that worked great. committed at r13867

comment:4 by robe, 9 years ago

Resolution: fixed
Status: newclosed

comment:5 by robe, 4 years ago

Milestone: Management 2.0Website Management, Bots

Milestone renamed

Note: See TracTickets for help on using tickets.