Opened 10 years ago

Closed 10 years ago

#2962 closed defect (fixed)

debbie erroring on 2.2 doc building

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 2.2.0
Component: postgis Version: master
Keywords: Cc:

Description

Getting this error:

generator.c: In function ‘checked_system’:
generator.c:56: warning: implicit declaration of function ‘WEXITSTATUS’
gcc -o generator styles.o generator.o ../../../liblwgeom/.libs/liblwgeom.a -lm -L/var/lib/jenkins/workspace/pg/rel/pg9.2w64/lib -lcunit
generator.o: In function `checked_system':
/var/lib/jenkins/workspace/postgis/docs/branches/2.2/doc/html/image_src/generator.c:56: undefined reference to `WEXITSTATUS'
/var/lib/jenkins/workspace/postgis/docs/branches/2.2/doc/html/image_src/generator.c:57: undefined reference to `WEXITSTATUS'
collect2: ld returned 1 exit status
make[1]: *** [generator] Error 1
make[1]: Leaving directory `/var/lib/jenkins/workspace/postgis/docs/branches/2.2/doc/html/image_src'
make: *** [images] Error 2

I tried clean checkout and didn't help.

before clean check out was giving erros such as

/usr/include/bits/string2.h: In function ‘__strpbrk_c2’:
/usr/include/bits/string2.h:1129: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1129: error: (Each undeclared identifier is reported only once
/usr/include/bits/string2.h:1129: error: for each function it appears in.)
/usr/include/bits/string2.h:1129: error: expected ‘;’ before ‘__s’
/usr/include/bits/string2.h: In function ‘__strpbrk_c3’:
/usr/include/bits/string2.h:1142: error: ‘size_t’ undeclared (first use in this function)
/usr/include/bits/string2.h:1142: error: expected ‘;’ before ‘__s’

This seems to have been happening for quite sometime (since September) but I didn't notice since it was failing since it was registering as success.

I suspect its the image building so the html generation is fine which might be why I never noticed since html docs were showing up with each new change.

At first I thought this might be a result of patch upgrade on server, but it doesn't seem to be affecting 2.1 doc building so think something in our trunk code base changed to affect the doc image generator.

Change History (8)

comment:1 by robe, 10 years ago

traced down the failure to r12940

Changes
Fix typo in DropOverviewConstraints doc (detail)
Fix warnings in docs image generator build

Print a warning on system call failures (detail)
Add documentation for {Add,Drop}OverviewConstraints (#2824) (detail)

so I presume whatever was done to fix the warnings on image generator broke the image generation on debbie

comment:2 by robe, 10 years ago

Owner: changed from pramsey to strk

wrong revision -- its r12937

comment:3 by robe, 10 years ago

Priority: mediumblocker

comment:4 by strk, 10 years ago

The first error is hopefully fixed by r13056. The second one does not look like coming from PostGIS, is it ?

comment:5 by robe, 10 years ago

second one is weird -- seems to not be able to find reference_guc.xml. I'll see what happens if I do a clean checkout.

comment:6 by robe, 10 years ago

It's failing on the po2xml. One thing I had done was do a simulate clean checkout to try to fix the issue. I think before I had some stale Italy and Brazil files which got wiped out. so perhaps that is triggering the issue. We might be missing some PO files. I wonder if that is what is causing the transifex recent alerts too of can't find this .po.

comment:7 by strk, 10 years ago

is this still an issue ?

comment:8 by robe, 10 years ago

Resolution: fixed
Status: newclosed

I think this is fixed too with your last changes to doco

Note: See TracTickets for help on using tickets.