+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/ytree.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YBQNk5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ytree-1.99pl1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ytree-1.99pl1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ytree-1.99pl1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69gvRO + umask 022 + cd /builddir/build/BUILD + cd ytree-1.99pl1 + make 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o arc.o arc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o archive.o archive.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o chgrp.o chgrp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o chmod.o chmod.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o chown.o chown.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o clock.o clock.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o color.o color.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o copy.o copy.c copy.c: In function 'CopyFile': copy.c:32:15: warning: unused variable 'temp_path' [-Wunused-variable] char temp_path[PATH_LENGTH+1]; ^~~~~~~~~ copy.c:96:17: warning: argument 1 null where non-null expected [-Wnonnull] closedir(tmpdir); ^~~~~~~~~~~~~~~~ In file included from ytree.h:67:0, from copy.c:10: /usr/include/dirent.h:149:12: note: in a call to function 'closedir' declared here extern int closedir (DIR *__dirp) __nonnull ((1)); ^~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o delete.o delete.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o dirwin.o dirwin.c dirwin.c: In function 'PrintDirEntry': dirwin.c:113:15: warning: variable 'hi_color' set but not used [-Wunused-but-set-variable] int color, hi_color; ^~~~~~~~ dirwin.c:110:23: warning: unused variable 'l2' [-Wunused-variable] unsigned int j, l1, l2; ^~ dirwin.c: In function 'HandleDirWindow': dirwin.c:827:15: warning: unused variable 'fdstat' [-Wunused-variable] struct stat fdstat; ^~~~~~ dirwin.c: In function 'KeyF2Get': dirwin.c:1198:14: warning: variable 'dir_entry' set but not used [-Wunused-but-set-variable] DirEntry *dir_entry; ^~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o disp.o disp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o edit.o edit.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o error.o error.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o execute.o execute.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o filespec.o filespec.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o filewin.o filewin.c filewin.c: In function 'SilentWalkTaggedFiles': filewin.c:2860:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result = 0; ^~~~~~ filewin.c: In function 'ListJump': filewin.c:3055:41: warning: unused variable 'iq' [-Wunused-variable] int i=0, j=0, n=0, start_x=0, ic=0, iq=0, tmp2=0; ^~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o freesp.o freesp.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o global.o global.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o group.o group.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o hex.o hex.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o history.o history.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o init.o init.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o input.o input.c input.c: In function 'StrLeft': input.c:20:15: warning: variable 'p' set but not used [-Wunused-but-set-variable] char *rez, *p, *tmp; ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o keyhtab.o keyhtab.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o lha.o lha.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o login.o login.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o main.o main.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o match.o match.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mkdir.o mkdir.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o mktime.o mktime.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o move.o move.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o passwd.o passwd.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o pipe.o pipe.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o print.o print.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o profile.o profile.c profile.c: In function 'ReadProfile': profile.c:137:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for( name = buffer; isspace(*name); name++ ) ^ profile.c:145:14: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if( !strcmp(name, "[GLOBAL]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:147:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[VIEWER]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:149:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[MENU]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:151:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[FILEMAP]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:153:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[FILECMD]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:155:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[DIRMAP]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:157:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] else if( !strcmp(name, "[DIRCMD]") ) ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:167:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:170:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key.name = name; ^ profile.c:172:25: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] p->value = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:176:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:179:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(name, "DIR1") || !strcmp(name, "DIR2") || ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:179:48: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(name, "DIR1") || !strcmp(name, "DIR2") || ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:180:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(name, "FILE1") || !strcmp(name, "FILE2") ) { ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:180:49: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(name, "FILE1") || !strcmp(name, "FILE2") ) { ^~~~ In file included from /usr/include/memory.h:29:0, from ytree.h:74, from profile.c:10: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ profile.c:181:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key.name = name; ^ profile.c:193:27: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] p->value = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:198:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:204:17: warning: pointer targets in passing argument 1 of 'Strtok_r' differ in signedness [-Wpointer-sign] n = Strtok_r(name, ",", &old); ^~~~ In file included from profile.c:10:0: ytree.h:1052:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:210:42: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chremap = ChCode( value ); ^~~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:218:40: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chremap = ChCode( value ); ^~~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:228:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:237:41: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] if (new_m->chkey == ChCode( name )) { ^~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:238:29: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] new_m->cmd = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:245:36: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chkey = ChCode( name ); ^~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:247:27: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] new_m->cmd = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:254:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:260:17: warning: pointer targets in passing argument 1 of 'Strtok_r' differ in signedness [-Wpointer-sign] n = Strtok_r(name, ",", &old); ^~~~ In file included from profile.c:10:0: ytree.h:1052:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:266:42: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chremap = ChCode( value ); ^~~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:274:40: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chremap = ChCode( value ); ^~~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:284:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:293:41: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] if (new_d->chkey == ChCode( name )) { ^~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:294:29: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] new_d->cmd = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:301:36: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chkey = ChCode( name ); ^~~~ profile.c:103:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:303:27: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] new_d->cmd = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:310:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:315:17: warning: pointer targets in passing argument 1 of 'Strtok_r' differ in signedness [-Wpointer-sign] n = Strtok_r(name, ",", &old); ^~~~ In file included from profile.c:10:0: ytree.h:1052:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:320:29: warning: pointer targets in passing argument 1 of 'Strdup' differ in signedness [-Wpointer-sign] new_v->cmd = Strdup( value ); ^~~~~ In file included from profile.c:10:0: ytree.h:1078:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o quit.o quit.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rar.o rar.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o readtree.o readtree.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rename.o rename.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rmdir.o rmdir.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o rpm.o rpm.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o sort.o sort.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o stat.o stat.c stat.c: In function 'PrettyPrintNumber': stat.c:201:38: warning: '%03ld' directive writing between 3 and 4 bytes into a region of size between 3 and 10 [-Wformat-overflow=] sprintf( buffer, "[%3ld%3ld%03ld%03ld%03ld]", terra, giga, mega, kilo, one ); ^~~~~ stat.c:201:23: note: directive argument in the range [-999, 999] sprintf( buffer, "[%3ld%3ld%03ld%03ld%03ld]", terra, giga, mega, kilo, one ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:201:23: note: directive argument in the range [-999, 999] In file included from /usr/include/stdio.h:861:0, from ytree.h:13, from stat.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 27 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:206:50: warning: ']' directive writing 1 byte into a region of size between 0 and 4 [-Wformat-overflow=] sprintf( buffer, "[%3ld%c%03ld%c%03ld%c%03ld]", giga, number_seperator, mega, number_seperator, kilo, number_seperator, one ); ^ In file included from /usr/include/stdio.h:861:0, from ytree.h:13, from stat.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 22 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stat.c:211:48: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf( buffer, "[ %3ld%c%03ld%c%03ld]", mega, number_seperator, kilo, number_seperator, one ); ^ In file included from /usr/include/stdio.h:861:0, from ytree.h:13, from stat.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 18 and 21 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o system.o system.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tar.o tar.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o termcap.o termcap.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o tilde.o tilde.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o usermode.o usermode.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o util.o util.c util.c: In function 'BuildUserFileEntry': util.c:917:8: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i, n; ^ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o view.o view.c view.c: In function 'ViewFile': view.c:73:8: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l; ^ view.c: In function 'ViewArchiveFile': view.c:226:8: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l; ^ view.c: In function 'update_line': view.c:329:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = (char *) xmalloc(BYTES); ^ view.c:339:36: warning: pointer targets in passing argument 3 of 'printhexline' differ in signedness [-Wpointer-sign] printhexline(win, line_string, buf, r, (line - 1) * (BYTES)); ^~~ view.c:276:6: note: expected 'char *' but argument is of type 'unsigned char *' void printhexline(WINDOW *win, char *line, char *buf, int r, long offset) ^~~~~~~~~~~~ view.c: In function 'hex_edit': view.c:581:10: warning: variable 'cursor_byte' set but not used [-Wunused-but-set-variable] long cursor_byte; ^~~~~~~~~~~ cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o xmalloc.o xmalloc.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o zip.o zip.c cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o zoo.o zoo.c cc -o ytree arc.o archive.o chgrp.o chmod.o chown.o clock.o color.o copy.o delete.o dirwin.o disp.o edit.o error.o execute.o filespec.o filewin.o freesp.o global.o group.o hex.o history.o init.o input.o keyhtab.o lha.o login.o main.o match.o mkdir.o mktime.o move.o passwd.o pipe.o print.o profile.o quit.o rar.o readtree.o rename.o rmdir.o rpm.o sort.o stat.o system.o tar.o termcap.o tilde.o usermode.o util.o view.o xmalloc.o zip.o zoo.o -lncurses -lreadline + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ON8Xvb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 + cd ytree-1.99pl1 + install -m644 -D -p ytree.1 /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64//usr/share/man/man1/ytree.1 + install -m755 -D -p ytree /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64//usr/bin/ytree + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ytree-1.99pl1-5.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dm4ESo + umask 022 + cd /builddir/build/BUILD + cd ytree-1.99pl1 + DOCDIR=/builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + cp -pr CHANGES /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + cp -pr COPYING /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + cp -pr README /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + cp -pr THANKS /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + cp -pr ytree.conf /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64/usr/share/doc/ytree + exit 0 Provides: ytree = 1.99pl1-5.fc28 ytree(riscv-64) = 1.99pl1-5.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libreadline.so.7()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 Wrote: /builddir/build/SRPMS/ytree-1.99pl1-5.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ytree-1.99pl1-5.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MP3PGP + umask 022 + cd /builddir/build/BUILD + cd ytree-1.99pl1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ytree-1.99pl1-5.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff