D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/migration-assistant-0.6.13-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.E7IA8S + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf migration-assistant-0.6.13 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/migration-assistant_0.6.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd migration-assistant-0.6.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/migration-assistant-xdg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DDZnYT + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd migration-assistant-0.6.13 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CC=gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CC='gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + /usr/bin/make -O -j8 make: dpkg-buildflags: No such file or directory make: dpkg-buildflags: No such file or directory make: dpkg-buildflags: No such file or directory gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o import.o import.c import.c: In function 'main': import.c:117:9: warning: implicit declaration of function 'asprintf'; did you mean 'vsprintf'? [-Wimplicit-function-declaration] 117 | asprintf(&passwd_file, "%s/etc/passwd", to_location); | ^~~~~~~~ | vsprintf import.c:123:21: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | setgid(p->pw_gid); | ^~~~~~~~~~~~~~~~~ import.c:124:21: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 124 | setuid(p->pw_uid); | ^~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -c registry.c registry.c: In function 'findkey': registry.c:122:9: warning: variable 'numread' set but not used [-Wunused-but-set-variable] 122 | int numread; | ^~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -I/usr/include/libxml2 -c utils.c utils.c: In function 'get_insensitive_path': utils.c:62:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 62 | chdir("/"); | ^~~~~~~~~~ utils.c:89:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 89 | asprintf(&ret, "%s%s", ret, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:91:17: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 91 | asprintf(&ret, "%s%s/", ret, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:92:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | chdir(ret); | ^~~~~~~~~~ utils.c: In function 'initialize_software_registry_path': utils.c:113:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | asprintf(&tmp, "%s/WINDOWS/system32/config/software", from_location); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:117:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | asprintf(&tmp, "%s/WINNT/system32/config/software", from_location); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'get_profiles_dir': utils.c:137:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 137 | asprintf(&profilesdir, "%s/%s", mountpoint, pdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'initialize_user_registry_path': utils.c:147:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | asprintf(&tmp, "%s/%s/%s", profilesdir, from_user, "NTUSER.DAT"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'rcopy': utils.c:277:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 277 | asprintf(&fpn, "%s/%s", from, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:278:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 278 | asprintf(&tpn, "%s/%s", to, de->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'add_wallpaper': utils.c:351:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 351 | asprintf(&file, "%s/home/%s/.gnome2/backgrounds.xml", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'makegconfdirs': utils.c:447:2: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 447 | asprintf(&gconf, "%s/%%gconf.xml", dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function 'set_gconf_key': utils.c:461:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 461 | asprintf(&gconf, "%s/home/%s/.gconf/%s", to_location, to_user, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:462:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 462 | asprintf(&file, "%s/%%gconf.xml", gconf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -c windows-import.c windows-import.c: In function 'windowsxp_import_userpicture': windows-import.c:35:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 35 | asprintf(&from, "%s/%s/Microsoft/User Account Pictures/%s.bmp", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 | from_location, path, from_user); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:39:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 39 | asprintf(&to, "%s/home/%s/.face", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c: In function 'windowsxp_import_mymusic': windows-import.c:64:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 64 | asprintf(&home, "%s/home/%s", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:66:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | asprintf(&to, "%s/%s", to_location, xdg_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:67:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 67 | asprintf(&from, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:75:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 75 | asprintf(&to, "file://%s", xdg_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c: In function 'windowsxp_import_mypictures': windows-import.c:98:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 98 | asprintf(&home, "%s/home/%s", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:100:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | asprintf(&to, "%s/%s", to_location, xdg_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:101:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | asprintf(&from, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c: In function 'windowsxp_import_mydocuments': windows-import.c:152:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 152 | asprintf(&home, "%s/home/%s", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:154:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 154 | asprintf(&to, "%s/%s", to_location, xdg_dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:155:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | asprintf(&from, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:177:6: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | asprintf(&f, "%s/%s", from, rep->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:179:6: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | asprintf(&t, "%s/%s", to, rep->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c: In function 'windowsxp_import_wallpaper': windows-import.c:226:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 226 | asprintf(&from, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:227:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | asprintf(&to, "%s/home/%s/%s", to_location, to_user, image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:234:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 234 | asprintf(&to, "/home/%s/%s", to_user, image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from windows-import.c:2: In function 'printf', inlined from 'windowsxp_import_wallpaper' at windows-import.c:221:9: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -c ma-search-users.c ma-search-users.c: In function 'search_windowsxp': ma-search-users.c:65:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 65 | from_location = mountpoint; | ^ ma-search-users.c: In function 'search_linux': ma-search-users.c:20:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 20 | asprintf(&fullpath, "%s/home", mountpoint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ma-search-users.c:28:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 28 | asprintf(&profile, "%s/%s", fullpath, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ma-search-users.c: In function 'search_windowsxp': ma-search-users.c:106:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 106 | asprintf(&profile, "%s/%s", profilesdir, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -o ma-search-users ma-search-users.o registry.o utils.o -lxml2 -lz -llzma -lm -ldl /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:2: multiple definition of `from_location'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:2: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:6: multiple definition of `software_key_file'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:6: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:7: multiple definition of `user_key_file'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:7: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:3: multiple definition of `from_user'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:3: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:5: multiple definition of `to_user'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:5: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:4: multiple definition of `to_location'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:4: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:9: multiple definition of `os_type'; ma-search-users.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:9: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:16: ma-search-users] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -I/usr/include/libxml2 -c gaim-import.c gaim-import.c: In function 'gaim_import_other': gaim-import.c:178:31: warning: variable 'protocol' set but not used [-Wunused-but-set-variable] 178 | xmlNode *account, *name, *protocol; | ^~~~~~~~ gaim-import.c:178:24: warning: variable 'name' set but not used [-Wunused-but-set-variable] 178 | xmlNode *account, *name, *protocol; | ^~~~ gaim-import.c: In function 'gaim_new_accounts_file': gaim-import.c:21:2: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 21 | asprintf(&accounts_file, "%s/%s/%s/%s", to_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 | "home", to_user, | ~~~~~~~~~~~~~~~~ 23 | ".purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c: In function 'gaim_save_accounts_file': gaim-import.c:42:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | asprintf(&accounts_file, "%s/%s/%s/%s", to_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 43 | "home", to_user, | ~~~~~~~~~~~~~~~~ 44 | ".purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c: In function 'gaim_import_gaim': gaim-import.c:119:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 119 | asprintf(&accounts_file, "%s/%s/%s/%s", from_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | "home", from_user, | ~~~~~~~~~~~~~~~~~~ 121 | ".gaim/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:125:4: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 125 | asprintf(&accounts_file, "%s/%s/%s/%s", from_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | "home", from_user, | ~~~~~~~~~~~~~~~~~~ 127 | ".purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:140:6: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | asprintf(&accounts_file, "%s/%s/%s", from_location, path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | "/.gaim/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:145:4: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 145 | asprintf(&accounts_file, "%s/%s/%s", from_location, path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 146 | "/.purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c: In function 'gaim_import_aimtriton': gaim-import.c:225:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 225 | asprintf(&dirname, "%s/%s/%s", from_location, path, "AOL/UserProfiles"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:236:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 236 | asprintf(&profile, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:251:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 251 | asprintf(&uprofile, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gaim-import.c:263:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 263 | asprintf(&cls, "%s/%s/cls", uprofile, entry2->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/libxml2/libxml/tree.h:15, from /usr/include/libxml2/libxml/parser.h:16, from gaim-import.c:1: In function 'printf', inlined from 'gaim_import_gaim' at gaim-import.c:135:13: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'printf', inlined from 'gaim_import_aimtriton' at gaim-import.c:220:9: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -I/usr/include/libxml2 -c evolution-import.c evolution-import.c: In function 'evolution_import_outlookexpress': evolution-import.c:449:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 449 | if(a->incominguser); | ^~ evolution-import.c:450:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 450 | free(a->incominguser); | ^~~~ evolution-import.c:453:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 453 | if(a->incomingport); | ^~ evolution-import.c:454:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 454 | free(a->incomingport); | ^~~~ evolution-import.c: In function 'evolution_import_other': evolution-import.c:173:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 173 | asprintf(&file, "%s/%s/%s/%s", to_location, "home", to_user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | ".gconf/apps/evolution/mail/\%gconf.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:192:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 192 | asprintf(&incomingurl, "imap://%s@%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 193 | a->incominguser, a->incomingserver); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:195:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | asprintf(&incomingurl, "imap://%s", a->incomingserver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:199:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | asprintf(&incomingurl, "pop://%s@%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | a->incominguser, a->incomingserver); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:202:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 202 | asprintf(&incomingurl, "pop://%s", a->incomingserver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:207:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | asprintf(&temp, "%s:%s", incomingurl, a->incomingport); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:212:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | asprintf(&temp, "%s/%s", incomingurl, a->incomingssl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:227:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 227 | asprintf(&smtpurl, "smtp://%s@%s", a->smtpuser, a->smtpserver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:229:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | asprintf(&smtpurl, "smtp://%s", a->smtpserver); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:233:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | asprintf(&temp, "%s:%s", smtpurl, a->smtpport); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:238:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 238 | asprintf(&temp, "%s/%s", smtpurl, a->smtpssl); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:250:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 250 | asprintf(&accountstring, acct, a->accountname, a->uid, a->fullname, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 251 | a->email, incomingurl, smtpurl); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c: In function 'evolution_import_evolution': evolution-import.c:273:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 273 | asprintf(&file, "%s/%s/%s/%s", from_location, "home", from_user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | ".gconf/apps/evolution/mail/\%gconf.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:290:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 290 | asprintf(&file, "%s/%s/%s/%s", to_location, "home", to_user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | ".gconf/apps/evolution/mail/\%gconf.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c: In function 'evolution_import_outlookexpress': evolution-import.c:324:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 324 | asprintf(&account_key, "\\Software\\Microsoft\\" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | "Internet Account Manager\\Accounts\\%.8d\\", i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:326:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | asprintf(&temp_key, "%s%s", account_key, "Account Name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:343:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 343 | asprintf (&a->uid, "%lu.%lu.%d@%s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | (unsigned long) time (NULL), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 345 | (unsigned long) getpid (), | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 346 | serial++, | ~~~~~~~~~ 347 | hostname); | ~~~~~~~~~ evolution-import.c:349:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 349 | asprintf(&temp_key, "%s%s", account_key, "SMTP Display Name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:353:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 353 | asprintf(&temp_key, "%s%s", account_key, "SMTP Email Address"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:357:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 357 | asprintf(&temp_key, "%s%s", account_key, "IMAP User Name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:363:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 363 | asprintf(&temp_key, "%s%s", account_key, "IMAP Server"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:367:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 367 | asprintf(&temp_key, "%s%s", account_key, "IMAP Port"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:371:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 371 | asprintf(&temp_key, "%s%s", account_key, "IMAP Secure Connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:376:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 376 | asprintf(&temp_key, "%s%s", account_key, "POP3 User Name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:380:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 380 | asprintf(&temp_key, "%s%s", account_key, "POP3 Server"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:384:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 384 | asprintf(&temp_key, "%s%s", account_key, "POP3 Port"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:388:13: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 388 | asprintf(&temp_key, "%s%s", account_key, "POP3 Secure Connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:401:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 401 | asprintf(&temp_key, "%s%s", account_key, "SMTP User Name"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:405:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 405 | asprintf(&temp_key, "%s%s", account_key, "SMTP Server"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:409:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | asprintf(&temp_key, "%s%s", account_key, "SMTP Port"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ evolution-import.c:413:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 413 | asprintf(&temp_key, "%s%s", account_key, "SMTP Secure Connection"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -c search-items.c search-items.c: In function 'windowsxp_gaim': search-items.c:47:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 47 | asprintf(&accounts_file, "%s/%s/%s", from_location, path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 | "/.gaim/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~ search-items.c:49:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | asprintf(&accounts_file_new, "%s/%s/%s", from_location, path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 50 | "/.purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'windowsxp_aim_triton': search-items.c:93:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 93 | asprintf(&dirname, "%s/%s/%s", from_location, path, "AOL/UserProfiles"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c:99:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 99 | asprintf(&profile, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'windowsxp_opera': search-items.c:130:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | asprintf(&filename, "%s/%s/%s", from_location, path, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | "Opera/Opera/profile/opera6.adr"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'windowsxp_firefox': search-items.c:163:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 163 | asprintf(&dirname, "%s/%s/%s", from_location, path, "Mozilla/Firefox/Profiles"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c:169:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | asprintf(&profile, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'windowsxp_iexplorer': search-items.c:196:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 196 | asprintf(&iedir, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'windowsxp_userpicture': search-items.c:231:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | asprintf(&from, "%s/%s/Microsoft/User Account Pictures/%s.bmp", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 232 | from_location, path, from_user); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'linux_gaim': search-items.c:288:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | asprintf(&accounts_file, "%s/%s/%s/%s", from_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 289 | "home", from_user, | ~~~~~~~~~~~~~~~~~~ 290 | ".gaim/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~ search-items.c:291:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | asprintf(&accounts_file_new, "%s/%s/%s/%s", from_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | "home", from_user, | ~~~~~~~~~~~~~~~~~~ 293 | ".purple/accounts.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'linux_firefox': search-items.c:315:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | asprintf(&dirname, "%s/%s/%s/%s", from_location, "home", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 316 | from_user, ".mozilla/firefox"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c:321:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 321 | asprintf(&profile, "%s/%s", dirname, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'linux_evolution': search-items.c:340:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 340 | asprintf(&file, "%s/%s/%s/%s", from_location, "home", from_user, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 341 | ".gconf/apps/evolution/mail/\%gconf.xml"); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search-items.c: In function 'main': search-items.c:423:7: warning: 'ostype' may be used uninitialized in this function [-Wmaybe-uninitialized] 423 | if(ostype == LINUX) | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -o ma-search-items search-items.o registry.o utils.o -lxml2 -lz -llzma -lm -ldl /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:2: multiple definition of `from_location'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:2: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:6: multiple definition of `software_key_file'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:6: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:7: multiple definition of `user_key_file'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:7: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:3: multiple definition of `from_user'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:3: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:5: multiple definition of `to_user'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:5: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:4: multiple definition of `to_location'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:4: first defined here /usr/bin/ld: utils.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:9: multiple definition of `os_type'; search-items.o:/home/iurt/rpmbuild/BUILD/migration-assistant-0.6.13/utils.h:9: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:20: ma-search-items] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall -D_GNU_SOURCE -c firefox-import.c firefox-import.c: In function 'internet_explorer_build': firefox-import.c:430:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 430 | chdir(".."); | ^~~~~~~~~~~ firefox-import.c: In function 'setup_import': firefox-import.c:751:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 751 | asprintf(&to_firefoxdir, "%s/home/%s/.mozilla/firefox", to_location, to_user); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:754:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 754 | asprintf(&mkdir, "mkdir -p %s", to_firefoxdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:755:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 755 | system(mkdir); | ^~~~~~~~~~~~~ firefox-import.c:798:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 798 | asprintf(fullpath, "%s/%s", to_firefoxdir, bookmarksfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:809:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 809 | asprintf(&path, "%s/profiles.ini", to_firefoxdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:816:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | asprintf(&path, "%s/%s", to_firefoxdir, b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:817:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 817 | asprintf(&mkdir, "mkdir -p %s", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:818:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 818 | system(mkdir); | ^~~~~~~~~~~~~ firefox-import.c:820:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 820 | asprintf(fullpath, "%s/bookmarks.html", path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c: In function 'firefox_import_firefox': firefox-import.c:845:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 845 | asprintf(&from_firefoxdir, "%s/home/%s/.mozilla/firefox", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 846 | from_location, from_user); | ~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c:859:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 859 | asprintf(&from_firefoxdir, "%s/%s/Mozilla/Firefox/Profiles", from_location, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 860 | path); | ~~~~~ firefox-import.c: In function 'firefox_import_opera': firefox-import.c:929:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 929 | asprintf(&bookmarksfile, "%s/%s/Opera/Opera/profile/opera6.adr", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 930 | from_location, path); | ~~~~~~~~~~~~~~~~~~~~ firefox-import.c: In function 'firefox_import_internetexplorer': firefox-import.c:973:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 973 | asprintf(&from_iedir, "%s/%s", from_location, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ firefox-import.c: In function 'getattrib': firefox-import.c:126:12: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized] 126 | href = strstr(string, temp); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from firefox-import.c:12: In function 'printf', inlined from 'firefox_import_firefox' at firefox-import.c:854:13: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'printf', inlined from 'firefox_import_opera' at firefox-import.c:924:9: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'printf', inlined from 'firefox_import_internetexplorer' at firefox-import.c:968:9: /usr/include/bits/stdio2.h:107:10: warning: '%s' directive argument is null [-Wformat-overflow=] 107 | return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DDZnYT (%build) RPM build errors: %make is deprecated, use %make_build instead Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DDZnYT (%build) I: [iurt_root_command] ERROR: chroot