GangZhuo / BaiduPCS

百度网盘命令行工具。The terminal utility for Baidu Network Disk.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

打包安装失败

123485k opened this issue · comments

administrator@Server:/mnt/d/baidupan@linux/BaiduPCS$ dpkg-buildpackage -us -uc -i -b dpkg-buildpackage: info: 源码包 baidupcs dpkg-buildpackage: info: 源码版本 0.2.6-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: 源码修改者 Boyuan Yang <073plan@gmail.com> dpkg-buildpackage: info: 主机架构 amd64 dpkg-source -i --before-build BaiduPCS fakeroot debian/rules clean fakeroot, while creating message channels: Function not implemented This may be due to a lack of SYSV IPC support. fakeroot: error while starting the faked' daemon.
/usr/bin/fakeroot: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
dpkg-buildpackage: 错误: fakeroot debian/rules clean subprocess returned exit status 1
administrator@Server:/mnt/d/baidupan@linux/BaiduPCS$ sudo dpkg-buildpackage -us -uc -i -b
dpkg-buildpackage: info: 源码包 baidupcs
dpkg-buildpackage: info: 源码版本 0.2.6-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: 源码修改者 Boyuan Yang 073plan@gmail.com
dpkg-buildpackage: info: 主机架构 amd64
dpkg-source -i --before-build BaiduPCS
debian/rules clean
dh clean --with autoreconf
dh_clean
debian/rules build
dh build --with autoreconf
dh_update_autotools_config
dh_autoreconf
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/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/ltobsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:17: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
dh_auto_configure
./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking
configure: WARNING: unrecognized options: --disable-maintainer-mode
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... 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 for a sed that does not truncate output... /bin/sed
checking for fgrep... /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 for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
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 a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
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 whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for pkg-config... pkg-config
checking whether compiling and linking against OpenSSL works... yes
checking whether openssl crypto is enabled... auto
checking openssl/opensslconf.h usability... yes
checking openssl/opensslconf.h presence... yes
checking for openssl/opensslconf.h... yes
checking for CRYPTO_lock in -lcrypto... no
checking for curl_version in -lcurl... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for inline... inline
checking for int64_t... yes
checking for size_t... (cached) yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
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... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strnlen... yes
checking for floor... no
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... no
checking for rmdir... yes
checking for setlocale... yes
checking for strchr... yes
checking for strstr... yes
checking for strtol... yes
checking for utime... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
dh_auto_build
make -j1
make[1]: 进入目录“/mnt/d/baidupan@linux/BaiduPCS”
make all-am
make[2]: 进入目录“/mnt/d/baidupan@linux/BaiduPCS”
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/cJSON.lo pcs/cJSON.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/cJSON.c -fPIC -DPIC -o pcs/.libs/cJSON.o
pcs/cJSON.c: In function ‘cJSON_strcasecmp’:
pcs/cJSON.c:41:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
^

pcs/cJSON.c:41:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
^~
pcs/cJSON.c: In function ‘print_object’:
pcs/cJSON.c:538:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (fmt) *ptr++='\n';*ptr=0;
^~
pcs/cJSON.c:538:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (fmt) *ptr++='\n';*ptr=0;
^
pcs/cJSON.c: In function ‘cJSON_DetachItemFromArray’:
pcs/cJSON.c:565:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
^~
pcs/cJSON.c:565:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
^~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/cJSON.c -o pcs/cJSON.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_fileinfo.lo pcs/pcs_fileinfo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_fileinfo.c -fPIC -DPIC -o pcs/.libs/pcs_fileinfo.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_fileinfo.c -o pcs/pcs_fileinfo.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_http.lo pcs/pcs_http.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_http.c -fPIC -DPIC -o pcs/.libs/pcs_http.o
pcs/pcs_http.c: In function ‘pcs_http_prepare’:
pcs/pcs_http.c:102:2: warning: enumeration value ‘HTTP_METHOD_NONE’ not handled in switch [-Wswitch]
switch(method)
^~~~~~
pcs/pcs_http.c: In function ‘pcs_http_get_content_length_from_header’:
pcs/pcs_http.c:214:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != ':') continue; tmp++;
^~
pcs/pcs_http.c:214:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != ':') continue; tmp++;
^~~
pcs/pcs_http.c: In function ‘pcs_http_get_charset_from_header’:
pcs/pcs_http.c:242:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs_http.c:242:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (tmp != '=') continue; tmp++;
^~~
pcs/pcs_http.c: In function ‘pcs_http_setopt’:
pcs/pcs_http.c:526:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->write_func = (PcsHttpWriteFunction)value;
^
pcs/pcs_http.c:536:25: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->response_func = (PcsHttpResponseFunction)value;
^
pcs/pcs_http.c:542:25: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->progress_func = (PcsHttpProgressCallback)value;
^
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_http.c -o pcs/pcs_http.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_mem.lo pcs/pcs_mem.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_mem.c -fPIC -DPIC -o pcs/.libs/pcs_mem.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_mem.c -o pcs/pcs_mem.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_pan_api_resinfo.lo pcs/pcs_pan_api_resinfo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_pan_api_resinfo.c -fPIC -DPIC -o pcs/.libs/pcs_pan_api_resinfo.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_pan_api_resinfo.c -o pcs/pcs_pan_api_resinfo.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_slist.lo pcs/pcs_slist.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_slist.c -fPIC -DPIC -o pcs/.libs/pcs_slist.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_slist.c -o pcs/pcs_slist.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_utils.lo pcs/pcs_utils.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_utils.c -fPIC -DPIC -o pcs/.libs/pcs_utils.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_utils.c -o pcs/pcs_utils.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/err_msg.lo pcs/err_msg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/err_msg.c -fPIC -DPIC -o pcs/.libs/err_msg.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/err_msg.c -o pcs/err_msg.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/utf8.lo pcs/utf8.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/utf8.c -fPIC -DPIC -o pcs/.libs/utf8.o
pcs/utf8.c: In function ‘u8_vprintf’:
pcs/utf8.c:536:2: warning: implicit declaration of function ‘wprintf’; did you mean ‘dprintf’? [-Wimplicit-function-declaration]
wprintf(L"%ls", (wchar_t
)wcs);
^~~~~~~
dprintf
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/utf8.c -o pcs/utf8.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs.lo pcs/pcs.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs.c -fPIC -DPIC -o pcs/.libs/pcs.o
pcs/pcs.c: In function ‘pcs_get_value_by_key’:
pcs/pcs.c:227:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:227:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^~~
pcs/pcs.c:229:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '"') continue; tmp++;
^~
pcs/pcs.c:229:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '"') continue; tmp++;
^~~
pcs/pcs.c: In function ‘pcs_get_yunData’:
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
~~^~~~~~
pcs/pcs.c:275:6: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
^~~~~~
pcs/pcs.c:281:8: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
~~^~~~~~
pcs/pcs.c:300:8: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c: In function ‘pcs_get_embed_query_int_value_by_key’:
pcs/pcs.c:334:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:334:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^

pcs/pcs.c: In function ‘pcs_get_embed_query_token_by_key’:
pcs/pcs.c:360:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:360:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^~~
pcs/pcs.c: In function ‘pcs_setopt’:
pcs/pcs.c:1312:23: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->captcha_func = (PcsGetCaptchaFunction)value;
^
pcs/pcs.c:1318:27: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->input_func = (PcsInputFunction)value;
^
pcs/pcs.c:1325:24: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->download_func = (PcsHttpWriteFunction)value;
^
pcs/pcs.c: In function ‘pcs_get_pass_v3_jump_url’:
pcs/pcs.c:1608:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_list’:
pcs/pcs.c:2279:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_search’:
pcs/pcs.c:2300:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_upload_s’:
pcs/pcs.c:2723:8: warning: variable ‘filename’ set but not used [-Wunused-but-set-variable]
char *filename;
^~~~~~~~
pcs/pcs.c: In function ‘pcs_rapid_upload’:
pcs/pcs.c:2864:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_pan_api_filemanager’:
pcs/pcs.c:873:15: warning: ‘tail’ may be used uninitialized in this function [-Wmaybe-uninitialized]
tail->next = ri;
~~~~~~~~~~~^~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs.c -o pcs/pcs.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_buffer.lo pcs/pcs_buffer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_buffer.c -fPIC -DPIC -o pcs/.libs/pcs_buffer.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_buffer.c -o pcs/pcs_buffer.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/pcs_passport_dv.lo pcs/pcs_passport_dv.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_passport_dv.c -fPIC -DPIC -o pcs/.libs/pcs_passport_dv.o
pcs/pcs_passport_dv.c: In function ‘pkg_ppk’:
pcs/pcs_passport_dv.c:400:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_write(&pkg->a, a, alen))
^~~~~
pcs/pcs_passport_dv.c: In function ‘pkg_gap’:
pcs/pcs_passport_dv.c:424:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_write(&pkg->a, d, len))
^~~~~
pcs/pcs_passport_dv.c:429:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_insert(&pkg->a, 16, d, len))
^~~~~
At top level:
pcs/pcs_passport_dv.c:396:12: warning: ‘pkg_ppk’ defined but not used [-Wunused-function]
static int pkg_ppk(pkg_t *pkg, const char *a, int alen, int seq, int blen)
^~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c pcs/pcs_passport_dv.c -o pcs/pcs_passport_dv.o >/dev/null 2>&1
/bin/bash ./libtool --tag=CC --mode=link gcc -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -version-info 0:0:0 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o libbaidupcs.la -rpath /usr/lib/x86_64-linux-gnu pcs/cJSON.lo pcs/pcs_fileinfo.lo pcs/pcs_http.lo pcs/pcs_mem.lo pcs/pcs_pan_api_resinfo.lo pcs/pcs_slist.lo pcs/pcs_utils.lo pcs/err_msg.lo pcs/utf8.lo pcs/pcs.lo pcs/pcs_buffer.lo pcs/pcs_passport_dv.lo -lcurl -lssl -lcrypto
libtool: link: gcc -shared -fPIC -DPIC pcs/.libs/cJSON.o pcs/.libs/pcs_fileinfo.o pcs/.libs/pcs_http.o pcs/.libs/pcs_mem.o pcs/.libs/pcs_pan_api_resinfo.o pcs/.libs/pcs_slist.o pcs/.libs/pcs_utils.o pcs/.libs/err_msg.o pcs/.libs/utf8.o pcs/.libs/pcs.o pcs/.libs/pcs_buffer.o pcs/.libs/pcs_passport_dv.o /usr/lib/x86_64-linux-gnu/libcurl.so -lssl -lcrypto -g -g -O2 -fstack-protector-strong -pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -pthread -Wl,-soname -Wl,libbaidupcs.so.0 -o .libs/libbaidupcs.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libbaidupcs.so.0" && ln -s "libbaidupcs.so.0.0.0" "libbaidupcs.so.0")
libtool: link: (cd ".libs" && rm -f "libbaidupcs.so" && ln -s "libbaidupcs.so.0.0.0" "libbaidupcs.so")
libtool: link: ar cru .libs/libbaidupcs.a pcs/cJSON.o pcs/pcs_fileinfo.o pcs/pcs_http.o pcs/pcs_mem.o pcs/pcs_pan_api_resinfo.o pcs/pcs_slist.o pcs/pcs_utils.o pcs/err_msg.o pcs/utf8.o pcs/pcs.o pcs/pcs_buffer.o pcs/pcs_passport_dv.o
ar: u' modifier ignored since D' is the default (see U') libtool: link: ranlib .libs/libbaidupcs.a libtool: link: ( cd ".libs" && rm -f "libbaidupcs.la" && ln -s "../libbaidupcs.la" "libbaidupcs.la" ) gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-shell.o test -f 'shell.c' || echo './'`shell.c
shell.c:464:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 加解密文件

shell.c: In function ‘get_file_secure_method’:
shell.c:512:16: warning: pointer targets in passing argument 1 of ‘readToAesHead’ differ in signedness [-Wpointer-sign]
readToAesHead(buf, &head);
^~~
shell.c:475:20: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
static inline void readToAesHead(const char *buf, struct PcsAesHead *head)
^~~~~~~~~~~~~
shell.c: In function ‘encrypt_file’:
shell.c:572:28: warning: pointer targets in passing argument 2 of ‘int2Buffer’ differ in signedness [-Wpointer-sign]
int2Buffer(PCS_AES_MAGIC, buf);
^~~
In file included from shell.c:30:0:
pcs/pcs_utils.h:59:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
void int2Buffer(int v, char *buf);
^~~~~~~~~~
shell.c:573:28: warning: pointer targets in passing argument 2 of ‘int2Buffer’ differ in signedness [-Wpointer-sign]
int2Buffer(secure_method, &buf[4]);
^
In file included from shell.c:30:0:
pcs/pcs_utils.h:59:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
void int2Buffer(int v, char *buf);
^~~~~~~~~~
shell.c:574:21: warning: pointer targets in passing argument 2 of ‘int2Buffer’ differ in signedness [-Wpointer-sign]
int2Buffer(polish, &buf[8]);
^
In file included from shell.c:30:0:
pcs/pcs_utils.h:59:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
void int2Buffer(int v, char *buf);
^~~~~~~~~~
shell.c:575:16: warning: pointer targets in passing argument 2 of ‘int2Buffer’ differ in signedness [-Wpointer-sign]
int2Buffer(0, &buf[12]);
^
In file included from shell.c:30:0:
pcs/pcs_utils.h:59:6: note: expected ‘char *’ but argument is of type ‘unsigned char *’
void int2Buffer(int v, char *buf);
^~~~~~~~~~
shell.c:536:17: warning: unused variable ‘key’ [-Wunused-variable]
unsigned char key[AES_BLOCK_SIZE] = { 0 };
^~~
shell.c: In function ‘decrypt_file’:
shell.c:696:16: warning: pointer targets in passing argument 1 of ‘readToAesHead’ differ in signedness [-Wpointer-sign]
readToAesHead(buf, &head);
^~~
shell.c:475:20: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
static inline void readToAesHead(const char *buf, struct PcsAesHead *head)
^~~~~~~~~~~~~
shell.c:641:17: warning: unused variable ‘key’ [-Wunused-variable]
unsigned char key[AES_BLOCK_SIZE] = { 0 };
^~~
shell.c: In function ‘encrypt_data’:
shell.c:859:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
out_buf = (unsigned char *)pcs_malloc(outsz);
^
shell.c:879:20: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(buf, pout, AES_BLOCK_SIZE, &aes, iv, AES_ENCRYPT);
^~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:879:25: warning: pointer targets in passing argument 2 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(buf, pout, AES_BLOCK_SIZE, &aes, iv, AES_ENCRYPT);
^~~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:885:20: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(pin, pout, AES_BLOCK_SIZE, &aes, iv, AES_ENCRYPT);
^~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:885:25: warning: pointer targets in passing argument 2 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(pin, pout, AES_BLOCK_SIZE, &aes, iv, AES_ENCRYPT);
^~~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:891:12: warning: pointer targets in passing argument 1 of ‘MD5_Final’ differ in signedness [-Wpointer-sign]
MD5_Final(md5_value, &md5);
^~~~~~~~~
In file included from shell.c:25:0:
/usr/include/openssl/md5.h:42:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
int MD5_Final(unsigned char *md, MD5_CTX *c);
^~~~~~~~~
shell.c:839:17: warning: unused variable ‘key’ [-Wunused-variable]
unsigned char key[AES_BLOCK_SIZE] = { 0 };
^~~
shell.c: In function ‘decrypt_data’:
shell.c:937:19: warning: pointer targets in passing argument 1 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(pin, pout, AES_BLOCK_SIZE, &aes, iv, AES_DECRYPT);
^~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:937:24: warning: pointer targets in passing argument 2 of ‘AES_cbc_encrypt’ differ in signedness [-Wpointer-sign]
AES_cbc_encrypt(pin, pout, AES_BLOCK_SIZE, &aes, iv, AES_DECRYPT);
^~~~
In file included from shell.c:24:0:
/usr/include/openssl/aes.h:55:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
void AES_cbc_encrypt(const unsigned char *in, unsigned char *out,
^~~~~~~~~~~~~~~
shell.c:945:12: warning: pointer targets in passing argument 1 of ‘MD5_Final’ differ in signedness [-Wpointer-sign]
MD5_Final(md5_value, &md5);
^~~~~~~~~
In file included from shell.c:25:0:
/usr/include/openssl/md5.h:42:5: note: expected ‘unsigned char *’ but argument is of type ‘char *’
int MD5_Final(unsigned char *md, MD5_CTX *c);
^~~~~~~~~
shell.c:904:17: warning: unused variable ‘key’ [-Wunused-variable]
unsigned char key[AES_BLOCK_SIZE] = { 0 };
^~~
shell.c: At top level:
shell.c:957:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:959:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 获取默认路径

shell.c:1031:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:1033:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 线程 State 相关

shell.c:1127:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:1129:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 三个回调: 输入验证码, 显示上传进度, 写下载文件

shell.c: In function ‘download_write’:
shell.c:1260:8: warning: unused variable ‘pf’ [-Wunused-variable]
FILE *pf = ds->pf;
^~
shell.c: At top level:
shell.c:1412:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:1414:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 公用函数

shell.c:1722:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:1724:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 初始化相关函数

shell.c: In function ‘create_pcs’:
shell.c:2066:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
pcs_setopt(pcs, PCS_OPTION_CAPTCHA_FUNCTION, (void *)&verifycode);
^
shell.c:2068:48: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
pcs_setopt(pcs, PCS_OPTION_INPUT_FUNCTION, (void *)&input_str);
^
shell.c:2071:33: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
PCS_OPTION_PROGRESS_FUNCTION, (void *)&upload_progress,
^
shell.c: At top level:
shell.c:2085:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:2087:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 打印用法相关函数

shell.c: In function ‘usage_fix’:
shell.c:2245:31: warning: ' ' flag used with ‘%s’ gnu_printf format [-Wformat=]
printf(" it should be 100 % successful.\n");
^
shell.c:2245:31: warning: format ‘%s’ expects a matching ‘char *’ argument [-Wformat=]
printf(" it should be 100 % successful.\n");
~~^
shell.c: At top level:
shell.c:2625:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:2627:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 'set'命令的分支函数

shell.c:2831:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:2833:0: warning: ignoring #pragma region Meta [-Wunknown-pragmas]
#pragma region Meta 相关方法

shell.c:2837:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 红黑树的几个回调函数

shell.c:2892:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:3349:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:3351:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 各命令函数体

shell.c: In function ‘upload_thread’:
shell.c:4163:62: warning: format ‘%p’ expects argument of type ‘void *’, but argument 2 has type ‘pthread_t {aka long unsigned int}’ [-Wformat=]
printf("Upload slice failed, retry delay 10 second, tid: %p. message: %s\n", pthread_self(), pcs_strerror(pcs));
~^ ~~~~~~~~~~~~~~
%ld
shell.c: In function ‘restore_upload_state’:
shell.c:4226:10: warning: variable ‘slice_file_size’ set but not used [-Wunused-but-set-variable]
int64_t slice_file_size = 0;
^~~~~~~~~~~~~~~
shell.c: At top level:
shell.c:4820:0: warning: ignoring #pragma region cmd_compare [-Wunknown-pragmas]
#pragma region cmd_compare

shell.c: In function ‘combin_with_remote_dir_files’:
shell.c:4921:115: warning: ordered comparison of pointer with integer zero [-Wpedantic]
if (context->timeout_retry && strstr(pcs_strerror(context->pcs), "Can't get response from the remote server") >= 0) {
^~
shell.c: At top level:
shell.c:5232:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c: In function ‘cmd_quota’:
shell.c:6162:14: warning: unused variable ‘opts’ [-Wunused-variable]
const char *opts[] = { "e", NULL };
^~~~
shell.c: In function ‘cmd_search’:
shell.c:6443:14: warning: unused variable ‘opts’ [-Wunused-variable]
const char *opts[] = { "r", NULL };
^~~~
shell.c: At top level:
shell.c:6504:0: warning: ignoring #pragma region synch [-Wunknown-pragmas]
#pragma region synch

shell.c:6696:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c: In function ‘cmd_upload’:
shell.c:6701:14: warning: unused variable ‘opts’ [-Wunused-variable]
const char *opts[] = { "f", NULL };
^~~~
shell.c: At top level:
shell.c:6853:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

shell.c:1571:13: warning: ‘print_size’ defined but not used [-Wunused-function]
static void print_size(const char *format, size_t size)
^~~~~~~~~~
shell.c:1449:20: warning: ‘size_tostr’ defined but not used [-Wunused-function]
static const char *size_tostr(size_t size, int *fix_width, char ch)
^~~~~~~~~~
shell.c:1373:12: warning: ‘upload_progress_for_multy_thread’ defined but not used [-Wunused-function]
static int upload_progress_for_multy_thread(void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-arg.o test -f 'arg.c' || echo './'arg.c
arg.c:44:0: warning: ignoring #pragma region [-Wunknown-pragmas]
#pragma region 解析参数

arg.c:275:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-dir.o test -f 'dir.c' || echo './'dir.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o rb_tree/baidupcs-misc.o test -f 'rb_tree/misc.c' || echo './'rb_tree/misc.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o rb_tree/baidupcs-red_black_tree.o test -f 'rb_tree/red_black_tree.c' || echo './'rb_tree/red_black_tree.c
rb_tree/red_black_tree.c: In function ‘InorderRBTreeEnumerateInfo’:
rb_tree/red_black_tree.c:388:19: warning: unused variable ‘root’ [-Wunused-variable]
rb_red_blk_node* root = tree->root;
^~~~
rb_tree/red_black_tree.c:387:19: warning: unused variable ‘nil’ [-Wunused-variable]
rb_red_blk_node* nil = tree->nil;
^~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o rb_tree/baidupcs-stack.o test -f 'rb_tree/stack.c' || echo './'rb_tree/stack.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-utils.o test -f 'utils.c' || echo './'utils.c
utils.c:40:0: warning: ignoring #pragma region std_string [-Wunknown-pragmas]
#pragma region std_string(), std_password(), is_absolute_path() 三个函数

utils.c:195:0: warning: ignoring #pragma endregion [-Wunknown-pragmas]
#pragma endregion

utils.c: In function ‘streq’:
utils.c:222:24: warning: unused variable ‘p2’ [-Wunused-variable]
const char *p1 = s1, *p2 = s2;
^~
utils.c:222:14: warning: unused variable ‘p1’ [-Wunused-variable]
const char *p1 = s1, *p2 = s2;
^~
utils.c: In function ‘std_string’:
utils.c:139:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(str, size, stdin);
^~~~~~~~~~~~~~~~~~~~~~~
utils.c: In function ‘std_password’:
utils.c:172:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(password, size, stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-hashtable.o test -f 'hashtable.c' || echo './'hashtable.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o baidupcs-cache.o test -f 'cache.c' || echo './'cache.c
cache.c: In function ‘cache_add’:
cache.c:93:19: warning: unused variable ‘pos’ [-Wunused-variable]
block_t *block, *pos = cache->blocks.next;
^~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-cJSON.o test -f 'pcs/cJSON.c' || echo './'pcs/cJSON.c
pcs/cJSON.c: In function ‘cJSON_strcasecmp’:
pcs/cJSON.c:41:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
^~
pcs/cJSON.c:41:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (!s1) return (s1==s2)?0:1;if (!s2) return 1;
^~
pcs/cJSON.c: In function ‘print_object’:
pcs/cJSON.c:538:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (fmt) *ptr++='\n';*ptr=0;
^~
pcs/cJSON.c:538:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (fmt) *ptr++='\n';*ptr=0;
^
pcs/cJSON.c: In function ‘cJSON_DetachItemFromArray’:
pcs/cJSON.c:565:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
^~
pcs/cJSON.c:565:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (c->prev) c->prev->next=c->next;if (c->next) c->next->prev=c->prev;if (c==array->child) array->child=c->next;c->prev=c->next=0;return c;}
^~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_fileinfo.o test -f 'pcs/pcs_fileinfo.c' || echo './'pcs/pcs_fileinfo.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_http.o test -f 'pcs/pcs_http.c' || echo './'pcs/pcs_http.c
pcs/pcs_http.c: In function ‘pcs_http_prepare’:
pcs/pcs_http.c:102:2: warning: enumeration value ‘HTTP_METHOD_NONE’ not handled in switch [-Wswitch]
switch(method)
^~~~~~
pcs/pcs_http.c: In function ‘pcs_http_get_content_length_from_header’:
pcs/pcs_http.c:214:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != ':') continue; tmp++;
^~
pcs/pcs_http.c:214:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != ':') continue; tmp++;
^~~
pcs/pcs_http.c: In function ‘pcs_http_get_charset_from_header’:
pcs/pcs_http.c:242:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs_http.c:242:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (tmp != '=') continue; tmp++;
^~~
pcs/pcs_http.c: In function ‘pcs_http_setopt’:
pcs/pcs_http.c:526:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->write_func = (PcsHttpWriteFunction)value;
^
pcs/pcs_http.c:536:25: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->response_func = (PcsHttpResponseFunction)value;
^
pcs/pcs_http.c:542:25: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
http->progress_func = (PcsHttpProgressCallback)value;
^
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_mem.o test -f 'pcs/pcs_mem.c' || echo './'pcs/pcs_mem.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_pan_api_resinfo.o test -f 'pcs/pcs_pan_api_resinfo.c' || echo './'pcs/pcs_pan_api_resinfo.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_slist.o test -f 'pcs/pcs_slist.c' || echo './'pcs/pcs_slist.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_utils.o test -f 'pcs/pcs_utils.c' || echo './'pcs/pcs_utils.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-err_msg.o test -f 'pcs/err_msg.c' || echo './'pcs/err_msg.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-utf8.o test -f 'pcs/utf8.c' || echo './'pcs/utf8.c
pcs/utf8.c: In function ‘u8_vprintf’:
pcs/utf8.c:536:2: warning: implicit declaration of function ‘wprintf’; did you mean ‘dprintf’? [-Wimplicit-function-declaration]
wprintf(L"%ls", (wchar_t
)wcs);
^~~~~~~
dprintf
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs.o test -f 'pcs/pcs.c' || echo './'pcs/pcs.c
pcs/pcs.c: In function ‘pcs_get_value_by_key’:
pcs/pcs.c:227:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:227:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^~~
pcs/pcs.c:229:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '"') continue; tmp++;
^~
pcs/pcs.c:229:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '"') continue; tmp++;
^~~
pcs/pcs.c: In function ‘pcs_get_yunData’:
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
~~^~~~~~
pcs/pcs.c:275:6: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
^~~~~~
pcs/pcs.c:281:8: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c:257:20: warning: value computed is not used [-Wunused-value]
#define st_pop() st[si--]
~~^~~~~~
pcs/pcs.c:300:8: note: in expansion of macro ‘st_pop’
st_pop();
^~~~~~
pcs/pcs.c: In function ‘pcs_get_embed_query_int_value_by_key’:
pcs/pcs.c:334:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:334:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^

pcs/pcs.c: In function ‘pcs_get_embed_query_token_by_key’:
pcs/pcs.c:360:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (*tmp != '=') continue; tmp++;
^~
pcs/pcs.c:360:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
if (*tmp != '=') continue; tmp++;
^~~
pcs/pcs.c: In function ‘pcs_setopt’:
pcs/pcs.c:1312:23: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->captcha_func = (PcsGetCaptchaFunction)value;
^
pcs/pcs.c:1318:27: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->input_func = (PcsInputFunction)value;
^
pcs/pcs.c:1325:24: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic]
pcs->download_func = (PcsHttpWriteFunction)value;
^
pcs/pcs.c: In function ‘pcs_get_pass_v3_jump_url’:
pcs/pcs.c:1608:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_list’:
pcs/pcs.c:2279:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_search’:
pcs/pcs.c:2300:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_upload_s’:
pcs/pcs.c:2723:8: warning: variable ‘filename’ set but not used [-Wunused-but-set-variable]
char *filename;
^~~~~~~~
pcs/pcs.c: In function ‘pcs_rapid_upload’:
pcs/pcs.c:2864:14: warning: unused variable ‘pcs’ [-Wunused-variable]
struct pcs *pcs = (struct pcs *)handle;
^~~
pcs/pcs.c: In function ‘pcs_pan_api_filemanager’:
pcs/pcs.c:873:15: warning: ‘tail’ may be used uninitialized in this function [-Wmaybe-uninitialized]
tail->next = ri;
~~~~~~~~~~~^~~~
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_buffer.o test -f 'pcs/pcs_buffer.c' || echo './'pcs/pcs_buffer.c
gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -c -o pcs/baidupcs-pcs_passport_dv.o test -f 'pcs/pcs_passport_dv.c' || echo './'pcs/pcs_passport_dv.c
pcs/pcs_passport_dv.c: In function ‘pkg_ppk’:
pcs/pcs_passport_dv.c:400:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_write(&pkg->a, a, alen))
^~~~~
pcs/pcs_passport_dv.c: In function ‘pkg_gap’:
pcs/pcs_passport_dv.c:424:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_write(&pkg->a, d, len))
^~~~~
pcs/pcs_passport_dv.c:429:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
if (error = pcs_buf_insert(&pkg->a, 16, d, len))
^~~~~
At top level:
pcs/pcs_passport_dv.c:396:12: warning: ‘pkg_ppk’ defined but not used [-Wunused-function]
static int pkg_ppk(pkg_t *pkg, const char *a, int alen, int seq, int blen)
^~~~~~~
/bin/bash ./libtool --tag=CC --mode=link gcc -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o baidupcs baidupcs-shell.o baidupcs-arg.o baidupcs-dir.o rb_tree/baidupcs-misc.o rb_tree/baidupcs-red_black_tree.o rb_tree/baidupcs-stack.o baidupcs-utils.o baidupcs-hashtable.o baidupcs-cache.o pcs/baidupcs-cJSON.o pcs/baidupcs-pcs_fileinfo.o pcs/baidupcs-pcs_http.o pcs/baidupcs-pcs_mem.o pcs/baidupcs-pcs_pan_api_resinfo.o pcs/baidupcs-pcs_slist.o pcs/baidupcs-pcs_utils.o pcs/baidupcs-err_msg.o pcs/baidupcs-utf8.o pcs/baidupcs-pcs.o pcs/baidupcs-pcs_buffer.o pcs/baidupcs-pcs_passport_dv.o -lm -lcurl -lssl -lcrypto
libtool: link: gcc -g -Wall -I. -I./pcs -I./rb_tree -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -pthread -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o baidupcs baidupcs-shell.o baidupcs-arg.o baidupcs-dir.o rb_tree/baidupcs-misc.o rb_tree/baidupcs-red_black_tree.o rb_tree/baidupcs-stack.o baidupcs-utils.o baidupcs-hashtable.o baidupcs-cache.o pcs/baidupcs-cJSON.o pcs/baidupcs-pcs_fileinfo.o pcs/baidupcs-pcs_http.o pcs/baidupcs-pcs_mem.o pcs/baidupcs-pcs_pan_api_resinfo.o pcs/baidupcs-pcs_slist.o pcs/baidupcs-pcs_utils.o pcs/baidupcs-err_msg.o pcs/baidupcs-utf8.o pcs/baidupcs-pcs.o pcs/baidupcs-pcs_buffer.o pcs/baidupcs-pcs_passport_dv.o -lm /usr/lib/x86_64-linux-gnu/libcurl.so -lssl -lcrypto -pthread
make[2]: 离开目录“/mnt/d/baidupan@linux/BaiduPCS”
make[1]: 离开目录“/mnt/d/baidupan@linux/BaiduPCS”
dh_auto_test
make -j1 check VERBOSE=1
make[1]: 进入目录“/mnt/d/baidupan@linux/BaiduPCS”
make[1]: 离开目录“/mnt/d/baidupan@linux/BaiduPCS”
debian/rules binary
dh binary --with autoreconf
dh_testroot
dh_prep
dh_auto_install
make -j1 install DESTDIR=/mnt/d/baidupan@linux/BaiduPCS/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: 进入目录“/mnt/d/baidupan@linux/BaiduPCS”
make[2]: 进入目录“/mnt/d/baidupan@linux/BaiduPCS”
/bin/mkdir -p '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu'
/bin/bash ./libtool --mode=install /usr/bin/install -c libbaidupcs.la '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libbaidupcs.so.0.0.0 /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu/libbaidupcs.so.0.0.0
libtool: install: (cd /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libbaidupcs.so.0.0.0 libbaidupcs.so.0 || { rm -f libbaidupcs.so.0 && ln -s libbaidupcs.so.0.0.0 libbaidupcs.so.0; }; })
libtool: install: (cd /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu && { ln -s -f libbaidupcs.so.0.0.0 libbaidupcs.so || { rm -f libbaidupcs.so && ln -s libbaidupcs.so.0.0.0 libbaidupcs.so; }; })
libtool: install: /usr/bin/install -c .libs/libbaidupcs.lai /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu/libbaidupcs.la
libtool: install: /usr/bin/install -c .libs/libbaidupcs.a /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu/libbaidupcs.a
libtool: install: chmod 644 /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu/libbaidupcs.a
libtool: install: ranlib /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/lib/x86_64-linux-gnu/libbaidupcs.a
libtool: warning: remember to run 'libtool --finish /usr/lib/x86_64-linux-gnu'
/bin/mkdir -p '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/bin'
/bin/bash ./libtool --mode=install /usr/bin/install -c baidupcs '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/bin'
libtool: install: /usr/bin/install -c baidupcs /mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/bin/baidupcs
/bin/mkdir -p '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/include/pcs'
/usr/bin/install -c -m 644 pcs/pcs.h pcs/pcs_buffer.h pcs/pcs_defs.h pcs/pcs_fileinfo.h pcs/pcs_http.h pcs/pcs_mem.h pcs/pcs_pan_api_resinfo.h pcs/pcs_passport_dv.h pcs/pcs_slist.h pcs/pcs_utils.h '/mnt/d/baidupan@linux/BaiduPCS/debian/tmp/usr/include/pcs'
make[2]: 离开目录“/mnt/d/baidupan@linux/BaiduPCS”
make[1]: 离开目录“/mnt/d/baidupan@linux/BaiduPCS”
dh_install
/mnt/d/baidupan@linux/BaiduPCS/debian/baidupcs.install: 1: /mnt/d/baidupan@linux/BaiduPCS/debian/baidupcs.install: baidupcs: not found
dh_install: debian/baidupcs.install (executable config) returned exit code 127
debian/rules:9: recipe for target 'binary' failed
make: *** [binary] Error 127
dpkg-buildpackage: 错误: debian/rules binary subprocess returned exit status 2
`以上是输出

依赖已安装