[postgis-tickets] [PostGIS] #5269: Berrie failing on installing shp2pgsql pgsql2shp
PostGIS
trac at osgeo.org
Wed Nov 9 02:06:50 PST 2022
#5269: Berrie failing on installing shp2pgsql pgsql2shp
------------------------------------+---------------------------
Reporter: robe | Owner: strk
Type: defect | Status: closed
Priority: blocker | Milestone: PostGIS 3.4.0
Component: build/upgrade/install | Version: master
Resolution: fixed | Keywords:
------------------------------------+---------------------------
Old description:
> {{{
> 05:55:07 ---- Making install in loader
> 05:55:07 make[1]: Entering directory
> '/home/jenkins/workspace/PostGIS_Worker_Run/label/berrie/8a73d5ee4ea69f318deda4ad3f72ee4cb5f20371/loader'
> 05:55:07 /bin/bash ../libtool --mode=install /usr/bin/install -c
> pgsql2shp "/usr/local/bin/pgsql2shp"
> 05:55:07 libtool: install: /usr/bin/install -c pgsql2shp
> /usr/local/bin/pgsql2shp
> 05:55:07 /usr/bin/install: cannot create regular file
> '/usr/local/bin/pgsql2shp': Permission denied
> 05:55:07 make[1]: *** [Makefile:148: install] Error 1
> 05:55:07 make[1]: Leaving directory
> '/home/jenkins/workspace/PostGIS_Worker_Run/label/berrie/8a73d5ee4ea69f318deda4ad3f72ee4cb5f20371/loader'
> 05:55:07 make: *** [GNUmakefile:25: install] Error 1
> 05:55:08 Build step 'Execute shell' marked build as failure
> 05:55:13 Finished: FAILURE
> }}}
>
> I assume this is a result of this:
>
> [8a73d5ee4e/git]
>
> So the cis need to be changed to now use the prefix
New description:
{{{
05:55:07 ---- Making install in loader
05:55:07 make[1]: Entering directory
'/home/jenkins/workspace/PostGIS_Worker_Run/label/berrie/8a73d5ee4ea69f318deda4ad3f72ee4cb5f20371/loader'
05:55:07 /bin/bash ../libtool --mode=install /usr/bin/install -c pgsql2shp
"/usr/local/bin/pgsql2shp"
05:55:07 libtool: install: /usr/bin/install -c pgsql2shp
/usr/local/bin/pgsql2shp
05:55:07 /usr/bin/install: cannot create regular file
'/usr/local/bin/pgsql2shp': Permission denied
05:55:07 make[1]: *** [Makefile:148: install] Error 1
05:55:07 make[1]: Leaving directory
'/home/jenkins/workspace/PostGIS_Worker_Run/label/berrie/8a73d5ee4ea69f318deda4ad3f72ee4cb5f20371/loader'
05:55:07 make: *** [GNUmakefile:25: install] Error 1
05:55:08 Build step 'Execute shell' marked build as failure
05:55:13 Finished: FAILURE
}}}
I assume this is a result of this:
[8a73d5ee4e/git]
So the cis need to be changed to now use the prefix
--
Comment (by strk):
I think you want to omit the /bin part from the --prefix (or you'd end up
installing in bin/bin)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5269#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