Opened 6 months ago

Last modified 6 months ago

#5658 new defect

postgis does not compile lats few days

Reported by: RekGRpth Owned by: strk
Priority: medium Milestone: PostGIS PostgreSQL
Component: build Version: master
Keywords: Cc:

Description

#9 323.2 —— Making all in liblwgeom #9 323.2 make[1]: Entering directory '/var/lib/postgresql/src/postgis/liblwgeom' #9 323.2 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o stringbuffer.lo stringbuffer.c #9 323.2 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o optionlist.lo optionlist.c #9 323.2 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o stringlist.lo stringlist.c #9 323.2 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o bytebuffer.lo bytebuffer.c #9 323.3 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c optionlist.c -fPIC -DPIC -o .libs/optionlist.o #9 323.3 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c stringbuffer.c -fPIC -DPIC -o .libs/stringbuffer.o #9 323.3 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c bytebuffer.c -fPIC -DPIC -o .libs/bytebuffer.o #9 323.3 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c stringlist.c -fPIC -DPIC -o .libs/stringlist.o #9 323.4 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c stringlist.c -o stringlist.o >/dev/null 2>&1 #9 323.4 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c optionlist.c -o optionlist.o >/dev/null 2>&1 #9 323.5 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c bytebuffer.c -o bytebuffer.o >/dev/null 2>&1 #9 323.5 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c stringbuffer.c -o stringbuffer.o >/dev/null 2>&1 #9 323.6 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o measures.lo measures.c #9 323.6 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o measures3d.lo measures3d.c #9 323.6 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c measures.c -fPIC -DPIC -o .libs/measures.o #9 323.6 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c measures3d.c -fPIC -DPIC -o .libs/measures3d.o #9 323.6 /bin/sh ../libtool —mode=compile gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c -o ptarray.lo ptarray.c #9 323.6 measures.c: In function 'lw_dist2d_line_poly': #9 323.6 measures.c:769:43: error: 'p' undeclared (first use in this function); did you mean 'pt'? #9 323.6 769 | return lw_dist2d_zero(dl, p, p); #9 323.6 | #9 323.6 | pt #9 323.6 measures.c:769:43: note: each undeclared identifier is reported only once for each function it appears in #9 323.7 measures.c:770:1: warning: control reaches end of non-void function [-Wreturn-type] #9 323.7 770 | } #9 323.7 | #9 323.7 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c ptarray.c -fPIC -DPIC -o .libs/ptarray.o #9 323.7 make[1]: * [Makefile:222: measures.lo] Error 1 #9 323.7 make[1]: * Waiting for unfinished jobs…. #9 324.4 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c measures3d.c -o measures3d.o >/dev/null 2>&1 #9 324.6 libtool: compile: gcc -I./../deps/ryu/.. -I/usr/include/webp -I/usr/include/libxml2 -I/usr/include/json-c -DNDEBUG -I. -I. -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c ptarray.c -o ptarray.o >/dev/null 2>&1 #9 325.5 make[1]: Leaving directory '/var/lib/postgresql/src/postgis/liblwgeom' #9 325.5 make: * [GNUmakefile:27: all] Error 1

Change History (2)

comment:1 by robe, 6 months ago

Component: postgisbuild
Owner: changed from pramsey to strk

Can you provide the configure switches you are using

e.g.

sh autogen.sh
./configure

and also the output of the configure. I assume you got past the configure part since you are compiling.

comment:2 by robe, 6 months ago

Forgot to ask, also provide the branch of postgis or tarball of postgis you are trying to compile

Note: See TracTickets for help on using tickets.