[postgis-tickets] [PostGIS] #5201: upgrade-path branch fails on windows

PostGIS trac at osgeo.org
Fri Aug 5 11:07:47 PDT 2022


#5201: upgrade-path branch fails on windows
------------------------------------+---------------------------
  Reporter:  robe                   |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  blocker                |  Milestone:  PostGIS 3.4.0
 Component:  build/upgrade/install  |    Version:  master
Resolution:                         |   Keywords:
------------------------------------+---------------------------
Comment (by robe):

 tried in tree too and fails:


 {{{
 ---- Making install in postgis
 make[2]: Entering directory '/projects/postgis/postgis-
 git/extensions/postgis'
 /bin/mkdir -p 'C:/MING64~1/projects/POSTGR~1/rel/PG15W6~2/share/extension'
 /bin/mkdir -p 'C:/MING64~1/projects/POSTGR~1/rel/PG15W6~2/share/extension'
 rm -f sql/postgis--TO--ANY.sql
 echo '-- Just tag extension postgis version as "ANY"' > sql/postgis--TO--
 ANY.sql
 echo '-- Installed by postgis 3.3.0dev' >> sql/postgis--TO--ANY.sql
 echo '-- Built on Fri Aug  5 14:01:21 EDT 2022' >> sql/postgis--TO--
 ANY.sql
 tpl='postgis--ANY--3.3.0dev.sql'; \
 /bin/install -c -m 644 sql/${tpl}
 "C:/MING64~1/projects/POSTGR~1/rel/PG15W6~2/share/extension/${tpl}"; \
 /bin/install -c -m 644 "sql/postgis--TO--ANY.sql"
 "C:/MING64~1/projects/POSTGR~1/rel/PG15W6~2/share/extension/postgis--TO--
 ANY.sql"; \
 ln -fs "postgis--TO--ANY.sql"
 C:/MING64~1/projects/POSTGR~1/rel/PG15W6~2/share/extension/postgis--
 3.3.0dev--ANY.sql; \
 /projects/postgis/postgis-git/loader/postgis install-upgrade-from-
 available
 /extension: No such file or directory at /projects/postgis/postgis-
 git/loader/postgis line 96.
 make[2]: *** [../upgrade-paths-rules.mk:8: install-upgrade-paths] Error 2
 make[2]: Leaving directory '/projects/postgis/postgis-
 git/extensions/postgis'
 make[1]: *** [Makefile:29: install] Error 1
 make[1]: Leaving directory '/projects/postgis/postgis-git/extensions'
 make: *** [GNUmakefile:24: install] Error 1

 }}}

 I'm also not following what this is doing.  If it's just going to install
 ANY and an ANY--to-latest.

 It is not going to work for pg_upgrade so it can't go in.

 In case of pg_upgrade, the version you are moving to will not have old
 files, where there will be no ANY from older versions.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5201#comment:2>
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