[postgis-tickets] [PostGIS] #5450: 3.4.0-beta1 fails to build (error: detected recursion whilst expanding macro "pixel")
PostGIS
trac at osgeo.org
Sat Jul 15 23:10:56 PDT 2023
#5450: 3.4.0-beta1 fails to build (error: detected recursion whilst expanding
macro "pixel")
----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.4
Component: postgis | Version: 3.3.x
Keywords: |
----------------------------+---------------------------
The Debian package build for 3.4.0-beta1 failed on powerpc architectures:
{{{
make[3]: Entering directory '/<<PKGBUILDDIR>>/raster'
/usr/bin/make -C rt_core
/usr/bin/make -C rt_pg rtpostgis.sql
make[4]: Entering directory '/<<PKGBUILDDIR>>/raster/rt_pg'
make[4]: Entering directory '/<<PKGBUILDDIR>>/raster/rt_core'
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_util.o rt_util.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_spatial_relationship.o
rt_spatial_relationship.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_mapalgebra.o rt_mapalgebra.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_geometry.o rt_geometry.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_statistics.o rt_statistics.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_pixel.o rt_pixel.c
powerpc64le-linux-gnu-gcc -I../../liblwgeom -I../../liblwgeom -I../..
-I../../raster -I. -I/usr/include -I/usr/include/powerpc64le-linux-gnu
-I/usr/include/libxml2 -I/usr/include -I/usr/include/json-c -DNDEBUG
-Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu99 -g -O2 -ffile-prefix-
map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-
security -fno-math-errno -fno-signed-zeros -Wall -flto -fPIC -DPIC
-I/usr/include/gdal -I/usr/include/powerpc64le-linux-gnu -I/usr/include
-Wdate-time -D_FORTIFY_SOURCE=2 -c -o rt_warp.o rt_warp.c
/usr/bin/cpp -traditional-cpp -w -P -I../../postgis/ rtpostgis.sql.in >
rtpostgis.sql.tmp
rtpostgis.sql.in:1605: error: detected recursion whilst expanding macro
"pixel"
1605 | -- per band pixel type check
|
rtpostgis.sql.in:1633: error: detected recursion whilst expanding macro
"pixel"
1633 | -- per band pixel type
check
|
rtpostgis.sql.in:3150: error: detected recursion whilst expanding macro
"pixel"
3150 | -- max distance from center pixel
|
rtpostgis.sql.in:3168: error: detected recursion whilst expanding macro
"pixel"
3168 | -- center pixel's coordinates
|
rtpostgis.sql.in:3187: error: detected recursion whilst expanding macro
"pixel"
3187 | -- second arg is what to do if center
pixel has a value
|
rtpostgis.sql.in:3188: error: detected recursion whilst expanding macro
"pixel"
3188 | -- this will be a weight to apply for the
center pixel
|
rtpostgis.sql.in:3205: error: detected recursion whilst expanding macro
"pixel"
3205 | -- center pixel value
|
rtpostgis.sql.in:3208: error: detected recursion whilst expanding macro
"pixel"
3208 | -- check to see if center pixel has value
|
rtpostgis.sql.in:3218: error: detected recursion whilst expanding macro
"pixel"
3218 | -- skip NODATA values and center
pixel
|
rtpostgis.sql.in:3237: error: detected recursion whilst expanding macro
"pixel"
3237 | -- center pixel has value
|
rtpostgis.sql.in:3256: error: detected recursion whilst expanding macro
"pixel"
3256 | -- apply weight for center pixel if center pixel
has value
|
rtpostgis.sql.in:3256: error: detected recursion whilst expanding macro
"pixel"
rtpostgis.sql.in:3310: error: detected recursion whilst expanding macro
"pixel"
3310 | -- max distance from center pixel
|
rtpostgis.sql.in:3326: error: detected recursion whilst expanding macro
"pixel"
3326 | -- center pixel's coordinates
|
rtpostgis.sql.in:3330: error: detected recursion whilst expanding macro
"pixel"
3330 | -- center pixel value
|
rtpostgis.sql.in:3333: error: detected recursion whilst expanding macro
"pixel"
3333 | -- check to see if center pixel has value
|
rtpostgis.sql.in:3341: error: detected recursion whilst expanding macro
"pixel"
3341 | -- skip NODATA values and center
pixel
|
rtpostgis.sql.in:3430: error: detected recursion whilst expanding macro
"pixel"
3430 | -- check that center pixel isn't NODATA
|
rtpostgis.sql.in:3433: error: detected recursion whilst expanding macro
"pixel"
3433 | -- substitute center pixel for any neighbor pixels
that are NODATA
|
rtpostgis.sql.in:3599: error: detected recursion whilst expanding macro
"pixel"
3599 | -- check that center pixel isn't NODATA
|
rtpostgis.sql.in:3602: error: detected recursion whilst expanding macro
"pixel"
3602 | -- substitute center pixel for any neighbor pixels
that are NODATA
|
rtpostgis.sql.in:3781: error: detected recursion whilst expanding macro
"pixel"
3781 | -- check that pixel is not edge pixel
|
rtpostgis.sql.in:3781: error: detected recursion whilst expanding macro
"pixel"
rtpostgis.sql.in:3979: error: detected recursion whilst expanding macro
"pixel"
3979 | -- check that center pixel isn't NODATA
|
rtpostgis.sql.in:3982: error: detected recursion whilst expanding macro
"pixel"
3982 | -- substitute center pixel for any neighbor pixels
that are NODATA
|
rtpostgis.sql.in:4123: error: detected recursion whilst expanding macro
"pixel"
4123 | -- check that center pixel isn't NODATA
|
rtpostgis.sql.in:4126: error: detected recursion whilst expanding macro
"pixel"
4126 | -- substitute center pixel for any neighbor pixels
that are NODATA
|
rtpostgis.sql.in:4261: error: detected recursion whilst expanding macro
"pixel"
4261 | -- check that center pixel isn't NODATA
|
rtpostgis.sql.in:4264: error: detected recursion whilst expanding macro
"pixel"
4264 | -- substitute center pixel for any neighbor pixels
that are NODATA
|
rtpostgis.sql.in:5230: error: detected recursion whilst expanding macro
"pixel"
5230 | -- Returns the pixel column and row covering the provided X and Y
world
|
rtpostgis.sql.in:5245: error: detected recursion whilst expanding macro
"pixel"
5245 | -- Returns the pixel column and row covering the provided point
geometry.
|
rtpostgis.sql.in:5273: error: detected recursion whilst expanding macro
"pixel"
5273 | -- Returns the column number of the pixel covering the provided X
and Y world
|
rtpostgis.sql.in:5297: error: detected recursion whilst expanding macro
"pixel"
5297 | -- Returns the column number of the pixel covering the provided
point geometry.
|
rtpostgis.sql.in:5320: error: detected recursion whilst expanding macro
"pixel"
5320 | -- Returns the row number of the pixel covering the provided X and
Y world
|
rtpostgis.sql.in:5344: error: detected recursion whilst expanding macro
"pixel"
5344 | -- Returns the row number of the pixel covering the provided point
geometry.
|
rtpostgis.sql.in:5379: error: detected recursion whilst expanding macro
"pixel"
5379 | -- Returns the longitude and latitude of the upper left corner of
the pixel
|
rtpostgis.sql.in:5380: error: detected recursion whilst expanding macro
"pixel"
5380 | -- located at the provided pixel column and row.
|
rtpostgis.sql.in:5396: error: detected recursion whilst expanding macro
"pixel"
5396 | -- Returns the X world coordinate of the upper left corner of the
pixel located at
|
rtpostgis.sql.in:5408: error: detected recursion whilst expanding macro
"pixel"
5408 | -- Returns the X world coordinate of the upper left corner of the
pixel located at
|
rtpostgis.sql.in:5422: error: detected recursion whilst expanding macro
"pixel"
5422 | -- Returns the Y world coordinate of the upper left corner of the
pixel located at
|
rtpostgis.sql.in:5434: error: detected recursion whilst expanding macro
"pixel"
5434 | -- Returns the Y world coordinate of the upper left corner of the
pixel located at
|
rtpostgis.sql.in:5534: error: detected recursion whilst expanding macro
"bool"
5534 | RETURNS bool
|
rtpostgis.sql.in:5556: error: detected recursion whilst expanding macro
"bool"
5556 | RETURNS bool
|
rtpostgis.sql.in:5561: error: detected recursion whilst expanding macro
"bool"
5561 | RETURNS bool
|
rtpostgis.sql.in:5566: error: detected recursion whilst expanding macro
"bool"
5566 | RETURNS bool
|
rtpostgis.sql.in:5571: error: detected recursion whilst expanding macro
"bool"
5571 | RETURNS bool
|
rtpostgis.sql.in:5576: error: detected recursion whilst expanding macro
"bool"
5576 | RETURNS bool
|
rtpostgis.sql.in:5581: error: detected recursion whilst expanding macro
"bool"
5581 | RETURNS bool
|
rtpostgis.sql.in:5586: error: detected recursion whilst expanding macro
"bool"
5586 | RETURNS bool
|
rtpostgis.sql.in:5591: error: detected recursion whilst expanding macro
"bool"
5591 | RETURNS bool
|
rtpostgis.sql.in:5596: error: detected recursion whilst expanding macro
"bool"
5596 | RETURNS bool
|
rtpostgis.sql.in:5601: error: detected recursion whilst expanding macro
"bool"
5601 | RETURNS bool
|
rtpostgis.sql.in:5606: error: detected recursion whilst expanding macro
"bool"
5606 | RETURNS bool
|
rtpostgis.sql.in:5611: error: detected recursion whilst expanding macro
"bool"
5611 | RETURNS bool
|
rtpostgis.sql.in:5619: error: detected recursion whilst expanding macro
"bool"
5619 | RETURNS bool
|
rtpostgis.sql.in:5625: error: detected recursion whilst expanding macro
"bool"
5625 | RETURNS bool
|
rtpostgis.sql.in:5631: error: detected recursion whilst expanding macro
"bool"
5631 | RETURNS bool
|
rtpostgis.sql.in:5639: error: detected recursion whilst expanding macro
"bool"
5639 | RETURNS bool
|
rtpostgis.sql.in:5645: error: detected recursion whilst expanding macro
"bool"
5645 | RETURNS bool
|
rtpostgis.sql.in:5651: error: detected recursion whilst expanding macro
"bool"
5651 | RETURNS bool
|
rtpostgis.sql.in:8627: error: detected recursion whilst expanding macro
"pixel"
8627 | -- @param sfx scale factor x (pixel width)
|
rtpostgis.sql.in:8628: error: detected recursion whilst expanding macro
"pixel"
8628 | -- @param sfy scale factor y (pixel height, usually negative)
|
make[4]: *** [Makefile:128: rtpostgis.sql] Error 1
}}}
Full buildlogs:
[https://buildd.debian.org/status/fetch.php?pkg=postgis&arch=ppc64el&ver=3.4.0%7Ebeta1%2Bdfsg-1%7Eexp4&stamp=1689485687&raw=0
ppc64el] (64bit, little endian),
[https://buildd.debian.org/status/fetch.php?pkg=postgis&arch=ppc64&ver=3.4.0%7Ebeta1%2Bdfsg-1%7Eexp3&stamp=1689448496&raw=0
ppc64] (64bit, big endian),
[https://buildd.debian.org/status/fetch.php?pkg=postgis&arch=powerpc&ver=3.4.0%7Ebeta1%2Bdfsg-1%7Eexp3&stamp=1689448400&raw=0
powerpc] (32bit, big endian)
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5450>
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