DEBUG: SourceDB initialized in 0.0372109413147.
DEBUG: RepoDB initialized in 0.000144958496094.
DEBUG: Source URI: https://github.com/pisilinux/main/raw/master/programming/misc/foma/pspec.xml
pspec.xml (2.0 KB)100% 12.52 MB/s [00:00:00] [complete]
actions.py (658.0 B)100% 6.09 MB/s [00:00:00] [complete]
DEBUG: InstallDB initialized in 0.0015709400177.
Unsatisfied Build Dependencies: cmake ninja ncurses-devel readline-devel
DEBUG: PackageDB initialized in 0.0915160179138.
Installing build dependencies.
DEBUG: HistoryDB initialized in 0.00105094909668.
DEBUG: PackageDB initialized in 0.0466899871826.
DEBUG: RepoDB initialized in 0.000169038772583.
DEBUG: checking libgcc
DEBUG: InstallDB initialized in 0.000366926193237.
DEBUG: checking curl
DEBUG: checking expat
DEBUG: checking libarchive
DEBUG: checking libgcc
DEBUG: checking ncurses
DEBUG: checking zlib
DEBUG: checking libuv
DEBUG: checking ncurses-devel
DEBUG: checking readline release 17
DEBUG: checking ncurses release 15
DEBUG: checking lzo
DEBUG: checking nettle
DEBUG: checking xz
DEBUG: checking lz4
DEBUG: checking zstd
DEBUG: checking acl
DEBUG: checking zlib
DEBUG: checking attr
DEBUG: checking bzip2
DEBUG: checking openssl
DEBUG: checking libxml2
DEBUG: checking gmp
digraph G {
cmake[ label = "cmake(4.3.4,58)" ];
readline_devel[ label = "readline-devel(8.3.1,17)" ];
ncurses_devel[ label = "ncurses-devel(6.5,15)" ];
libarchive[ label = "libarchive(3.8.8,24)" ];
nettle[ label = "nettle(3.10.2,11)" ];
lzo[ label = "lzo(2.10,6)" ];
ninja[ label = "ninja(1.13.1,20)" ];
libuv[ label = "libuv(1.52.1,11)" ];
cmake -> libuv;
cmake -> libarchive;
readline_devel -> ncurses_devel;
libarchive -> nettle;
libarchive -> lzo;
}
DEBUG: ComponentDB initialized in 0.00506401062012.
[01;34mFollowing packages will be installed:[0m
cmake libarchive libuv lzo ncurses-devel nettle ninja readline-devel
[33mTotal size of package(s): 11.98 MB[0m
[33mDownloading 1 / 8[0m
Package nettle found in repository beta
nettle-3.10.2-11-p2-x86_64.pisi [cached]
[33mDownloading 2 / 8[0m
Package lzo found in repository beta
lzo-2.10-6-p2-x86_64.pisi [cached]
[33mDownloading 3 / 8[0m
Package libuv found in repository beta
libuv-1.52.1-11-p2-x86_64.pisi [cached]
[33mDownloading 4 / 8[0m
Package libarchive found in repository beta
libarchive-3.8.8-24-p2-x86_64.pisi [cached]
[33mDownloading 5 / 8[0m
Package cmake found in repository beta
cmake-4.3.4-58-p2-x86_64.pisi [cached]
[33mDownloading 6 / 8[0m
Package ncurses-devel found in repository beta
ncurses-devel-6.5-15-p2-x86_64.pisi [cached]
[33mDownloading 7 / 8[0m
Package readline-devel found in repository beta
readline-devel-8.3.1-17-p2-x86_64.pisi [cached]
[33mDownloading 8 / 8[0m
Package ninja found in repository beta
ninja-1.13.1-20-p2-x86_64.pisi [cached]
[33mInstalling 1 / 8[0m
nettle-3.10.2-11-p2-x86_64.pisi [cached]
[01;32mInstalling nettle, version 3.10.2, release 11
[0m[36mExtracting the files of nettle
[0mConfiguring nettle package
DEBUG: Calling post install handlers
[36mConfigured nettle
[0m[36mInstalled nettle
[0m[33mInstalling 2 / 8[0m
lzo-2.10-6-p2-x86_64.pisi [cached]
[01;32mInstalling lzo, version 2.10, release 6
[0m[36mExtracting the files of lzo
[0mConfiguring lzo package
DEBUG: Calling post install handlers
[36mConfigured lzo
[0m[36mInstalled lzo
[0m[33mInstalling 3 / 8[0m
libuv-1.52.1-11-p2-x86_64.pisi [cached]
[01;32mInstalling libuv, version 1.52.1, release 11
[0m[36mExtracting the files of libuv
[0mConfiguring libuv package
DEBUG: Calling post install handlers
[36mConfigured libuv
[0m[36mInstalled libuv
[0m[33mInstalling 4 / 8[0m
libarchive-3.8.8-24-p2-x86_64.pisi [cached]
[01;32mInstalling libarchive, version 3.8.8, release 24
[0m[36mExtracting the files of libarchive
[0mConfiguring libarchive package
DEBUG: Calling post install handlers
[36mConfigured libarchive
[0m[36mInstalled libarchive
[0m[33mInstalling 5 / 8[0m
cmake-4.3.4-58-p2-x86_64.pisi [cached]
[01;32mInstalling cmake, version 4.3.4, release 58
[0m[36mExtracting the files of cmake
[0mConfiguring cmake package
DEBUG: Calling post install handlers
[36mConfigured cmake
[0m[36mInstalled cmake
[0m[33mInstalling 6 / 8[0m
ncurses-devel-6.5-15-p2-x86_64.pisi [cached]
[01;32mInstalling ncurses-devel, version 6.5, release 15
[0m[36mExtracting the files of ncurses-devel
[0mConfiguring ncurses-devel package
DEBUG: Calling post install handlers
[36mConfigured ncurses-devel
[0m[36mInstalled ncurses-devel
[0m[33mInstalling 7 / 8[0m
readline-devel-8.3.1-17-p2-x86_64.pisi [cached]
[01;32mInstalling readline-devel, version 8.3.1, release 17
[0m[36mExtracting the files of readline-devel
[0mConfiguring readline-devel package
DEBUG: Calling post install handlers
[36mConfigured readline-devel
[0m[36mInstalled readline-devel
[0m[33mInstalling 8 / 8[0m
ninja-1.13.1-20-p2-x86_64.pisi [cached]
[01;32mInstalling ninja, version 1.13.1, release 20
[0m[36mExtracting the files of ninja
[0mConfiguring ninja package
DEBUG: Calling post install handlers
[36mConfigured ninja
[0m[36mInstalled ninja
[0m[01;32mBuilding source package: foma
[0mfoma-v0.10.0.tar.gz [cached]
[32mUnpacking archive(s)...
[0m unpacked (/var/pisi/foma-0.10.0-2/work)
[32mSetting up source...
[0mSandbox enabled build...
-- The C compiler identification is GNU 15.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test COMPILER_SUPPORTS_stdc2y
-- Performing Test COMPILER_SUPPORTS_stdc2y - Success
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for one of the modules 'readline'
-- Configuring done (0.9s)
-- Generating done (0.1s)
-- Build files have been written to: /var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/build
-- Cache values
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr
GETOPT_INCLUDE:PATH=/usr/include
ZLIB_INCLUDE:PATH=/usr/include
ZLIB_LIBRARIES:FILEPATH=/usr/lib/libz.so
DEBUG: return value for "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr foma/ -Bbuild -G Ninja -L ." is 0
[32mBuilding source...
[0mSandbox enabled build...
ninja: Entering directory `build'
[1/69] [FLEX][Fcmatrix] Building scanner with flex 2.6.4
[2/69] [FLEX][Flexc] Building scanner with flex 2.6.4
[3/69] [FLEX][Fregex] Building scanner with flex 2.6.4
[4/69] [BISON][Bregex] Building parser with bison 3.8.2
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:263.10-21: warning: unset value: $$ [-Wother]
263 | network: networkA { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:263.10-17: warning: unused value: $1 [-Wother]
263 | network: networkA { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:268.11-12: warning: unused value: $1 [-Wother]
268 | networkA: n0 { if (rewrite) { add_rewrite_rule(); $$ = fsm_rewrite(re...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:270.5-16: warning: unset value: $$ [-Wother]
270 | n0: network1 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:270.5-12: warning: unused value: $1 [-Wother]
270 | n0: network1 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:272.3-69: warning: unset value: $$ [-Wother]
272 | | n0 CONTEXT { add_context_pair($1,fsm_empty_string()); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:273.3-69: warning: unset value: $$ [-Wother]
273 | | n0 CONTEXT COMMA n0 { add_context_pair($1,fsm_empty_string()); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:273.20-21: warning: unused value: $4 [-Wother]
273 | | n0 CONTEXT COMMA n0 { add_context_pair($1,fsm_empty_string()); }
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:274.3-84: warning: unset value: $$ [-Wother]
274 | | CONTEXT { add_context_pair(fsm_empty_string(),fsm_em...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:275.3-105: warning: unset value: $$ [-Wother]
275 | | CONTEXT DOUBLE_COMMA n0 { add_rewrite_rule(); add_context_pair(fsm_...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:275.24-25: warning: unused value: $3 [-Wother]
275 | | CONTEXT DOUBLE_COMMA n0 { add_rewrite_rule(); add_context_pair(fsm_...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:276.3-92: warning: unset value: $$ [-Wother]
276 | | n0 CONTEXT DOUBLE_COMMA n0 { add_rewrite_rule(); add_context_pair($...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:276.27-28: warning: unused value: $4 [-Wother]
276 | | n0 CONTEXT DOUBLE_COMMA n0 { add_rewrite_rule(); add_context_pair($...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:277.3-84: warning: unset value: $$ [-Wother]
277 | | CONTEXT COMMA n0 { add_context_pair(fsm_empty_string(),fsm_em...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:277.17-18: warning: unused value: $3 [-Wother]
277 | | CONTEXT COMMA n0 { add_context_pair(fsm_empty_string(),fsm_em...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:278.3-69: warning: unset value: $$ [-Wother]
278 | | CONTEXT n0 { add_context_pair(fsm_empty_string(),$2); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:279.3-69: warning: unset value: $$ [-Wother]
279 | | CONTEXT n0 COMMA n0 { add_context_pair(fsm_empty_string(),$2); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:279.20-21: warning: unused value: $4 [-Wother]
279 | | CONTEXT n0 COMMA n0 { add_context_pair(fsm_empty_string(),$2); }
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:280.3-53: warning: unset value: $$ [-Wother]
280 | | n0 CONTEXT n0 COMMA n0 { add_context_pair($1,$3); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:280.23-24: warning: unused value: $5 [-Wother]
280 | | n0 CONTEXT n0 COMMA n0 { add_context_pair($1,$3); }
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:281.16-17: warning: unused value: $3 [-Wother]
281 | | n0 CRESTRICT n0 { $$ = fsm_context_restrict($1,contexts); fs...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:282.3-122: warning: unset value: $$ [-Wother]
282 | | n0 ARROW n0 { add_rule($1,$3,NULL,$2); if ($1->arity == ...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:283.3-55: warning: unset value: $$ [-Wother]
283 | | n0 ARROW { add_rule($1,NULL,NULL,$2); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:285.3-93: warning: unset value: $$ [-Wother]
285 | | LDOT n0 RDOT ARROW n0 { add_rule($2,$5,NULL,$4|ARROW_DOTTED); if (...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:286.3-89: warning: unset value: $$ [-Wother]
286 | | LDOT RDOT ARROW n0 { add_eprule($4,NULL,$3|ARROW_DOTTED); if ($4 =...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:287.3-73: warning: unset value: $$ [-Wother]
287 | | LDOT n0 RDOT ARROW n0 COMMA n0 { add_rule($2,$5,NULL,$4|ARROW_DOTTE...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:287.31-32: warning: unused value: $7 [-Wother]
287 | | LDOT n0 RDOT ARROW n0 COMMA n0 { add_rule($2,$5,NULL,$4|ARROW_DOTTE...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:288.3-69: warning: unset value: $$ [-Wother]
288 | | LDOT RDOT ARROW n0 COMMA n0 { add_eprule($4,NULL,$3|ARROW_DOTTED);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:288.28-29: warning: unused value: $6 [-Wother]
288 | | LDOT RDOT ARROW n0 COMMA n0 { add_eprule($4,NULL,$3|ARROW_DOTTED);}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:289.3-98: warning: unset value: $$ [-Wother]
289 | | LDOT n0 RDOT ARROW n0 DIRECTION n0 { add_rule($2,$5,NULL,$4|ARROW_D...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:289.35-36: warning: unused value: $7 [-Wother]
289 | | LDOT n0 RDOT ARROW n0 DIRECTION n0 { add_rule($2,$5,NULL,$4|ARROW_D...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:290.3-94: warning: unset value: $$ [-Wother]
290 | | LDOT RDOT ARROW n0 DIRECTION n0 { add_eprule($4,NULL,$3|ARROW_DOTTE...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:290.32-33: warning: unused value: $6 [-Wother]
290 | | LDOT RDOT ARROW n0 DIRECTION n0 { add_eprule($4,NULL,$3|ARROW_DOTTE...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:291.3-50: warning: unset value: $$ [-Wother]
291 | | n0 ARROW n0 COMMA n0 { add_rule($1,$3,NULL,$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:291.21-22: warning: unused value: $5 [-Wother]
291 | | n0 ARROW n0 COMMA n0 { add_rule($1,$3,NULL,$2);}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:292.3-49: warning: unset value: $$ [-Wother]
292 | | n0 ARROW COMMA n0 { add_rule($1,NULL,NULL,$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:292.18-19: warning: unused value: $4 [-Wother]
292 | | n0 ARROW COMMA n0 { add_rule($1,NULL,NULL,$2);}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:293.3-75: warning: unset value: $$ [-Wother]
293 | | n0 ARROW n0 DIRECTION n0 { add_rule($1,$3,NULL,$2); rule_direction ...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:293.25-26: warning: unused value: $5 [-Wother]
293 | | n0 ARROW n0 DIRECTION n0 { add_rule($1,$3,NULL,$2); rule_direction ...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:294.3-74: warning: unset value: $$ [-Wother]
294 | | n0 ARROW DIRECTION n0 { add_rule($1,NULL,NULL,$2); rule_direction =...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:294.22-23: warning: unused value: $4 [-Wother]
294 | | n0 ARROW DIRECTION n0 { add_rule($1,NULL,NULL,$2); rule_direction =...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:296.3-44: warning: unset value: $$ [-Wother]
296 | | n0 DOUBLE_COMMA n0 { add_rewrite_rule();}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:296.3-4: warning: unused value: $1 [-Wother]
296 | | n0 DOUBLE_COMMA n0 { add_rewrite_rule();}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:296.19-20: warning: unused value: $3 [-Wother]
296 | | n0 DOUBLE_COMMA n0 { add_rewrite_rule();}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:298.3-83: warning: unset value: $$ [-Wother]
298 | | n0 ARROW TRIPLE_DOT { add_rule($1,fsm_empty_string(),fsm_empty_...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:299.3-67: warning: unset value: $$ [-Wother]
299 | | n0 ARROW TRIPLE_DOT n0 { add_rule($1,fsm_empty_string(),$4,$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:300.3-67: warning: unset value: $$ [-Wother]
300 | | n0 ARROW n0 TRIPLE_DOT { add_rule($1,$3,fsm_empty_string(),$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:301.3-53: warning: unset value: $$ [-Wother]
301 | | n0 ARROW n0 TRIPLE_DOT n0 { add_rule($1,$3,$5,$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:302.3-62: warning: unset value: $$ [-Wother]
302 | | n0 ARROW n0 TRIPLE_DOT n0 COMMA n0 { add_rule($1,$3,$5,$2);}
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:302.35-36: warning: unused value: $7 [-Wother]
302 | | n0 ARROW n0 TRIPLE_DOT n0 COMMA n0 { add_rule($1,$3,$5,$2);}
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:303.3-75: warning: unset value: $$ [-Wother]
303 | | n0 ARROW n0 TRIPLE_DOT COMMA n0 { add_rule($1,$3,fsm_empty_string()...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:303.32-33: warning: unused value: $6 [-Wother]
303 | | n0 ARROW n0 TRIPLE_DOT COMMA n0 { add_rule($1,$3,fsm_empty_string()...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:304.3-75: warning: unset value: $$ [-Wother]
304 | | n0 ARROW TRIPLE_DOT n0 COMMA n0 { add_rule($1,fsm_empty_string(),$4...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:304.32-33: warning: unused value: $6 [-Wother]
304 | | n0 ARROW TRIPLE_DOT n0 COMMA n0 { add_rule($1,fsm_empty_string(),$4...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:305.3-89: warning: unset value: $$ [-Wother]
305 | | n0 ARROW TRIPLE_DOT COMMA n0 { add_rule($1,fsm_empty_string(),fsm_...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:305.29-30: warning: unused value: $5 [-Wother]
305 | | n0 ARROW TRIPLE_DOT COMMA n0 { add_rule($1,fsm_empty_string(),fsm_...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:306.3-87: warning: unset value: $$ [-Wother]
306 | | n0 ARROW n0 TRIPLE_DOT n0 DIRECTION n0 { add_rule($1,$3,$5,$2); rul...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:306.39-40: warning: unused value: $7 [-Wother]
306 | | n0 ARROW n0 TRIPLE_DOT n0 DIRECTION n0 { add_rule($1,$3,$5,$2); rul...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:307.3-100: warning: unset value: $$ [-Wother]
307 | | n0 ARROW TRIPLE_DOT n0 DIRECTION n0 { add_rule($1,fsm_empty_string(...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:307.36-37: warning: unused value: $6 [-Wother]
307 | | n0 ARROW TRIPLE_DOT n0 DIRECTION n0 { add_rule($1,fsm_empty_string(...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:308.3-100: warning: unset value: $$ [-Wother]
308 | | n0 ARROW n0 TRIPLE_DOT DIRECTION n0 { add_rule($1,$3,fsm_empty_stri...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:308.36-37: warning: unused value: $6 [-Wother]
308 | | n0 ARROW n0 TRIPLE_DOT DIRECTION n0 { add_rule($1,$3,fsm_empty_stri...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:309.3-113: warning: unset value: $$ [-Wother]
309 | | n0 ARROW TRIPLE_DOT DIRECTION n0 { add_rule($1,fsm_empty_string(),f...
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:309.33-34: warning: unused value: $5 [-Wother]
309 | | n0 ARROW TRIPLE_DOT DIRECTION n0 { add_rule($1,fsm_empty_string(),f...
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:312.11-22: warning: unset value: $$ [-Wother]
312 | network1: network2 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:312.11-18: warning: unused value: $1 [-Wother]
312 | network1: network2 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:317.11-22: warning: unset value: $$ [-Wother]
317 | network2: network3 { };
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:317.11-18: warning: unused value: $1 [-Wother]
317 | network2: network3 { };
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:319.11-22: warning: unset value: $$ [-Wother]
319 | network3: network4 { };
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:319.11-18: warning: unused value: $1 [-Wother]
319 | network3: network4 { };
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:321.11-22: warning: unset value: $$ [-Wother]
321 | network4: network5 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:321.11-18: warning: unused value: $1 [-Wother]
321 | network4: network5 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:330.11-23: warning: unset value: $$ [-Wother]
330 | network5: network6 { }
| ^~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:330.11-18: warning: unused value: $1 [-Wother]
330 | network5: network6 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:339.11-22: warning: unset value: $$ [-Wother]
339 | network6: network7 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:339.11-18: warning: unused value: $1 [-Wother]
339 | network6: network7 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:346.11-22: warning: unset value: $$ [-Wother]
346 | network7: network8 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:346.11-18: warning: unused value: $1 [-Wother]
346 | network7: network8 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:352.11-22: warning: unset value: $$ [-Wother]
352 | network8: network9 { }
| ^~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:352.11-18: warning: unused value: $1 [-Wother]
352 | network8: network9 { }
| ^~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:354.11-23: warning: unset value: $$ [-Wother]
354 | network9: network10 { }
| ^~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:354.11-19: warning: unused value: $1 [-Wother]
354 | network9: network10 { }
| ^~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:369.12-24: warning: unset value: $$ [-Wother]
369 | network10: network11 { }
| ^~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:369.12-20: warning: unused value: $1 [-Wother]
369 | network10: network11 { }
| ^~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:381.8-11: warning: unused value: $2 [-Wother]
381 | | sub1 sub2 {$$ = fsm_substitute_symbol($1,subval1,subval2); substitu...
| ^~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:384.7-71: warning: unset value: $$ [-Wother]
384 | sub2: SUBVAL COMMA SUBVAL RBRACKET { subval1 = $2; subval2 = $4; }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:410.9-411.85: warning: unset value: $$ [-Wother]
410 | fstart: FUNCTION network COMMA
| ^~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:412.9-413.85: warning: unset value: $$ [-Wother]
412 | | FUNCTION network
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:415.9-61: warning: unset value: $$ [-Wother]
415 | fmid: fstart network COMMA { add_function_argument($2); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:415.9-14: warning: unused value: $1 [-Wother]
415 | fmid: fstart network COMMA { add_function_argument($2); }
| ^~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:416.9-61: warning: unset value: $$ [-Wother]
416 | | fmid network COMMA { add_function_argument($2); }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:416.9-12: warning: unused value: $1 [-Wother]
416 | | fmid network COMMA { add_function_argument($2); }
| ^~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:418.9-12: warning: unused value: $1 [-Wother]
418 | fend: fmid network RPAREN
| ^~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:420.9-14: warning: unused value: $1 [-Wother]
420 | | fstart network RPAREN
| ^~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:422.9-14: warning: unused value: $1 [-Wother]
422 | | fstart RPAREN
| ^~~~~~
[5/69] Building C object CMakeFiles/foma-static.dir/define.c.o
[6/69] Building C object CMakeFiles/foma-static.dir/coaccessible.c.o
[7/69] Building C object CMakeFiles/foma-static.dir/extract.c.o
[8/69] Building C object CMakeFiles/foma-static.dir/determinize.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘fsm_subset’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:209:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
209 | while (tail < tptr->size && transitions->inout == minsym) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:231:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
231 | if (tail == tptr->size)
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_find_insert’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:656:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
656 | if ((tableptr)->size != setsize) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘move_set’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:705:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
705 | if (set_table_offset + setsize >= set_table_size) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:706:43: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
706 | while (set_table_offset + setsize >= set_table_size) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_rebuild_table’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:759:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
759 | for (i=0; primes[i] < nhash_tablesize; i++) { }
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_init’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:795:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
795 | for (i=0; primes[i] < initial_size; i++) { }
| ^
[9/69] Building C object CMakeFiles/foma-static.dir/dynarray.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/dynarray.c: In function ‘fsm_construct_done’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/dynarray.c:456:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
456 | strncpy(net->name, handle->name, 40);
| ^
[10/69] Building C object CMakeFiles/foma-static.dir/int_stack.c.o
[11/69] Building C object CMakeFiles/foma-static.dir/apply.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c: In function ‘apply_index’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:471:13: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
471 | if (cnt > mem_limit) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:494:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
494 | if (cnt > mem_limit) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c: In function ‘apply_append’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:960:61: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
960 | while (alen + blen + h->opos + 2 + strlen(h->separator) >= h->outstringtop) {
| ^~
[12/69] Building C object CMakeFiles/foma-static.dir/flags.c.o
[13/69] Building C object CMakeFiles/foma-static.dir/mem.c.o
[14/69] Building C object CMakeFiles/foma-static.dir/reverse.c.o
[15/69] Building C object CMakeFiles/foma-static.dir/io.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘io_get_gz_file_size’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:933:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
933 | fread(&bytes, 1, 4, infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘io_net_read’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:708:5: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 4095 [-Wstringop-truncation]
708 | strncpy(net->name, buf, FSM_NAME_LEN);
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘save_defined’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:579:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
579 | strncpy(d->net->name, d->name, FSM_NAME_LEN);
| ^
[16/69] Building C object CMakeFiles/foma-static.dir/minimize.c.o
[17/69] Building C object CMakeFiles/foma-static.dir/lexcread.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_add_network’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:278:26: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
278 | slist = calloc(sizeof(**slist),maxstate+1);
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:278:26: note: earlier argument should specify number of elements, later size of each element
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:279:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
279 | finals = calloc(sizeof(int),maxstate+1);
| ^~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:279:28: note: earlier argument should specify number of elements, later size of each element
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_medpad’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:511:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
511 | for (size_t i = 0; i < s1len + 2; ++i) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:570:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
570 | for (size_t i = 0; i < s1len + 2; ++i) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_merge_states’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:897:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
897 | for (i = 0; primes[i] < numstates/4; i++) { }
| ^
[18/69] Building C object CMakeFiles/foma-static.dir/sigma.c.o
[19/69] Building C object CMakeFiles/foma-static.dir/stringhash.c.o
[20/69] Building C object CMakeFiles/foma-static.dir/rewrite.c.o
[21/69] Building C object CMakeFiles/foma-static.dir/topsort.c.o
[22/69] Building C object CMakeFiles/foma-static.dir/trie.c.o
[23/69] Building C object CMakeFiles/foma-static.dir/spelling.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c: In function ‘cmatrix_print’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c:764:41: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
764 | lsymbol = strlen(sigma->symbol) > lsymbol ? strlen(sigma->symbol) : lsymbol;
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c:764:77: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
764 | lsymbol = strlen(sigma->symbol) > lsymbol ? strlen(sigma->symbol) : lsymbol;
| ^~~~~~~
[24/69] Building C object CMakeFiles/foma-static.dir/constructions.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_init’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:299:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
299 | for (i = 0; i < th->tablesize; i++) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_insert’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:351:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
351 | if (th->occupancy > th->tablesize / 2) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_rehash’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:371:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
371 | for (i = 0; i < newtablesize; i++) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:374:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
374 | for (i = 0; i < oldtablesize; i++) {
| ^
[25/69] Building C object CMakeFiles/foma-static.dir/utf8.c.o
[26/69] Building C object CMakeFiles/foma-static.dir/structures.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/structures.c: In function ‘fsm_create’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/structures.c:241:3: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
241 | strncpy(fsm->name, name, FSM_NAME_LEN);
| ^
[27/69] Building C object CMakeFiles/foma-static.dir/lex.lexc.c.o
[28/69] Building C object CMakeFiles/foma-static.dir/lex.cmatrix.c.o
[29/69] Building C object CMakeFiles/foma-shared.dir/coaccessible.c.o
[30/69] Building C object CMakeFiles/foma-static.dir/regex.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y: In function ‘function_apply’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:73:25: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
73 | sprintf(oldstr, "@ARGUMENT%02i@", (i+1));
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from /var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:19:
In function ‘sprintf’,
inlined from ‘function_apply’ at /var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:73:9:
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 14 bytes into a destination of size 13
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
[31/69] Building C object CMakeFiles/foma-shared.dir/define.c.o
[32/69] Building C object CMakeFiles/foma-static.dir/lex.yy.c.o
[33/69] Linking C static library libfoma.a
[34/69] Building C object CMakeFiles/foma-shared.dir/apply.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c: In function ‘apply_index’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:471:13: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
471 | if (cnt > mem_limit) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:494:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
494 | if (cnt > mem_limit) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c: In function ‘apply_append’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/apply.c:960:61: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
960 | while (alen + blen + h->opos + 2 + strlen(h->separator) >= h->outstringtop) {
| ^~
[35/69] Building C object CMakeFiles/foma-shared.dir/extract.c.o
[36/69] Building C object CMakeFiles/foma-shared.dir/determinize.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘fsm_subset’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:209:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
209 | while (tail < tptr->size && transitions->inout == minsym) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:231:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
231 | if (tail == tptr->size)
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_find_insert’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:656:34: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
656 | if ((tableptr)->size != setsize) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘move_set’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:705:36: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
705 | if (set_table_offset + setsize >= set_table_size) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:706:43: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
706 | while (set_table_offset + setsize >= set_table_size) {
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_rebuild_table’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:759:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
759 | for (i=0; primes[i] < nhash_tablesize; i++) { }
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c: In function ‘nhash_init’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/determinize.c:795:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
795 | for (i=0; primes[i] < initial_size; i++) { }
| ^
[37/69] Building C object CMakeFiles/foma-shared.dir/dynarray.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/dynarray.c: In function ‘fsm_construct_done’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/dynarray.c:456:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
456 | strncpy(net->name, handle->name, 40);
| ^
[38/69] Building C object CMakeFiles/foma-shared.dir/int_stack.c.o
[39/69] Building C object CMakeFiles/foma-shared.dir/flags.c.o
[40/69] Building C object CMakeFiles/foma-shared.dir/mem.c.o
[41/69] Building C object CMakeFiles/foma-shared.dir/reverse.c.o
[42/69] Building C object CMakeFiles/foma-shared.dir/minimize.c.o
[43/69] Building C object CMakeFiles/foma-shared.dir/io.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘io_get_gz_file_size’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:933:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
933 | fread(&bytes, 1, 4, infile);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘io_net_read’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:708:5: warning: ‘__builtin_strncpy’ output may be truncated copying 40 bytes from a string of length 4095 [-Wstringop-truncation]
708 | strncpy(net->name, buf, FSM_NAME_LEN);
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c: In function ‘save_defined’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/io.c:579:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
579 | strncpy(d->net->name, d->name, FSM_NAME_LEN);
| ^
[44/69] Building C object CMakeFiles/foma-shared.dir/lexcread.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_add_network’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:278:26: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
278 | slist = calloc(sizeof(**slist),maxstate+1);
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:278:26: note: earlier argument should specify number of elements, later size of each element
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:279:28: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args]
279 | finals = calloc(sizeof(int),maxstate+1);
| ^~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:279:28: note: earlier argument should specify number of elements, later size of each element
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_medpad’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:511:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
511 | for (size_t i = 0; i < s1len + 2; ++i) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:570:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
570 | for (size_t i = 0; i < s1len + 2; ++i) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c: In function ‘lexc_merge_states’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/lexcread.c:897:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
897 | for (i = 0; primes[i] < numstates/4; i++) { }
| ^
[45/69] Building C object CMakeFiles/foma-shared.dir/rewrite.c.o
[46/69] Building C object CMakeFiles/foma-shared.dir/stringhash.c.o
[47/69] Building C object CMakeFiles/foma-shared.dir/sigma.c.o
[48/69] Building C object CMakeFiles/foma-shared.dir/constructions.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_init’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:299:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
299 | for (i = 0; i < th->tablesize; i++) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_insert’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:351:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
351 | if (th->occupancy > th->tablesize / 2) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c: In function ‘triplet_hash_rehash’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:371:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
371 | for (i = 0; i < newtablesize; i++) {
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/constructions.c:374:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
374 | for (i = 0; i < oldtablesize; i++) {
| ^
[49/69] Building C object CMakeFiles/foma-shared.dir/topsort.c.o
[50/69] Building C object CMakeFiles/foma-shared.dir/trie.c.o
[51/69] Building C object CMakeFiles/foma-shared.dir/spelling.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c: In function ‘cmatrix_print’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c:764:41: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
764 | lsymbol = strlen(sigma->symbol) > lsymbol ? strlen(sigma->symbol) : lsymbol;
| ^
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/spelling.c:764:77: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare]
764 | lsymbol = strlen(sigma->symbol) > lsymbol ? strlen(sigma->symbol) : lsymbol;
| ^~~~~~~
[52/69] Building C object CMakeFiles/foma-shared.dir/utf8.c.o
[53/69] Building C object CMakeFiles/foma-shared.dir/structures.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/structures.c: In function ‘fsm_create’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/structures.c:241:3: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
241 | strncpy(fsm->name, name, FSM_NAME_LEN);
| ^
[54/69] [FLEX][Finterface] Building scanner with flex 2.6.4
[55/69] Building C object CMakeFiles/foma-shared.dir/lex.lexc.c.o
[56/69] Building C object CMakeFiles/foma-shared.dir/lex.cmatrix.c.o
[57/69] Building C object CMakeFiles/foma-bin.dir/foma.c.o
[58/69] Building C object CMakeFiles/foma-bin.dir/stack.c.o
[59/69] Building C object CMakeFiles/foma-shared.dir/regex.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y: In function ‘function_apply’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:73:25: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
73 | sprintf(oldstr, "@ARGUMENT%02i@", (i+1));
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from /var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:19:
In function ‘sprintf’,
inlined from ‘function_apply’ at /var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/regex.y:73:9:
/usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 13 and 14 bytes into a destination of size 13
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
[60/69] Building C object CMakeFiles/foma-shared.dir/lex.yy.c.o
[61/69] Building C object CMakeFiles/cgflookup.dir/cgflookup.c.o
[62/69] Building C object CMakeFiles/flookup.dir/flookup.c.o
[63/69] Linking C shared library libfoma.so.0.10.0
[64/69] Linking C executable flookup
[65/69] Creating library symlink libfoma.so.0 libfoma.so
[66/69] Linking C executable cgflookup
[67/69] Building C object CMakeFiles/foma-bin.dir/iface.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/iface.c: In function ‘iface_name_net’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/iface.c:684:9: warning: ‘__builtin_strncpy’ specified bound 40 equals destination size [-Wstringop-truncation]
684 | strncpy(stack_find_top()->fsm->name, name, 40);
| ^
[68/69] Building C object CMakeFiles/foma-bin.dir/lex.interface.c.o
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/interface.l: In function ‘my_interfaceparse’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/interface.l:105:20: warning: variable ‘my_string_buffer’ set but not used [-Wunused-but-set-variable]
105 | YY_BUFFER_STATE my_string_buffer;
| ^~~~~~~~~~~~~~~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/interface.l: In function ‘interfacelex’:
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/interface.l:593:7: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
593 | ret = system(interfacetext);
| ^~~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/build/lex.interface.c:8101:14: warning: statement with no effect [-Wunused-value]
8101 | #define NAME_NET 28
| ^~
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/interface.l:671:1: note: in expansion of macro ‘ECHO’
[69/69] Linking C executable foma
/usr/bin/ld: CMakeFiles/foma-bin.dir/iface.c.o: in function `view_net':
/var/pisi/foma-0.10.0-2/work/foma-0.10.0/foma/iface.c:1696:(.text+0x3bee): warning: the use of `tempnam' is dangerous, better use `mkstemp'
DEBUG: return value for "ninja -C build -j5" is 0
[32mTesting package...
[0m[32mInstalling...
[0mSandbox enabled build...
ninja: Entering directory `build'
[0/1] Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/bin/flookup
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/lib/libfoma.a
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/lib/libfoma.so.0.10.0
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/lib/libfoma.so.0
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/lib/libfoma.so
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/include/fomalib.h
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/include/fomalibconf.h
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/bin/foma
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/bin/cgflookup
-- Installing: /var/pisi/foma-0.10.0-2/install/usr/lib/pkgconfig/libfoma.pc
DEBUG: return value for "DESTDIR=/var/pisi/foma-0.10.0-2/install ninja -C build install" is 0
DEBUG: /usr/bin/flookup [stripped]
DEBUG: /usr/bin/cgflookup [stripped]
DEBUG: /usr/bin/foma [stripped]
DEBUG: /usr/lib/libfoma.so.0.10.0 [stripped]
DEBUG: /usr/lib/libfoma.a [stripped]
[32mBuilding package: foma
[0mCreating foma-0.10.0-2-p2-x86_64.pisi...
[32mBuilding package: foma-devel
[0mCreating foma-devel-0.10.0-2-p2-x86_64.pisi...
Keeping build directory