------------------------------------------------------------------------------- -- Phase: Environment ------------------------------------------------------------------------------- NO_DEPENDS=1 UNAME_r=6.5 UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=unknown UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 LANG=C HOME=/root USER=root TERM=dumb SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: showconfig ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ENV ------------------------------------------------------------------------------- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/ftp/fastdfs XDG_CONFIG_HOME=/construction/ftp/fastdfs XDG_CACHE_HOME=/construction/ftp/fastdfs/.cache HOME=/construction/ftp/fastdfs TMPDIR="/tmp" PATH=/construction/ftp/fastdfs/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/ftp/fastdfs/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: CONFIGURE_ARGS ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ENV ------------------------------------------------------------------------------- DESTDIR=/construction/ftp/fastdfs/stage PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/ftp/fastdfs XDG_CONFIG_HOME=/construction/ftp/fastdfs XDG_CACHE_HOME=/construction/ftp/fastdfs/.cache HOME=/construction/ftp/fastdfs TMPDIR="/tmp" PATH=/construction/ftp/fastdfs/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/ftp/fastdfs/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: MAKE_ARGS ------------------------------------------------------------------------------- DESTDIR=/construction/ftp/fastdfs/stage SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: PLIST_SUB ------------------------------------------------------------------------------- OSREL=6.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1 PERL_VER=5.32 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.32 PROFILE="@comment " DOCSDIR="share/doc/fastdfs" EXAMPLESDIR="share/examples/fastdfs" DATADIR="share/fastdfs" WWWDIR="www/fastdfs" ETCDIR="etc/fastdfs" SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: SUB_LIST ------------------------------------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fastdfs DOCSDIR=/usr/local/share/doc/fastdfs EXAMPLESDIR=/usr/local/share/examples/fastdfs WWWDIR=/usr/local/www/fastdfs ETCDIR=/usr/local/etc/fastdfs SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: /etc/make.conf ------------------------------------------------------------------------------- DPORTS_BUILDER=yes DISABLE_LICENSES=yes DEFAULT_VERSIONS=ssl=openssl FORCE_PACKAGE=yes DEVELOPER=yes DFLY_STING_XFAIL=yes USE_PACKAGE_DEPENDS_ONLY=yes PORTSDIR=/xports PORT_DBDIR=/options PKG_DBDIR=/var/db/pkg PKG_CACHEDIR=/var/cache/pkg PKG_COMPRESSION_FORMAT=.tgz DEVELOPER=1 WITH_CCACHE_BUILD=yes CCACHE_DIR=/ccache UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=600503 OSVERSION=9999999 OSREL=6.5 _OSRELEASE=6.5-SYNTH DISTDIR=/distfiles WRKDIRPREFIX=/construction BATCH=yes PACKAGE_BUILDING=yes PKG_CREATE_VERBOSE=yes MAKE_JOBS_NUMBER=13 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/perl5-5.32.1_3.pkg Installing /packages/All/ccache-3.7.12_4.pkg Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for gcc create symlink for gcc (world) create symlink for g++ create symlink for g++ (world) ===== Message from ccache-3.7.12_4: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. Installing /packages/All/libfastcommon-1.0.43.pkg SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fastdfs-6.0.6 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fastdfs-6.0.6 for building => SHA256 Checksum OK for happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by fastdfs-6.0.6 for building ===> Extracting for fastdfs-6.0.6 => SHA256 Checksum OK for happyfish100-fastdfs-6.0.6-V6.06_GH0.tar.gz. Extracted Memory Use: 3.09M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for fastdfs-6.0.6 ===> Applying ports patches for fastdfs-6.0.6 from /xports/ftp/fastdfs/files SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on package: perl5>=5.32.r0<5.33 - found ===> fastdfs-6.0.6 depends on file: /usr/local/bin/ccache - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on shared library: libfastcommon.so - found (/usr/local/lib/libfastcommon.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on package: perl5>=5.32.r0<5.33 - found ===> fastdfs-6.0.6 depends on file: /usr/local/bin/ccache - found ===> fastdfs-6.0.6 depends on shared library: libfastcommon.so - found (/usr/local/lib/libfastcommon.so) ===> Configuring for fastdfs-6.0.6 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for fastdfs-6.0.6 cd /construction/ftp/fastdfs/fastdfs-6.06 && /usr/bin/env DESTDIR=/construction/ftp/fastdfs/stage PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/ftp/fastdfs XDG_CONFIG_HOME=/construction/ftp/fastdfs XDG_CACHE_HOME=/construction/ftp/fastdfs/.cache HOME=/construction/ftp/fastdfs TMPDIR="/tmp" PATH=/usr/local/libexec/ccache:/construction/ftp/fastdfs/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/ftp/fastdfs/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" CCACHE_DIR="/ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /bin/sh make.sh cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../common/fdfs_global.o ../common/fdfs_global.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_proto.o tracker_proto.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_mem.o tracker_mem.c -I../common -I/usr/local/include tracker_mem.c: In function 'tracker_open_changlog_file': tracker_mem.c:2235:44: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~ tracker_mem.c:2235:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c:2249:42: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/data/%s", \ ^~~~~~ tracker_mem.c:2249:2: note: 'snprintf' output between 28 and 283 bytes into a destination of size 256 snprintf(filename, sizeof(filename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_SERVERS_CHANGELOG_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_save_groups': tracker_mem.c:1683:50: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~ tracker_mem.c:1683:2: note: 'snprintf' output between 29 and 284 bytes into a destination of size 256 snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_GROUPS_LIST_FILENAME_NEW); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c:1685:48: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~ tracker_mem.c:1685:2: note: 'snprintf' output between 5 and 260 bytes into a destination of size 256 snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_save_storages': tracker_mem.c:1822:50: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~ tracker_mem.c:1822:2: note: 'snprintf' output between 30 and 285 bytes into a destination of size 256 snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_SERVERS_LIST_FILENAME_NEW); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c:1824:48: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~ tracker_mem.c:1824:2: note: 'snprintf' output between 5 and 260 bytes into a destination of size 256 snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_save_sync_timestamps': tracker_mem.c:2110:50: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~ tracker_mem.c:2110:2: note: 'snprintf' output between 33 and 288 bytes into a destination of size 256 snprintf(trueFilename, sizeof(trueFilename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_SYNC_TIMESTAMP_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c:2112:48: warning: '.tmp' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~ tracker_mem.c:2112:2: note: 'snprintf' output between 5 and 260 bytes into a destination of size 256 snprintf(tmpFilename, sizeof(tmpFilename), "%s.tmp", trueFilename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_write_to_trunk_change_log': tracker_mem.c:5096:52: warning: '/logs/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/logs/%s", \ ^~~~~~ tracker_mem.c:5096:2: note: 'snprintf' output between 30 and 285 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/logs/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, TRUNK_SERVER_CHANGELOG_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_load_data': tracker_mem.c:1603:44: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~ tracker_mem.c:1603:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_mem.c: In function 'tracker_mem_get_sys_files_from_others': tracker_mem.c:3936:52: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~ tracker_mem.c:3936:2: note: 'snprintf' output 7 or more bytes (assuming 262) into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, g_tracker_sys_filenames[file_index]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_service.o tracker_service.c -I../common -I/usr/local/include tracker_service.c: In function 'tracker_check_and_sync': tracker_service.c:390:6: warning: '%s' directive output may be truncated writing up to 45 bytes into a region of size 16 [-Wformat-truncation=] "%s", conn->ip_addr); ^~ tracker_service.c:389:4: note: 'snprintf' output between 1 and 46 bytes into a destination of size 16 snprintf(pDestServer->id, FDFS_STORAGE_ID_MAX_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s", conn->ip_addr); ~~~~~~~~~~~~~~~~~~~~ tracker_service.c: In function 'tracker_changelog_response': tracker_service.c:489:42: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/data/%s", g_fdfs_base_path,\ ^~~~~~ tracker_service.c:489:2: note: 'snprintf' output between 28 and 283 bytes into a destination of size 256 snprintf(filename, sizeof(filename), "%s/data/%s", g_fdfs_base_path,\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ STORAGE_SERVERS_CHANGELOG_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_service.c: In function 'tracker_deal_get_one_sys_file': tracker_service.c:2100:52: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~ tracker_service.c:2100:2: note: 'snprintf' output 7 or more bytes (assuming 262) into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, g_tracker_sys_filenames[index]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_status.o tracker_status.c -I../common -I/usr/local/include tracker_status.c: In function 'tracker_write_status_to_file': tracker_status.c:40:52: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~ tracker_status.c:40:2: note: 'snprintf' output between 22 and 277 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, TRACKER_STATUS_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tracker_status.c: In function 'tracker_load_status_from_file': tracker_status.c:58:52: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~ tracker_status.c:58:2: note: 'snprintf' output between 22 and 277 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/data/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, TRACKER_STATUS_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_global.o tracker_global.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_func.o tracker_func.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdfs_server_id_func.o fdfs_server_id_func.c -I../common -I/usr/local/include fdfs_server_id_func.c: In function 'fdfs_load_storage_ids_from_file': fdfs_server_id_func.c:816:11: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] "%s/%s", filepath, pStorageIdsFilename); ^ fdfs_server_id_func.c:815:4: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 snprintf(full_filename, sizeof(full_filename), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s", filepath, pStorageIdsFilename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdfs_shared_func.o fdfs_shared_func.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_nio.o tracker_nio.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_relationship.o tracker_relationship.c -I../common -I/usr/local/include tracker_relationship.c: In function 'do_notify_leader_changed': tracker_relationship.c:279:45: warning: '%s' directive writing up to 45 bytes into a region of size 22 [-Wformat-overflow=] sprintf(out_buff + sizeof(TrackerHeader), "%s:%d", \ ^~ tracker_relationship.c:279:2: note: 'sprintf' output between 3 and 58 bytes into a destination of size 22 sprintf(out_buff + sizeof(TrackerHeader), "%s:%d", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pLeader->ip_addr, pLeader->port); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_dump.o tracker_dump.c -I../common -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_trackerd fdfs_trackerd.c ../common/fdfs_global.o tracker_proto.o tracker_mem.o tracker_service.o tracker_status.o tracker_global.o tracker_func.o fdfs_server_id_func.o fdfs_shared_func.o tracker_nio.o tracker_relationship.o tracker_dump.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I/usr/local/include fdfs_trackerd.c: In function 'sigDumpHandler': fdfs_trackerd.c:442:6: warning: '/logs/tracker_dump.log' directive output may be truncated writing 22 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/logs/tracker_dump.log", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~ fdfs_trackerd.c:441:2: note: 'snprintf' output between 23 and 278 bytes into a destination of size 256 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/logs/tracker_dump.log", g_fdfs_base_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdfs_trackerd.c: In function 'main': fdfs_trackerd.c:121:6: warning: '/data/fdfs_trackerd.pid' directive output may be truncated writing 23 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/fdfs_trackerd.pid", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~ fdfs_trackerd.c:120:2: note: 'snprintf' output between 24 and 279 bytes into a destination of size 256 snprintf(pidFilename, sizeof(pidFilename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/fdfs_trackerd.pid", g_fdfs_base_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o tracker_client_thread.o tracker_client_thread.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include tracker_client_thread.c: In function 'tracker_report_join': tracker_client_thread.c:2010:61: warning: '%02d' directive output may be truncated writing between 2 and 4 bytes into a region of size between 1 and 4 [-Wformat-truncation=] snprintf(pReqBody->version, sizeof(pReqBody->version), "%d.%02d", \ ^~~~ tracker_client_thread.c:2010:57: note: directive argument in the range [-128, 127] snprintf(pReqBody->version, sizeof(pReqBody->version), "%d.%02d", \ ^~~~~~~~~ tracker_client_thread.c:2010:2: note: 'snprintf' output between 5 and 10 bytes into a destination of size 6 snprintf(pReqBody->version, sizeof(pReqBody->version), "%d.%02d", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_version.major, g_fdfs_version.minor); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_global.o storage_global.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_func.o storage_func.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include storage_func.c: In function 'get_storage_stat_filename': storage_func.c:288:7: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/%s", g_fdfs_base_path, STORAGE_STAT_FILENAME); ^~~~~~ storage_func.c:287:2: note: 'snprintf' output between 23 and 278 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/%s", g_fdfs_base_path, STORAGE_STAT_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_func.c: In function 'storage_write_to_sync_ini_file': storage_func.c:651:6: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/%s", g_fdfs_base_path, DATA_DIR_INITED_FILENAME); ^~~~~~ storage_func.c:650:2: note: 'snprintf' output between 22 and 277 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/%s", g_fdfs_base_path, DATA_DIR_INITED_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_func.c: In function 'storage_check_and_make_global_data_path': storage_func.c:704:47: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", ^~~~~ storage_func.c:704:5: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path); ~~~~~~~~~~~~~~~~~ storage_func.c: In function 'storage_func_init': storage_func.c:984:44: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", ^~~~~ storage_func.c:984:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path); ~~~~~~~~~~~~~~~~~ storage_func.c:986:53: warning: '%s' directive output may be truncated writing 15 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/%s", ^~ storage_func.c:986:2: note: 'snprintf' output between 17 and 272 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ data_path, DATA_DIR_INITED_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_sync_func.o storage_sync_func.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_service.o storage_service.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include storage_service.c: In function 'storage_sync_append_file': storage_service.c:6174:4: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size between 0 and 128 [-Wformat-truncation=] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6174:18: note: format string is defined here "%s %"PRId64" %"PRId64, \ storage_service.c:6174:4: note: directive argument in the range [0, 9223372036854775807] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6172:3: note: 'snprintf' output between 5 and 169 bytes into a destination of size 131 snprintf(pFileContext->fname2log, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pFileContext->fname2log), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s %"PRId64" %"PRId64, \ ~~~~~~~~~~~~~~~~~~~~~~~~~ filename, start_offset, append_bytes); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c: In function 'storage_sync_modify_file': storage_service.c:6369:4: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size between 0 and 128 [-Wformat-truncation=] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6369:18: note: format string is defined here "%s %"PRId64" %"PRId64, \ storage_service.c:6369:4: note: directive argument in the range [0, 9223372036854775807] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6367:3: note: 'snprintf' output between 5 and 169 bytes into a destination of size 131 snprintf(pFileContext->fname2log, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pFileContext->fname2log), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s %"PRId64" %"PRId64, \ ~~~~~~~~~~~~~~~~~~~~~~~~~ filename, start_offset, modify_bytes); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c: In function 'storage_sync_truncate_file': storage_service.c:6555:3: warning: '%ld' directive output may be truncated writing between 1 and 19 bytes into a region of size between 0 and 128 [-Wformat-truncation=] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6555:17: note: format string is defined here "%s %"PRId64" %"PRId64, \ storage_service.c:6555:3: note: directive argument in the range [0, 9223372036854775807] "%s %"PRId64" %"PRId64, \ ^~~~~~ storage_service.c:6553:2: note: 'snprintf' output between 5 and 169 bytes into a destination of size 131 snprintf(pFileContext->fname2log, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pFileContext->fname2log), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s %"PRId64" %"PRId64, \ ~~~~~~~~~~~~~~~~~~~~~~~~~ filename, old_file_size, new_file_size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c: In function 'storage_service_upload_file_done': storage_service.c:2443:25: warning: '%s' directive writing up to 127 bytes into a region of size 124 [-Wformat-overflow=] sprintf(new_fname2log, "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^~~~ storage_service.c:2446:21: store_path_index, new_filename); ~~~~~~~~~~~~ storage_service.c:2443:59: note: format string is defined here sprintf(new_fname2log, "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^~ storage_service.c:2443:2: note: 'sprintf' output between 5 and 132 bytes into a destination of size 128 sprintf(new_fname2log, "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FDFS_STORAGE_STORE_PATH_PREFIX_CHAR, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pFileContext->extra_info.upload.trunk_info.path. \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ store_path_index, new_filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c:2675:16: warning: '%s' directive writing up to 127 bytes into a region of size between 111 and 127 [-Wformat-overflow=] value_len = sprintf(value, "%s/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~ g_group_name, new_fname2log); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c:2675:16: note: 'sprintf' output between 2 and 145 bytes into a destination of size 128 storage_service.c:2656:35: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size 17 [-Wformat-truncation=] storage_service.c:2636:17: pGroupName = value; ~~~~~ storage_service.c:2656:35: FDFS_GROUP_NAME_MAX_LEN + 1, "%s", pGroupName); ^~ storage_service.c:2655:4: note: 'snprintf' output between 1 and 128 bytes into a destination of size 17 snprintf(pFileContext->extra_info.upload.group_name, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FDFS_GROUP_NAME_MAX_LEN + 1, "%s", pGroupName); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c:2507:4: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^~~~ storage_service.c:2507:40: note: format string is defined here "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^ storage_service.c:2506:3: note: 'sprintf' output between 5 and 138 bytes into a destination of size 131 sprintf(pFileContext->fname2log, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FDFS_STORAGE_STORE_PATH_PREFIX_CHAR, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ master_store_path_index, filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c:2535:10: warning: '%s' directive output may be truncated writing up to 127 bytes into a region of size between 125 and 255 [-Wformat-truncation=] "%s %s", pFileContext->fname2log, \ ^~ new_fname2log); ~~~~~~~~~~~~~ storage_service.c:2534:5: note: 'snprintf' output between 2 and 259 bytes into a destination of size 256 snprintf(binlog_buff, sizeof(binlog_buff), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s %s", pFileContext->fname2log, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ new_fname2log); ~~~~~~~~~~~~~~ storage_service.c: In function 'storage_trunk_create_link_file_done_callback': storage_service.c:1259:28: warning: '%s' directive writing up to 127 bytes into a region of size between 125 and 255 [-Wformat-overflow=] sprintf(binlog_msg, "%s %s", \ ^~ pFileContext->fname2log, src_filename); ~~~~~~~~~~~~ storage_service.c:1259:4: note: 'sprintf' output between 2 and 259 bytes into a destination of size 256 sprintf(binlog_msg, "%s %s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pFileContext->fname2log, src_filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c: In function 'storage_upload_slave_file': storage_service.c:5590:4: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^~~~ storage_service.c:5590:40: note: format string is defined here "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ^ storage_service.c:5588:3: note: 'snprintf' output between 5 and 138 bytes into a destination of size 131 snprintf(pFileContext->fname2log, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sizeof(pFileContext->fname2log), \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%c"FDFS_STORAGE_DATA_DIR_FORMAT"/%s", \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FDFS_STORAGE_STORE_PATH_PREFIX_CHAR, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ store_path_index, filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_service.c: In function 'calc_crc32_done_callback_for_regenerate': storage_service.c:4903:45: warning: '%s' directive writing up to 130 bytes into a region of size between 128 and 255 [-Wformat-overflow=] sprintf(binlog_msg, "%s %s", ^~ storage_service.c:4903:21: note: 'sprintf' output between 2 and 259 bytes into a destination of size 256 sprintf(binlog_msg, "%s %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ return_filename, pFileContext->fname2log); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_sync.o storage_sync.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include storage_sync.c: In function 'get_writable_binlog_filename': storage_sync.c:1349:4: warning: '/data/sync/binlog.' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ^~~~~~~~~~ storage_sync.c:1349:7: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ^ storage_sync.c:1348:2: note: 'snprintf' output between 22 and 285 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_FILE_EXT_FMT, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, g_binlog_index); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'get_binlog_readable_filename_ex': storage_sync.c:1721:4: warning: '/data/sync/binlog.' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" ^~~~~~~~~~ storage_sync.c:1721:7: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" ^ storage_sync.c:1720:2: note: 'snprintf' output between 22 and 285 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_FILE_EXT_FMT, ~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, binlog_index); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'write_to_binlog_index': storage_sync.c:1219:4: warning: '/data/sync/' directive output may be truncated writing 11 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~ storage_sync.c:1219:7: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1218:2: note: 'snprintf' output between 28 and 283 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_INDEX_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'storage_binlog_fsync': storage_sync.c:1359:4: warning: '/data/sync/binlog.' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ^~~~~~~~~~ storage_sync.c:1359:7: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ^ storage_sync.c:1359:4: note: directive argument in the range [-2147483647, 2147483647] "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ^~~~~~~~~~ storage_sync.c:1358:2: note: 'snprintf' output between 22 and 285 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/"SYNC_BINLOG_FILE_PREFIX"" \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_FILE_EXT_FMT, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, binlog_index); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'storage_sync_init': storage_sync.c:1416:44: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~ storage_sync.c:1416:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1433:4: warning: '/sync' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/"SYNC_DIR_NAME, data_path); ^~~~~ storage_sync.c:1433:7: note: format string is defined here "%s/"SYNC_DIR_NAME, data_path); ^ storage_sync.c:1432:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(sync_path, sizeof(sync_path), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/"SYNC_DIR_NAME, data_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1300:13: warning: '/data/sync/' directive output may be truncated writing 11 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~ storage_sync.c:1300:16: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1299:5: note: 'snprintf' output between 28 and 283 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_INDEX_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1261:4: warning: '/data/sync/' directive output may be truncated writing 11 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~ storage_sync.c:1261:7: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ^~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1260:2: note: 'snprintf' output between 24 and 279 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/%s", g_fdfs_base_path, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SYNC_BINLOG_INDEX_FILENAME_OLD); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'storage_open_readable_binlog': storage_sync.c:1763:16: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s.gz", filename); ^~~ storage_sync.c:1762:5: note: 'snprintf' output between 4 and 259 bytes into a destination of size 256 snprintf(gzip_filename, sizeof(gzip_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s.gz", filename); ~~~~~~~~~~~~~~~~~~ storage_sync.c:1795:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 252 [-Wformat-truncation=] snprintf(command, sizeof(command), "%s -d %s 2>&1", ^~ get_gzip_command_filename(), gzip_filename); ~~~~~~~~~~~~~ storage_sync.c:1795:5: note: 'snprintf' output 10 or more bytes (assuming 265) into a destination of size 256 snprintf(command, sizeof(command), "%s -d %s 2>&1", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_gzip_command_filename(), gzip_filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'storage_reader_init': storage_sync.c:1971:3: warning: '/data/sync/' directive output may be truncated writing 11 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"SYNC_DIR_NAME"/%s_%d%s", g_fdfs_base_path, ^~~~~~~~~~ storage_sync.c:1971:6: note: format string is defined here "%s/data/"SYNC_DIR_NAME"/%s_%d%s", g_fdfs_base_path, ^~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:1970:2: note: 'snprintf' output between 19 and 299 bytes into a destination of size 256 snprintf(full_filename, filename_size, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"SYNC_DIR_NAME"/%s_%d%s", g_fdfs_base_path, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ip_addr, port, SYNC_MARK_FILE_EXT); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'storage_unlink_mark_file': storage_sync.c:2766:7: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 255 [-Wformat-truncation=] "%s.%04d%02d%02d%02d%02d%02d", old_filename, \ ^~~~ storage_sync.c:2766:3: note: directive argument in the range [-2147481748, 2147483647] "%s.%04d%02d%02d%02d%02d%02d", old_filename, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c:2766:3: note: directive argument in the range [-2147483647, 2147483647] storage_sync.c:2765:2: note: 'snprintf' output between 16 and 323 bytes into a destination of size 256 snprintf(new_filename, sizeof(new_filename), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s.%04d%02d%02d%02d%02d%02d", old_filename, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_hour, tm.tm_min, tm.tm_sec); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage_sync.c: In function 'fdfs_binlog_compress_func': storage_sync.c:1839:16: warning: '.gz' directive output may be truncated writing 3 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s.gz", filename); ^~~ storage_sync.c:1838:5: note: 'snprintf' output between 4 and 259 bytes into a destination of size 256 snprintf(gzip_filename, sizeof(gzip_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s.gz", filename); ~~~~~~~~~~~~~~~~~~ storage_sync.c:1877:46: warning: ' 2>&1' directive output may be truncated writing 5 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(command, sizeof(command), "%s %s 2>&1", ^~~~~ storage_sync.c:1877:5: note: 'snprintf' output 7 or more bytes (assuming 262) into a destination of size 256 snprintf(command, sizeof(command), "%s %s 2>&1", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_gzip_command_filename(), filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_nio.o storage_nio.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_dio.o storage_dio.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_ip_changed_dealer.o storage_ip_changed_dealer.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_param_getter.o storage_param_getter.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_disk_recovery.o storage_disk_recovery.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include storage_disk_recovery.c: In function 'storage_disk_recovery_prepare': storage_disk_recovery.c:1608:37: warning: '%s' directive writing up to 127 bytes into a region of size between 114 and 124 [-Wformat-overflow=] sprintf(trunkFileId.line, "%d %c %s", \ ^~ storage_disk_recovery.c:1610:21: record.op_type, record.filename); ~~~~~~~~~~~~~~~ storage_disk_recovery.c:1608:4: note: 'sprintf' output between 5 and 142 bytes into a destination of size 128 sprintf(trunkFileId.line, "%d %c %s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (int)record.timestamp, \ ~~~~~~~~~~~~~~~~~~~~~~~~ record.op_type, record.filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o trunk_mgr/trunk_mem.o trunk_mgr/trunk_mem.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include trunk_mgr/trunk_mem.c: In function 'storage_trunk_get_data_filename': trunk_mgr/trunk_mem.c:152:44: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(full_filename, MAX_PATH_SIZE, "%s/data/%s", ^~~~~~ trunk_mgr/trunk_mem.c:152:2: note: 'snprintf' output between 24 and 279 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, "%s/data/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_TRUNK_DATA_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_mem.c: In function 'do_save_trunk_data': trunk_mgr/trunk_mem.c:729:53: warning: '/data/.' directive output may be truncated writing 7 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(temp_trunk_filename, MAX_PATH_SIZE, "%s/data/.%s.tmp", ^~~~~~~ trunk_mgr/trunk_mem.c:729:5: note: 'snprintf' output between 29 and 284 bytes into a destination of size 256 snprintf(temp_trunk_filename, MAX_PATH_SIZE, "%s/data/.%s.tmp", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path, STORAGE_TRUNK_DATA_FILENAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o trunk_mgr/trunk_shared.o trunk_mgr/trunk_shared.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o trunk_mgr/trunk_sync.o trunk_mgr/trunk_sync.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include trunk_mgr/trunk_sync.c: In function 'get_binlog_readable_filename': trunk_mgr/trunk_sync.c:1437:3: warning: '/data/trunk/binlog' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, ^~~~~~~~~~ trunk_mgr/trunk_sync.c:1437:6: note: format string is defined here "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, ^ trunk_mgr/trunk_sync.c:1436:2: note: 'snprintf' output between 19 and 274 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path); ~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'get_trunk_binlog_filename': trunk_mgr/trunk_sync.c:86:3: warning: '/data/trunk/binlog' directive output may be truncated writing 18 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, \ ^~~~~~~~~~ trunk_mgr/trunk_sync.c:86:6: note: format string is defined here "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, \ ^ trunk_mgr/trunk_sync.c:85:2: note: 'snprintf' output between 19 and 274 bytes into a destination of size 256 snprintf(full_filename, MAX_PATH_SIZE, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"TRUNK_DIR_NAME"/"TRUNK_SYNC_BINLOG_FILENAME_STR, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_fdfs_base_path); ~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'trunk_binlog_backup_and_truncate': trunk_mgr/trunk_sync.c:490:6: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/%s", g_fdfs_base_path, TRUNK_DIR_NAME); ^~~~~~ trunk_mgr/trunk_sync.c:489:2: note: 'snprintf' output between 12 and 267 bytes into a destination of size 256 snprintf(file_path, sizeof(file_path), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/%s", g_fdfs_base_path, TRUNK_DIR_NAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:539:38: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(full_filename, "%s/%s", file_path, ^ trunk_mgr/trunk_sync.c:539:9: note: 'sprintf' output 2 or more bytes (assuming 257) into a destination of size 256 sprintf(full_filename, "%s/%s", file_path, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_array.files[i].filename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:574:21: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 255 [-Wformat-truncation=] "%s.%04d%02d%02d%02d%02d%02d", binlog_filename, ^~~~ trunk_mgr/trunk_sync.c:574:17: note: directive argument in the range [-2147481748, 2147483647] "%s.%04d%02d%02d%02d%02d%02d", binlog_filename, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:574:17: note: directive argument in the range [-2147483647, 2147483647] trunk_mgr/trunk_sync.c:573:9: note: 'snprintf' output between 16 and 323 bytes into a destination of size 256 snprintf(backup_filename, sizeof(backup_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s.%04d%02d%02d%02d%02d%02d", binlog_filename, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_hour, tm.tm_min, tm.tm_sec); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'trunk_sync_init': trunk_mgr/trunk_sync.c:174:44: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~ trunk_mgr/trunk_sync.c:174:2: note: 'snprintf' output between 6 and 261 bytes into a destination of size 256 snprintf(data_path, sizeof(data_path), "%s/data", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:191:4: warning: '/trunk' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/"TRUNK_DIR_NAME, data_path); ^~~~~ trunk_mgr/trunk_sync.c:191:7: note: format string is defined here "%s/"TRUNK_DIR_NAME, data_path); ^ trunk_mgr/trunk_sync.c:190:2: note: 'snprintf' output between 7 and 262 bytes into a destination of size 256 snprintf(sync_path, sizeof(sync_path), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/"TRUNK_DIR_NAME, data_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'trunk_reader_init': trunk_mgr/trunk_sync.c:1525:3: warning: '/data/trunk/' directive output may be truncated writing 12 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/"TRUNK_DIR_NAME"/%s_%d%s", g_fdfs_base_path, \ ^~~~~~~~~~ trunk_mgr/trunk_sync.c:1525:6: note: format string is defined here "%s/data/"TRUNK_DIR_NAME"/%s_%d%s", g_fdfs_base_path, \ ^~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:1524:2: note: 'snprintf' output between 20 and 300 bytes into a destination of size 256 snprintf(full_filename, filename_size, \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/"TRUNK_DIR_NAME"/%s_%d%s", g_fdfs_base_path, \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ip_addr, port, TRUNK_SYNC_MARK_FILE_EXT_STR); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'trunk_unlink_mark_file': trunk_mgr/trunk_sync.c:1897:7: warning: '%04d' directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 255 [-Wformat-truncation=] "%s.%04d%02d%02d%02d%02d%02d", old_filename, ^~~~ trunk_mgr/trunk_sync.c:1897:3: note: directive argument in the range [-2147481748, 2147483647] "%s.%04d%02d%02d%02d%02d%02d", old_filename, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:1897:3: note: directive argument in the range [-2147483647, 2147483647] trunk_mgr/trunk_sync.c:1896:2: note: 'snprintf' output between 16 and 323 bytes into a destination of size 256 snprintf(new_filename, sizeof(new_filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s.%04d%02d%02d%02d%02d%02d", old_filename, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_year+1900, tm.tm_mon+1, tm.tm_mday, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tm.tm_hour, tm.tm_min, tm.tm_sec); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c: In function 'trunk_unlink_all_mark_files': trunk_mgr/trunk_sync.c:2489:6: warning: '/data/' directive output may be truncated writing 6 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/%s", g_fdfs_base_path, TRUNK_DIR_NAME); ^~~~~~ trunk_mgr/trunk_sync.c:2488:2: note: 'snprintf' output between 12 and 267 bytes into a destination of size 256 snprintf(file_path, sizeof(file_path), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/%s", g_fdfs_base_path, TRUNK_DIR_NAME); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk_mgr/trunk_sync.c:2516:60: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] snprintf(full_filename, sizeof(full_filename), "%s/%s", ^~ trunk_mgr/trunk_sync.c:2516:9: note: 'snprintf' output between 2 and 512 bytes into a destination of size 256 snprintf(full_filename, sizeof(full_filename), "%s/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file_path, ent->d_name); ~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o trunk_mgr/trunk_client.o trunk_mgr/trunk_client.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o trunk_mgr/trunk_free_block_checker.o trunk_mgr/trunk_free_block_checker.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../client/client_global.o ../client/client_global.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../client/tracker_client.o ../client/tracker_client.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../client/storage_client.o ../client/storage_client.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../client/client_func.o ../client/client_func.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdht_client/fdht_proto.o fdht_client/fdht_proto.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdht_client/fdht_client.o fdht_client/fdht_client.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdht_client/fdht_func.o fdht_client/fdht_func.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o fdht_client/fdht_global.o fdht_client/fdht_global.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o storage_dump.o storage_dump.c -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_storaged fdfs_storaged.c ../common/fdfs_global.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../tracker/tracker_proto.o tracker_client_thread.o storage_global.o storage_func.o storage_sync_func.o storage_service.o storage_sync.o storage_nio.o storage_dio.o storage_ip_changed_dealer.o storage_param_getter.o storage_disk_recovery.o trunk_mgr/trunk_mem.o trunk_mgr/trunk_shared.o trunk_mgr/trunk_sync.o trunk_mgr/trunk_client.o trunk_mgr/trunk_free_block_checker.o ../client/client_global.o ../client/tracker_client.o ../client/storage_client.o ../client/client_func.o fdht_client/fdht_proto.o fdht_client/fdht_client.o fdht_client/fdht_func.o fdht_client/fdht_global.o storage_dump.o -lpthread -L/usr/local/lib -lfastcommon -I. -Itrunk_mgr -I../common -I../tracker -I../client -Ifdht_client -I/usr/local/include fdfs_storaged.c: In function 'sigDumpHandler': fdfs_storaged.c:430:6: warning: '/logs/storage_dump.log' directive output may be truncated writing 22 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/logs/storage_dump.log", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~ fdfs_storaged.c:429:2: note: 'snprintf' output between 23 and 278 bytes into a destination of size 256 snprintf(filename, sizeof(filename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/logs/storage_dump.log", g_fdfs_base_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdfs_storaged.c: In function 'main': fdfs_storaged.c:134:6: warning: '/data/fdfs_storaged.pid' directive output may be truncated writing 23 bytes into a region of size between 1 and 256 [-Wformat-truncation=] "%s/data/fdfs_storaged.pid", g_fdfs_base_path); ^~~~~~~~~~~~~~~~~~~~~~~ fdfs_storaged.c:133:2: note: 'snprintf' output between 24 and 279 bytes into a destination of size 256 snprintf(pidFilename, sizeof(pidFilename), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/data/fdfs_storaged.pid", g_fdfs_base_path); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../common/fdfs_http_shared.o ../common/fdfs_http_shared.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -o ../common/mime_file_parser.o ../common/mime_file_parser.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../common/fdfs_global.lo ../common/fdfs_global.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../common/fdfs_http_shared.lo ../common/fdfs_http_shared.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../common/mime_file_parser.lo ../common/mime_file_parser.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../tracker/tracker_proto.lo ../tracker/tracker_proto.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../tracker/fdfs_shared_func.lo ../tracker/fdfs_shared_func.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../tracker/fdfs_server_id_func.lo ../tracker/fdfs_server_id_func.c -I../common -I../tracker -I/usr/local/include ../tracker/fdfs_server_id_func.c: In function 'fdfs_load_storage_ids_from_file': ../tracker/fdfs_server_id_func.c:816:11: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] "%s/%s", filepath, pStorageIdsFilename); ^ ../tracker/fdfs_server_id_func.c:815:4: note: 'snprintf' output 2 or more bytes (assuming 257) into a destination of size 256 snprintf(full_filename, sizeof(full_filename), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s", filepath, pStorageIdsFilename); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o ../storage/trunk_mgr/trunk_shared.lo ../storage/trunk_mgr/trunk_shared.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o tracker_client.lo tracker_client.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o client_func.lo client_func.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o client_global.lo client_global.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -c -fPIC -o storage_client.lo storage_client.c -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_monitor fdfs_monitor.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_test fdfs_test.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include fdfs_test.c: In function 'main': fdfs_test.c:286:24: warning: '%s' directive writing up to 255 bytes into a region of size between 111 and 127 [-Wformat-overflow=] sprintf(file_id, "%s/%s", group_name, remote_filename); ^~ ~~~~~~~~~~~~~~~ fdfs_test.c:286:3: note: 'sprintf' output between 2 and 273 bytes into a destination of size 128 sprintf(file_id, "%s/%s", group_name, remote_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdfs_test.c:378:24: warning: '%s' directive writing up to 255 bytes into a region of size between 111 and 127 [-Wformat-overflow=] sprintf(file_id, "%s/%s", group_name, remote_filename); ^~ ~~~~~~~~~~~~~~~ fdfs_test.c:378:3: note: 'sprintf' output between 2 and 273 bytes into a destination of size 128 sprintf(file_id, "%s/%s", group_name, remote_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_test1 fdfs_test1.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_crc32 fdfs_crc32.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_upload_file fdfs_upload_file.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_download_file fdfs_download_file.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_delete_file fdfs_delete_file.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_file_info fdfs_file_info.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_appender_test fdfs_appender_test.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include fdfs_appender_test.c: In function 'main': fdfs_appender_test.c:250:23: warning: '%s' directive writing up to 255 bytes into a region of size between 111 and 127 [-Wformat-overflow=] sprintf(file_id, "%s/%s", group_name, remote_filename); ^~ ~~~~~~~~~~~~~~~ fdfs_appender_test.c:250:2: note: 'sprintf' output between 2 and 273 bytes into a destination of size 128 sprintf(file_id, "%s/%s", group_name, remote_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_appender_test1 fdfs_appender_test1.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include fdfs_appender_test1.c: In function 'main': fdfs_appender_test1.c:248:43: warning: '%s' directive writing up to 255 bytes into a region of size between 188 and 248 [-Wformat-overflow=] url_len = sprintf(file_url, "http://%s%s/%s", \ ^~ pTrackerServer->ip_addr, szPortPart, file_id); ~~~~~~~ fdfs_appender_test1.c:248:12: note: 'sprintf' output between 9 and 324 bytes into a destination of size 256 url_len = sprintf(file_url, "http://%s%s/%s", \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pTrackerServer->ip_addr, szPortPart, file_id); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_append_file fdfs_append_file.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_upload_appender fdfs_upload_appender.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o fdfs_regenerate_filename fdfs_regenerate_filename.c ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o -lpthread -L/usr/local/lib -lfastcommon -I../common -I../tracker -I/usr/local/include ar rcs libfdfsclient.a ../common/fdfs_global.o ../common/fdfs_http_shared.o ../common/mime_file_parser.o ../tracker/tracker_proto.o ../tracker/fdfs_shared_func.o ../tracker/fdfs_server_id_func.o ../storage/trunk_mgr/trunk_shared.o tracker_client.o client_func.o client_global.o storage_client.o cc -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -g -O1 -DDEBUG_FLAG -o libfdfsclient.so -shared ../common/fdfs_global.lo ../common/fdfs_http_shared.lo ../common/mime_file_parser.lo ../tracker/tracker_proto.lo ../tracker/fdfs_shared_func.lo ../tracker/fdfs_server_id_func.lo ../storage/trunk_mgr/trunk_shared.lo tracker_client.lo client_func.lo client_global.lo storage_client.lo -lpthread -L/usr/local/lib -lfastcommon -Wl,-soname,libfdfsclient.so SUCCEEDED 00:00:08 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> fastdfs-6.0.6 depends on package: perl5>=5.32.r0<5.33 - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for fastdfs-6.0.6 ===> fastdfs-6.0.6 depends on package: perl5>=5.32.r0<5.33 - found ===> Generating temporary packing list ===> Creating groups. ===> Creating users cd /construction/ftp/fastdfs/fastdfs-6.06 && /usr/bin/env DESTDIR=/construction/ftp/fastdfs/stage PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/construction/ftp/fastdfs XDG_CONFIG_HOME=/construction/ftp/fastdfs XDG_CACHE_HOME=/construction/ftp/fastdfs/.cache HOME=/construction/ftp/fastdfs TMPDIR="/tmp" PATH=/usr/local/libexec/ccache:/construction/ftp/fastdfs/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin PKG_CONFIG_LIBDIR=/construction/ftp/fastdfs/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" CCACHE_DIR="/ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" /bin/sh make.sh install mkdir -p /construction/ftp/fastdfs/stage/usr/local/bin mkdir -p /construction/ftp/fastdfs/stage/usr/local/etc/fdfs install -s fdfs_trackerd /construction/ftp/fastdfs/stage/usr/local/bin if [ ! -f /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/tracker.conf.sample ]; then cp -f ../conf/tracker.conf /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/tracker.conf.sample; fi if [ ! -f /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/storage_ids.conf.sample ]; then cp -f ../conf/storage_ids.conf /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/storage_ids.conf.sample; fi mkdir -p /construction/ftp/fastdfs/stage/usr/local/bin mkdir -p /construction/ftp/fastdfs/stage/usr/local/etc/fdfs install -s fdfs_storaged /construction/ftp/fastdfs/stage/usr/local/bin if [ ! -f /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/storage.conf.sample ]; then cp -f ../conf/storage.conf /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/storage.conf.sample; fi mkdir -p /construction/ftp/fastdfs/stage/usr/local/bin mkdir -p /construction/ftp/fastdfs/stage/usr/local/etc/fdfs mkdir -p /construction/ftp/fastdfs/stage/usr/local/lib mkdir -p /construction/ftp/fastdfs/stage/usr/local/lib install -s fdfs_monitor fdfs_test fdfs_test1 fdfs_crc32 fdfs_upload_file fdfs_download_file fdfs_delete_file fdfs_file_info fdfs_appender_test fdfs_appender_test1 fdfs_append_file fdfs_upload_appender fdfs_regenerate_filename /construction/ftp/fastdfs/stage/usr/local/bin if [ 0 -eq 1 ]; then install -s libfdfsclient.a /construction/ftp/fastdfs/stage/usr/local/lib; install -s libfdfsclient.a /construction/ftp/fastdfs/stage/usr/local/lib/;fi if [ 1 -eq 1 ]; then install -s libfdfsclient.so /construction/ftp/fastdfs/stage/usr/local/lib; install -s libfdfsclient.so /construction/ftp/fastdfs/stage/usr/local/lib/;fi mkdir -p /construction/ftp/fastdfs/stage/usr/local/include/fastdfs cp -f ../common/fdfs_define.h ../common/fdfs_global.h ../common/mime_file_parser.h ../common/fdfs_http_shared.h ../tracker/tracker_types.h ../tracker/tracker_proto.h ../tracker/fdfs_shared_func.h ../tracker/fdfs_server_id_func.h ../storage/trunk_mgr/trunk_shared.h tracker_client.h storage_client.h storage_client1.h client_func.h client_global.h fdfs_client.h /construction/ftp/fastdfs/stage/usr/local/include/fastdfs if [ ! -f /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/client.conf.sample ]; then cp -f ../conf/client.conf /construction/ftp/fastdfs/stage/usr/local/etc/fdfs/client.conf.sample; fi install -m 555 /construction/ftp/fastdfs/fdfs_status /construction/ftp/fastdfs/stage/usr/local/bin ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: check-plist ------------------------------------------------------------------------------- ====> Checking for pkg-plist issues (check-plist) ===> Parsing plist ===> Checking for items in STAGEDIR missing from pkg-plist ===> Checking for items in pkg-plist which are not in STAGEDIR ===> No pkg-plist issues found (check-plist) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for fastdfs-6.0.6 file sizes/checksums [38]: 0% file sizes/checksums [38]: 100% Service unavailablepacking files [38]: 0% packing files [38]: 100% packing directories [3]: 0% packing directories [3]: 100% SUCCEEDED 00:00:00 TOTAL TIME 00:00:19