D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/migration-assistant-0.6.13-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9hwI0h + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf migration-assistant-0.6.13 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/migration-assistant_0.6.13.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd migration-assistant-0.6.13 + rm -rf /home/pterjan/rpmbuild/BUILD/migration-assistant-0.6.13-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/migration-assistant-0.6.13-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/migration-assistant-xdg.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.W8bIiL + umask 022 + cd /home/pterjan/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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CC='gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + /usr/bin/make -O -j48 V=1 VERBOSE=1 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o import.o import.c import.c: In function 'main': import.c:117:9: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 117 | asprintf(&passwd_file, "%s/etc/passwd", to_location); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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:9: 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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_new_accounts_file': gaim-import.c:27:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 27 | free(accounts_file); | ^~~~ gaim-import.c:13:1: note: include '' or provide a declaration of 'free' 12 | #include "utils.h" +++ |+#include 13 | gaim-import.c:27:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 27 | free(accounts_file); | ^~~~ gaim-import.c:27:9: note: include '' or provide a declaration of 'free' gaim-import.c: In function 'gaim_import_gaim': gaim-import.c:124:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 124 | free(accounts_file); | ^~~~ gaim-import.c:124:25: note: include '' or provide a declaration of 'free' gaim-import.c:139:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 139 | free(appdata); | ^~~~ gaim-import.c:139:9: note: include '' or provide a declaration of 'free' gaim-import.c:155:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 155 | free(accounts_file); | ^~~~ gaim-import.c:155:5: note: include '' or provide a declaration of 'free' 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_import_yahoo': gaim-import.c:198:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 198 | free(username); | ^~~~ gaim-import.c:198:9: note: include '' or provide a declaration of 'free' gaim-import.c:202:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 202 | exit(EXIT_FAILURE); | ^~~~ gaim-import.c:202:9: note: include '' or provide a declaration of 'exit' gaim-import.c:202:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] gaim-import.c:202:9: note: include '' or provide a declaration of 'exit' gaim-import.c:202:14: error: 'EXIT_FAILURE' undeclared (first use in this function) 202 | exit(EXIT_FAILURE); | ^~~~~~~~~~~~ gaim-import.c:202:14: note: 'EXIT_FAILURE' is defined in header ''; this is probably fixable by adding '#include ' gaim-import.c:202:14: note: each undeclared identifier is reported only once for each function it appears in gaim-import.c: In function 'gaim_import_aimtriton': gaim-import.c:224:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 224 | free(appdata); | ^~~~ gaim-import.c:224:5: note: include '' or provide a declaration of 'free' gaim-import.c: In function 'gaim_new_accounts_file': gaim-import.c:21:9: 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:17: 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:25: 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:13: 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:25: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:30: gaim-import.o] Error 1 make: *** Waiting for unfinished jobs.... gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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_setup': evolution-import.c:150:9: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 150 | free(dir); | ^~~~ evolution-import.c:14:1: note: include '' or provide a declaration of 'free' 13 | #include "utils.h" +++ |+#include 14 | evolution-import.c:150:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 150 | free(dir); | ^~~~ evolution-import.c:150:9: note: include '' or provide a declaration of 'free' evolution-import.c: In function 'evolution_import_other': evolution-import.c:183:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 183 | free(a->incominguser); | ^~~~ evolution-import.c:183:13: note: include '' or provide a declaration of 'free' evolution-import.c:221:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 221 | free(a->smtpuser); | ^~~~ evolution-import.c:221:9: note: include '' or provide a declaration of 'free' evolution-import.c: In function 'evolution_import_evolution': evolution-import.c:277:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 277 | free(file); | ^~~~ evolution-import.c:277:5: note: include '' or provide a declaration of 'free' evolution-import.c: In function 'evolution_import_outlookexpress': evolution-import.c:310:24: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 310 | a = (account *)malloc(sizeof(account)); | ^~~~~~ evolution-import.c:310:24: note: include '' or provide a declaration of 'malloc' evolution-import.c:310:24: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] evolution-import.c:310:24: note: include '' or provide a declaration of 'malloc' evolution-import.c:328:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 328 | free(temp_key); | ^~~~ evolution-import.c:328:9: note: include '' or provide a declaration of 'free' 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"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:27: evolution-import.o] Error 1 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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:13: 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:13: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ windows-import.c:221:31: warning: '%s' directive argument is null [-Wformat-overflow=] 221 | printf("Couldn't find %s\n", wallpaperloc); | ^~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 [-Wmaybe-uninitialized] 423 | if(ostype == LINUX) | ^ search-items.c:362:9: note: 'ostype' was declared here 362 | int ostype; | ^~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 [-Wmaybe-uninitialized] 126 | href = strstr(string, temp); | ^~~~~~~~~~~~~~~~~~~~ firefox-import.c:116:17: note: 'temp' was declared here 116 | const char* temp; | ^~~~ firefox-import.c: In function 'firefox_import_firefox': firefox-import.c:854:35: warning: '%s' directive argument is null [-Wformat-overflow=] 854 | printf("Couldn't find %s\n", appdata); | ^~ firefox-import.c: In function 'firefox_import_opera': firefox-import.c:924:31: warning: '%s' directive argument is null [-Wformat-overflow=] 924 | printf("Couldn't find %s\n", appdata); | ^~ firefox-import.c: In function 'firefox_import_internetexplorer': firefox-import.c:968:31: warning: '%s' directive argument is null [-Wformat-overflow=] 968 | printf("Couldn't find %s\n", favorites); | ^~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.W8bIiL (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.W8bIiL (%build) I: [iurt_root_command] ERROR: chroot