Fidonet Portal
Hey Andrew!
AA> It should only take a few seconds to build.
# time make -j6
real 0m0.197s
user 0m0.728s
sys 0m0.090s
Under 2 milliseconds.
AA> If it fails to build, please post the output from make and we'll
AA> see if we can pinpoint the cause.
Even though it successfully compiled here is the output anyhow;
-={ output from 'make -j6 &> results.txt' starts }=-
Making all in src
make[1]: Entering directory '/mnt/archives/git-schtuff/rmw/src'
make all-am
make[2]: Entering directory '/mnt/archives/git-schtuff/rmw/src'
CC globals.o
CC main.o
CC restore_rmw.o
CC config_rmw.o
CC parse_cli_options.o
CC strings_rmw.o
CC purging_rmw.o
restore_rmw.c: In function 'restore':
restore_rmw.c:76:38: warning: '%s' directive output may be truncated writing up
to 8 bytes into a region of size between 1 and 4097 [-Wformat-truncation=]
76 | snprintf (file.info, req_len, "%s%s%s%s", file.relative_path,
file.relative_info_path,
| ^~
~~~~~~~~~~~~~~~~~~~~~~~
restore_rmw.c:76:5: note: 'snprintf' output 11 or more bytes (assuming 4115)
into a destination of size 4097
76 | snprintf (file.info, req_len, "%s%s%s%s", file.relative_path,
file.relative_info_path,
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~
77 | file.base_name, TRASHINFO_EXT);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC messages_rmw.o
CC time_rmw.o
CC trashinfo_rmw.o
CC utils_rmw.o
CC bst.o
utils_rmw.c: In function 'human_readable_size':
utils_rmw.c:143:44: warning: ' B' directive output may be truncated writing 2
bytes into a region of size between 0 and 19 [-Wformat-truncation=]
143 | snprintf (buffer, sizeof (buffer), "%ld B", (long) size);
| ^~
utils_rmw.c:143:5: note: 'snprintf' output between 4 and 23 bytes into a
destination of size 20
143 | snprintf (buffer, sizeof (buffer), "%ld B", (long) size);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils_rmw.c:140:44: warning: '.' directive output may be truncated writing 1
byte into a region of size between 0 and 19 [-Wformat-truncation=]
140 | snprintf (buffer, sizeof (buffer), "%ld.%d %ciB", (long) size,
| ^
utils_rmw.c:140:40: note: directive argument in the range [-320, 319]
140 | snprintf (buffer, sizeof (buffer), "%ld.%d %ciB", (long) size,
| ^~~~~~~~~~~~~
utils_rmw.c:140:5: note: 'snprintf' output between 8 and 30 bytes into a
destination of size 20
140 | snprintf (buffer, sizeof (buffer), "%ld.%d %ciB", (long) size,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
141 | (remainder * 10) / 1024, prefix[power]);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CCLD ../rmw
make[2]: Leaving directory '/mnt/archives/git-schtuff/rmw/src'
make[1]: Leaving directory '/mnt/archives/git-schtuff/rmw/src'
Making all in man
make[1]: Entering directory '/mnt/archives/git-schtuff/rmw/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/archives/git-schtuff/rmw/man'
Making all in test
make[1]: Entering directory '/mnt/archives/git-schtuff/rmw/test'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/archives/git-schtuff/rmw/test'
Making all in po
make[1]: Entering directory '/mnt/archives/git-schtuff/rmw/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/archives/git-schtuff/rmw/po'
make[1]: Entering directory '/mnt/archives/git-schtuff/rmw'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/mnt/archives/git-schtuff/rmw'
-={ output from 'make -j6 &> results.txt' ends }=-
# ldd rmw | tr -d '\t'
linux-vdso.so.1 (0x00007ffd877dd000)
libmenuw.so.6 => /usr/lib/libmenuw.so.6 (0x00007fc8becea000)
libncursesw.so.6 => /lib/libncursesw.so.6 (0x00007fc8bec8f000)
libc.so.6 => /lib/libc.so.6 (0x00007fc8beb09000)
/lib/ld-linux-x86-64.so.2 (0x00007fc8becf5000)
# file rmw
rmw: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped
The above was done on my custom pure 64-bit nondistribution rootfs (aka
motorshed) using gcc-10.2.0/glibc-2.33 and friends.
Does this help any?
Life is good,
Maurice
... Ich habe Eichhörnchen in meiner Hose!
--- GNU bash, version 5.1.4(1)-release (x86_64-motorshed-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)