:: Synchronizing package databases... core is up to date extra is up to date community is up to date :: Starting full system upgrade... there is nothing to do ==> Building in chroot for [extra] (x86_64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [erich]...done ==> Making package: jfsutils 1.1.15-5 (Wed Sep 26 13:45:59 2018) ==> Retrieving sources... -> Downloading jfsutils-1.1.15.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 526k 100 526k 0 0 466k 0 0:00:01 0:00:01 --:--:-- 466k -> Found inttypes.patch ==> Validating source files with sha256sums... jfsutils-1.1.15.tar.gz ... Passed inttypes.patch ... Passed ==> Appending keys from archlinux.gpg... gpg: Warning: using insecure memory! ==> Locally signing trusted keys in keyring... -> Locally signing key DDB867B92AA789C165EEFA799B729B06A680C281... -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8... -> Locally signing key 91FFE0700E80619CEB73235CA88E23E377514E00... -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7... -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2... ==> Importing owner trust values... gpg: Warning: using insecure memory! ==> Disabling revoked keys in keyring... -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55... -> Disabling key D4DE5ABDE2A7287644EAC7E36D1A9E70E19DAA50... -> Disabling key 40440DC037C05620984379A6761FAD69BA06C6A9... -> Disabling key B1F2C889CB2CCB2ADA36D963097D629E437520BD... -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350... -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992... -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366... -> Disabling key 4FCF887689C41B09506BE8D5F3E1D5C5D30DB0AD... -> Disabling key FB871F0131FEA4FB5A9192B4C8880A6406361833... -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477... -> Disabling key 5E7585ADFF106BFFBBA319DC654B877A0864983E... -> Disabling key 50F33E2E5B0C3D900424ABE89BDCF497A4BBCC7F... -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84... -> Disabling key F5A361A3A13554B85E57DDDAAF7EF7873CFD4BB6... -> Disabling key 40776A5221EF5AD468A4906D42A1DB15EC133BAD... -> Disabling key 8CF934E339CAD8ABF342E822E711306E3C4F88BC... -> Disabling key 5696C003B0854206450C8E5BE613C09CB4440678... -> Disabling key 9515D8A8EAB88E49BB65EDBCE6B456CAF15447D5... -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2... -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196... -> Disabling key 34C5D94FE7E7913E86DC427E7FB1A3800C84C0A5... -> Disabling key 39F880E50E49A4D11341E8F939E4F17F295AFBF4... -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D... -> Disabling key DBE7D3DD8C81D58D0A13D0E76BC26A17B9B7018A... -> Disabling key 07DFD3A0BC213FA12EDC217559B3122E2FA915EC... -> Disabling key 44D4A033AC140143927397D47EFD567D4C7EA887... -> Disabling key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0... -> Disabling key 8840BD07FC24CB7CE394A07CCF7037A4F27FB7DA... ==> Updating trust database... gpg: Warning: using insecure memory! gpg: next trustdb check due at 2018-10-19 ==> Making package: jfsutils 1.1.15-5 (Wed 26 Sep 2018 01:46:04 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found jfsutils-1.1.15.tar.gz -> Found inttypes.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting jfsutils-1.1.15.tar.gz with bsdtar ==> Starting prepare()... patching file libfs/devices.h ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ln... /usr/bin/ln checking whether ln -s works... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for unistd.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_rdev... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking for getcwd... yes checking for getmntinfo... no checking for strtol... yes checking for strtoul... yes checking for posix_memalign... yes checking for memalign... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no configure: creating ./config.status config.status: creating Makefile config.status: creating libfs/Makefile config.status: creating include/Makefile config.status: creating fsck/Makefile config.status: creating fscklog/Makefile config.status: creating logdump/Makefile config.status: creating mkfs/Makefile config.status: creating tune/Makefile config.status: creating xpeek/Makefile config.status: creating jfsutils.spec config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/build/jfsutils/src/jfsutils-1.1.15' Making all in libfs make[2]: Entering directory '/build/jfsutils/src/jfsutils-1.1.15/libfs' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fssubs.o -MD -MP -MF .deps/fssubs.Tpo -c -o fssubs.o fssubs.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT unicode_to_utf8.o -MD -MP -MF .deps/unicode_to_utf8.Tpo -c -o unicode_to_utf8.o unicode_to_utf8.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT devices.o -MD -MP -MF .deps/devices.Tpo -c -o devices.o devices.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT utilsubs.o -MD -MP -MF .deps/utilsubs.Tpo -c -o utilsubs.o utilsubs.c utilsubs.c: In function ‘prompt’: devices.c: In function ‘ujfs_rw_diskblocks’: devices.c:441:58: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 6 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] "ujfs_rw_diskblocks: %s %zd of %d bytes at offset %lld\n", ~~~^ %ld devices.c:443:36: Bytes_Transferred, disk_count, disk_offset); ~~~~~~~~~~~ devices.c: In function ‘ujfs_flush_dev’: devices.c:469:6: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] if (major(buf.st_rdev) != RAMDISK_MAJOR) ^~~~~ utilsubs.c:60:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(cmd, 81, stdin); ^~~~~~~~~~~~~~~~~~~~~ utilsubs.c: In function ‘more’: utilsubs.c:76:2: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(cmd, 80, stdin); ^~~~~~~~~~~~~~~~~~~~~ mv -f .deps/utilsubs.Tpo .deps/utilsubs.Po mv -f .deps/fssubs.Tpo .deps/fssubs.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT super.o -MD -MP -MF .deps/super.Tpo -c -o super.o super.c mv -f .deps/unicode_to_utf8.Tpo .deps/unicode_to_utf8.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT inode.o -MD -MP -MF .deps/inode.Tpo -c -o inode.o inode.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT diskmap.o -MD -MP -MF .deps/diskmap.Tpo -c -o diskmap.o diskmap.c mv -f .deps/devices.Tpo .deps/devices.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT message.o -MD -MP -MF .deps/message.Tpo -c -o message.o message.c mv -f .deps/inode.Tpo .deps/inode.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT uniupr.o -MD -MP -MF .deps/uniupr.Tpo -c -o uniupr.o uniupr.c mv -f .deps/diskmap.Tpo .deps/diskmap.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT jfs_endian.o -MD -MP -MF .deps/jfs_endian.Tpo -c -o jfs_endian.o jfs_endian.c mv -f .deps/super.Tpo .deps/super.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT open_by_label.o -MD -MP -MF .deps/open_by_label.Tpo -c -o open_by_label.o open_by_label.c mv -f .deps/uniupr.Tpo .deps/uniupr.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT log_dump.o -MD -MP -MF .deps/log_dump.Tpo -c -o log_dump.o log_dump.c mv -f .deps/jfs_endian.Tpo .deps/jfs_endian.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT logform.o -MD -MP -MF .deps/logform.Tpo -c -o logform.o logform.c log_dump.c: In function ‘jfs_logdump’: log_dump.c:333:37: warning: pointer targets in passing argument 3 of ‘logRead’ differ in signedness [-Wpointer-sign] nextaddr = logRead(logaddr, &ld, afterdata); ^~~~~~~~~ log_dump.c:167:12: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} extern int logRead(int32_t, struct lrd *, char *); ^~~~~~~ log_dump.c: In function ‘ldmp_xdump’: log_dump.c:652:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] i = (int) saddr % 4; ^ open_by_label.c: In function ‘open_check_label’: open_by_label.c:72:18: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (!strncmp(uuid, logsup.label, 16)) ^~~~ In file included from open_by_label.c:21: /usr/include/string.h:139:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ mv -f .deps/message.Tpo .deps/message.Po open_by_label.c:84:18: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness [-Wpointer-sign] if (!strncmp(uuid, super.s_label, 16)) ^~~~ In file included from open_by_label.c:21: /usr/include/string.h:139:12: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT logredo.o -MD -MP -MF .deps/logredo.Tpo -c -o logredo.o logredo.c open_by_label.c: In function ‘open_by_label’: open_by_label.c:276:39: warning: ‘%s’ directive writing up to 255 bytes into a region of size 86 [-Wformat-overflow=] sprintf(lv_dirname, "/proc/lvm/VGs/%s/LVs", vg_ent->d_name); ^~ In file included from /usr/include/stdio.h:873, from open_by_label.c:20: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 19 and 274 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ open_by_label.c:284:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 95 [-Wformat-overflow=] sprintf(device, "/dev/%s/%s", vg_ent->d_name, lv_ent->d_name); ^~ In file included from /usr/include/stdio.h:873, from open_by_label.c:20: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 517 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logredo.c: In function ‘jfs_logredo’: logredo.c:617:36: warning: pointer targets in passing argument 3 of ‘logRead’ differ in signedness [-Wpointer-sign] nextaddr = logRead(logaddr, &ld, afterdata); ^~~~~~~~~ logredo.c:173:12: note: expected ‘char *’ but argument is of type ‘uint8_t *’ {aka ‘unsigned char *’} extern int logRead(int32_t, struct lrd *, char *); ^~~~~~~ mv -f .deps/open_by_label.Tpo .deps/open_by_label.Po mv -f .deps/logform.Tpo .deps/logform.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT log_work.o -MD -MP -MF .deps/log_work.Tpo -c -o log_work.o log_work.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT log_read.o -MD -MP -MF .deps/log_read.Tpo -c -o log_read.o log_read.c mv -f .deps/log_dump.Tpo .deps/log_dump.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT log_map.o -MD -MP -MF .deps/log_map.Tpo -c -o log_map.o log_map.c mv -f .deps/log_read.Tpo .deps/log_read.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckmsgdef.o -MD -MP -MF .deps/fsckmsgdef.Tpo -c -o fsckmsgdef.o fsckmsgdef.c mv -f .deps/fsckmsgdef.Tpo .deps/fsckmsgdef.Po mv -f .deps/logredo.Tpo .deps/logredo.Po mv -f .deps/log_map.Tpo .deps/log_map.Po mv -f .deps/log_work.Tpo .deps/log_work.Po rm -f libfs.a ar cru libfs.a fssubs.o unicode_to_utf8.o devices.o utilsubs.o super.o inode.o diskmap.o message.o uniupr.o jfs_endian.o open_by_label.o log_dump.o logform.o logredo.o log_work.o log_read.o log_map.o fsckmsgdef.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libfs.a make[2]: Leaving directory '/build/jfsutils/src/jfsutils-1.1.15/libfs' Making all in include make[2]: Entering directory '/build/jfsutils/src/jfsutils-1.1.15/include' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/jfsutils/src/jfsutils-1.1.15/include' Making all in fsck make[2]: Entering directory '/build/jfsutils/src/jfsutils-1.1.15/fsck' gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckbmap.o -MD -MP -MF .deps/fsckbmap.Tpo -c -o fsckbmap.o fsckbmap.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckconn.o -MD -MP -MF .deps/fsckconn.Tpo -c -o fsckconn.o fsckconn.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckdire.o -MD -MP -MF .deps/fsckdire.Tpo -c -o fsckdire.o fsckdire.c gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckdtre.o -MD -MP -MF .deps/fsckdtre.Tpo -c -o fsckdtre.o fsckdtre.c fsckbmap.c: In function ‘dmap_pwmap_rebuild’: fsckbmap.c:391:22: warning: pointer targets in passing argument 1 of ‘ujfs_maxbuddy’ differ in signedness [-Wpointer-sign] ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsckbmap.c:22: ../libfs/diskmap.h:25:8: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int8_t ujfs_maxbuddy(unsigned char *); ^~~~~~~~~~~~~ fsckbmap.c: In function ‘dmap_pmap_verify’: fsckbmap.c:478:29: warning: pointer targets in passing argument 1 of ‘ujfs_maxbuddy’ differ in signedness [-Wpointer-sign] max_buddy = ujfs_maxbuddy((char *) &(wsp_bits[map_wordidx])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fsckbmap.c:22: ../libfs/diskmap.h:25:8: note: expected ‘unsigned char *’ but argument is of type ‘char *’ int8_t ujfs_maxbuddy(unsigned char *); ^~~~~~~~~~~~~ fsckdtre.c: In function ‘dTree_key_extract_cautiously’: fsckdtre.c:1641:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned short) NULL) { ^ fsckdtre.c: In function ‘dTree_key_extract_record’: fsckdtre.c:1777:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (unsigned short) NULL) { ^ fsckdire.c: In function ‘dtSplitPage’: fsckdire.c:940:8: warning: pointer targets in assignment from ‘int8_t *’ {aka ‘signed char *’} to ‘uint8_t *’ {aka ‘unsigned char *’} differ in signedness [-Wpointer-sign] stbl = DT_GETSTBL(rp); ^ fsckdtre.c: In function ‘reconnect_fs_inodes’: fsckdtre.c:3917:14: warning: pointer targets in passing argument 2 of ‘UTF8_String_To_Unicode_String’ differ in signedness [-Wpointer-sign] ino_name, ^~~~~~~~ In file included from fsckdtre.c:30: ../libfs/unicode_to_utf8.h:18:5: note: expected ‘const uint8_t *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ int UTF8_String_To_Unicode_String(uint16_t * pwcs, const uint8_t * s, int maxLen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/fsckconn.Tpo .deps/fsckconn.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckea.o -MD -MP -MF .deps/fsckea.Tpo -c -o fsckea.o fsckea.c mv -f .deps/fsckea.Tpo .deps/fsckea.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckimap.o -MD -MP -MF .deps/fsckimap.Tpo -c -o fsckimap.o fsckimap.c fsckimap.c: In function ‘AIS_redundancy_check’: fsckimap.c:1001:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] tree_offset = (int32_t) &(((struct dinode *)0)->di_btroot); ^ mv -f .deps/fsckbmap.Tpo .deps/fsckbmap.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckino.o -MD -MP -MF .deps/fsckino.Tpo -c -o fsckino.o fsckino.c fsckino.c: In function ‘validate_record_fileset_inode’: fsckino.c:1844:6: warning: variable ‘intermed_rc’ set but not used [-Wunused-but-set-variable] int intermed_rc = FSCK_OK; ^~~~~~~~~~~ mv -f .deps/fsckdire.Tpo .deps/fsckdire.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckmeta.o -MD -MP -MF .deps/fsckmeta.Tpo -c -o fsckmeta.o fsckmeta.c fsckdtre.c:3911:25: warning: ‘%s’ directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] sprintf(ino_name, "%s%06d%s", ^~ msg_defs[fsck_inopfx].msg_txt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3911:24: note: using the range [-2147483648, 2147483647] for directive argument sprintf(ino_name, "%s%06d%s", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 610 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3906:25: warning: ‘%s’ directive writing up to 299 bytes into a region of size 16 [-Wformat-overflow=] sprintf(ino_name, "%s%06d%s", ^~ msg_defs[fsck_dirpfx].msg_txt, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fsckdtre.c:3906:24: note: using the range [-2147483648, 2147483647] for directive argument sprintf(ino_name, "%s%06d%s", ^~~~~~~~~~ In file included from /usr/include/stdio.h:873, from xfsckint.h:21, from fsckdtre.c:21: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 7 and 610 bytes into a destination of size 16 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/fsckino.Tpo .deps/fsckino.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckpfs.o -MD -MP -MF .deps/fsckpfs.Tpo -c -o fsckpfs.o fsckpfs.c fsckpfs.c: In function ‘blkmap_flush’: fsckpfs.c:347:28: warning: variable ‘fsck_bmpt_ptr’ set but not used [-Wunused-but-set-variable] struct fsck_blk_map_page *fsck_bmpt_ptr; ^~~~~~~~~~~~~ fsckpfs.c: In function ‘blkmap_get_page’: fsckpfs.c:490:28: warning: variable ‘fsck_bmpt_ptr’ set but not used [-Wunused-but-set-variable] struct fsck_blk_map_page *fsck_bmpt_ptr; ^~~~~~~~~~~~~ fsckpfs.c: In function ‘blktbl_dmap_get’: fsckpfs.c:768:15: warning: variable ‘dmap_t_ptr’ set but not used [-Wunused-but-set-variable] struct dmap *dmap_t_ptr; ^~~~~~~~~~ fsckpfs.c: In function ‘blktbl_dmaps_flush’: fsckpfs.c:918:15: warning: variable ‘dmap_t_ptr’ set but not used [-Wunused-but-set-variable] struct dmap *dmap_t_ptr; ^~~~~~~~~~ fsckpfs.c: In function ‘imapleaf_get’: mv -f .deps/fsckdtre.Tpo .deps/fsckdtre.Po fsckpfs.c:2125:12: warning: variable ‘xtpage_t_ptr’ set but not used [-Wunused-but-set-variable] xtpage_t *xtpage_t_ptr; ^~~~~~~~~~~~ fsckpfs.c: In function ‘node_get’: fsckpfs.c:3090:12: warning: variable ‘xtpage_t_ptr’ set but not used [-Wunused-but-set-variable] xtpage_t *xtpage_t_ptr; ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT dirindex.o -MD -MP -MF .deps/dirindex.Tpo -c -o dirindex.o dirindex.c mv -f .deps/fsckimap.Tpo .deps/fsckimap.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckwsp.o -MD -MP -MF .deps/fsckwsp.Tpo -c -o fsckwsp.o fsckwsp.c mv -f .deps/dirindex.Tpo .deps/dirindex.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckxtre.o -MD -MP -MF .deps/fsckxtre.Tpo -c -o fsckxtre.o fsckxtre.c fsckwsp.c: In function ‘establish_wsp_block_map_ctl’: fsckwsp.c:1503:11: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] "%d/%d/%d %d:%02d:%02d", fsck_DateTime->tm_mon + 1, ^~ fsckwsp.c:1503:4: note: directive argument in the range [-2147481748, 2147483647] "%d/%d/%d %d:%02d:%02d", fsck_DateTime->tm_mon + 1, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from xfsckint.h:21, from fsckwsp.c:26: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 14 and 72 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/fsckwsp.Tpo .deps/fsckwsp.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT xchkdsk.o -MD -MP -MF .deps/xchkdsk.Tpo -c -o xchkdsk.o xchkdsk.c mv -f .deps/fsckmeta.Tpo .deps/fsckmeta.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsckruns.o -MD -MP -MF .deps/fsckruns.Tpo -c -o fsckruns.o fsckruns.c xchkdsk.c: In function ‘initial_processing’: xchkdsk.c:1432:6: warning: variable ‘iml_rc’ set but not used [-Wunused-but-set-variable] int iml_rc = FSCK_OK; ^~~~~~ mv -f .deps/fsckpfs.Tpo .deps/fsckpfs.Po mv -f .deps/fsckxtre.Tpo .deps/fsckxtre.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../libfs -D_FORTIFY_SOURCE=2 -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -MT fsck_message.o -MD -MP -MF .deps/fsck_message.Tpo -c -o fsck_message.o fsck_message.c mv -f .deps/fsckruns.Tpo .deps/fsckruns.Po mv -f .deps/fsck_message.Tpo .deps/fsck_message.Po xchkdsk.c: In function ‘main’: xchkdsk.c:432:29: warning: ‘%d’ directive writing between 1 and 11 bytes into a region of size between 0 and 16 [-Wformat-overflow=] sprintf(time_stamp, "%d/%d/%d %d:%02d:%02d", ^~ xchkdsk.c:432:22: note: directive argument in the range [-2147481748, 2147483647] sprintf(time_stamp, "%d/%d/%d %d:%02d:%02d", ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from xfsckint.h:21, from xchkdsk.c:28: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 14 and 72 bytes into a destination of size 20 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/xchkdsk.Tpo .deps/xchkdsk.Po gcc -Wall -Wstrict-prototypes -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o jfs_fsck fsckbmap.o fsckconn.o fsckdire.o fsckdtre.o fsckea.o fsckimap.o fsckino.o fsckmeta.o fsckpfs.o dirindex.o fsckwsp.o fsckxtre.o xchkdsk.o fsckruns.o fsck_message.o ../libfs/libfs.a -luuid /usr/bin/ld: ../libfs/libfs.a(devices.o): in function `ujfs_flush_dev': devices.c:(.text+0x50d): undefined reference to `major' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:267: jfs_fsck] Error 1 make[2]: Leaving directory '/build/jfsutils/src/jfsutils-1.1.15/fsck' make[1]: *** [Makefile:260: all-recursive] Error 1 make[1]: Leaving directory '/build/jfsutils/src/jfsutils-1.1.15' make: *** [Makefile:196: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/erich/build