Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#5473 closed defect (fixed)

Building without-pgconfig errors out and goes in an infinite loop

Reported by: robe Owned by: robe
Priority: blocker Milestone: PostGIS 3.4.0
Component: utils/loader-dumper Version: master
Keywords: Cc:

Description

When I build with ./configure --without-pgconfig on my mingw64 setup

It errors:

make[374]: *** [Makefile:28: all] Error 2
make[374]: Leaving directory '/projects/postgis/postgis-git/raster'
:
make[1]: Leaving directory '/projects/postgis/postgis-git/raster'
make: *** [GNUmakefile:25: all] Error 1

I'm thinking this might be happening on woodie too why it keeps crashing on the tools even when the tools agent job was running on the woodie-server. I saw the server docker process die. I tried moving the tools job to dronie, and she didn't like it either.

I'm going to try some other machines to see if the behavior repeats.

I've also attached one log file I managed to pull from woodie, before it kicked the can. Looks like the same thing

Attachments (2)

postgis-postgis-788-build.log (1.9 MB ) - added by robe 15 months ago.
Woodie tool build
postgis-postgis-764-build-rc1-working.log (153.6 KB ) - added by robe 15 months ago.
Woodie tools run at 3.4.0rc1 was fast and working

Change History (10)

by robe, 15 months ago

Woodie tool build

comment:1 by robe, 15 months ago

For contrast attached is a log file of one of Woodie's tool runs from when I called 3.4.0rc1. So it was working at rc1, so something most have changed in past week to break this.

by robe, 15 months ago

Woodie tools run at 3.4.0rc1 was fast and working

comment:2 by robe, 15 months ago

Owner: changed from robe to strk

comment:3 by robe, 15 months ago

strk,

Maybe it was the fix you tried to make with ordering of items in #5467

[a05989263dcb62b77ac5740f1b8ea2a025b9c9df/git]

comment:4 by robe, 15 months ago

Okay I see the problem. My generated makefile when I'm building without-pgconfig

looks like this:

all:
	$(MAKE) corelib
	$(MAKE) 
	$(MAKE) rtloader
	$(MAKE) 

because you changed the code to

 	all:
          $(MAKE) @RT_CORE_LIB@
          $(MAKE) @RT_PG_LIB@
          $(MAKE) @RT_LOADER@
          $(MAKE) @RT_POSTGIS_SQL@

and there is no RT_PG_LIB or RT_POSTGIS_SQL if you are building --without-pgconfig

comment:5 by robe, 15 months ago

Summary: Building without-pgconfig errors out and might be going in an infinite loopBuilding without-pgconfig errors out and goes in an infinite loop

comment:6 by robe, 15 months ago

Owner: changed from strk to robe

comment:7 by Regina Obe <lr@…>, 15 months ago

Resolution: fixed
Status: newclosed

In 0f5fea6/git:

Prevent infinite loop when building --without-pgconfig
Closes #5473 for PostGIS 3.4.0

comment:8 by Regina Obe <lr@…>, 15 months ago

In 7faeed1/git:

Prevent infinite loop when building --without-pgconfig
Closes #5473 for PostGIS 3.5.0

Note: See TracTickets for help on using tickets.