From https://github.com/archlinux/svntogit-community * branch packages/libwlocate -> FETCH_HEAD * [new branch] packages/libwlocate -> community/packages/libwlocate Cloning into 'libwlocate'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131k 100 131k 0 0 390k 0 --:--:-- --:--:-- --:--:-- 390k 100 131k 100 131k 0 0 390k 0 --:--:-- --:--:-- --:--:-- 390k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 4 8541k 4 363k 0 0 362k 0 0:00:23 0:00:01 0:00:22 362k 40 8541k 40 3452k 0 0 1722k 0 0:00:04 0:00:02 0:00:02 1722k 98 8541k 98 8406k 0 0 2796k 0 0:00:03 0:00:03 --:--:-- 2796k 100 8541k 100 8541k 0 0 2838k 0 0:00:03 0:00:03 --:--:-- 2838k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 834k 0 --:--:-- --:--:-- --:--:-- 836k :: Starting full system upgrade... there is nothing to do ==> Making package: libwlocate 1:0.1-3 (Tue Aug 27 15:10:48 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) wireless_tools-30.pre9-3 Total Download Size: 0.12 MiB Total Installed Size: 0.34 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 127k 100 127k 0 0 6121k 0 --:--:-- --:--:-- --:--:-- 6385k checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing wireless_tools... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading libwlocate-0.1.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 578k 0 578k 0 0 2583k 0 --:--:-- --:--:-- --:--:-- 2583k ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... libwlocate-0.1.tar.gz ... Passed ==> Extracting sources... -> Extracting libwlocate-0.1.tar.gz with bsdtar ==> Starting build()... gcc -Wall -fPIC -shared -Wno-unused -O2 -g0 -DNDEBUG -D_REENTRANT -DENV_LINUX -I. -I.. -c connect.c -o connect.o gcc -Wall -fPIC -shared -Wno-unused -O2 -g0 -DNDEBUG -D_REENTRANT -DENV_LINUX -I. -I.. -c wlan.c -o wlan.o gcc -Wall -fPIC -shared -Wno-unused -O2 -g0 -DNDEBUG -D_REENTRANT -DENV_LINUX -I. -I.. -c libwlocate.c -o libwlocate.o gcc -Wall -fPIC -shared -Wno-unused -O2 -g0 -DNDEBUG -D_REENTRANT -DENV_LINUX -I. -I.. -c iwlist.c -o iwlist.o libwlocate.c: In function 'get_position': libwlocate.c:64:128: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 64 | "POST /getpos.php HTTP/1.0\r\nHost: %s\r\nContent-type: application/x-www-form-urlencoded, *.*\r\nContent-length: %d\r\n\r\n", | ~^ | | | int | %ld 65 | domain,strlen(data)); | ~~~~~~~~~~~~ | | | size_t {aka long unsigned int} libwlocate.c:103:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 103 | if (pos); | ^~ libwlocate.c:104:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 104 | { | ^ libwlocate.c:110:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 110 | if (pos); | ^~ libwlocate.c:111:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 111 | { | ^ libwlocate.c:117:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 117 | if (pos); | ^~ libwlocate.c:118:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 118 | { | ^ libwlocate.c: In function 'wloc_get_country_from_code': libwlocate.c:202:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 202 | strncpy(country,"DE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:205:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 205 | strncpy(country,"AT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:208:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 208 | strncpy(country,"CH",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:211:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 211 | strncpy(country,"NL",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:214:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 214 | strncpy(country,"BE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:217:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 217 | strncpy(country,"LU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:220:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 220 | strncpy(country,"NO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:223:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 223 | strncpy(country,"SE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:226:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 226 | strncpy(country,"DK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:229:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 229 | strncpy(country,"AF",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:232:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 232 | strncpy(country,"AL",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:235:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 235 | strncpy(country,"DZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:238:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 238 | strncpy(country,"AN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:241:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 241 | strncpy(country,"AG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:244:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 244 | strncpy(country,"AR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:247:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 247 | strncpy(country,"AM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:250:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 250 | strncpy(country,"AU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:253:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 253 | strncpy(country,"BS",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:256:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 256 | strncpy(country,"BH",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:259:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 259 | strncpy(country,"BD",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:262:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 262 | strncpy(country,"BB",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:265:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 265 | strncpy(country,"BY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:268:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 268 | strncpy(country,"BZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:271:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 271 | strncpy(country,"BJ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:274:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 274 | strncpy(country,"BM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:277:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 277 | strncpy(country,"BO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:280:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 280 | strncpy(country,"BA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:283:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 283 | strncpy(country,"BR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:286:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 286 | strncpy(country,"BN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:289:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 289 | strncpy(country,"BG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:292:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 292 | strncpy(country,"CA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:295:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 295 | strncpy(country,"CV",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:298:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 298 | strncpy(country,"CL",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:301:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 301 | strncpy(country,"CN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:304:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 304 | strncpy(country,"CO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:307:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 307 | strncpy(country,"CR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:310:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 310 | strncpy(country,"HR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:313:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 313 | strncpy(country,"CY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:316:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 316 | strncpy(country,"CZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:319:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 319 | strncpy(country,"DO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:322:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 322 | strncpy(country,"EC",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:325:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 325 | strncpy(country,"EG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:328:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 328 | strncpy(country,"ET",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:331:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 331 | strncpy(country,"FI",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:334:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 334 | strncpy(country,"FR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:337:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 337 | strncpy(country,"GH",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:340:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 340 | strncpy(country,"GR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:343:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 343 | strncpy(country,"GL",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:346:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 346 | strncpy(country,"GD",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:349:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 349 | strncpy(country,"GU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:352:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 352 | strncpy(country,"GT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:355:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 355 | strncpy(country,"HT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:358:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 358 | strncpy(country,"HN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:361:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 361 | strncpy(country,"HK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:364:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 364 | strncpy(country,"HU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:367:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 367 | strncpy(country,"IS",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:370:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 370 | strncpy(country,"IN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:373:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 373 | strncpy(country,"ID",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:376:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 376 | strncpy(country,"IR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:379:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 379 | strncpy(country,"IQ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:382:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 382 | strncpy(country,"IE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:385:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 385 | strncpy(country,"IT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:388:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 388 | strncpy(country,"JM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:391:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 391 | strncpy(country,"JP",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:394:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 394 | strncpy(country,"JO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:397:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 397 | strncpy(country,"KZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:400:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 400 | strncpy(country,"KE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:403:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 403 | strncpy(country,"KR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:406:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 406 | strncpy(country,"KW",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:409:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 409 | strncpy(country,"KG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:412:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 412 | strncpy(country,"LA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:415:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 415 | strncpy(country,"LV",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:418:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 418 | strncpy(country,"LB",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:421:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 421 | strncpy(country,"LS",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:424:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 424 | strncpy(country,"LT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:427:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 427 | strncpy(country,"MY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:430:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 430 | strncpy(country,"MV",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:433:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 433 | strncpy(country,"MT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:436:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 436 | strncpy(country,"MQ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:439:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 439 | strncpy(country,"MU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:442:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 442 | strncpy(country,"MX",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:445:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 445 | strncpy(country,"MC",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:448:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 448 | strncpy(country,"MN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:451:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 451 | strncpy(country,"MA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:454:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 454 | strncpy(country,"MZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:457:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 457 | strncpy(country,"NZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:460:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 460 | strncpy(country,"NI",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:463:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 463 | strncpy(country,"NG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:466:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 466 | strncpy(country,"OM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:469:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 469 | strncpy(country,"PK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:472:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 472 | strncpy(country,"PA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:475:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 475 | strncpy(country,"PY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:478:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 478 | strncpy(country,"PE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:481:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 481 | strncpy(country,"PH",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:484:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 484 | strncpy(country,"PL",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:487:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 487 | strncpy(country,"PT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:490:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 490 | strncpy(country,"PR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:493:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 493 | strncpy(country,"QA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:496:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 496 | strncpy(country,"RO",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:499:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 499 | strncpy(country,"RU",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:502:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 502 | strncpy(country,"SM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:505:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 505 | strncpy(country,"SA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:508:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 508 | strncpy(country,"SN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:511:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 511 | strncpy(country,"SG",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:514:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 514 | strncpy(country,"SK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:517:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 517 | strncpy(country,"SI",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:520:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 520 | strncpy(country,"ZA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:523:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 523 | strncpy(country,"ES",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:526:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 526 | strncpy(country,"LK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:529:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 529 | strncpy(country,"SD",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:532:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 532 | strncpy(country,"SR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:535:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 535 | strncpy(country,"SY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:538:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 538 | strncpy(country,"TW",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:541:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 541 | strncpy(country,"TJ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:544:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 544 | strncpy(country,"TZ",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:547:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 547 | strncpy(country,"TH",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:550:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 550 | strncpy(country,"TT",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:553:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 553 | strncpy(country,"TN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:556:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 556 | strncpy(country,"TR",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:559:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 559 | strncpy(country,"TM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:562:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 562 | strncpy(country,"UA",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:565:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 565 | strncpy(country,"AE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:568:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 568 | strncpy(country,"UK",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:571:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 571 | strncpy(country,"US",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:574:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 574 | strncpy(country,"UY",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:577:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 577 | strncpy(country,"VE",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:580:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 580 | strncpy(country,"VN",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:583:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 583 | strncpy(country,"ZM",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:586:10: warning: 'strncpy' output truncated before terminating nul copying 2 bytes from a string of the same length [-Wstringop-truncation] 586 | strncpy(country,"ZW",2); | ^~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c: In function 'get_position': libwlocate.c:83:33: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 83 | snprintf(data,500,"%s%s",data,head); | ^ libwlocate.c:83:10: note: 'snprintf' output 1 or more bytes (assuming 501) into a destination of size 500 83 | snprintf(data,500,"%s%s",data,head); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libwlocate.c:83:10: warning: 'snprintf' argument 4 overlaps destination object 'data' [-Wrestrict] libwlocate.c:40:20: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 40 | char data[500+1]; | ^~~~ gcc -shared -Wl,--no-as-needed -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o libwlocate.so connect.o wlan.o libwlocate.o iwlist.o -lm -liw gcc -Wall -O2 -g0 -DNDEBUG -DENV_LINUX -D_REENTRANT -DNDEBUG -L/usr/lib -L/usr/local/lib/ -I. -c -o trace.o trace.c gcc -Wall -O2 -g0 -DNDEBUG -DENV_LINUX -D_REENTRANT -DNDEBUG -L/usr/lib -L/usr/local/lib/ -I. -o lwtrace trace.o -L. -lwlocate -lm strip lwtrace ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "libwlocate"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: libwlocate 1:0.1-3 (Tue Aug 27 15:10:52 2024)