Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ttf2pt1.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-165011-10179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ttf2pt1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ttf2pt1-3.4.4-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ttf2pt1.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-165011-10179/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ttf2pt1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hV5yxn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ttf2pt1-3.4.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ttf2pt1-3.4.4.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd ttf2pt1-3.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ttf2pt1-destdir.patch):' Patch #0 (ttf2pt1-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile Patch #1 (ttf2pt1-freetype.patch): + echo 'Patch #1 (ttf2pt1-freetype.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file ft.c Patch #2 (ttf2pt1-sed.patch): + echo 'Patch #2 (ttf2pt1-sed.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file Makefile Patch #3 (ttf2pt1-doc.patch): + echo 'Patch #3 (ttf2pt1-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file other/README.html patching file README.html patching file Makefile patching file FONTS.html Patch #4 (ttf2pt1-c99.patch): + echo 'Patch #4 (ttf2pt1-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file other/bmpfont.h patching file other/cmpf.c patching file other/dmpf.c patching file t1asm.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FROAoz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ttf2pt1-3.4.4 ++ pkg-config --cflags freetype2 ++ pkg-config --libs freetype2 + make 'CFLAGS_SYS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE' 'CFLAGS_FT=-DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include' LIBS_FT=-lfreetype VERSION=3.4.4 all gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o t1asm -DSTANDALONE t1asm.c -lm -lfreetype t1asm.c: In function 'charstring_byte': t1asm.c:376:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] 376 | fprintf(stderr, "error: charstring_buf full (%d bytes)\n", | ~^ | | | int | %ld 377 | sizeof(charstring_buf)); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int t1asm.c: In function 'charstring_end': t1asm.c:390:19: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 390 | sprintf(line, "%d ", charstring_bp - charstring_buf); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld t1asm.c: At top level: t1asm.c:36:13: warning: 'copyright' defined but not used [-Wunused-variable] 36 | static char copyright[] = | ^~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c ttf2pt1.c In file included from ttf2pt1.c:85: global.h:90:33: warning: "/*" within comment [-Wcomment] 90 | /* #define DBG_GLYPH "C118" /* */ | ttf2pt1.c: In function 'unicode_init_user': ttf2pt1.c:647:40: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=] 647 | if(sscanf(buffer, "id %d %d", pid, eid)==2) { | ~^ ~~~ | | | | int * int ttf2pt1.c:647:43: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int' [-Wformat=] 647 | if(sscanf(buffer, "id %d %d", pid, eid)==2) { | ~^ ~~~ | | | | int * int ttf2pt1.c: In function 'handle_gnames': ttf2pt1.c:1327:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1327 | || i==0 && isdigit(c)) { /* must not start with a digit */ | ^ ttf2pt1.c:1331:66: warning: pointer targets in passing argument 1 of 'nametoprint' differ in signedness [-Wpointer-sign] 1331 | nametoprint(glyph_list[n].name)); | ~~~~~~~~~~~~~^~~~~ | | | char * ttf2pt1.c:1151:24: note: expected 'unsigned char *' but argument is of type 'char *' 1151 | unsigned char *s | ~~~~~~~~~~~~~~~^ ttf2pt1.c:1392:67: warning: pointer targets in passing argument 3 of 'cursw->glenc' differ in signedness [-Wpointer-sign] 1392 | type = cursw->glenc(glyph_list, encoding, unicode_map); | ^~~~~~~~~~~ | | | unsigned int * ttf2pt1.c:1392:67: note: expected 'int *' but argument is of type 'unsigned int *' ttf2pt1.c:1406:67: warning: pointer targets in passing argument 3 of 'cursw->glenc' differ in signedness [-Wpointer-sign] 1406 | type = cursw->glenc(glyph_list, encoding, unicode_map); | ^~~~~~~~~~~ | | | unsigned int * ttf2pt1.c:1406:67: note: expected 'int *' but argument is of type 'unsigned int *' ttf2pt1.c: In function 'main': global.h:108:32: warning: statement with no effect [-Wunused-value] 108 | # define DBG_TO_GLYPH(g) (0) | ^ ttf2pt1.c:2278:25: note: in expansion of macro 'DBG_TO_GLYPH' 2278 | DBG_TO_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~ global.h:109:34: warning: statement with no effect [-Wunused-value] 109 | # define DBG_FROM_GLYPH(g) (0) | ^ ttf2pt1.c:2280:25: note: in expansion of macro 'DBG_FROM_GLYPH' 2280 | DBG_FROM_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~~~ global.h:108:32: warning: statement with no effect [-Wunused-value] 108 | # define DBG_TO_GLYPH(g) (0) | ^ ttf2pt1.c:2293:33: note: in expansion of macro 'DBG_TO_GLYPH' 2293 | DBG_TO_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~ global.h:109:34: warning: statement with no effect [-Wunused-value] 109 | # define DBG_FROM_GLYPH(g) (0) | ^ ttf2pt1.c:2296:33: note: in expansion of macro 'DBG_FROM_GLYPH' 2296 | DBG_FROM_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~~~ global.h:108:32: warning: statement with no effect [-Wunused-value] 108 | # define DBG_TO_GLYPH(g) (0) | ^ ttf2pt1.c:2311:33: note: in expansion of macro 'DBG_TO_GLYPH' 2311 | DBG_TO_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~ global.h:109:34: warning: statement with no effect [-Wunused-value] 109 | # define DBG_FROM_GLYPH(g) (0) | ^ ttf2pt1.c:2314:33: note: in expansion of macro 'DBG_FROM_GLYPH' 2314 | DBG_FROM_GLYPH(&glyph_list[i]); | ^~~~~~~~~~~~~~ ttf2pt1.c: At top level: ttf2pt1.c:1200:1: warning: 'alignwidths' defined but not used [-Wunused-function] 1200 | alignwidths(void) | ^~~~~~~~~~~ In function 'handle_gnames', inlined from 'main' at ttf2pt1.c:2233:2: ttf2pt1.c:1418:19: warning: 'type' may be used uninitialized [-Wmaybe-uninitialized] 1418 | if(type == 0) { | ^ ttf2pt1.c: In function 'main': ttf2pt1.c:1317:41: note: 'type' was declared here 1317 | int i, n, found, c, type; | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c pt1.c In file included from pt1.c:24: global.h:90:33: warning: "/*" within comment [-Wcomment] 90 | /* #define DBG_GLYPH "C118" /* */ | pt1.c: In function 'assertpath': pt1.c:306:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 306 | fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n", | ~^ | | | unsigned int 307 | pe, ge, ge->prev); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:306:79: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 306 | fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n", | ~^ | | | unsigned int 307 | pe, ge, ge->prev); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:306:92: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct gentry *' [-Wformat=] 306 | fprintf(stderr, "unidirectional chain 0x%x -next-> 0x%x -prev-> 0x%x \n", | ~^ | | | unsigned int 307 | pe, ge, ge->prev); | ~~~~~~~~ | | | struct gentry * pt1.c:317:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 317 | fprintf(stderr, "empty path at 0x%x \n", ge); | ~^ ~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:325:74: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 325 | fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n", | ~^ | | | unsigned int 326 | ge, ge->frwd, ge->frwd->bkwd); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:325:87: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct gentry *' [-Wformat=] 325 | fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n", | ~^ | | | unsigned int pt1.c:325:100: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct gentry *' [-Wformat=] 325 | fprintf(stderr, "unidirectional chain 0x%x -frwd-> 0x%x -bkwd-> 0x%x \n", | ~^ | | | unsigned int pt1.c:333:83: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 333 | fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n", | ~^ | | | unsigned int 334 | ge, ge->bkwd, ge->bkwd->next); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:333:96: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct gentry *' [-Wformat=] 333 | fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n", | ~^ | | | unsigned int pt1.c:333:109: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct gentry *' [-Wformat=] 333 | fprintf(stderr, "broken first backlink 0x%x -bkwd-> 0x%x -next-> 0x%x \n", | ~^ | | | unsigned int 334 | ge, ge->bkwd, ge->bkwd->next); | ~~~~~~~~~~~~~~ | | | struct gentry * pt1.c:341:73: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 341 | fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n", | ~^ | | | unsigned int 342 | first, ge, ge->frwd); | ~~~~~ | | | GENTRY * {aka struct gentry *} pt1.c:341:85: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 341 | fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n", | ~^ | | | unsigned int 342 | first, ge, ge->frwd); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:341:98: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct gentry *' [-Wformat=] 341 | fprintf(stderr, "broken loop 0x%x -...-> 0x%x -frwd-> 0x%x \n", | ~^ | | | unsigned int pt1.c: In function 'fixcvends': pt1.c:763:51: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 763 | fprintf(stderr, "**! fixcvends(0x%x) on floating entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c:782:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 782 | if (dx == 0 && dy == 0 | ~~~~~~~~^~~~~~~~~~ pt1.c: In function 'fixcvdir': pt1.c:913:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 913 | fprintf(stderr, "**! fixcvdir(0x%x) on floating entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c: In function 'fgetcvdir': pt1.c:1043:51: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 1043 | fprintf(stderr, "**! fgetcvdir(0x%x) on int entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c: In function 'igetcvdir': pt1.c:1105:51: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 1105 | fprintf(stderr, "**! igetcvdir(0x%x) on floating entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c: In function 'dumppaths': pt1.c:1203:40: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 1203 | fprintf(stderr, " %c %8x", mark, ge); | ~~^ ~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c: In function 'fcheckcv': pt1.c:1336:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 1336 | fprintf(stderr, "**! fcheckcv(0x%x) on int entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c: In function 'icheckcv': pt1.c:1364:50: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 1364 | fprintf(stderr, "**! icheckcv(0x%x) on floating entry, ABORT\n", ge); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c: In function 'fclosepaths': pt1.c:1399:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1399 | if(ge == 0 || ge->type != GE_LINE && ge->type!= GE_CURVE) { pt1.c: In function 'smoothjoints': pt1.c:1607:57: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1607 | && (ge->iy3 < ge->prev->iy3 && ne->iy3 < ge->iy3 pt1.c:1624:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1624 | && (ge->ix3 < ge->prev->ix3 && ne->ix3 < ge->ix3 pt1.c: In function 'sortstems': pt1.c:1813:61: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 1813 | (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:1815:61: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 1815 | (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:1820:61: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 1820 | (s[i].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:1822:61: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 1822 | (s[j].flags & (ST_ZONE|ST_FLAT|ST_END) ^ ST_FLAT) | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c: In function 'stemoverlap': pt1.c:1844:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1844 | if (s1->from <= s2->from && s1->to >= s2->from | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ pt1.c: In function 'joinmainstems': pt1.c:2205:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2205 | if (pri < readystem && s[nnew + 1].value >= stack[j].value | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c: In function 'joinsubstems': pt1.c:2761:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2760 | || pri > lastpri | ~~~~~~~~~~~~~ 2761 | && ( lastpri==1 || s[j].value-v<20 || (s[x].value-v)*2 >= s[j].value-v ) ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:2780:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2779 | || pri > lastpri | ~~~~~~~~~~~~~ 2780 | && ( lastpri==1 || v-s[j].value<20 || (v-s[x].value)*2 >= v-s[j].value ) ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c: In function 'uniformstems': pt1.c:2814:16: warning: unused variable 'j' [-Wunused-variable] 2814 | int i, j, from, to, val, dir; | ^ pt1.c: In function 'findstemat': pt1.c:2920:97: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 2920 | "dbg: possible self-intersection at v=%d o=%d exp_ge=0x%x ge=0x%x\n", | ~^ | | | unsigned int 2921 | value, origin, ge, sp[si].ge); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:2920:105: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 2920 | "dbg: possible self-intersection at v=%d o=%d exp_ge=0x%x ge=0x%x\n", | ~^ | | | unsigned int 2921 | value, origin, ge, sp[si].ge); | ~~~~~~~~~ | | | GENTRY * {aka struct gentry *} pt1.c:2933:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 2933 | || pri==prevpri && prevwd==0 || wd!=0 && wdiy3 > ge->iy2 && ge->iy3 > ny | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3512:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3512 | if (ge->ix3 > ge->ix2 && ge->ix3 > nx | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3682:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3682 | if (ge->iy3 > ge->prev->iy3 && ge->iy3 > ny | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c:3704:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3704 | if (ge->ix3 > ge->prev->ix3 && ge->ix3 > nx | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ pt1.c: In function 'fstraighten': pt1.c:3868:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 3868 | || iln > 1. && iln/oln > 0.1 ) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ pt1.c:3912:115: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 3912 | if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); | ~^ ~~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:3912:120: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 3912 | if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with previous 0x%x 0x%x\n", pge, ge); | ~^ ~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:3927:111: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 3927 | if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); | ~^ ~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:3927:116: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 3927 | if(ISDBG(STRAIGHTEN)) fprintf(stderr,"** straighten join with next 0x%x 0x%x\n", ge, nge); | ~^ ~~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:3841:25: warning: unused variable 'svdir' [-Wunused-variable] 3841 | int svdir, i, o; | ^~~~~ pt1.c: In function 'ffixquadrants': pt1.c:4058:56: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4058 | fprintf(stderr, "%s: trying 0x%x (%g %g) (%g %g) (%g %g) (%g %g)\n ", g->name, | ~^ | | | unsigned int 4059 | ge, ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2, | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:4079:57: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4079 | fprintf(stderr, "%s: 0x%x: %d pts(%c): ", | ~^ | | | unsigned int 4080 | g->name, ge, np-oldnp, i? 'y':'x'); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:4130:59: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4130 | fprintf(stderr, "%s: splitting 0x%x (%g %g) (%g %g) (%g %g) (%g %g) at %d points\n ", g->name, | ~^ | | | unsigned int 4131 | ge, ge->prev->fx3, ge->prev->fy3, ge->fx1, ge->fy1, ge->fx2, ge->fy2, | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:4152:64: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4152 | if(ISDBG(QUAD)) fprintf(stderr, " 0x%x %g/%g\n", ge, k1, k2); | ~^ ~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c: In function 'iiszigzag': pt1.c:4231:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4231 | if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ pt1.c: In function 'fiszigzag': pt1.c:4281:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 4281 | if (k1+0.0001 >= k && k2 <= k+0.0001 || k1 <= k+0.0001 && k2+0.0001 >= k) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ pt1.c: In function 'fdelsmall': pt1.c:4692:77: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4692 | fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", | ~^ | | | unsigned int 4693 | g->name, pge, ge, nge); | ~~~ | | | GENTRY * {aka struct gentry *} pt1.c:4692:81: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4692 | fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", | ~^ | | | unsigned int 4693 | g->name, pge, ge, nge); | ~~ | | | GENTRY * {aka struct gentry *} pt1.c:4692:85: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 4692 | fprintf(stderr, "glyph %s has very small fragments(%x..%x..%x)\n", | ~^ | | | unsigned int 4693 | g->name, pge, ge, nge); | ~~~ | | | GENTRY * {aka struct gentry *} pt1.c: In function 'fdotcurvdist2': pt1.c:5108:19: warning: unused variable 'j' [-Wunused-variable] 5108 | int d, i, j; | ^ pt1.c: In function 'fapproxcurve': pt1.c:5292:14: warning: unused variable 'xy' [-Wunused-variable] 5292 | char xy[]="XY"; | ^~ pt1.c:5291:14: warning: unused variable 'bc' [-Wunused-variable] 5291 | char bc[]="BC"; | ^~ pt1.c:5288:16: warning: variable 'res' set but not used [-Wunused-but-set-variable] 5288 | double res[MAXSECT][MAXSECT], thisres, bestres, goodres; | ^~~ pt1.c: In function 'fsampledots': pt1.c:5544:23: warning: unused variable 'dx' [-Wunused-variable] 5544 | double t, nf, dx, d[2]; | ^~ pt1.c: In function 'fanalyzejoint': pt1.c:5721:16: warning: unused variable 'avsd2' [-Wunused-variable] 5721 | double avsd2, dots[3][2 /*X,Y*/]; | ^~~~~ pt1.c: In function 'fconcisecontour': pt1.c:5943:47: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 5943 | fprintf(stderr, ": 0x%x\nnext -> 0x%p ", pge, nge); | ~^ ~~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c:5977:47: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 5977 | fprintf(stderr, ": 0x%x\n", nge); | ~^ ~~~ | | | | | GENTRY * {aka struct gentry *} | unsigned int pt1.c:6140:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6140 | || pge != ge && (pgex->flags & GEXF_JCVMASK) <= (ngex->flags & GEXF_JCVMASK) ) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:6180:64: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 6180 | fprintf(stderr, "(p=%p/%x n=0x%x/%x) ", pge, pgex->flags & GEXF_JLINE, | ~^ | | | unsigned int 6181 | nge, ngex->flags & GEXF_JLINE); | ~~~ | | | GENTRY * {aka struct gentry *} pt1.c:5847:13: warning: unused variable 'found' [-Wunused-variable] 5847 | int found[2]; | ^~~~~ pt1.c: In function 'fforceconcise': pt1.c:6298:44: warning: unused variable 'xge' [-Wunused-variable] 6298 | GENTRY *ge, *nge, *endge, *xge; | ^~~ pt1.c:6298:36: warning: unused variable 'endge' [-Wunused-variable] 6298 | GENTRY *ge, *nge, *endge, *xge; | ^~~~~ pt1.c:6298:30: warning: unused variable 'nge' [-Wunused-variable] 6298 | GENTRY *ge, *nge, *endge, *xge; | ^~~ pt1.c: In function 'bestblue': pt1.c:6679:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 6679 | || physt[first] == physt[last] && j) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ pt1.c: In function 'reversepathsfromto': pt1.c:7069:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GENTRY *' {aka 'struct gentry *'} [-Wformat=] 7069 | fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); | ~^ ~~ | | | | unsigned int GENTRY * {aka struct gentry *} pt1.c:7069:74: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'struct gentry *' [-Wformat=] 7069 | fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); | ~^ ~~~~~~~~ | | | | unsigned int struct gentry * pt1.c:7069:80: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct gentry *' [-Wformat=] 7069 | fprintf(stderr, "reverse path 0x%x <- 0x%x, 0x%x\n", ge, ge->prev, ge->bkwd); | ~^ | | | unsigned int pt1.c: In function 'print_kerning': pt1.c:7210:23: warning: unused variable 'n' [-Wunused-variable] 7210 | int i, j, n; | ^ pt1.c: At top level: pt1.c:146:15: warning: 'fcvarea' declared 'static' but never defined [-Wunused-function] 146 | static double fcvarea( GENTRY *ge); | ^~~~~~~ pt1.c:4190:1: warning: 'iiszigzag' defined but not used [-Wunused-function] 4190 | iiszigzag( | ^~~~~~~~~ pt1.c:2649:1: warning: 'printbasestem' defined but not used [-Wunused-function] 2649 | printbasestem(void) | ^~~~~~~~~~~~~ pt1.c:1862:1: warning: 'steminblue' defined but not used [-Wunused-function] 1862 | steminblue( | ^~~~~~~~~~ pt1.c: In function 'fdotcurvdist2': pt1.c:5219:41: warning: 'fdotsegdist2' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] 5219 | dots[d].dist2 = fdotsegdist2(&cvd[0], dots[d].p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:5219:41: note: referencing argument 1 of type 'double[2][2]' pt1.c:5219:41: note: referencing argument 2 of type 'double[2]' pt1.c:4995:1: note: in a call to function 'fdotsegdist2' 4995 | fdotsegdist2( | ^~~~~~~~~~~~ pt1.c:5222:41: warning: 'fdotsegdist2' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] 5222 | dots[d].dist2 = fdotsegdist2(&cvd[NAPSECT-1], dots[d].p); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:5222:41: note: referencing argument 1 of type 'double[2][2]' pt1.c:5222:41: note: referencing argument 2 of type 'double[2]' pt1.c:4995:1: note: in a call to function 'fdotsegdist2' 4995 | fdotsegdist2( | ^~~~~~~~~~~~ pt1.c: In function 'fconcisecontour': pt1.c:6049:29: warning: 'fcrossraysge' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] 6049 | if( fcrossraysge(&tpge, &tnge, NULL, NULL, &apcv[1]) ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pt1.c:6049:29: note: referencing argument 5 of type 'double[2][2]' pt1.c:4935:1: note: in a call to function 'fcrossraysge' 4935 | fcrossraysge( | ^~~~~~~~~~~~ pt1.c: In function 'findstemat': pt1.c:2933:60: warning: 'prevwd' may be used uninitialized [-Wmaybe-uninitialized] 2933 | || pri==prevpri && prevwd==0 || wd!=0 && wdnum_glyphs); | ~^ ~~~~~~~~~~~~~~~~ | | | | int FT_Long {aka long int} | %ld ft.c: In function 'glnames': ft.c:155:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 155 | sprintf(bf, "_g_%d", i); | ^~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ft.c:10: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ ft.c:159:45: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 159 | glyph_list[i].name = strdup(bf); | ^~ | | | unsigned char * In file included from ft.c:11: /usr/include/string.h:187:34: note: expected 'const char *' but argument is of type 'unsigned char *' 187 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ ft.c: In function 'fnmetrics': ft.c:427:9: warning: "/*" within comment [-Wcomment] 427 | /* guess the boldness from the font names */ | ft.c:440:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 439 | || str[j]=='b' | ~~~~~~~~~~~ 440 | && ( j==0 || !isalpha(str[j-1]) ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ft.c: At top level: ft.c:537:9: warning: initialization of 'int (*)(const FT_Vector *, void *)' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] 537 | outl_moveto, | ^~~~~~~~~~~ ft.c:537:9: note: (near initialization for 'ft_outl_funcs.move_to') ft.c:538:9: warning: initialization of 'int (*)(const FT_Vector *, void *)' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] 538 | outl_lineto, | ^~~~~~~~~~~ ft.c:538:9: note: (near initialization for 'ft_outl_funcs.line_to') ft.c:539:9: warning: initialization of 'int (*)(const FT_Vector *, const FT_Vector *, void *)' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] 539 | outl_conicto, | ^~~~~~~~~~~~ ft.c:539:9: note: (near initialization for 'ft_outl_funcs.conic_to') ft.c:540:9: warning: initialization of 'int (*)(const FT_Vector *, const FT_Vector *, const FT_Vector *, void *)' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] 540 | outl_cubicto, | ^~~~~~~~~~~~ ft.c:540:9: note: (near initialization for 'ft_outl_funcs.cubic_to') ft.c: In function 'kerning': ft.c:596:16: warning: unused variable 'gl' [-Wunused-variable] 596 | GLYPH *gl; | ^~ ft.c:593:23: warning: unused variable 'n' [-Wunused-variable] 593 | int i, j, n; | ^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c bdf.c In file included from bdf.c:15: global.h:90:33: warning: "/*" within comment [-Wcomment] 90 | /* #define DBG_GLYPH "C118" /* */ | bdf.c: In function 'readfile': bdf.c:101:15: warning: unused variable 's' [-Wunused-variable] 101 | char *s; | ^ bdf.c: In function 'handle_header': bdf.c:224:63: warning: pointer targets in passing argument 1 of 'dupcnstring' differ in signedness [-Wpointer-sign] 224 | *((char **)(cl->vp[0])) = dupcnstring(bf, s-bf); | ^~ | | | char * global.h:120:35: note: expected 'unsigned char *' but argument is of type 'char *' 120 | char *dupcnstring( unsigned char *s, int len); | ~~~~~~~~~~~~~~~^ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c bitmap.c In file included from bitmap.c:14: global.h:90:33: warning: "/*" within comment [-Wcomment] 90 | /* #define DBG_GLYPH "C118" /* */ | bitmap.c: In function 'dosubfrag': bitmap.c:454:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 454 | && ( outend && f->sublen <= pf->sublen | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.c:464:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 464 | && ( outfront && f->sublen <= lf->sublen | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.c:358:16: warning: unused variable 'j' [-Wunused-variable] 358 | int i, j, a1, a2, ndots; | ^ bitmap.c:349:23: warning: variable 'ff' set but not used [-Wunused-but-set-variable] 349 | GEX_FRAG *f, *ff, *lf, *pf, *xf; | ^~ bitmap.c: In function 'bmp_outline': bitmap.c:1199:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1199 | if( (k1 & GEXFF_EXTR) && (k2 & GEXFF_LONG) \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ bitmap.c:1221:49: note: in expansion of macro 'CHKCURVCONN' 1221 | CHKCURVCONN(ge, 1); | ^~~~~~~~~~~ bitmap.c:1199:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1199 | if( (k1 & GEXFF_EXTR) && (k2 & GEXFF_LONG) \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ bitmap.c:1246:41: note: in expansion of macro 'CHKCURVCONN' 1246 | CHKCURVCONN(ge, 1); | ^~~~~~~~~~~ bitmap.c:1199:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 1199 | if( (k1 & GEXFF_EXTR) && (k2 & GEXFF_LONG) \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ bitmap.c:1258:57: note: in expansion of macro 'CHKCURVCONN' 1258 | CHKCURVCONN(ge->frwd, 0); | ^~~~~~~~~~~ bitmap.c:1594:64: warning: suggest parentheses around comparison in operand of '^' [-Wparentheses] 1594 | } while(stepmore || ge != cge->next ^ delaystop); | ~~~^~~~~~~~~~~~ bitmap.c:1999:81: warning: too many arguments for format [-Wformat-extra-args] 1999 | fprintf(stderr, " removed %s frag at %p len=%d covered by line\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bitmap.c:2305:56: warning: unused variable 'lf' [-Wunused-variable] 2305 | GEX_FRAG *ff, *lf, *xf; | ^~ bitmap.c:2508:39: warning: unused variable 'pf' [-Wunused-variable] 2508 | GEX_FRAG *f, *pf; | ^~ bitmap.c:1033:21: warning: unused variable 'i' [-Wunused-variable] 1033 | int i; | ^ bitmap.c:926:17: warning: label 'try1' defined but not used [-Wunused-label] 926 | try1: | ^~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -DUSE_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/sysprof-4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -o ttf2pt1 ttf2pt1.o pt1.o runt1asm.o ttf.o ft.o bdf.o bitmap.o -lm -lfreetype scripts/unhtml CHANGES scripts/unhtml README scripts/unhtml FONTS scripts/unhtml FONTS.hpux scripts/unhtml encodings/README scripts/unhtml other/README scripts/unhtml app/X11/README scripts/unhtml app/netscape/README scripts/unhtml app/TeX/README scripts/html2man . . app/RPM/Makefile sed 's/^Version:.*/Version: '`grep TTF2PT1_VERSION version.h| cut -d\" -f2`'/' app/RPM/ttf2pt1.spec + rm -rf __dist_other + mkdir -p __dist_other/other + cp -p other/bz.c other/bzscreen.c other/bzscreen.h other/Makefile other/README other/README.html __dist_other/other + make -C other cmpf dmpf make: Entering directory '/builddir/build/BUILD/ttf2pt1-3.4.4/other' gcc -g -o cmpf -I/usr/local/include -L/usr/local/lib cmpf.c -lt1 -lm gcc -g -o dmpf -I/usr/local/include -L/usr/local/lib dmpf.c -lt1 -lm make: Leaving directory '/builddir/build/BUILD/ttf2pt1-3.4.4/other' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.viXEh7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 + cd ttf2pt1-3.4.4 + fakeroot make DESTDIR=/builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 INSTDIR=/usr TXTFILES= MANDIR=/usr/share/man VERSION=3.4.4 install scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin root bin 0755 scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/libexec/ttf2pt1 root bin 0755 scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1 root bin 0755 scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man1 root bin 0755 scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man5 root bin 0755 cp -R app encodings maps scripts other /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1 chown -R root /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1 chgrp -R bin /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1 chmod -R go-w /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1 scripts/inst_file ttf2pt1 /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1 root bin 0755 [ -f /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/t1asm ] || scripts/inst_file t1asm /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/libexec/ttf2pt1/t1asm root bin 0755 sed -e 's|^TTF2PT1_BINDIR=$|TTF2PT1_BINDIR=/usr/bin|' \ -e 's|^TTF2PT1_LIBXDIR=$|TTF2PT1_LIBXDIR=/usr/libexec/ttf2pt1|' \ -e 's|^TTF2PT1_SHAREDIR=$|TTF2PT1_SHAREDIR=/usr/share/ttf2pt1|' cvt.tmp scripts/inst_file cvt.tmp /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1_convert root bin 0755 scripts/inst_file cvt.tmp /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/convert root bin 0755 rm cvt.tmp scripts/inst_file scripts/x2gs /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1_x2gs root bin 0755 for i in ttf2pt1.1 ttf2pt1_convert.1 ttf2pt1_x2gs.1; do { \ sed -e 's|TTF2PT1_BINDIR|/usr/bin|' \ -e 's|TTF2PT1_LIBXDIR|/usr/libexec/ttf2pt1|' \ -e 's|TTF2PT1_DOCDIR|/usr/share/doc/ttf2pt1-3.4.4|' \ -e 's|TTF2PT1_SHAREDIR|/usr/share/ttf2pt1|' <$i >/builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man1/$i \ && chown root /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man1/$i \ && chgrp bin /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man1/$i \ && chmod 0644 /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/man/man1/$i \ || exit 1; \ } done + rm -r /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/libexec + rm /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/convert /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/convert.cfg.sample /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/frommap /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/html2man /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/inst_dir /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/inst_file /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/mkrel /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/ttf2pt1/scripts/unhtml + mv /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/share/ttf2pt1/other/cmpf /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_cmpf + mv /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/share/ttf2pt1/other/dmpf /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_dmpf + cp other/cntstems.pl /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_cntstems + cp other/lst.pl /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_lst + cp other/showdf /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_showdf + cp other/showg /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64//usr/bin/ttf2pt1_showg + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.4.4-1.ocs23 --unique-debug-suffix -3.4.4-1.ocs23.x86_64 --unique-debug-src-base ttf2pt1-3.4.4-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/ttf2pt1-3.4.4 extracting debug info from /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1 extracting debug info from /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1_cmpf extracting debug info from /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/bin/ttf2pt1_dmpf 874 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/bin/ttf2pt1_x2gs from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/ttf2pt1_convert from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/ttf2pt1/scripts/x2gs from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/ttf2pt1/app/TeX/cjk-latex-t1mapgen from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/ttf2pt1/app/netscape/notscape from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/ttf2pt1/app/netscape/nsfilter from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/share/ttf2pt1/app/netscape/nsprint from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ttf2pt1-3.4.4-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pqVVI6 + umask 022 + cd /builddir/build/BUILD + cd ttf2pt1-3.4.4 + DOCDIR=/builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr CHANGES CHANGES.html /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr README README.FIRST README.html /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr FONTS /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr FONTS.html /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr app/TeX /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr __dist_other/other /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + cp -pr scripts/convert.cfg.sample /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64/usr/share/doc/ttf2pt1 + RPM_EC=0 ++ jobs -p + exit 0 Provides: ttf2pt1 = 3.4.4-1.ocs23 ttf2pt1(x86-64) = 3.4.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libfreetype.so.6()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libt1.so.5()(64bit) perl(integer) rtld(GNU_HASH) Processing files: ttf2pt1-debugsource-3.4.4-1.ocs23.x86_64 Provides: ttf2pt1-debugsource = 3.4.4-1.ocs23 ttf2pt1-debugsource(x86-64) = 3.4.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ttf2pt1-debuginfo-3.4.4-1.ocs23.x86_64 Provides: debuginfo(build-id) = 0134dcecbe73e0c821bc4ff565dc788873ba06bf debuginfo(build-id) = 17c2327de61225a29a6f7648eacbb422f5c47204 debuginfo(build-id) = ff695428a95acb7accf11e2472c467756a080948 ttf2pt1-debuginfo = 3.4.4-1.ocs23 ttf2pt1-debuginfo(x86-64) = 3.4.4-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ttf2pt1-debugsource(x86-64) = 3.4.4-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ttf2pt1-3.4.4-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/ttf2pt1-debugsource-3.4.4-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ttf2pt1-debuginfo-3.4.4-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/ttf2pt1-3.4.4-1.ocs23.x86_64.rpm RPM build warnings: %patchN is deprecated (5 usages found), use %patch N (or %patch -P N) Child return code was: 0