<86>Oct 10 20:12:07 userdel[81427]: delete user 'rooter' <86>Oct 10 20:12:07 userdel[81427]: removed group 'rooter' owned by 'rooter' <86>Oct 10 20:12:07 groupadd[81458]: group added to /etc/group: name=rooter, GID=609 <86>Oct 10 20:12:07 groupadd[81458]: group added to /etc/gshadow: name=rooter <86>Oct 10 20:12:07 groupadd[81458]: new group: name=rooter, GID=609 <86>Oct 10 20:12:07 useradd[81517]: new user: name=rooter, UID=609, GID=609, home=/root, shell=/bin/bash <86>Oct 10 20:12:07 userdel[81593]: delete user 'builder' <86>Oct 10 20:12:07 userdel[81593]: removed group 'builder' owned by 'builder' <86>Oct 10 20:12:07 userdel[81593]: removed shadow group 'builder' owned by 'builder' <86>Oct 10 20:12:07 groupadd[81630]: group added to /etc/group: name=builder, GID=610 <86>Oct 10 20:12:07 groupadd[81630]: group added to /etc/gshadow: name=builder <86>Oct 10 20:12:07 groupadd[81630]: new group: name=builder, GID=610 <86>Oct 10 20:12:07 useradd[81658]: new user: name=builder, UID=610, GID=610, home=/usr/src, shell=/bin/bash <13>Oct 10 20:12:09 rpmi: liblzo2-2.10-alt1 sisyphus+225108.100.1.1 1552705748 installed <13>Oct 10 20:12:09 rpmi: liblzo2-devel-2.10-alt1 sisyphus+225108.100.1.1 1552705748 installed <13>Oct 10 20:12:09 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Oct 10 20:12:09 rpmi: libuuid-devel-2.33.2-alt1 sisyphus+227076.100.1.1 1555076778 installed <13>Oct 10 20:12:09 rpmi: liblzma-devel-5.2.4-alt1 sisyphus+221902.5700.4.1 1550600683 installed <13>Oct 10 20:12:09 rpmi: libacl-devel-2.2.53-alt1 sisyphus+221902.200.4.1 1550587056 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/mtd-utils-1.5.2-alt1.nosrc.rpm Installing mtd-utils-1.5.2-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.78004 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mtd-utils-1.5.2 + echo 'Source #0 (mtd-utils-1.5.2-alt1.tar):' Source #0 (mtd-utils-1.5.2-alt1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/mtd-utils-1.5.2-alt1.tar + cd mtd-utils-1.5.2 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.78004 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mtd-utils-1.5.2 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CHK include/version.h make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC lib/libcrc32.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC doc_loadbios.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC lib/libmtd_legacy.o lib/libmtd_legacy.c: In function 'legacy_get_dev_info': lib/libmtd_legacy.c:254:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 254 | mtd->major = major(st.st_rdev); | ^~~~~~~~~~~~~~~~~~~~ lib/libmtd_legacy.c:255:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 255 | mtd->minor = minor(st.st_rdev); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ftl_format.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ftl_check.o ftl_check.c: In function 'check_partition': ftl_check.c:97:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 97 | read(fd, &hdr, sizeof(hdr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_erase.o In file included from flash_erase.c:36: flash_erase.c: In function 'main': ./include/common.h:97:2: warning: this statement may fall through [-Wimplicit-fallthrough=] 97 | -1; \ | ^ flash_erase.c:162:3: note: in expansion of macro 'errmsg' 162 | errmsg("no MTD device specified"); | ^~~~~~ flash_erase.c:163:2: note: here 163 | case 1: | ^~~~ In file included from flash_erase.c:36: ./include/common.h:97:2: warning: this statement may fall through [-Wimplicit-fallthrough=] 97 | -1; \ | ^ flash_erase.c:164:3: note: in expansion of macro 'errmsg' 164 | errmsg("no start erase block specified"); | ^~~~~~ flash_erase.c:165:2: note: here 165 | case 2: | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC nanddump.o nanddump.c: In function 'main': nanddump.c:446:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 446 | write(ofd, pretty_buf, strlen(pretty_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanddump.c:449:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 449 | write(ofd, readbuf, bs); | ^~~~~~~~~~~~~~~~~~~~~~~ nanddump.c:469:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 469 | write(ofd, pretty_buf, strlen(pretty_buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanddump.c:472:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 472 | write(ofd, oobbuf, mtd.oob_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nanddump.c: In function 'process_options': nanddump.c:176:15: warning: this statement may fall through [-Wimplicit-fallthrough=] 176 | canonical = true; | ^ nanddump.c:177:4: note: here 177 | case 'p': | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC compr_lzo.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC compr_rtime.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC lib/libfec.o In file included from /usr/include/string.h:507, from lib/libfec.c:47: In function 'memset', inlined from 'invert_mat' at lib/libfec.c:421:5, inlined from 'build_decode_matrix' at lib/libfec.c:817:9, inlined from 'fec_decode' at lib/libfec.c:848:13: /usr/include/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] 71 | return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/string_fortified.h:71:10: warning: '__builtin_memset' specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC compr_zlib.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_otp_dump.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_otp_lock.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_otp_info.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC compr.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC lib/libmtd.o lib/libmtd.c: In function 'dev_node2num': lib/libmtd.c:446:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 446 | mjr = major(st.st_rdev); | ^~~~~~~~~~~~~ lib/libmtd.c:447:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 447 | mnr = minor(st.st_rdev); | ^~~~~~~~~~~~~ lib/libmtd.c: In function 'mtd_get_dev_info1': lib/libmtd.c:749:46: warning: passing argument 3 of 'dev_read_data' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 749 | ret = dev_read_data(lib->mtd_name, mtd_num, &mtd->name, | ^~~~~~~~~~ lib/libmtd.c:182:63: note: expected 'void *' but argument is of type 'const char (*)[128]' 182 | static int dev_read_data(const char *patt, int mtd_num, void *buf, int buf_len) | ~~~~~~^~~ lib/libmtd.c:755:46: warning: passing argument 3 of 'dev_read_data' discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] 755 | ret = dev_read_data(lib->mtd_type, mtd_num, &mtd->type_str, | ^~~~~~~~~~~~~~ lib/libmtd.c:182:63: note: expected 'void *' but argument is of type 'const char (*)[65]' 182 | static int dev_read_data(const char *patt, int mtd_num, void *buf, int buf_len) | ~~~~~~^~~ lib/libmtd.c: In function 'mtd_probe_node': lib/libmtd.c:1395:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 1395 | mjr = major(st.st_rdev); | ^~~~~~~~~~~~~ lib/libmtd.c:1396:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 1396 | mnr = minor(st.st_rdev); | ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_lock.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_unlock.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC rbtree.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flashcp.o flashcp.c: In function 'main': flashcp.c:255:2: warning: #warning "Check for smaller erase regions" [-Wcpp] 255 | #warning "Check for smaller erase regions" | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC nandtest.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC flash_otp_write.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC nandwrite.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mtdpart.o In file included from /usr/include/string.h:507, from mtdpart.c:21: In function 'strncpy', inlined from 'main' at mtdpart.c:178:4: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC docfdisk.o docfdisk.c: In function 'main': docfdisk.c:278:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 278 | fgets(line, sizeof(line), stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC nftl_format.o nftl_format.c: In function 'main': nftl_format.c:380:2: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 380 | pwrite(fd, writebuf[0], 512, MediaUnit1 * meminfo.erasesize + MediaUnitOff1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:382:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 382 | pwrite(fd, BadUnitTable + ezone, 512, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 383 | (MediaUnit1 * meminfo.erasesize) + 512 * (1 + ezone / 512)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:394:2: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 394 | pwrite(fd, writebuf[0], 512, MediaUnit2 * meminfo.erasesize + MediaUnitOff2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:396:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 396 | pwrite(fd, BadUnitTable + ezone, 512, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | (MediaUnit2 * meminfo.erasesize + MediaUnitOff2) + 512 * (1 + ezone / 512)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c: In function 'check_block_2': nftl_format.c:87:3: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 87 | pread(fd, readbuf, 512, ofs + blockofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:94:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 94 | pwrite(fd, writebuf[1], 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:95:3: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 95 | pread(fd, readbuf, 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:108:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 108 | pwrite(fd, writebuf[2], 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:109:3: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 109 | pread(fd, readbuf, 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:121:3: warning: ignoring return value of 'pwrite', declared with attribute warn_unused_result [-Wunused-result] 121 | pwrite(fd, writebuf[3], 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftl_format.c:122:3: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 122 | pread(fd, readbuf, 512, blockofs + ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mtd_debug.o mtd_debug.c: In function 'showinfo': mtd_debug.c:270:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 270 | printf("MTD_UBIVOLUME"); | ^~~~~~~~~~~~~~~~~~~~~~~ mtd_debug.c:271:3: note: here 271 | default: | ^~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC nftldump.o nftldump.c: In function 'dump_virtual_units': nftldump.c:236:6: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 236 | pread(fd, readbuf, 512, | ^~~~~~~~~~~~~~~~~~~~~~~ 237 | (lastgoodEUN * ERASESIZE) + (j * 512)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftldump.c:239:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 239 | write(ofd, readbuf, 512); | ^~~~~~~~~~~~~~~~~~~~~~~~ nftldump.c: In function 'find_media_headers': nftldump.c:76:3: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 76 | pread(fd, &MedHead[NumMedHeads], sizeof(struct NFTLMediaHeader), ofs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nftldump.c:96:6: warning: ignoring return value of 'pread', declared with attribute warn_unused_result [-Wunused-result] 96 | pread(fd, &BadUnitTable[i], 512, ofs + 512 + i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC rfdformat.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC rfddump.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/crc16.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC jffs2reader.o jffs2reader.c: In function 'printdir': jffs2reader.c:349:37: warning: taking address of packed member of 'struct jffs2_raw_inode' may result in an unaligned pointer value [-Waddress-of-packed-member] 349 | filetime = ctime((const time_t *) &(ri->ctime)); | ^~~~~~~~~~~~ jffs2reader.c:358:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 358 | printf("%4d, %3d ", major(rdev), minor(rdev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2reader.c:358:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 358 | printf("%4d, %3d ", major(rdev), minor(rdev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2reader.c: In function 'catfile': jffs2reader.c:853:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 853 | write(1, b, *rsize); | ^~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/lpt.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/compr.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/hashtable/hashtable.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/hashtable/hashtable_itr.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/devtable.o mkfs.ubifs/devtable.c: In function 'interpret_table_entry': mkfs.ubifs/devtable.c:237:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 237 | nh_elt->dev = makedev(major, minor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/devtable.c:240:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 240 | name, major(nh_elt->dev), minor(nh_elt->dev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/devtable.c:240:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . mkfs.ubifs/devtable.c:265:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 265 | nh_elt->dev = makedev(major, minor + (i - start) * increment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/devtable.c:277:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 277 | nm, major(nh_elt->dev), minor(nh_elt->dev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/devtable.c:277:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.jffs2.o mkfs.jffs2.c: In function 'interpret_table_entry': mkfs.jffs2.c:471:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 471 | entry->sb.st_rdev = makedev(major, minor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c:507:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 507 | rdev = makedev(major, minor + (i - start) * increment); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c:514:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 514 | dev_t rdev = makedev(major, minor); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c: In function 'write_special_file': mkfs.jffs2.c:949:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 949 | minor(statbuf->st_rdev)); | ^~~~~~~~~~~~~~~~ mkfs.jffs2.c:949:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 949 | minor(statbuf->st_rdev)); | ^~~~~~~~~~~~~~~~ mkfs.jffs2.c: In function 'recursive_populate_directory': mkfs.jffs2.c:1268:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 1268 | e->sb.st_mode & ~S_IFMT, major(e->sb.st_rdev), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c:1269:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 1269 | minor(e->sb.st_rdev), (int) e->sb.st_uid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c:1278:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 1278 | e->sb.st_mode & ~S_IFMT, major(e->sb.st_rdev), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.jffs2.c:1279:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 1279 | minor(e->sb.st_rdev), (int) e->sb.st_uid, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC recv_image.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubiutils-common.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubimkvol.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubiupdatevol.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubirmvol.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubicrc32.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubiattach.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC serve_image.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubinfo.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/libubigen.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/libubi.o ubi-utils/libubi.c: In function 'vol_node2nums': ubi-utils/libubi.c:383:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 383 | major = major(st.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c:384:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 384 | minor = minor(st.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c: In function 'dev_node2num': ubi-utils/libubi.c:452:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 452 | major = major(st.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c:453:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 453 | minor = minor(st.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c: In function 'mtd_node_to_num': ubi-utils/libubi.c:741:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 741 | major = major(sb.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c:742:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 742 | minor = minor(sb.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c: In function 'ubi_probe_node': ubi-utils/libubi.c:881:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 881 | major = major(st.st_rdev); | ^~~~~~~~~~~~~~~ ubi-utils/libubi.c:882:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 882 | minor = minor(st.st_rdev); | ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/dictionary.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/libiniparser.o ubi-utils/libiniparser.c: In function 'iniparser_load': ubi-utils/libiniparser.c:600:30: warning: '%s' directive writing up to 1024 bytes into a region of size between 0 and 1024 [-Wformat-overflow=] 600 | sprintf(tmp, "%s:%s", section, key); | ^~ ~~~ In file included from /usr/include/stdio.h:862, from ./ubi-utils/include/libiniparser.h:24, from ubi-utils/libiniparser.c:18: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 2050 bytes into a destination of size 1025 33 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 34 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubinize.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubiformat.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubidetach.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/mtdinfo.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' AR lib/libmtd.a make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' AR ubi-utils/libubi.a make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' AR ubi-utils/libubigen.a make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' AR ubi-utils/libiniparser.a make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/mtdinfo make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ftl_format make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_erase make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD nanddump make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD doc_loadbios make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubirename.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ftl_check make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD mkfs.jffs2 make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_lock make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_unlock make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_otp_info make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubiblock.o ubi-utils/ubiblock.c: In function 'parse_opt': ubi-utils/ubiblock.c:76:16: warning: this statement may fall through [-Wimplicit-fallthrough=] 76 | args.create = 1; | ~~~~~~~~~~~~^~~ ubi-utils/ubiblock.c:77:3: note: here 77 | case 'r': | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_otp_lock make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_otp_write make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD mtd_debug make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flash_otp_dump make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD nandwrite make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/ubirsvol.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD mtdpart make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC ubi-utils/libscan.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD nftl_format make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD flashcp make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD nftldump make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD serve_image make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD nandtest make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD rfddump make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD rfdformat make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD docfdisk make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD jffs2reader make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD recv_image make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubirmvol make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubicrc32 make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubiupdatevol make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubimkvol make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' AR ubi-utils/libscan.a make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubidetach make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubinfo make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubirsvol make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubirename make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubiattach make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC jffs2dump.o jffs2dump.c: In function 'do_endianconvert': jffs2dump.c:506:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 506 | write (fd, p, 4); | ^~~~~~~~~~~~~~~~ jffs2dump.c:515:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 515 | write (fd, &newnode, 4); | ^~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:558:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 558 | write (fd, &newnode, sizeof (struct jffs2_raw_inode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:559:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 559 | write (fd, p + sizeof (struct jffs2_raw_inode), PAD (je32_to_cpu (node->i.totlen) - sizeof (struct jffs2_raw_inode))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:583:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 583 | write (fd, &newnode, sizeof (struct jffs2_raw_dirent)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:584:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 584 | write (fd, p + sizeof (struct jffs2_raw_dirent), PAD (je32_to_cpu (node->d.totlen) - sizeof (struct jffs2_raw_dirent))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:604:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 604 | write (fd, &newnode, sizeof (struct jffs2_raw_xattr)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:605:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 605 | write (fd, p + sizeof (struct jffs2_raw_xattr), PAD (je32_to_cpu (node->d.totlen) - sizeof (struct jffs2_raw_xattr))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:628:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 628 | write (fd, &newnode, sizeof (struct jffs2_unknown_node)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:631:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 631 | write (fd, p + sizeof (struct jffs2_unknown_node), len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:724:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 724 | write(fd, &newnode, sizeof (struct jffs2_raw_summary)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:726:14: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 726 | write(fd, &node->s.sum, sum_len + sizeof (struct jffs2_sum_marker)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:732:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] 732 | write (fd, p, 4); | ^~~~~~~~~~~~~~~~ jffs2dump.c: In function 'main': jffs2dump.c:780:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 780 | read (fd, &data[idx], datsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:781:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 781 | read (fd, oob, oobsize); | ^~~~~~~~~~~~~~~~~~~~~~~ jffs2dump.c:789:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 789 | read (fd, data, imglen); | ^~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubinize make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC sumtool.o make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubiblock make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD ubi-utils/ubiformat make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD jffs2dump make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD sumtool make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CC mkfs.ubifs/mkfs.ubifs.o mkfs.ubifs/mkfs.ubifs.c: In function 'add_dev_inode': mkfs.ubifs/mkfs.ubifs.c:1292:13: warning: In the GNU C Library, "major" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "major", include directly. If you did not intend to use a system-defined macro "major", you should undefine it after including . 1292 | dev.huge = cpu_to_le64(makedev(major(st->st_rdev), minor(st->st_rdev))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/mkfs.ubifs.c:1292:13: warning: In the GNU C Library, "minor" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "minor", include directly. If you did not intend to use a system-defined macro "minor", you should undefine it after including . 1292 | dev.huge = cpu_to_le64(makedev(major(st->st_rdev), minor(st->st_rdev))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkfs.ubifs/mkfs.ubifs.c:1292:13: warning: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . 1292 | dev.huge = cpu_to_le64(makedev(major(st->st_rdev), minor(st->st_rdev))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' LD mkfs.ubifs/mkfs.ubifs make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.68456 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/mtd-utils-buildroot + : + /bin/rm -rf -- /usr/src/tmp/mtd-utils-buildroot + cd mtd-utils-1.5.2 + make DESTDIR=/usr/src/tmp/mtd-utils-buildroot install make: Entering directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' CHK include/version.h mkdir -p /usr/src/tmp/mtd-utils-buildroot//usr/sbin install -m 0755 /usr/src/RPM/BUILD/mtd-utils-1.5.2/ftl_format /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_erase /usr/src/RPM/BUILD/mtd-utils-1.5.2/nanddump /usr/src/RPM/BUILD/mtd-utils-1.5.2/doc_loadbios /usr/src/RPM/BUILD/mtd-utils-1.5.2/ftl_check /usr/src/RPM/BUILD/mtd-utils-1.5.2/mkfs.jffs2 /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_lock /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_unlock /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_otp_info /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_otp_dump /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_otp_lock /usr/src/RPM/BUILD/mtd-utils-1.5.2/flash_otp_write /usr/src/RPM/BUILD/mtd-utils-1.5.2/mtd_debug /usr/src/RPM/BUILD/mtd-utils-1.5.2/flashcp /usr/src/RPM/BUILD/mtd-utils-1.5.2/nandwrite /usr/src/RPM/BUILD/mtd-utils-1.5.2/nandtest /usr/src/RPM/BUILD/mtd-utils-1.5.2/mtdpart /usr/src/RPM/BUILD/mtd-utils-1.5.2/jffs2dump /usr/src/RPM/BUILD/mtd-utils-1.5.2/nftldump /usr/src/RPM/BUILD/mtd-utils-1.5.2/nftl_format /usr/src/RPM/BUILD/mtd-utils-1.5.2/docfdisk /usr/src/RPM/BUILD/mtd-utils-1.5.2/rfddump /usr/src/RPM/BUILD/mtd-utils-1.5.2/rfdformat /usr/src/RPM/BUILD/mtd-utils-1.5.2/serve_image /usr/src/RPM/BUILD/mtd-utils-1.5.2/recv_image /usr/src/RPM/BUILD/mtd-utils-1.5.2/sumtool /usr/src/RPM/BUILD/mtd-utils-1.5.2/jffs2reader /usr/src/RPM/BUILD/mtd-utils-1.5.2/mkfs.ubifs/mkfs.ubifs /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubiupdatevol /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubimkvol /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubirmvol /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubicrc32 /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubinfo /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubiattach /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubidetach /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubinize /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubiformat /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubirename /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/mtdinfo /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubirsvol /usr/src/RPM/BUILD/mtd-utils-1.5.2/ubi-utils/ubiblock flash_eraseall /usr/src/tmp/mtd-utils-buildroot//usr/sbin/ mkdir -p /usr/src/tmp/mtd-utils-buildroot//usr/share/man/man1 install -m 0644 mkfs.jffs2.1 /usr/src/tmp/mtd-utils-buildroot//usr/share/man/man1/ gzip -9f /usr/src/tmp/mtd-utils-buildroot//usr/share/man/man1/*.1 make: Leaving directory '/usr/src/RPM/BUILD/mtd-utils-1.5.2' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/mtd-utils-buildroot (auto) Verifying and fixing files in /usr/src/tmp/mtd-utils-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/mtd-utils-buildroot/ (default) Compressing files in /usr/src/tmp/mtd-utils-buildroot (auto) Verifying ELF objects in /usr/src/tmp/mtd-utils-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: mtd-utils-1.5.2-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.46175 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mtd-utils-1.5.2 + DOCDIR=/usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + export DOCDIR + rm -rf /usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + /bin/mkdir -p /usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + cp -prL COPYING /usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + chmod -R go-w /usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + chmod -R a+rX /usr/src/tmp/mtd-utils-buildroot/usr/share/doc/mtd-utils-1.5.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.sC1Bz4 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.3HPaim find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: mtd Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libc.so.6(GLIBC_2.8)(64bit), liblzma.so.5()(64bit) >= set:kiIUyRge, liblzma.so.5(XZ_5.0)(64bit), liblzo2.so.2()(64bit) >= set:ki7A6jt4, libuuid.so.1()(64bit) >= set:igirN67, libuuid.so.1(UUID_1.0)(64bit), libz.so.1()(64bit) >= set:kgb6dgbC5nHRipASzwauXf1, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Obsoletes: mtd Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QrVV2O Creating mtd-utils-debuginfo package Processing files: mtd-utils-debuginfo-1.5.2-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Rahp4k find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.mtFZbU find-requires: running scripts (debuginfo) Requires: mtd-utils = 1.5.2-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(liblzma.so.5), debug64(liblzo2.so.2), debug64(libuuid.so.1), debug64(libz.so.1) Wrote: /usr/src/RPM/RPMS/x86_64/mtd-utils-1.5.2-alt1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mtd-utils-debuginfo-1.5.2-alt1.x86_64.rpm 16.59user 4.51system 0:19.77elapsed 106%CPU (0avgtext+0avgdata 47784maxresident)k 0inputs+0outputs (0major+2335183minor)pagefaults 0swaps 19.84user 6.57system 0:26.27elapsed 100%CPU (0avgtext+0avgdata 112944maxresident)k 120inputs+0outputs (0major+2627715minor)pagefaults 0swaps --- mtd-utils-1.5.2-alt1.x86_64.rpm.repo 2015-12-28 19:05:54.000000000 +0000 +++ mtd-utils-1.5.2-alt1.x86_64.rpm.hasher 2019-10-10 20:12:32.145780345 +0000 @@ -56,4 +56,4 @@ Requires: rpmlib(SetVersions) +Requires: liblzma.so.5(XZ_5.0)(64bit) Requires: liblzo2.so.2()(64bit) >= set:ki7A6jt4 -Requires: libm.so.6(GLIBC_2.2.5)(64bit) Requires: libuuid.so.1()(64bit) >= set:igirN67 --- mtd-utils-debuginfo-1.5.2-alt1.x86_64.rpm.repo 2015-12-28 19:05:54.000000000 +0000 +++ mtd-utils-debuginfo-1.5.2-alt1.x86_64.rpm.hasher 2019-10-10 20:12:32.172780345 +0000 @@ -152,3 +152,2 @@ Requires: debug64(liblzo2.so.2) -Requires: debug64(libm.so.6) Requires: debug64(libuuid.so.1)