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
$