#5368 closed defect (fixed)

cirrus CI 12.3 failing on flatgeobuf compile error: unknown warning option '-Wno-compound-token-split-by-macro'

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 3.4.0
Component: QA/buildbots Version: master
Keywords: Cc:

Description

https://cirrus-ci.com/task/6070532286709760

cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -fPIC -DPIC -I../liblwgeom -I../liblwgeom -std=gnu99 -isystem /usr/local/include -Wall -fno-omit-frame-pointer -Werror -fno-math-errno -fno-signed-zeros -Wall -I../libpgcommon -I../deps/flatgeobuf -I../deps/wagyu -I../deps/uthash/include  -I/usr/local/include -I/usr/local/include  -I/usr/local/include  -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/json-c  -I/usr/local/include  -DNDEBUG   -fPIC -DPIC -I. -I./ -I/usr/local/include/postgresql/server -I/usr/local/include/postgresql/internal  -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o postgis_module.o postgis_module.c
error: unknown warning option '-Wno-compound-token-split-by-macro' [-Werror,-Wunknown-warning-option]

13.1 run is fine though

Change History (3)

comment:1 by robe, 19 months ago

Summary: cirrus CI 12.3 failing on flatgeobuf compilecirrus CI 12.3 failing on flatgeobuf compile error: unknown warning option '-Wno-compound-token-split-by-macro'

comment:2 by robe, 19 months ago

Component: postgisbuildbots
Owner: changed from pramsey to robe

for extra note the failing Freebsd 12.3 is running

 -------------- Compiler Info ------------- 
  C compiler:           cc -std=gnu99 -isystem /usr/local/include -Wall -fno-omit-frame-pointer -Werror -fno-math-errno -fno-signed-zeros -Wall
  C++ compiler (Wagyu): cc -std=c++11 -x c++ 
  C++ compiler (FlatGeobuf): cc -std=c++11 -x c++ 
  CPPFLAGS:              -I/usr/local/include -I/usr/local/include  -I/usr/local/include  -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/json-c  -I/usr/local/include  -DNDEBUG 
  LDFLAGS:              -L/usr/local/lib -lm
  SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
  Archiver:             llvm-ar rs
 -------------- Additional Info ------------- 
  Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable
 -------------- Dependencies -------------- 
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.11.1
  SFCGAL config:        /usr/local/bin/sfcgal-config
  SFCGAL version:       1.4.1
  PostgreSQL config:    /usr/local/bin/pg_config
  PostgreSQL version:   PostgreSQL 13.10
  PROJ4 version:        92
  Libxml2 config:       /usr/local/bin/xml2-config
  Libxml2 version:      2.10.3
  JSON-C support:       yes
  protobuf support:     yes
  protobuf-c version:   1004001
  PCRE support:         Version 2
  Perl:                 /usr/local/bin/perl
 --------------- Extensions --------------- 
  PostgreSQL EXTENSION support:       enabled
  PostGIS Raster:                     disabled
  PostGIS Topology:                   enabled
  SFCGAL support:                     enabled
  Address Standardizer support:       enabled
 -------- Documentation Generation -------- 
  xsltproc:             /usr/local/bin/xsltproc
  xsl style sheets:     
  dblatex:              
  convert:              
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

Cirrush FreeBSD 13.1 which is passing is running with:

 -------------- Compiler Info ------------- 
  C compiler:           cc -std=gnu99 -isystem /usr/local/include -Wall -fno-omit-frame-pointer -Werror -fno-math-errno -fno-signed-zeros -Wall
  C++ compiler (Wagyu): cc -std=c++11 -x c++ 
  C++ compiler (FlatGeobuf): cc -std=c++11 -x c++ 
  CPPFLAGS:              -I/usr/local/include -I/usr/local/include  -I/usr/local/include  -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/json-c  -I/usr/local/include  -DNDEBUG 
  LDFLAGS:              -L/usr/local/lib -lm
  SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
  Archiver:             llvm-ar rs

 -------------- Additional Info ------------- 
  Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable

 -------------- Dependencies -------------- 
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.11.2
  SFCGAL config:        /usr/local/bin/sfcgal-config
  SFCGAL version:       1.4.1
  PostgreSQL config:    /usr/local/bin/pg_config
  PostgreSQL version:   PostgreSQL 13.10
  PROJ4 version:        92
  Libxml2 config:       /usr/local/bin/xml2-config
  Libxml2 version:      2.10.3
  JSON-C support:       yes
  protobuf support:     yes
  protobuf-c version:   1004001
  PCRE support:         Version 2
  Perl:                 /usr/local/bin/perl

 --------------- Extensions --------------- 
  PostgreSQL EXTENSION support:       enabled
  PostGIS Raster:                     disabled
  PostGIS Topology:                   enabled
  SFCGAL support:                     enabled
  Address Standardizer support:       enabled

 -------- Documentation Generation -------- 
  xsltproc:             /usr/local/bin/xsltproc
  xsl style sheets:     
  dblatex:              
  convert:              
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

Bessies are also passing fine and are bessie running (12.3 FreeBSD 64-bit) is running with

 -------------- Compiler Info ------------- 
23:11:05   C compiler:           cc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros -Wall
23:11:05   C++ compiler (Wagyu): cc -std=c++11 -x c++ 
23:11:05   C++ compiler (FlatGeobuf): cc -std=c++11 -x c++ 
23:11:05   CPPFLAGS:              -I/usr/local/include -I/usr/local/include -I/usr/local/include  -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/json-c  -I/usr/local/include  -DNDEBUG 
23:11:05   LDFLAGS:               -lm
23:11:05   SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P
23:11:05   Archiver:             llvm-ar rs
23:11:05 
23:11:05  -------------- Additional Info ------------- 
23:11:05   POSTGIS lib file includes minor:   ENABLED
23:11:05   Interrupt Tests:   DISABLED use: --with-interrupt-tests to enable
23:11:05 
23:11:05  -------------- Dependencies -------------- 
23:11:05   GEOS config:          /usr/local/bin/geos-config
23:11:05   GEOS version:         3.10.3
23:11:05   GDAL config:          /usr/local/bin/gdal-config
23:11:05   GDAL version:         3.5.0
23:11:05   SFCGAL config:        /usr/local/bin/sfcgal-config
23:11:05   SFCGAL version:       1.4.1
23:11:05   PostgreSQL config:    /usr/local/bin/pg_config
23:11:05   PostgreSQL version:   PostgreSQL 13.7
23:11:05   PROJ4 version:        82
23:11:05   Libxml2 config:       /usr/local/bin/xml2-config
23:11:05   Libxml2 version:      2.9.13
23:11:05   JSON-C support:       yes
23:11:05   protobuf support:     yes
23:11:05   protobuf-c version:   1004000
23:11:05   PCRE support:         Version 2
23:11:05   Perl:                 /usr/local/bin/perl
23:11:05 
23:11:05  --------------- Extensions --------------- 
23:11:05   PostgreSQL EXTENSION support:       enabled
23:11:05   PostGIS Raster:                     enabled
23:11:05   PostGIS Topology:                   enabled
23:11:05   SFCGAL support:                     enabled
23:11:05   Address Standardizer support:       enabled
23:11:05 
23:11:05  -------- Documentation Generation -------- 
23:11:05   xsltproc:             /usr/local/bin/xsltproc
23:11:05   xsl style sheets:     
23:11:05   dblatex:              
23:11:05   convert:              /usr/local/bin/convert
23:11:05   mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd
23:11:05 

So given bessie is already testing 12.3 and is doing fine, I think maybe we should just turn off the Cirrus 12.3 runs and when FreeBSD 14 comes out, replace with that. https://www.freebsd.org/releases/14.0R/schedule/

comment:3 by Regina Obe <lr@…>, 19 months ago

Resolution: fixed
Status: newclosed

In 5da0ec6/git:

Remove cirrus freebsd-12-3 which is failing
bessie tests freebsd 12-3, so we are covered there anyway
Closes #5368

Note: See TracTickets for help on using tickets.