2019-07-14T01:05:23 Created temporary directory: /tmp/pip-ephem-wheel-cache-wq7j2kt8 2019-07-14T01:05:23 Created temporary directory: /tmp/pip-req-tracker-jg8mxzw8 2019-07-14T01:05:23 Created requirements tracker '/tmp/pip-req-tracker-jg8mxzw8' 2019-07-14T01:05:23 Created temporary directory: /tmp/pip-wheel-roi6jx8w 2019-07-14T01:05:23 Collecting python-cseg==1.2.0.20101230a 2019-07-14T01:05:23 1 location(s) to search for versions of python-cseg: 2019-07-14T01:05:23 * https://pypi.org/simple/python-cseg/ 2019-07-14T01:05:23 Getting page https://pypi.org/simple/python-cseg/ 2019-07-14T01:05:24 Analyzing links from page https://pypi.org/simple/python-cseg/ 2019-07-14T01:05:24 Found link https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz#sha256=8afbeff9684870e3664baf1b3be82b9a03877c5cfdfdebd1a524140db1f801c9 (from https://pypi.org/simple/python-cseg/), version: 1.2.0.20101230a 2019-07-14T01:05:24 Using version 1.2.0.20101230a0 (newest of versions: 1.2.0.20101230a0) 2019-07-14T01:05:24 Created temporary directory: /tmp/pip-unpack-_qx0h9s2 2019-07-14T01:05:24 Downloading https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz (13.2MB) 2019-07-14T01:05:24 Downloading from URL https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz#sha256=8afbeff9684870e3664baf1b3be82b9a03877c5cfdfdebd1a524140db1f801c9 (from https://pypi.org/simple/python-cseg/) 2019-07-14T01:05:31 Added python-cseg==1.2.0.20101230a from https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz#sha256=8afbeff9684870e3664baf1b3be82b9a03877c5cfdfdebd1a524140db1f801c9 to build tracker '/tmp/pip-req-tracker-jg8mxzw8' 2019-07-14T01:05:31 Running setup.py (path:/tmp/pip-wheel-roi6jx8w/python-cseg/setup.py) egg_info for package python-cseg 2019-07-14T01:05:31 Running command python setup.py egg_info 2019-07-14T01:05:33 running egg_info 2019-07-14T01:05:33 creating pip-egg-info/python_cseg.egg-info 2019-07-14T01:05:33 writing pip-egg-info/python_cseg.egg-info/PKG-INFO 2019-07-14T01:05:33 writing dependency_links to pip-egg-info/python_cseg.egg-info/dependency_links.txt 2019-07-14T01:05:33 writing top-level names to pip-egg-info/python_cseg.egg-info/top_level.txt 2019-07-14T01:05:33 writing manifest file 'pip-egg-info/python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:33 reading manifest file 'pip-egg-info/python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:33 writing manifest file 'pip-egg-info/python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:33 /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:472: UserWarning: Normalizing '1.2.0.20101230a' to '1.2.0.20101230a0' 2019-07-14T01:05:33 normalized_version, 2019-07-14T01:05:33 Source in /tmp/pip-wheel-roi6jx8w/python-cseg has version 1.2.0.20101230a0, which satisfies requirement python-cseg==1.2.0.20101230a from https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz#sha256=8afbeff9684870e3664baf1b3be82b9a03877c5cfdfdebd1a524140db1f801c9 2019-07-14T01:05:33 Removed python-cseg==1.2.0.20101230a from https://files.pythonhosted.org/packages/05/b2/c9a52b6e8745841df916de8bc11aa1577e1127d432aeba0f8c1cfa8a1382/python-cseg-1.2.0.20101230a.tar.gz#sha256=8afbeff9684870e3664baf1b3be82b9a03877c5cfdfdebd1a524140db1f801c9 from build tracker '/tmp/pip-req-tracker-jg8mxzw8' 2019-07-14T01:05:33 Building wheels for collected packages: python-cseg 2019-07-14T01:05:33 Created temporary directory: /tmp/pip-wheel-gyjzu1mk 2019-07-14T01:05:33 Building wheel for python-cseg (setup.py): started 2019-07-14T01:05:33 Destination directory: /tmp/pip-wheel-gyjzu1mk 2019-07-14T01:05:33 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-roi6jx8w/python-cseg/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gyjzu1mk 2019-07-14T01:05:35 /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:472: UserWarning: Normalizing '1.2.0.20101230a' to '1.2.0.20101230a0' 2019-07-14T01:05:35 normalized_version, 2019-07-14T01:05:35 running bdist_wheel 2019-07-14T01:05:35 running build 2019-07-14T01:05:35 running build_ext 2019-07-14T01:05:35 cythoning cseg.pyx to cseg.c 2019-07-14T01:05:37 /usr/lib/python3/dist-packages/Cython/Compiler/Main.py:367: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /tmp/pip-wheel-roi6jx8w/python-cseg/cseg.pxd 2019-07-14T01:05:37 tree = Parsing.p_module(s, pxd, full_module_name) 2019-07-14T01:05:37 building 'cseg' extension 2019-07-14T01:05:37 creating build 2019-07-14T01:05:37 creating build/temp.linux-armv7l-3.7 2019-07-14T01:05:37 creating build/temp.linux-armv7l-3.7/contrib 2019-07-14T01:05:37 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c cseg.c -o build/temp.linux-armv7l-3.7/cseg.o 2019-07-14T01:05:38 cseg.c: In function ‘__pyx_pf_4cseg_3Seg_20seg’: 2019-07-14T01:05:38 cseg.c:1897:24: warning: implicit declaration of function ‘PyString_AsStringAndSize’; did you mean ‘PyBytes_AsStringAndSize’? [-Wimplicit-function-declaration] 2019-07-14T01:05:38 __pyx_t_1 = ((-1L == PyString_AsStringAndSize(__pyx_v_text, (&__pyx_v_ptext), (&__pyx_v_len))) != 0); 2019-07-14T01:05:38 ^~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:38 PyBytes_AsStringAndSize 2019-07-14T01:05:38 cseg.c:2008:19: warning: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration] 2019-07-14T01:05:38 __pyx_t_2 = PyString_FromStringAndSize((__pyx_v_ptext + __pyx_v_cur->off), __pyx_v_cur->len); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 64, __pyx_L1_error) 2019-07-14T01:05:38 ^~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:38 PyBytes_FromStringAndSize 2019-07-14T01:05:38 cseg.c:2008:17: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2019-07-14T01:05:38 __pyx_t_2 = PyString_FromStringAndSize((__pyx_v_ptext + __pyx_v_cur->off), __pyx_v_cur->len); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 64, __pyx_L1_error) 2019-07-14T01:05:38 ^ 2019-07-14T01:05:43 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/charset.c -o build/temp.linux-armv7l-3.7/contrib/charset.o 2019-07-14T01:05:43 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/crc32.c -o build/temp.linux-armv7l-3.7/contrib/crc32.o 2019-07-14T01:05:44 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/darray.c -o build/temp.linux-armv7l-3.7/contrib/darray.o 2019-07-14T01:05:44 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/lock.c -o build/temp.linux-armv7l-3.7/contrib/lock.o 2019-07-14T01:05:44 contrib/lock.c:148:2: warning: #warning no proper flock support for your site [-Wcpp] 2019-07-14T01:05:44 #warning no proper flock support for your site 2019-07-14T01:05:44 ^~~~~~~ 2019-07-14T01:05:44 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/pool.c -o build/temp.linux-armv7l-3.7/contrib/pool.o 2019-07-14T01:05:44 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/rule.c -o build/temp.linux-armv7l-3.7/contrib/rule.o 2019-07-14T01:05:45 contrib/rule.c: In function ‘scws_rule_new’: 2019-07-14T01:05:45 contrib/rule.c:54:15: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 while (fgets(buf, sizeof(buf)-1, fp)) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/stdio.h:873, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 fgets (char *__restrict __s, int __n, FILE *__restrict __stream) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:56:39: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (buf[0] != '[' || !(ptr = strchr(buf, ']'))) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:56:30: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (buf[0] != '[' || !(ptr = strchr(buf, ']'))) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:61:51: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (ptr == str || (ptr-str) > 15 || !strcasecmp(str, "attrs")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/string.h:431, 2019-07-14T01:05:45 from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/strings.h:116:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcasecmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:64:26: warning: pointer targets in passing argument 2 of ‘_rule_index_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (_rule_index_get(r, str) >= 0) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 contrib/rule.c:21:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 static inline int _rule_index_get(rule_t r, const char *name) 2019-07-14T01:05:45 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:67:28: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 strcpy(r->items[i].name, str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:88:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:71:19: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!strcasecmp(str, "special")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/string.h:431, 2019-07-14T01:05:45 from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/strings.h:116:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcasecmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:73:24: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcasecmp(str, "nostats")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/string.h:431, 2019-07-14T01:05:45 from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/strings.h:116:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcasecmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:93:15: warning: pointer targets in passing argument 1 of ‘fgets’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 while (fgets(buf, sizeof(buf)-1, fp)) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/stdio.h:873, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/stdio2.h:255:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 fgets (char *__restrict __s, int __n, FILE *__restrict __stream) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:103:22: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, ']')) != NULL) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:103:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, ']')) != NULL) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:106:21: warning: pointer targets in passing argument 1 of ‘strcasecmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!strcasecmp(str, "attrs")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/string.h:431, 2019-07-14T01:05:45 from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/strings.h:116:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcasecmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:110:38: warning: pointer targets in passing argument 2 of ‘_rule_index_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if ((i = _rule_index_get(r, str)) >= 0) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 contrib/rule.c:21:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 static inline int _rule_index_get(rule_t r, const char *name) 2019-07-14T01:05:45 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:125:22: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, '+')) == NULL) continue; 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:125:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, '+')) == NULL) continue; 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:127:22: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(ptr, '=')) == NULL) continue; 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:127:13: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(ptr, '=')) == NULL) continue; 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:136:28: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 a->ratio = (short) atoi(qtr); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atoi (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:149:23: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(str, ')')) != NULL) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:149:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(str, ')')) != NULL) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:152:41: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 a->npath[0] = (unsigned char) atoi(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atoi (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:170:23: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(str, ')')) != NULL) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:170:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((qtr = strchr(str, ')')) != NULL) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:173:41: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 a->npath[1] = (unsigned char) atoi(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atoi (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:203:23: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!(ptr = strchr(str, '='))) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:203:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!(ptr = strchr(str, '='))) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:214:16: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!strcmp(ptr, "line")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:216:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "tf")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:217:27: warning: pointer targets in passing argument 1 of ‘atof’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 cr->tf = (float) atof(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/stdlib-float.h:25:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atof (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:218:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "idf")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:219:28: warning: pointer targets in passing argument 1 of ‘atof’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 cr->idf = (float) atof(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/stdlib-float.h:25:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atof (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:220:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "attr")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:221:23: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 strncpy(cr->attr, str, 2); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:103:1: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:222:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "znum")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:224:23: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, ',')) != NULL) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:224:14: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((ptr = strchr(str, ',')) != NULL) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:228:22: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 cr->zmax = atoi(ptr); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atoi (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:231:21: warning: pointer targets in passing argument 1 of ‘atoi’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 cr->zmin = atoi(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from /usr/include/features.h:424, 2019-07-14T01:05:45 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:45 from /usr/include/stdio.h:27, 2019-07-14T01:05:45 from contrib/rule.c:17: 2019-07-14T01:05:45 /usr/include/stdlib.h:361:1: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 __NTH (atoi (const char *__nptr)) 2019-07-14T01:05:45 ^~~~~ 2019-07-14T01:05:45 contrib/rule.c:233:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "type")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:235:18: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!strncmp(str, "prefix", 6)) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:139:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strncmp (const char *__s1, const char *__s2, size_t __n) 2019-07-14T01:05:45 ^~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:237:23: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strncmp(str, "suffix", 6)) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:139:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strncmp (const char *__s1, const char *__s2, size_t __n) 2019-07-14T01:05:45 ^~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:240:21: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "include") || !strcmp(ptr, "exclude")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:240:48: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 else if (!strcmp(ptr, "include") || !strcmp(ptr, "exclude")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:244:17: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (!strcmp(ptr, "include")) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:136:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern int strcmp (const char *__s1, const char *__s2) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:255:26: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 while ((ptr = strchr(str, ',')) != NULL) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:225:14: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern char *strchr (const char *__s, int __c) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:255:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 while ((ptr = strchr(str, ',')) != NULL) 2019-07-14T01:05:45 ^ 2019-07-14T01:05:45 contrib/rule.c:259:34: warning: pointer targets in passing argument 2 of ‘_rule_index_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if ((i = _rule_index_get(r, str)) >= 0) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 contrib/rule.c:21:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 static inline int _rule_index_get(rule_t r, const char *name) 2019-07-14T01:05:45 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:266:18: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 ptr = strlen(str) + str; 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern size_t strlen (const char *__s) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:269:46: warning: pointer targets in passing argument 2 of ‘_rule_index_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 if (ptr > str && (i = _rule_index_get(r, str))) 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 contrib/rule.c:21:19: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 static inline int _rule_index_get(rule_t r, const char *name) 2019-07-14T01:05:45 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:278:22: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 ptr = str + strlen(str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.c:19: 2019-07-14T01:05:45 /usr/include/string.h:384:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 extern size_t strlen (const char *__s) 2019-07-14T01:05:45 ^~~~~~ 2019-07-14T01:05:45 contrib/rule.c:287:59: warning: pointer targets in passing argument 4 of ‘xtree_nput’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 xtree_nput(r->tree, cr, sizeof(struct scws_rule_item), str, ptr - str); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.h:12, 2019-07-14T01:05:45 from contrib/rule.c:16: 2019-07-14T01:05:45 contrib/xtree.h:44:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:300:60: warning: pointer targets in passing argument 4 of ‘xtree_nput’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:45 xtree_nput(r->tree, cr, sizeof(struct scws_rule_item), str, j); 2019-07-14T01:05:45 ^~~ 2019-07-14T01:05:45 In file included from contrib/rule.h:12, 2019-07-14T01:05:45 from contrib/rule.c:16: 2019-07-14T01:05:45 contrib/xtree.h:44:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:45 void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); 2019-07-14T01:05:45 ^~~~~~~~~~ 2019-07-14T01:05:45 contrib/rule.c:189:17: warning: ‘rtail’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2019-07-14T01:05:45 rtail->next = a; 2019-07-14T01:05:45 ~~~~~~~~~~~~^~~ 2019-07-14T01:05:46 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/scws.c -o build/temp.linux-armv7l-3.7/contrib/scws.o 2019-07-14T01:05:46 contrib/scws.c: In function ‘scws_new’: 2019-07-14T01:05:46 contrib/scws.c:57:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2019-07-14T01:05:46 if (s == NULL) 2019-07-14T01:05:46 ^~ 2019-07-14T01:05:46 contrib/scws.c:59:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2019-07-14T01:05:46 memset(s, 0, sizeof(scws_st)); 2019-07-14T01:05:46 ^~~~~~ 2019-07-14T01:05:46 contrib/scws.c: In function ‘_scws_ssegment’: 2019-07-14T01:05:46 contrib/scws.c:360:35: warning: pointer targets in passing argument 1 of ‘_mem_ndup’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 txt = (char *) _mem_ndup(s->txt + start, wlen); 2019-07-14T01:05:46 ~~~~~~~^~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:242:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 static inline void *_mem_ndup(const char *src, int len) 2019-07-14T01:05:46 ^~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:360:7: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 txt = (char *) _mem_ndup(s->txt + start, wlen); 2019-07-14T01:05:46 ^ 2019-07-14T01:05:46 contrib/scws.c:361:16: warning: pointer targets in passing argument 1 of ‘_str_toupper’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 _str_toupper(txt, txt); 2019-07-14T01:05:46 ^~~ 2019-07-14T01:05:46 contrib/scws.c:219:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 static void _str_toupper(char *src, char *dst) 2019-07-14T01:05:46 ^~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:361:21: warning: pointer targets in passing argument 2 of ‘_str_toupper’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 _str_toupper(txt, txt); 2019-07-14T01:05:46 ^~~ 2019-07-14T01:05:46 contrib/scws.c:219:13: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 static void _str_toupper(char *src, char *dst) 2019-07-14T01:05:46 ^~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:362:23: warning: pointer targets in passing argument 2 of ‘scws_rule_checkbit’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (SCWS_IS_SPECIAL(txt, wlen)) 2019-07-14T01:05:46 ^~~ 2019-07-14T01:05:46 contrib/scws.c:28:54: note: in definition of macro ‘SCWS_IS_SPECIAL’ 2019-07-14T01:05:46 #define SCWS_IS_SPECIAL(x,l) scws_rule_checkbit(s->r,x,l,SCWS_RULE_SPECIAL) 2019-07-14T01:05:46 ^ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:71:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_checkbit(rule_t r, const char *str, int len, unsigned int bit); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c: In function ‘_scws_msegment’: 2019-07-14T01:05:46 contrib/scws.c:781:34: warning: pointer targets in passing argument 2 of ‘xdict_query’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 query = xdict_query(s->d, txt + start, clen); 2019-07-14T01:05:46 ~~~~^~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:17, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xdict.h:63:8: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 word_t xdict_query(xdict_t xd, const char *key, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:817:34: warning: pointer targets in passing argument 2 of ‘xdict_query’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 query = xdict_query(s->d, txt + zmap[i].start, zmap[j].end - zmap[i].start); 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:17, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xdict.h:63:8: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 word_t xdict_query(xdict_t xd, const char *key, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:867:32: warning: pointer targets in passing argument 2 of ‘scws_rule_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 r1 = scws_rule_get(s->r, txt + zmap[i].start, zmap[i].end - zmap[i].start); 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:68:13: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 rule_item_t scws_rule_get(rule_t r, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:882:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:895:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:933:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:946:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:981:32: warning: pointer targets in passing argument 2 of ‘scws_rule_get’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 r1 = scws_rule_get(s->r, txt + zmap[i].start, zmap[k].end - zmap[i].start); 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:68:13: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 rule_item_t scws_rule_get(rule_t r, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:992:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1005:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1033:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:739:36: warning: pointer targets in passing argument 3 of ‘scws_rule_check’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!scws_rule_check(s->r, r1, txt + zmap[j].start, zmap[j].end - zmap[j].start)) \ 2019-07-14T01:05:46 ~~~~^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1046:5: note: in expansion of macro ‘___ZRULE_CHECKER3___’ 2019-07-14T01:05:46 ___ZRULE_CHECKER3___ 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/rule.h:77:5: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 int scws_rule_check(rule_t r, rule_item_t cr, const char *str, int len); 2019-07-14T01:05:46 ^~~~~~~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c: In function ‘scws_get_tops’: 2019-07-14T01:05:46 contrib/scws.c:1361:29: warning: pointer targets in passing argument 1 of ‘_mem_ndup’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 word = _mem_ndup(s->txt + cur->off, cur->len); 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:242:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 static inline void *_mem_ndup(const char *src, int len) 2019-07-14T01:05:46 ^~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1372:38: warning: pointer targets in passing argument 2 of ‘xtree_nget’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!(top = xtree_nget(xt, s->txt + cur->off, cur->len, NULL))) 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/rule.h:12, 2019-07-14T01:05:46 from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xtree.h:47:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 void *xtree_nget(xtree_t xt, const char *key, int len, int *vlen); 2019-07-14T01:05:46 ^~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1378:61: warning: pointer targets in passing argument 4 of ‘xtree_nput’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/rule.h:12, 2019-07-14T01:05:46 from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xtree.h:44:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); 2019-07-14T01:05:46 ^~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c: In function ‘scws_get_words’: 2019-07-14T01:05:46 contrib/scws.c:1503:38: warning: pointer targets in passing argument 2 of ‘xtree_nget’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 if (!(top = xtree_nget(xt, s->txt + cur->off, cur->len, NULL))) 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/rule.h:12, 2019-07-14T01:05:46 from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xtree.h:47:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 void *xtree_nget(xtree_t xt, const char *key, int len, int *vlen); 2019-07-14T01:05:46 ^~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1509:42: warning: pointer targets in passing argument 1 of ‘_mem_ndup’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 top->word = (char *)_mem_ndup(s->txt + cur->off, cur->len); 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:242:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 static inline void *_mem_ndup(const char *src, int len) 2019-07-14T01:05:46 ^~~~~~~~~ 2019-07-14T01:05:46 contrib/scws.c:1519:61: warning: pointer targets in passing argument 4 of ‘xtree_nput’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:46 xtree_nput(xt, top, sizeof(struct scws_topword), s->txt + cur->off, cur->len); 2019-07-14T01:05:46 ~~~~~~~^~~~~~~~~~ 2019-07-14T01:05:46 In file included from contrib/rule.h:12, 2019-07-14T01:05:46 from contrib/scws.h:16, 2019-07-14T01:05:46 from contrib/scws.c:16: 2019-07-14T01:05:46 contrib/xtree.h:44:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:46 void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); 2019-07-14T01:05:46 ^~~~~~~~~~ 2019-07-14T01:05:50 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/xdb.c -o build/temp.linux-armv7l-3.7/contrib/xdb.o 2019-07-14T01:05:51 contrib/xdb.c: In function ‘xdb_nput’: 2019-07-14T01:05:51 contrib/xdb.c:331:16: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:51 strncpy(buf + 17, key, len); 2019-07-14T01:05:51 ~~~~^~~~ 2019-07-14T01:05:51 In file included from /usr/include/features.h:424, 2019-07-14T01:05:51 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33, 2019-07-14T01:05:51 from /usr/include/stdio.h:27, 2019-07-14T01:05:51 from contrib/xdb.c:18: 2019-07-14T01:05:51 /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:103:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:51 __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, 2019-07-14T01:05:51 ^~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘_xdb_load_nodes’: 2019-07-14T01:05:51 contrib/xdb.c:500:40: warning: pointer targets in passing argument 1 of ‘_mem_ndup’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:51 nodes[i].key = (char *) _mem_ndup(buf + 17, buf[16]); 2019-07-14T01:05:51 ~~~~^~~~ 2019-07-14T01:05:51 contrib/xdb.c:473:21: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:51 static inline void *_mem_ndup(const char *src, int len) 2019-07-14T01:05:51 ^~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘_xdb_to_xtree_node’: 2019-07-14T01:05:51 contrib/xdb.c:600:45: warning: pointer targets in passing argument 4 of ‘xtree_nput’ differ in signedness [-Wpointer-sign] 2019-07-14T01:05:51 xtree_nput(xt, value, ptr->len - voff, buf + 17, buf[16]); 2019-07-14T01:05:51 ~~~~^~~~ 2019-07-14T01:05:51 In file included from contrib/xdb.h:21, 2019-07-14T01:05:51 from contrib/xdb.c:16: 2019-07-14T01:05:51 contrib/xtree.h:44:6: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 2019-07-14T01:05:51 void xtree_nput(xtree_t xt, void *value, int vlen, const char *key, int len); 2019-07-14T01:05:51 ^~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘xdb_create’: 2019-07-14T01:05:51 contrib/xdb.c:229:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, &xhdr, sizeof(xhdr)); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘xdb_close’: 2019-07-14T01:05:51 contrib/xdb.c:251:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, &x->fsize, sizeof(x->fsize)); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘_xdb_read_data’: 2019-07-14T01:05:51 contrib/xdb.c:57:3: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 read(x->fd, buf, len); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘xdb_nput’: 2019-07-14T01:05:51 contrib/xdb.c:306:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, value, vlen); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c:312:4: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, &vlen, sizeof(vlen)); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c:335:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, buf, pnew.len); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c:336:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, value, vlen); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c:342:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, &pnew, sizeof(pnew)); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:51 contrib/xdb.c: In function ‘_xdb_reset_nodes’: 2019-07-14T01:05:51 contrib/xdb.c:527:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:51 write(x->fd, &ptr, sizeof(xptr_st)); 2019-07-14T01:05:51 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2019-07-14T01:05:52 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/xdict.c -o build/temp.linux-armv7l-3.7/contrib/xdict.o 2019-07-14T01:05:52 contrib/xdict.c: In function ‘_xdict_open_txt’: 2019-07-14T01:05:52 contrib/xdict.c:195:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2019-07-14T01:05:52 if (part = _strtok_r(NULL, delim, &last)) 2019-07-14T01:05:52 ^~~~ 2019-07-14T01:05:52 contrib/xdict.c:238:3: warning: implicit declaration of function ‘unlink’; did you mean ‘unix’? [-Wimplicit-function-declaration] 2019-07-14T01:05:52 unlink(tmpfile); 2019-07-14T01:05:52 ^~~~~~ 2019-07-14T01:05:52 unix 2019-07-14T01:05:52 contrib/xdict.c:103:21: warning: ignoring return value of ‘realpath’, declared with attribute warn_unused_result [-Wunused-result] 2019-07-14T01:05:52 # define _realpath realpath 2019-07-14T01:05:52 ^ 2019-07-14T01:05:52 contrib/xdict.c:115:2: note: in expansion of macro ‘_realpath’ 2019-07-14T01:05:52 _realpath(fpath, buf); 2019-07-14T01:05:52 ^~~~~~~~~ 2019-07-14T01:05:53 arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icontrib -I/usr/include/python3.7m -c contrib/xtree.c -o build/temp.linux-armv7l-3.7/contrib/xtree.o 2019-07-14T01:05:53 creating build/lib.linux-armv7l-3.7 2019-07-14T01:05:53 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-armv7l-3.7/cseg.o build/temp.linux-armv7l-3.7/contrib/charset.o build/temp.linux-armv7l-3.7/contrib/crc32.o build/temp.linux-armv7l-3.7/contrib/darray.o build/temp.linux-armv7l-3.7/contrib/lock.o build/temp.linux-armv7l-3.7/contrib/pool.o build/temp.linux-armv7l-3.7/contrib/rule.o build/temp.linux-armv7l-3.7/contrib/scws.o build/temp.linux-armv7l-3.7/contrib/xdb.o build/temp.linux-armv7l-3.7/contrib/xdict.o build/temp.linux-armv7l-3.7/contrib/xtree.o -o build/lib.linux-armv7l-3.7/cseg.cpython-37m-arm-linux-gnueabihf.so 2019-07-14T01:05:54 installing to build/bdist.linux-armv7l/wheel 2019-07-14T01:05:54 running install 2019-07-14T01:05:54 running install_lib 2019-07-14T01:05:54 creating build/bdist.linux-armv7l 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel 2019-07-14T01:05:54 copying build/lib.linux-armv7l-3.7/cseg.cpython-37m-arm-linux-gnueabihf.so -> build/bdist.linux-armv7l/wheel 2019-07-14T01:05:54 running install_data 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel/python_cseg-1.2.0.20101230a0.data 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel/python_cseg-1.2.0.20101230a0.data/data 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel/opt 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel/opt/etc 2019-07-14T01:05:54 creating build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:54 copying data/dict.xdb -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:55 copying data/dict.utf8.xdb -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:56 copying data/dict_cht.utf8.xdb -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:57 copying data/rules.ini -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:57 copying data/rules.utf8.ini -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:57 copying data/rules_cht.utf8.ini -> build/bdist.linux-armv7l/wheel/opt/etc/python-cseg 2019-07-14T01:05:57 running install_egg_info 2019-07-14T01:05:57 running egg_info 2019-07-14T01:05:57 creating python_cseg.egg-info 2019-07-14T01:05:57 writing python_cseg.egg-info/PKG-INFO 2019-07-14T01:05:57 writing dependency_links to python_cseg.egg-info/dependency_links.txt 2019-07-14T01:05:57 writing top-level names to python_cseg.egg-info/top_level.txt 2019-07-14T01:05:57 writing manifest file 'python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:57 reading manifest file 'python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:57 writing manifest file 'python_cseg.egg-info/SOURCES.txt' 2019-07-14T01:05:57 Copying python_cseg.egg-info to build/bdist.linux-armv7l/wheel/python_cseg-1.2.0.20101230a0-py3.7.egg-info 2019-07-14T01:05:57 running install_scripts 2019-07-14T01:05:57 creating build/bdist.linux-armv7l/wheel/python_cseg-1.2.0.20101230a0.dist-info/WHEEL 2019-07-14T01:05:57 creating '/tmp/pip-wheel-gyjzu1mk/python_cseg-1.2.0.20101230a0-cp37-cp37m-linux_armv7l.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2019-07-14T01:05:57 adding 'cseg.cpython-37m-arm-linux-gnueabihf.so' 2019-07-14T01:06:01 adding 'opt/etc/python-cseg/dict.utf8.xdb' 2019-07-14T01:06:04 adding 'opt/etc/python-cseg/dict.xdb' 2019-07-14T01:06:06 adding 'opt/etc/python-cseg/dict_cht.utf8.xdb' 2019-07-14T01:06:06 adding 'opt/etc/python-cseg/rules.ini' 2019-07-14T01:06:06 adding 'opt/etc/python-cseg/rules.utf8.ini' 2019-07-14T01:06:06 adding 'opt/etc/python-cseg/rules_cht.utf8.ini' 2019-07-14T01:06:06 adding 'python_cseg-1.2.0.20101230a0.dist-info/METADATA' 2019-07-14T01:06:06 adding 'python_cseg-1.2.0.20101230a0.dist-info/WHEEL' 2019-07-14T01:06:06 adding 'python_cseg-1.2.0.20101230a0.dist-info/top_level.txt' 2019-07-14T01:06:06 adding 'python_cseg-1.2.0.20101230a0.dist-info/RECORD' 2019-07-14T01:06:07 removing build/bdist.linux-armv7l/wheel 2019-07-14T01:06:07 Building wheel for python-cseg (setup.py): finished with status 'done' 2019-07-14T01:06:07 Stored in directory: /tmp/tmp25av48ry 2019-07-14T01:06:07 Successfully built python-cseg 2019-07-14T01:06:07 Cleaning up... 2019-07-14T01:06:07 Removing source in /tmp/pip-wheel-roi6jx8w/python-cseg 2019-07-14T01:06:07 Removed build tracker '/tmp/pip-req-tracker-jg8mxzw8'