openstreetmap 다운로드하여 디비에 넣기

 

사용자 계정폴더에 data 폴더 만들기

 

$ mkdir ~/data
$ cd ~/data
$ pwd
/home/renderaccount/data

 

 

군사정보가 빠진 대한민국 지도 가져오기

$ wget https://tiles.osm.kr/download/south-korea-latest-non-military.osm.pbf
--2024-09-08 17:45:29--  https://tiles.osm.kr/download/south-korea-latest-non-military.osm.pbf
Resolving tiles.osm.kr (tiles.osm.kr)... 158.180.95.126
Connecting to tiles.osm.kr (tiles.osm.kr)|158.180.95.126|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 220098826 (210M) [application/octet-stream]
Saving to: 'south-korea-latest-non-military.osm.pbf'

south-korea-latest-non- 100%[==============================>] 209.90M  5.38MB/s    in 42s     

2024-09-08 17:46:11 (5.00 MB/s) - 'south-korea-latest-non-military.osm.pbf' saved [220098826/220098826]

$

 

 

 

osm2pgsql 로 지도정보를 gis 데이터베이스에 인서트하기

시간이 좀 걸리므로 기다림.

484초 소요되었음.

$ osm2pgsql -d gis --create --slim -G --hstore --tag-transform-script ~/src/openstreetmap-carto/openstreetmap-carto.lua -C 2500 --number-processes 1 -S ~/src/openstreetmap-carto/openstreetmap-carto.style ~/data/south-korea-latest-non-military.osm.pbf
osm2pgsql version 1.2.1 (64 bit id space)

Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=2500MB, maxblocks=40000*65536, allocation method=11
Mid: pgsql, cache=2500
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Using lua based tag processing pipeline with script /home/renderaccount/src/openstreetmap-carto/openstreetmap-carto.lua
Using projection SRS 3857 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads

Reading in file: /home/renderaccount/data/south-korea-latest-non-military.osm.pbf
Using PBF parser.
Processing: Node(29685k 333.5k/s) Way(2714k 19.39k/s) Relation(45280 2515.56/s)  parse time: 247s
Node stats: total(29685880), max(12142808882) in 89s
Way stats: total(2714936), max(1311865353) in 140s
Relation stats: total(49583), max(17984534) in 18s
Sorting data and creating indexes for planet_osm_point
Copying planet_osm_point to cluster by geometry finished
Creating geometry index on planet_osm_point
Creating osm_id index on planet_osm_point
Creating indexes on planet_osm_point finished
All indexes on planet_osm_point created in 16s
Completed planet_osm_point
Sorting data and creating indexes for planet_osm_line
Copying planet_osm_line to cluster by geometry finished
Creating geometry index on planet_osm_line
Creating osm_id index on planet_osm_line
Creating indexes on planet_osm_line finished
All indexes on planet_osm_line created in 57s
Completed planet_osm_line
Sorting data and creating indexes for planet_osm_polygon
Copying planet_osm_polygon to cluster by geometry finished
Creating geometry index on planet_osm_polygon
Creating osm_id index on planet_osm_polygon
Creating indexes on planet_osm_polygon finished
All indexes on planet_osm_polygon created in 56s
Completed planet_osm_polygon
Sorting data and creating indexes for planet_osm_roads
Copying planet_osm_roads to cluster by geometry finished
Creating geometry index on planet_osm_roads
Creating osm_id index on planet_osm_roads
Creating indexes on planet_osm_roads finished
All indexes on planet_osm_roads created in 6s
Completed planet_osm_roads
Stopping table: planet_osm_nodes
Stopped table: planet_osm_nodes in 0s
Stopping table: planet_osm_ways
Building index on table: planet_osm_ways
Stopped table: planet_osm_ways in 99s
Stopping table: planet_osm_rels
Building index on table: planet_osm_rels
Stopped table: planet_osm_rels in 1s

Osm2pgsql took 484s overall
node cache: stored: 29685880(100.00%), storage efficiency: 50.61% (dense blocks: 233, sparse nodes: 28373981), hit rate: 100.00%
$

 

 

 

인덱스 생성

CREATE INDEX 16번 표출됨.

$ cd ~/src/openstreetmap-carto
$ psql -d gis -f indexes.sql
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
CREATE INDEX
$

 

 

 shape file 다운로드

$ cd ~/src/openstreetmap-carto
$ scripts/get-external-data.py
Traceback (most recent call last):
  File "scripts/get-external-data.py", line 25, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
$

 

 

python request 모듈이 없다고 하므로 설치

$ scripts/get-external-data.py
Traceback (most recent call last):
  File "scripts/get-external-data.py", line 25, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
$   
sh: 96: ?: not found
$

 

 

pip 모듈이 없으므로 먼저 설치 후 다시 시도

$ sudo apt install python3-pip
[sudo] password for renderaccount: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  python-pip-whl python3-setuptools python3-wheel
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python-pip-whl python3-pip python3-setuptools python3-wheel
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 2389 kB of archives.
After this operation, 4933 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python-pip-whl all 20.0.2-5ubuntu1.10 [1805 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-setuptools all 45.2.0-1ubuntu0.1 [330 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-wheel all 0.34.2-1ubuntu0.1 [23.9 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 python3-pip all 20.0.2-5ubuntu1.10 [231 kB]
Fetched 2389 kB in 4s (603 kB/s)    
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package python-pip-whl.
(Reading database ... 67480 files and directories currently installed.)
Preparing to unpack .../python-pip-whl_20.0.2-5ubuntu1.10_all.deb ...
Unpacking python-pip-whl (20.0.2-5ubuntu1.10) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_45.2.0-1ubuntu0.1_all.deb ...
Unpacking python3-setuptools (45.2.0-1ubuntu0.1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../python3-wheel_0.34.2-1ubuntu0.1_all.deb ...
Unpacking python3-wheel (0.34.2-1ubuntu0.1) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../python3-pip_20.0.2-5ubuntu1.10_all.deb ...
Unpacking python3-pip (20.0.2-5ubuntu1.10) ...
Setting up python3-setuptools (45.2.0-1ubuntu0.1) ...
Setting up python3-wheel (0.34.2-1ubuntu0.1) ...
Setting up python-pip-whl (20.0.2-5ubuntu1.10) ...
Setting up python3-pip (20.0.2-5ubuntu1.10) ...
Processing triggers for man-db (2.9.1-1) ...
$ pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
$

 

 

 

pip (Python Install Package) 로 request 설치

$ pip install requests
Collecting requests
  Downloading requests-2.32.3-py3-none-any.whl (64 kB)
     |████████████████████████████████| 64 kB 2.5 MB/s 
Collecting certifi>=2017.4.17
  Downloading certifi-2024.8.30-py3-none-any.whl (167 kB)
     |████████████████████████████████| 167 kB 6.3 MB/s 
Collecting urllib3<3,>=1.21.1
  Downloading urllib3-2.2.2-py3-none-any.whl (121 kB)
     |████████████████████████████████| 121 kB 932 kB/s 
Collecting idna<4,>=2.5
  Downloading idna-3.8-py3-none-any.whl (66 kB)
     |████████████████████████████████| 66 kB 2.7 MB/s 
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
     |████████████████████████████████| 141 kB 9.6 MB/s 
Installing collected packages: certifi, urllib3, idna, charset-normalizer, requests
  WARNING: The script normalizer is installed in '/home/renderaccount/.local/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed certifi-2024.8.30 charset-normalizer-3.3.2 idna-3.8 requests-2.32.3 urllib3-2.2.2
$

 

 

shape file 다운로드 

(두시간 이상 소요됨)

$ scripts/get-external-data.py
INFO:root:Starting load of external data into database
INFO:root:Checking table simplified_water_polygons
INFO:root:  Download complete (23875659 bytes)
INFO:root:  Decompressing file
INFO:root:  Importing into database
INFO:root:  Import complete
INFO:root:Checking table water_polygons
INFO:root:  Download complete (865502041 bytes)
INFO:root:  Decompressing file
INFO:root:  Importing into database
INFO:root:  Import complete
INFO:root:Checking table icesheet_polygons
INFO:root:  Download complete (52420602 bytes)
INFO:root:  Decompressing file
INFO:root:  Importing into database
INFO:root:  Import complete
INFO:root:Checking table icesheet_outlines
INFO:root:  Download complete (53083620 bytes)
INFO:root:  Decompressing file
INFO:root:  Importing into database
INFO:root:  Import complete
INFO:root:Checking table ne_110m_admin_0_boundary_lines_land
INFO:root:  Download complete (57325 bytes)
INFO:root:  Decompressing file
INFO:root:  Importing into database
INFO:root:  Import complete
$

 

 

 

 

 

 

블로그 이미지

엘로드넷

,

스타일 시트 구성

 

다시 src 폴더에서 작업함.

 

openstreetmap-carto 프로젝트 가져오기.

$ cd ~/src
$ ls
mod_tile
$ pwd
/home/renderaccount/src
$ git clone https://github.com/gravitystorm/openstreetmap-carto.git
Cloning into 'openstreetmap-carto'...
remote: Enumerating objects: 18194, done.
remote: Counting objects: 100% (349/349), done.
remote: Compressing objects: 100% (227/227), done.
remote: Total 18194 (delta 205), reused 230 (delta 118), pack-reused 17845 (from 1)
Receiving objects: 100% (18194/18194), 17.25 MiB | 4.34 MiB/s, done.
Resolving deltas: 100% (12573/12573), done.
$

 

 

npm 프로젝트이므로 npm환경 설치

 

$ sudo apt install npm

 

carto 모듈 global로 설치

$ sudo npm install -g carto

 

carto 모듈 버전 확인

$ carto -v

1.2.0

$

 

 

carto project.mml -> mapnik.xml 로 변환

$ cd openstreetmap-carto

$ carto project.mml > mapnik.xml

 

mapnik.xml 파일이 생성됨.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

블로그 이미지

엘로드넷

,

 

5.1 mod_tile 소스코드 컴파일

 

사용자 계정에 src 폴더를 생성하고 이동한다.

 

$ mkdir ~/src
$ cd ~
$ pwd
/home/renderaccount
$ ls 
src
$ pwd
/home/renderaccount
$ cd src

 

5.2 mod_tile git 을 내려받는다.

$ git clone -b switch2osm https://github.com/SomeoneElseOSM/mod_tile.git
Cloning into 'mod_tile'...
remote: Enumerating objects: 2959, done.
remote: Total 2959 (delta 0), reused 0 (delta 0), pack-reused 2959 (from 1)
Receiving objects: 100% (2959/2959), 2.76 MiB | 1.40 MiB/s, done.
Resolving deltas: 100% (1873/1873), done.
$

 

 

5.3 mod_tile 폴더로 이동한다.

$ cd mod_tile
$ ls
COPYING		  docs		   modules.mk				render_all
Makefile.am	  expire_tiles.sh  munin				renderd.conf
autogen.sh	  extra		   openstreetmap-tiles-update-expire	renderd.py
call_pyosmium.sh  includes	   openstreetmap-tiles-update-rerender	report_render_age.sh
compile		  iniparser3.0b    osmosis-db_replag			slippymap.html
configure.ac	  m4		   pyosmium_replag.sh			src
debian		  mod_tile.conf    readme.txt				update_tiles.sh
$ ./autogen.sh  
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:8: installing './compile'
configure.ac:8: installing './config.guess'
configure.ac:8: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
$

 

./configure

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for g++... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for inline... inline
checking for mode_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for library containing socket... none required
checking for library containing inet_ntoa... none required
checking for library containing gethostbyname... none required
checking for library containing pow... -lm
checking for library containing clock_gettime... none required
checking for mapnik-config... /usr/bin/mapnik-config
checking for mapnik libraries... yes
checking libmemcached-1.0/memcached.h usability... no
checking libmemcached-1.0/memcached.h presence... no
checking for libmemcached-1.0/memcached.h... no
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.68.0
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for rados_version in -lrados... no
checking for bzero... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for utime... yes
checking for daemon... yes
checking for getloadavg... yes
checking for apxs... apxs
checking for library containing iniparser_load... no
configure: Building iniparser
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating iniparser3.0b/Makefile
config.status: creating Makefile
config.status: creating includes/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
$

 

 

 

make

화면이 멈추어 있어도 끝까지 기다리면 아래와 같이 정상적으로 종료된다.

$ make
Making all in iniparser3.0b
make[1]: Entering directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
depbase=`echo src/iniparser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../includes     -g -O2 -MT src/iniparser.lo -MD -MP -MF $depbase.Tpo -c -o src/iniparser.lo src/iniparser.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c  -fPIC -DPIC -o src/.libs/iniparser.o
src/iniparser.c: In function 'iniparser_load':
src/iniparser.c:600:30: warning: '%s' directive writing up to 1024 bytes into a region of size between 0 and 1024 [-Wformat-overflow=]
  600 |             sprintf(tmp, "%s:%s", section, key);
      |                              ^~            ~~~
In file included from /usr/include/stdio.h:867,
                 from src/iniparser.h:24,
                 from src/iniparser.c:18:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 2050 bytes into a destination of size 1025
   36 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c -o src/iniparser.o >/dev/null 2>&1
depbase=`echo src/dictionary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../includes     -g -O2 -MT src/dictionary.lo -MD -MP -MF $depbase.Tpo -c -o src/dictionary.lo src/dictionary.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c  -fPIC -DPIC -o src/.libs/dictionary.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../includes -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c -o src/dictionary.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -version-info 3  -o libiniparser.la -rpath /usr/local/lib src/iniparser.lo src/dictionary.lo  -lm 
libtool: link: gcc -shared  -fPIC -DPIC  src/.libs/iniparser.o src/.libs/dictionary.o   -lm  -g -O2   -Wl,-soname -Wl,libiniparser.so.3 -o .libs/libiniparser.so.3.0.0
libtool: link: (cd ".libs" && rm -f "libiniparser.so.3" && ln -s "libiniparser.so.3.0.0" "libiniparser.so.3")
libtool: link: (cd ".libs" && rm -f "libiniparser.so" && ln -s "libiniparser.so.3.0.0" "libiniparser.so")
libtool: link: ar cr .libs/libiniparser.a  src/iniparser.o src/dictionary.o
libtool: link: ranlib .libs/libiniparser.a
libtool: link: ( cd ".libs" && rm -f "libiniparser.la" && ln -s "../libiniparser.la" "libiniparser.la" )
make[1]: Leaving directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
make[1]: Entering directory '/home/renderaccount/src/mod_tile'
depbase=`echo src/daemon.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/daemon.o -MD -MP -MF $depbase.Tpo -c -o src/daemon.o src/daemon.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/daemon_compat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/daemon_compat.o -MD -MP -MF $depbase.Tpo -c -o src/daemon_compat.o src/daemon_compat.c &&\
mv -f $depbase.Tpo $depbase.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/renderd-gen_tile.o -MD -MP -MF src/.deps/renderd-gen_tile.Tpo -c -o src/renderd-gen_tile.o `test -f 'src/gen_tile.cpp' || echo './'`src/gen_tile.cpp
mv -f src/.deps/renderd-gen_tile.Tpo src/.deps/renderd-gen_tile.Po
depbase=`echo src/sys_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/sys_utils.o -MD -MP -MF $depbase.Tpo -c -o src/sys_utils.o src/sys_utils.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/request_queue.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/request_queue.o -MD -MP -MF $depbase.Tpo -c -o src/request_queue.o src/request_queue.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/cache_expire.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/cache_expire.o -MD -MP -MF $depbase.Tpo -c -o src/cache_expire.o src/cache_expire.c &&\
mv -f $depbase.Tpo $depbase.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/renderd-metatile.o -MD -MP -MF src/.deps/renderd-metatile.Tpo -c -o src/renderd-metatile.o `test -f 'src/metatile.cpp' || echo './'`src/metatile.cpp
mv -f src/.deps/renderd-metatile.Tpo src/.deps/renderd-metatile.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/renderd-parameterize_style.o -MD -MP -MF src/.deps/renderd-parameterize_style.Tpo -c -o src/renderd-parameterize_style.o `test -f 'src/parameterize_style.cpp' || echo './'`src/parameterize_style.cpp
mv -f src/.deps/renderd-parameterize_style.Tpo src/.deps/renderd-parameterize_style.Po
depbase=`echo src/protocol_helper.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/protocol_helper.o -MD -MP -MF $depbase.Tpo -c -o src/protocol_helper.o src/protocol_helper.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store.o -MD -MP -MF $depbase.Tpo -c -o src/store.o src/store.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_file.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_file.o -MD -MP -MF $depbase.Tpo -c -o src/store_file.o src/store_file.c &&\
mv -f $depbase.Tpo $depbase.Po
src/store_file.c: In function 'file_tile_storage_id':
src/store_file.c:173:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);
      |                                            ^~   ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c: In function 'file_tile_read':
src/store_file.c:81:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   81 |         snprintf(log_msg,PATH_MAX - 1, "Meta file %s too small to contain header\n", path);
      |                                                   ^~                                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:88:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   88 |             snprintf(log_msg,PATH_MAX - 1, "Meta file %s header magic mismatch\n", pat);
      |                                                       ^~                           ~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:128:76: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
  128 |             snprintf(log_msg, PATH_MAX - 1, "Failed to read data from file %s. Reason: %s\n", path, strerror(errno));
      |                                                                            ^~                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 4137) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:118:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
  118 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s seek error: %s\n", path, strerror(errno));
      |                                                    ^~                    ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 4120) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:99:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   99 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s header bad count %d != %d\n", path, m->count, METATILE * METATILE);
      |                                                    ^~                               ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 4142 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:70:89: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4051 [-Wformat-truncation=]
   70 | snprintf(log_msg,PATH_MAX - 1, "Failed to read complete header for metatile %s Reason: %s\n", path, strerror(errno));
      |                                                                             ^~                ~~~~

In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 4150) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:60:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4071 [-Wformat-truncation=]
   60 |         snprintf(log_msg,PATH_MAX - 1, "Could not open metatile %s. Reason: %s\n", pat, strerror(errno));
      |                                                                 ^~                 ~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
depbase=`echo src/store_file_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_file_utils.o -MD -MP -MF $depbase.Tpo -c -o src/store_file_utils.o src/store_file_utils.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_memcached.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_memcached.o -MD -MP -MF $depbase.Tpo -c -o src/store_memcached.o src/store_memcached.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_rados.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_rados.o -MD -MP -MF $depbase.Tpo -c -o src/store_rados.o src/store_rados.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_ro_http_proxy.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_ro_http_proxy.o -MD -MP -MF $depbase.Tpo -c -o src/store_ro_http_proxy.o src/store_ro_http_proxy.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_ro_composite.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_ro_composite.o -MD -MP -MF $depbase.Tpo -c -o src/store_ro_composite.o src/store_ro_composite.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/store_null.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/store_null.o -MD -MP -MF $depbase.Tpo -c -o src/store_null.o src/store_null.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2   -o renderd src/daemon.o src/daemon_compat.o src/renderd-gen_tile.o src/sys_utils.o src/request_queue.o src/cache_expire.o src/renderd-metatile.o src/renderd-parameterize_style.o src/protocol_helper.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o  -pthread -L/usr/lib -lmapnik -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/freetype -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/xml2 -L/usr/lib -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g0 -pthread -lboost_filesystem -lboost_regex -lcairo -lpng -lproj -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl   -lcurl -liniparser -Liniparser3.0b/.libs -lm 
libtool: link: g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -o .libs/renderd src/daemon.o src/daemon_compat.o src/renderd-gen_tile.o src/sys_utils.o src/request_queue.o src/cache_expire.o src/renderd-metatile.o src/renderd-parameterize_style.o src/protocol_helper.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o -pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now -g0 -pthread  -L/usr/lib -lmapnik -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/freetype -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/xml2 -L/usr/lib/x86_64-linux-gnu -lboost_filesystem -lboost_regex -lcairo -lpng /usr/lib/x86_64-linux-gnu/libproj.so -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so /home/renderaccount/src/mod_tile/iniparser3.0b/.libs/libiniparser.so -Liniparser3.0b/.libs -lm -pthread
depbase=`echo src/render_expired.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/render_expired.o -MD -MP -MF $depbase.Tpo -c -o src/render_expired.o src/render_expired.c &&\
mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/render_submit_queue.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/render_submit_queue.o -MD -MP -MF $depbase.Tpo -c -o src/render_submit_queue.o src/render_submit_queue.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2   -o render_expired src/render_expired.o src/protocol_helper.o src/render_submit_queue.o src/sys_utils.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o -pthread   -lcurl -lm 
libtool: link: gcc -g -O2 -o render_expired src/render_expired.o src/protocol_helper.o src/render_submit_queue.o src/sys_utils.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o -pthread  /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -lm -pthread
depbase=`echo src/render_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/render_list.o -MD -MP -MF $depbase.Tpo -c -o src/render_list.o src/render_list.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2   -o render_list src/render_list.o src/sys_utils.o src/protocol_helper.o src/render_submit_queue.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o -pthread   -lcurl -lm 
libtool: link: gcc -g -O2 -o render_list src/render_list.o src/sys_utils.o src/protocol_helper.o src/render_submit_queue.o src/store.o src/store_file.o src/store_file_utils.o src/store_memcached.o src/store_rados.o src/store_ro_http_proxy.o src/store_ro_composite.o src/store_null.o -pthread  /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so -lm -pthread
depbase=`echo src/speedtest.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/speedtest.o -MD -MP -MF $depbase.Tpo -c -o src/speedtest.o src/speedtest.cpp &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool  --tag=CXX   --mode=link g++  -g -O2   -o render_speedtest src/speedtest.o src/protocol_helper.o src/render_submit_queue.o src/sys_utils.o -pthread -lm 
libtool: link: g++ -g -O2 -o render_speedtest src/speedtest.o src/protocol_helper.o src/render_submit_queue.o src/sys_utils.o -pthread  -lm -pthread
depbase=`echo src/render_old.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0   -g -O2 -MT src/render_old.o -MD -MP -MF $depbase.Tpo -c -o src/render_old.o src/render_old.c &&\
mv -f $depbase.Tpo $depbase.Po
/bin/bash ./libtool  --tag=CC   --mode=link gcc  -g -O2   -o render_old src/store_file_utils.o src/render_old.o src/sys_utils.o src/protocol_helper.o src/render_submit_queue.o -pthread -lm 
libtool: link: gcc -g -O2 -o render_old src/store_file_utils.o src/render_old.o src/sys_utils.o src/protocol_helper.o src/render_submit_queue.o -pthread  -lm -pthread
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/gen_tile_test-gen_tile_test.o -MD -MP -MF src/.deps/gen_tile_test-gen_tile_test.Tpo -c -o src/gen_tile_test-gen_tile_test.o `test -f 'src/gen_tile_test.cpp' || echo './'`src/gen_tile_test.cpp
In file included from src/gen_tile_test.cpp:28:
./includes/catch.hpp:3640:48: warning: 'void Catch::List(const Catch::ConfigData&)' hides constructor for 'struct Catch::List' [-Wshadow]
 3640 |     inline void List( const ConfigData& config ) {
      |                                                ^
mv -f src/.deps/gen_tile_test-gen_tile_test.Tpo src/.deps/gen_tile_test-gen_tile_test.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/gen_tile_test-metatile.o -MD -MP -MF src/.deps/gen_tile_test-metatile.Tpo -c -o src/gen_tile_test-metatile.o `test -f 'src/metatile.cpp' || echo './'`src/metatile.cpp
mv -f src/.deps/gen_tile_test-metatile.Tpo src/.deps/gen_tile_test-metatile.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-request_queue.o -MD -MP -MF src/.deps/gen_tile_test-request_queue.Tpo -c -o src/gen_tile_test-request_queue.o `test -f 'src/request_queue.c' || echo './'`src/request_queue.c
mv -f src/.deps/gen_tile_test-request_queue.Tpo src/.deps/gen_tile_test-request_queue.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-protocol_helper.o -MD -MP -MF src/.deps/gen_tile_test-protocol_helper.Tpo -c -o src/gen_tile_test-protocol_helper.o `test -f 'src/protocol_helper.c' || echo './'`src/protocol_helper.c
mv -f src/.deps/gen_tile_test-protocol_helper.Tpo src/.deps/gen_tile_test-protocol_helper.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-daemon.o -MD -MP -MF src/.deps/gen_tile_test-daemon.Tpo -c -o src/gen_tile_test-daemon.o `test -f 'src/daemon.c' || echo './'`src/daemon.c
In file included from /usr/include/stdio.h:867,
                 from src/daemon.c:1:
In function 'snprintf',
    inlined from 'stats_writeout_thread' at src/daemon.c:262:5:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: warning: '%s' directive argument is null [-Wformat-truncation=]
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f src/.deps/gen_tile_test-daemon.Tpo src/.deps/gen_tile_test-daemon.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-daemon_compat.o -MD -MP -MF src/.deps/gen_tile_test-daemon_compat.Tpo -c -o src/gen_tile_test-daemon_compat.o `test -f 'src/daemon_compat.c' || echo './'`src/daemon_compat.c
mv -f src/.deps/gen_tile_test-daemon_compat.Tpo src/.deps/gen_tile_test-daemon_compat.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/gen_tile_test-gen_tile.o -MD -MP -MF src/.deps/gen_tile_test-gen_tile.Tpo -c -o src/gen_tile_test-gen_tile.o `test -f 'src/gen_tile.cpp' || echo './'`src/gen_tile.cpp
mv -f src/.deps/gen_tile_test-gen_tile.Tpo src/.deps/gen_tile_test-gen_tile.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-sys_utils.o -MD -MP -MF src/.deps/gen_tile_test-sys_utils.Tpo -c -o src/gen_tile_test-sys_utils.o `test -f 'src/sys_utils.c' || echo './'`src/sys_utils.c
mv -f src/.deps/gen_tile_test-sys_utils.Tpo src/.deps/gen_tile_test-sys_utils.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-cache_expire.o -MD -MP -MF src/.deps/gen_tile_test-cache_expire.Tpo -c -o src/gen_tile_test-cache_expire.o `test -f 'src/cache_expire.c' || echo './'`src/cache_expire.c
mv -f src/.deps/gen_tile_test-cache_expire.Tpo src/.deps/gen_tile_test-cache_expire.Po
g++ -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -MT src/gen_tile_test-parameterize_style.o -MD -MP -MF src/.deps/gen_tile_test-parameterize_style.Tpo -c -o src/gen_tile_test-parameterize_style.o `test -f 'src/parameterize_style.cpp' || echo './'`src/parameterize_style.cpp
mv -f src/.deps/gen_tile_test-parameterize_style.Tpo src/.deps/gen_tile_test-parameterize_style.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store.o -MD -MP -MF src/.deps/gen_tile_test-store.Tpo -c -o src/gen_tile_test-store.o `test -f 'src/store.c' || echo './'`src/store.c
mv -f src/.deps/gen_tile_test-store.Tpo src/.deps/gen_tile_test-store.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_file.o -MD -MP -MF src/.deps/gen_tile_test-store_file.Tpo -c -o src/gen_tile_test-store_file.o `test -f 'src/store_file.c' || echo './'`src/store_file.c
src/store_file.c: In function 'file_tile_storage_id':
src/store_file.c:173:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);
      |                                            ^~   ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c: In function 'file_tile_read':
src/store_file.c:81:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   81 |         snprintf(log_msg,PATH_MAX - 1, "Meta file %s too small to contain header\n", path);
      |                                                   ^~                                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:88:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   88 |             snprintf(log_msg,PATH_MAX - 1, "Meta file %s header magic mismatch\n", pat);
      |                                                       ^~                           ~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:128:76: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
  128 |             snprintf(log_msg, PATH_MAX - 1, "Failed to read data from file %s. Reason: %s\n", path, strerror(errno));
      |                                                                            ^~                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 4137) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:118:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
  118 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s seek error: %s\n", path, strerror(errno));
      |                                                    ^~                    ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 4120) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:99:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   99 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s header bad count %d != %d\n", path, m->count, METATILE * METATILE);
      |                                                    ^~                               ~~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 4142 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:70:89: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4051 [-Wformat-truncation=]
   70 | snprintf(log_msg,PATH_MAX - 1, "Failed to read complete header for metatile %s Reason: %s\n", path, strerror(errno));
      |                                                                             ^~                ~~~~

In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 4150) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/store_file.c:60:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4071 [-Wformat-truncation=]
   60 |         snprintf(log_msg,PATH_MAX - 1, "Could not open metatile %s. Reason: %s\n", pat, strerror(errno));
      |                                                                 ^~                 ~~~
In file included from /usr/include/stdio.h:867,
                 from src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f src/.deps/gen_tile_test-store_file.Tpo src/.deps/gen_tile_test-store_file.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_file_utils.o -MD -MP -MF src/.deps/gen_tile_test-store_file_utils.Tpo -c -o src/gen_tile_test-store_file_utils.o `test -f 'src/store_file_utils.c' || echo './'`src/store_file_utils.c
mv -f src/.deps/gen_tile_test-store_file_utils.Tpo src/.deps/gen_tile_test-store_file_utils.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_memcached.o -MD -MP -MF src/.deps/gen_tile_test-store_memcached.Tpo -c -o src/gen_tile_test-store_memcached.o `test -f 'src/store_memcached.c' || echo './'`src/store_memcached.c
mv -f src/.deps/gen_tile_test-store_memcached.Tpo src/.deps/gen_tile_test-store_memcached.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_rados.o -MD -MP -MF src/.deps/gen_tile_test-store_rados.Tpo -c -o src/gen_tile_test-store_rados.o `test -f 'src/store_rados.c' || echo './'`src/store_rados.c
mv -f src/.deps/gen_tile_test-store_rados.Tpo src/.deps/gen_tile_test-store_rados.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_ro_http_proxy.o -MD -MP -MF src/.deps/gen_tile_test-store_ro_http_proxy.Tpo -c -o src/gen_tile_test-store_ro_http_proxy.o `test -f 'src/store_ro_http_proxy.c' || echo './'`src/store_ro_http_proxy.c
mv -f src/.deps/gen_tile_test-store_ro_http_proxy.Tpo src/.deps/gen_tile_test-store_ro_http_proxy.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_ro_composite.o -MD -MP -MF src/.deps/gen_tile_test-store_ro_composite.Tpo -c -o src/gen_tile_test-store_ro_composite.o `test -f 'src/store_ro_composite.c' || echo './'`src/store_ro_composite.c
mv -f src/.deps/gen_tile_test-store_ro_composite.Tpo src/.deps/gen_tile_test-store_ro_composite.Po
gcc -DHAVE_CONFIG_H -I. -I./includes  -pthread -DSYSTEM_LIBINIPARSER=0  -DMAIN_ALREADY_DEFINED -pthread -g -O2 -MT src/gen_tile_test-store_null.o -MD -MP -MF src/.deps/gen_tile_test-store_null.Tpo -c -o src/gen_tile_test-store_null.o `test -f 'src/store_null.c' || echo './'`src/store_null.c
mv -f src/.deps/gen_tile_test-store_null.Tpo src/.deps/gen_tile_test-store_null.Po
/bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2   -o gen_tile_test src/gen_tile_test-gen_tile_test.o src/gen_tile_test-metatile.o src/gen_tile_test-request_queue.o src/gen_tile_test-protocol_helper.o src/gen_tile_test-daemon.o src/gen_tile_test-daemon_compat.o src/gen_tile_test-gen_tile.o src/gen_tile_test-sys_utils.o src/gen_tile_test-cache_expire.o src/gen_tile_test-parameterize_style.o src/gen_tile_test-store.o src/gen_tile_test-store_file.o src/gen_tile_test-store_file_utils.o src/gen_tile_test-store_memcached.o src/gen_tile_test-store_rados.o src/gen_tile_test-store_ro_http_proxy.o src/gen_tile_test-store_ro_composite.o src/gen_tile_test-store_null.o  -pthread -L/usr/lib -lmapnik -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/freetype -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/xml2 -L/usr/lib -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -g0 -pthread -lboost_filesystem -lboost_regex -lcairo -lpng -lproj -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl   -lcurl -liniparser -Liniparser3.0b/.libs -lm 
libtool: link: g++ -I/usr/include -I/usr/include/mapnik/agg -I/usr/include/mapnik -I/usr/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/gdal -I/usr/include/postgresql -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ4 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DLINUX -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -std=c++11 -DU_USING_ICU_NAMESPACE=0 -g -O2 -fdebug-prefix-map=/build/mapnik-Jn1rVp/mapnik-3.0.23+ds=. -fstack-protector-strong -Wformat -Werror=format-security -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -Wdate-time -D_FORTIFY_SOURCE=2 -g0 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O2 -g -O2 -o .libs/gen_tile_test src/gen_tile_test-gen_tile_test.o src/gen_tile_test-metatile.o src/gen_tile_test-request_queue.o src/gen_tile_test-protocol_helper.o src/gen_tile_test-daemon.o src/gen_tile_test-daemon_compat.o src/gen_tile_test-gen_tile.o src/gen_tile_test-sys_utils.o src/gen_tile_test-cache_expire.o src/gen_tile_test-parameterize_style.o src/gen_tile_test-store.o src/gen_tile_test-store_file.o src/gen_tile_test-store_file_utils.o src/gen_tile_test-store_memcached.o src/gen_tile_test-store_rados.o src/gen_tile_test-store_ro_http_proxy.o src/gen_tile_test-store_ro_composite.o src/gen_tile_test-store_null.o -pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now -g0 -pthread  -L/usr/lib -lmapnik -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/freetype -L/build/mapnik-Jn1rVp/mapnik-3.0.23+ds/build-python/xml2 -L/usr/lib/x86_64-linux-gnu -lboost_filesystem -lboost_regex -lcairo -lpng /usr/lib/x86_64-linux-gnu/libproj.so -ltiff -lwebp -lxml2 -licui18n -lboost_system -lharfbuzz -ljpeg -licuuc -lfreetype -lz -ldl /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so /home/renderaccount/src/mod_tile/iniparser3.0b/.libs/libiniparser.so -Liniparser3.0b/.libs -lm -pthread
apxs -c   -I./includes    -lcurl ./src/mod_tile.c  ./src/sys_utils.c ./src/store.c ./src/store_file.c ./src/store_file_utils.c ./src/store_memcached.c ./src/store_rados.c ./src/store_ro_http_proxy.c ./src/store_ro_composite.c ./src/store_null.c
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/mod_tile.lo ./src/mod_tile.c && touch ./src/mod_tile.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/mod_tile.c  -fPIC -DPIC -o ./src/.libs/mod_tile.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/sys_utils.lo ./src/sys_utils.c && touch ./src/sys_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/sys_utils.c  -fPIC -DPIC -o ./src/.libs/sys_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store.lo ./src/store.c && touch ./src/store.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store.c  -fPIC -DPIC -o ./src/.libs/store.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file.lo ./src/store_file.c && touch ./src/store_file.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file.c  -fPIC -DPIC -o ./src/.libs/store_file.o
./src/store_file.c: In function 'file_tile_storage_id':
./src/store_file.c:173:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);
      |                                            ^~   ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c: In function 'file_tile_read':
./src/store_file.c:81:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   81 |         snprintf(log_msg,PATH_MAX - 1, "Meta file %s too small to contain header\n", path);
      |                                                   ^~                                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:88:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   88 |             snprintf(log_msg,PATH_MAX - 1, "Meta file %s header magic mismatch\n", pat);
      |                                                       ^~                           ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:128:76: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
  128 |             snprintf(log_msg, PATH_MAX - 1, "Failed to read data from file %s. Reason: %s\n", path, strerror(errno));
      |                                                                            ^~                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 4137) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:118:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
  118 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s seek error: %s\n", path, strerror(errno));
      |                                                    ^~                    ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 4120) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:99:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   99 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s header bad count %d != %d\n", path, m->count, METATILE * METATILE);
      |                                                    ^~                               ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 4142 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:70:89: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4051 [-Wformat-truncation=]
   70 | snprintf(log_msg,PATH_MAX - 1, "Failed to read complete header for metatile %s Reason: %s\n", path, strerror(errno));
      |                                                                             ^~                ~~~~

In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 4150) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:60:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4071 [-Wformat-truncation=]
   60 |         snprintf(log_msg,PATH_MAX - 1, "Could not open metatile %s. Reason: %s\n", pat, strerror(errno));
      |                                                                 ^~                 ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file_utils.lo ./src/store_file_utils.c && touch ./src/store_file_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file_utils.c  -fPIC -DPIC -o ./src/.libs/store_file_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_memcached.lo ./src/store_memcached.c && touch ./src/store_memcached.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_memcached.c  -fPIC -DPIC -o ./src/.libs/store_memcached.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_rados.lo ./src/store_rados.c && touch ./src/store_rados.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_rados.c  -fPIC -DPIC -o ./src/.libs/store_rados.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_http_proxy.lo ./src/store_ro_http_proxy.c && touch ./src/store_ro_http_proxy.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_http_proxy.c  -fPIC -DPIC -o ./src/.libs/store_ro_http_proxy.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_composite.lo ./src/store_ro_composite.c && touch ./src/store_ro_composite.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_composite.c  -fPIC -DPIC -o ./src/.libs/store_ro_composite.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_null.lo ./src/store_null.c && touch ./src/store_null.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_null.c  -fPIC -DPIC -o ./src/.libs/store_null.o
/usr/share/apr-1.0/build/libtool  --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now    -o ./src/mod_tile.la  -lcurl -rpath /usr/lib/apache2/modules -module -avoid-version    ./src/store_null.lo ./src/store_ro_composite.lo ./src/store_ro_http_proxy.lo ./src/store_rados.lo ./src/store_memcached.lo ./src/store_file_utils.lo ./src/store_file.lo ./src/store.lo ./src/sys_utils.lo ./src/mod_tile.lo
libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  ./src/.libs/store_null.o ./src/.libs/store_ro_composite.o ./src/.libs/store_ro_http_proxy.o ./src/.libs/store_rados.o ./src/.libs/store_memcached.o ./src/.libs/store_file_utils.o ./src/.libs/store_file.o ./src/.libs/store.o ./src/.libs/sys_utils.o ./src/.libs/mod_tile.o   /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so  -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now   -pthread -Wl,-soname -Wl,mod_tile.so -o ./src/.libs/mod_tile.so
libtool: link: ( cd "./src/.libs" && rm -f "mod_tile.la" && ln -s "../mod_tile.la" "mod_tile.la" )
make[1]: Leaving directory '/home/renderaccount/src/mod_tile'
$

 

 

컴파일된 것 설치

sudo make install

$ sudo make install
Making install in iniparser3.0b
make[1]: Entering directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
make[2]: Entering directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ../libtool   --mode=install /usr/bin/install -c   libiniparser.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libiniparser.so.3.0.0 /usr/local/lib/libiniparser.so.3.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libiniparser.so.3.0.0 libiniparser.so.3 || { rm -f libiniparser.so.3 && ln -s libiniparser.so.3.0.0 libiniparser.so.3; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libiniparser.so.3.0.0 libiniparser.so || { rm -f libiniparser.so && ln -s libiniparser.so.3.0.0 libiniparser.so; }; })
libtool: install: /usr/bin/install -c .libs/libiniparser.lai /usr/local/lib/libiniparser.la
libtool: install: /usr/bin/install -c .libs/libiniparser.a /usr/local/lib/libiniparser.a
libtool: install: chmod 644 /usr/local/lib/libiniparser.a
libtool: install: ranlib /usr/local/lib/libiniparser.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
make[1]: Leaving directory '/home/renderaccount/src/mod_tile/iniparser3.0b'
make[1]: Entering directory '/home/renderaccount/src/mod_tile'
apxs -c   -I./includes    -lcurl ./src/mod_tile.c  ./src/sys_utils.c ./src/store.c ./src/store_file.c ./src/store_file_utils.c ./src/store_memcached.c ./src/store_rados.c ./src/store_ro_http_proxy.c ./src/store_ro_composite.c ./src/store_null.c
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/mod_tile.lo ./src/mod_tile.c && touch ./src/mod_tile.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/mod_tile.c  -fPIC -DPIC -o ./src/.libs/mod_tile.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/sys_utils.lo ./src/sys_utils.c && touch ./src/sys_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/sys_utils.c  -fPIC -DPIC -o ./src/.libs/sys_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store.lo ./src/store.c && touch ./src/store.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store.c  -fPIC -DPIC -o ./src/.libs/store.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file.lo ./src/store_file.c && touch ./src/store_file.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file.c  -fPIC -DPIC -o ./src/.libs/store_file.o
./src/store_file.c: In function 'file_tile_storage_id':
./src/store_file.c:173:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);
      |                                            ^~   ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c: In function 'file_tile_read':
./src/store_file.c:81:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   81 |         snprintf(log_msg,PATH_MAX - 1, "Meta file %s too small to contain header\n", path);
      |                                                   ^~                                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:88:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   88 |             snprintf(log_msg,PATH_MAX - 1, "Meta file %s header magic mismatch\n", pat);
      |                                                       ^~                           ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:128:76: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
  128 |             snprintf(log_msg, PATH_MAX - 1, "Failed to read data from file %s. Reason: %s\n", path, strerror(errno));
      |                                                                            ^~                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 4137) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:118:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
  118 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s seek error: %s\n", path, strerror(errno));
      |                                                    ^~                    ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 4120) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:99:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   99 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s header bad count %d != %d\n", path, m->count, METATILE * METATILE);
      |                                                    ^~                               ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 4142 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:70:89: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4051 [-Wformat-truncation=]
   70 | snprintf(log_msg,PATH_MAX - 1, "Failed to read complete header for metatile %s Reason: %s\n", path, strerror(errno));
      |                                                                             ^~                ~~~~

In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 4150) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:60:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4071 [-Wformat-truncation=]
   60 |         snprintf(log_msg,PATH_MAX - 1, "Could not open metatile %s. Reason: %s\n", pat, strerror(errno));
      |                                                                 ^~                 ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file_utils.lo ./src/store_file_utils.c && touch ./src/store_file_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file_utils.c  -fPIC -DPIC -o ./src/.libs/store_file_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_memcached.lo ./src/store_memcached.c && touch ./src/store_memcached.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_memcached.c  -fPIC -DPIC -o ./src/.libs/store_memcached.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_rados.lo ./src/store_rados.c && touch ./src/store_rados.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_rados.c  -fPIC -DPIC -o ./src/.libs/store_rados.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_http_proxy.lo ./src/store_ro_http_proxy.c && touch ./src/store_ro_http_proxy.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_http_proxy.c  -fPIC -DPIC -o ./src/.libs/store_ro_http_proxy.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_composite.lo ./src/store_ro_composite.c && touch ./src/store_ro_composite.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_composite.c  -fPIC -DPIC -o ./src/.libs/store_ro_composite.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_null.lo ./src/store_null.c && touch ./src/store_null.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_null.c  -fPIC -DPIC -o ./src/.libs/store_null.o
/usr/share/apr-1.0/build/libtool  --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now    -o ./src/mod_tile.la  -lcurl -rpath /usr/lib/apache2/modules -module -avoid-version    ./src/store_null.lo ./src/store_ro_composite.lo ./src/store_ro_http_proxy.lo ./src/store_rados.lo ./src/store_memcached.lo ./src/store_file_utils.lo ./src/store_file.lo ./src/store.lo ./src/sys_utils.lo ./src/mod_tile.lo
libtool: link: rm -fr  ./src/.libs/mod_tile.la ./src/.libs/mod_tile.lai ./src/.libs/mod_tile.so
libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  ./src/.libs/store_null.o ./src/.libs/store_ro_composite.o ./src/.libs/store_ro_http_proxy.o ./src/.libs/store_rados.o ./src/.libs/store_memcached.o ./src/.libs/store_file_utils.o ./src/.libs/store_file.o ./src/.libs/store.o ./src/.libs/sys_utils.o ./src/.libs/mod_tile.o   /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so  -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now   -pthread -Wl,-soname -Wl,mod_tile.so -o ./src/.libs/mod_tile.so
libtool: link: ( cd "./src/.libs" && rm -f "mod_tile.la" && ln -s "../mod_tile.la" "mod_tile.la" )
make[2]: Entering directory '/home/renderaccount/src/mod_tile'
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c renderd render_expired render_list render_speedtest render_old '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/renderd /usr/local/bin/renderd
libtool: install: /usr/bin/install -c render_expired /usr/local/bin/render_expired
libtool: install: /usr/bin/install -c render_list /usr/local/bin/render_list
libtool: install: /usr/bin/install -c render_speedtest /usr/local/bin/render_speedtest
libtool: install: /usr/bin/install -c render_old /usr/local/bin/render_old
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 docs/render_expired.1 docs/render_list.1 docs/render_old.1 docs/render_speedtest.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 docs/renderd.8 '/usr/local/share/man/man8'
 /usr/bin/mkdir -p '/usr/local/etc'
 /usr/bin/install -c -m 644 renderd.conf '/usr/local/etc'
make[2]: Leaving directory '/home/renderaccount/src/mod_tile'
make[1]: Leaving directory '/home/renderaccount/src/mod_tile'
$

 

 

mod_tile install

$ sudo make install-mod_tile
mkdir -p `apxs -q LIBEXECDIR`
apxs -S LIBEXECDIR=`apxs -q LIBEXECDIR` -c -i   -I./includes    -lcurl ./src/mod_tile.c ./src/sys_utils.c ./src/store.c ./src/store_file.c ./src/store_file_utils.c ./src/store_memcached.c ./src/store_rados.c ./src/store_ro_http_proxy.c ./src/store_ro_composite.c ./src/store_null.c
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/mod_tile.lo ./src/mod_tile.c && touch ./src/mod_tile.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/mod_tile.c  -fPIC -DPIC -o ./src/.libs/mod_tile.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/sys_utils.lo ./src/sys_utils.c && touch ./src/sys_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/sys_utils.c  -fPIC -DPIC -o ./src/.libs/sys_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store.lo ./src/store.c && touch ./src/store.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store.c  -fPIC -DPIC -o ./src/.libs/store.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file.lo ./src/store_file.c && touch ./src/store_file.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file.c  -fPIC -DPIC -o ./src/.libs/store_file.o
./src/store_file.c: In function 'file_tile_storage_id':
./src/store_file.c:173:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4088 [-Wformat-truncation=]
  173 |     snprintf(string, PATH_MAX - 1, "file://%s", meta_path);
      |                                            ^~   ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c: In function 'file_tile_read':
./src/store_file.c:81:51: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   81 |         snprintf(log_msg,PATH_MAX - 1, "Meta file %s too small to contain header\n", path);
      |                                                   ^~                                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 40 and 4135 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:88:55: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   88 |             snprintf(log_msg,PATH_MAX - 1, "Meta file %s header magic mismatch\n", pat);
      |                                                       ^~                           ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 34 and 4129 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:128:76: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=]
  128 |             snprintf(log_msg, PATH_MAX - 1, "Failed to read data from file %s. Reason: %s\n", path, strerror(errno));
      |                                                                            ^~                 ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 42 or more bytes (assuming 4137) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:118:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
  118 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s seek error: %s\n", path, strerror(errno));
      |                                                    ^~                    ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 25 or more bytes (assuming 4120) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:99:52: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4085 [-Wformat-truncation=]
   99 |         snprintf(log_msg, PATH_MAX - 1, "Meta file %s header bad count %d != %d\n", path, m->count, METATILE * METATILE);
      |                                                    ^~                               ~~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 37 and 4142 bytes into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:70:89: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4051 [-Wformat-truncation=]
   70 | snprintf(log_msg,PATH_MAX - 1, "Failed to read complete header for metatile %s Reason: %s\n", path, strerror(errno));
      |                                                                             ^~                ~~~~

In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 55 or more bytes (assuming 4150) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/store_file.c:60:65: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4071 [-Wformat-truncation=]
   60 |         snprintf(log_msg,PATH_MAX - 1, "Could not open metatile %s. Reason: %s\n", pat, strerror(errno));
      |                                                                 ^~                 ~~~
In file included from /usr/include/stdio.h:867,
                 from ./src/store_file.c:9:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 4095
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_file_utils.lo ./src/store_file_utils.c && touch ./src/store_file_utils.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_file_utils.c  -fPIC -DPIC -o ./src/.libs/store_file_utils.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_memcached.lo ./src/store_memcached.c && touch ./src/store_memcached.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_memcached.c  -fPIC -DPIC -o ./src/.libs/store_memcached.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_rados.lo ./src/store_rados.c && touch ./src/store_rados.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_rados.c  -fPIC -DPIC -o ./src/.libs/store_rados.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_http_proxy.lo ./src/store_ro_http_proxy.c && touch ./src/store_ro_http_proxy.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_http_proxy.c  -fPIC -DPIC -o ./src/.libs/store_ro_http_proxy.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_ro_composite.lo ./src/store_ro_composite.c && touch ./src/store_ro_composite.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_ro_composite.c  -fPIC -DPIC -o ./src/.libs/store_ro_composite.o
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE  -pthread  -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I./includes  -c -o ./src/store_null.lo ./src/store_null.c && touch ./src/store_null.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I./includes -c ./src/store_null.c  -fPIC -DPIC -o ./src/.libs/store_null.o
/usr/share/apr-1.0/build/libtool  --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now    -o ./src/mod_tile.la  -lcurl -rpath /usr/lib/apache2/modules -module -avoid-version    ./src/store_null.lo ./src/store_ro_composite.lo ./src/store_ro_http_proxy.lo ./src/store_rados.lo ./src/store_memcached.lo ./src/store_file_utils.lo ./src/store_file.lo ./src/store.lo ./src/sys_utils.lo ./src/mod_tile.lo
libtool: link: rm -fr  ./src/.libs/mod_tile.la ./src/.libs/mod_tile.lai ./src/.libs/mod_tile.so
libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  ./src/.libs/store_null.o ./src/.libs/store_ro_composite.o ./src/.libs/store_ro_http_proxy.o ./src/.libs/store_rados.o ./src/.libs/store_memcached.o ./src/.libs/store_file_utils.o ./src/.libs/store_file.o ./src/.libs/store.o ./src/.libs/sys_utils.o ./src/.libs/mod_tile.o   /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so  -Wl,--as-needed -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now   -pthread -Wl,-soname -Wl,mod_tile.so -o ./src/.libs/mod_tile.so
libtool: link: ( cd "./src/.libs" && rm -f "mod_tile.la" && ln -s "../mod_tile.la" "mod_tile.la" )
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/apr-1.0/build/libtool' ./src/mod_tile.la /usr/lib/apache2/modules
/usr/share/apr-1.0/build/libtool --mode=install install ./src/mod_tile.la /usr/lib/apache2/modules/
libtool: install: install ./src/.libs/mod_tile.so /usr/lib/apache2/modules/mod_tile.so
libtool: install: install ./src/.libs/mod_tile.lai /usr/lib/apache2/modules/mod_tile.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/lib/apache2/modules
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib/apache2/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
chmod 644 /usr/lib/apache2/modules/mod_tile.so
$

 

 

ldconfig (lib directory config; 라이브러리 적재)

프롬프트에 뜨는 것 없음.

$ sudo ldconfig
$

 

 

 

 

 

 

 

 

 

 

블로그 이미지

엘로드넷

,