+ 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.GqVnjg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ytree-1.97 + /usr/bin/gzip -dc /builddir/build/SOURCES/ytree-1.97.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ytree-1.97 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wUeCcq + umask 022 + cd /builddir/build/BUILD + cd ytree-1.97 + 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:68: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 'KeyF2Get': dirwin.c:1196: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 edit.c: In function 'Edit': edit.c:78:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(cwd); ^~~~~~~~~~~~~~~~~ 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 execute.c: In function 'Execute': execute.c:58:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir( cwd ); ^~~~~~~~~~~~~~~~~~~ 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:2858:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result = 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 login.c: In function 'LoginDisk': login.c:456:7: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] (void) dup( p[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 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:136:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for( name = buffer; isspace(*name); name++ ) ^ profile.c:144: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:75, 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:146: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:75, 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:148: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:75, 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:150: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:75, 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:152: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:75, 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:154: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:75, 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:156: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:75, 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:166:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:169:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key.name = name; ^ profile.c:171: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:175:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:178: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:75, 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:178: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:75, 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: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:75, 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: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:75, 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:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] key.name = name; ^ profile.c:192: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:197:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:203: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:1048:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:209:42: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chremap = ChCode( value ); ^~~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:217:40: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chremap = ChCode( value ); ^~~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:227:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:236:41: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] if (new_m->chkey == ChCode( name )) { ^~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:237: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:244:36: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_m->chkey = ChCode( name ); ^~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:246: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:253:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:259: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:1048:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:265:42: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chremap = ChCode( value ); ^~~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:273:40: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chremap = ChCode( value ); ^~~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:283:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:292:41: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] if (new_d->chkey == ChCode( name )) { ^~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:293: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:300:36: warning: pointer targets in passing argument 1 of 'ChCode' differ in signedness [-Wpointer-sign] new_d->chkey = ChCode( name ); ^~~~ profile.c:102:12: note: expected 'const char *' but argument is of type 'unsigned char *' static int ChCode(const char *s); ^~~~~~ profile.c:302: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:1074:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *Strdup(const char *s); ^~~~~~ profile.c:309:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] value = strchr( buffer, '=' ); ^ profile.c:314: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:1048:14: note: expected 'char *' but argument is of type 'unsigned char *' extern char *Strtok_r( char *str, char *delim, char **old ); ^~~~~~~~ profile.c:319: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:1074: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:200:39: warning: '%03ld' directive writing between 3 and 4 bytes into a region of size between 0 and 10 [-Wformat-overflow=] sprintf( buffer, "[%3ld%03ld%03ld%03ld]", billion, million, thousand, one); ^~~~~ stat.c:200:23: note: directive argument in the range [-999, 999] sprintf( buffer, "[%3ld%03ld%03ld%03ld]", billion, million, thousand, one); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:862:0, from ytree.h:14, from stat.c:10: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 15 and 26 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:222:8: warning: variable 'l' set but not used [-Wunused-but-set-variable] int l; ^ view.c: In function 'update_line': view.c:325:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] buf = (char *) xmalloc(BYTES); ^ view.c:335: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:272: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:577:10: warning: variable 'cursor_byte' set but not used [-Wunused-but-set-variable] long cursor_byte; ^~~~~~~~~~~ view.c: In function 'ViewFile': view.c:188:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir(cwd); ^~~~~~~~~~~~~~~~~ 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.0TvV6v + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64 + cd ytree-1.97 + install -m644 -D -p ytree.1 /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64//usr/share/man/man1/ytree.1 + install -m755 -D -p ytree /builddir/build/BUILDROOT/ytree-1.97-9.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.97-9.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gIyDcm + umask 022 + cd /builddir/build/BUILD + cd ytree-1.97 + DOCDIR=/builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + cp -pr CHANGES /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + cp -pr COPYING /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + cp -pr README /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + cp -pr THANKS /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + cp -pr ytree.conf /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64/usr/share/doc/ytree + exit 0 Provides: ytree = 1.97-9.fc28 ytree(riscv-64) = 1.97-9.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.97-9.fc28.riscv64 Wrote: /builddir/build/SRPMS/ytree-1.97-9.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/ytree-1.97-9.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VFdzSU + umask 022 + cd /builddir/build/BUILD + cd ytree-1.97 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ytree-1.97-9.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff