On 2013-06-26 21:28, Koen Holtman wrote:
|
| ..fix is now in github head
|
| https://github.com/kholtman/afio
|
| e2666357742046b3de7fef640f70a71a68636efb improve -r option, HISTFILE
| update
Pulled, will package shortly.
I'm attaching the build log as well. We can ignore long long message,
but see the other messages.
Thanks,
Jari
gcc (Debian 4.8.1-4) 4.8.1
make[1]: Entering directory `/srv/deb/debian/afio/afio.git'
dh build
dh_testdir
dh_auto_configure
debian/rules override_dh_auto_build
make[2]: Entering directory `/srv/deb/debian/afio/afio.git'
# save original (due to diff)
cp exten_default.h exten_default_orig.h
dh_auto_build
make[3]: Entering directory `/srv/deb/debian/afio/afio.git'
gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -pedantic -DHAVEFCNTL -DHAVEMEMCMP -DMEMCPY
-DMKDIR -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DDEFFMTCMD='"fdformat
/dev/fd0H1440"' -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wformat -Werror=format-security
-Wall -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP
-DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"'
-DHAVEFNMATCH -D_FORTIFY_SOURCE=2 -c -o afio.o afio.c
In file included from afio.c:231:0:
afio.h:37:24: warning: ISO C90 does not support 'long long' [-Wlong-long]
typedef unsigned long long ulonglong;
^
afio.h:175:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_ino;
^
afio.h:180:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_rdev;
^
afio.h:181:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_mtime;
^
afio.h:182:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_size;
^
afio.c: In function 'inascii3':
afio.c:1455:14: warning: ISO C90 does not support the 'll' gnu_scanf length
modifier [-Wformat=]
&pasb.PSt_mtime, &namelen, &specialflags, &extraheaderlen,
&pasb.PSt_size) != H_COUNT3)
^
afio.c:1455:14: warning: ISO C90 does not support the 'll' gnu_scanf length
modifier [-Wformat=]
afio.c:1455:14: warning: ISO C90 does not support the 'll' gnu_scanf length
modifier [-Wformat=]
afio.c:1455:14: warning: ISO C90 does not support the 'll' gnu_scanf length
modifier [-Wformat=]
In file included from afio.c:231:0:
afio.c: In function 'outhead3':
afio.h:102:19: warning: ISO C90 does not support 'long long' [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4139:3: note: in expansion of macro 'ull'
ull (asb->sb_ino), ulo (asb->sb_mode), ulo (asb->sb_uid),
^
afio.h:102:32: warning: use of C99 long long integer constant [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4139:3: note: in expansion of macro 'ull'
ull (asb->sb_ino), ulo (asb->sb_mode), ulo (asb->sb_uid),
^
afio.h:102:19: warning: ISO C90 does not support 'long long' [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4141:11: note: in expansion of macro 'ull'
mflag ? ull (timenow) : ull (asb->sb_mtime), namelen, 0, 0,
^
afio.h:102:32: warning: use of C99 long long integer constant [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4141:11: note: in expansion of macro 'ull'
mflag ? ull (timenow) : ull (asb->sb_mtime), namelen, 0, 0,
^
afio.h:102:19: warning: ISO C90 does not support 'long long' [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4141:27: note: in expansion of macro 'ull'
mflag ? ull (timenow) : ull (asb->sb_mtime), namelen, 0, 0,
^
afio.h:102:32: warning: use of C99 long long integer constant [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4141:27: note: in expansion of macro 'ull'
mflag ? ull (timenow) : ull (asb->sb_mtime), namelen, 0, 0,
^
afio.h:102:19: warning: ISO C90 does not support 'long long' [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4142:3: note: in expansion of macro 'ull'
ull (asb->sb_size));
^
afio.h:102:32: warning: use of C99 long long integer constant [-Wlong-long]
(((unsigned long long) (n)) & 0xFFFFFFFFFFFFFFFFLL)
^
afio.c:4142:3: note: in expansion of macro 'ull'
ull (asb->sb_size));
^
afio.c:4142:3: warning: ISO C90 does not support the 'll' gnu_printf length
modifier [-Wformat=]
afio.c:4142:3: warning: ISO C90 does not support the 'll' gnu_printf length
modifier [-Wformat=]
afio.c:4142:3: warning: ISO C90 does not support the 'll' gnu_printf length
modifier [-Wformat=]
afio.c: In function 'process_arname':
afio.c:4372:48: warning: ISO C90 does not support 'long long' [-Wlong-long]
len = sprintf(dptr,"%llu", (unsigned long long) aruntil);
^
afio.c:4372:6: warning: ISO C90 does not support the 'll' gnu_printf length
modifier [-Wformat=]
len = sprintf(dptr,"%llu", (unsigned long long) aruntil);
^
afio.c: In function 'tocentry':
afio.c:4689:33: warning: ISO C90 does not support 'long long' [-Wlong-long]
VOID printf (" %8lld", (long long int)(asb->sb_size));
^
afio.c:4689:4: warning: ISO C90 does not support the 'll' gnu_printf length
modifier [-Wformat=]
VOID printf (" %8lld", (long long int)(asb->sb_size));
^
afio.c: In function 'usage':
afio.c:4847:3: warning: string length '904' is greater than the length '509'
ISO C90 compilers are required to support [-Woverlength-strings]
VOID fprintf (stderr, "\n\
^
In file included from afio.c:231:0:
afio.c: In function 'dirmake':
afio.h:253:14: warning: ignoring return value of 'chown', declared with
attribute warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:1022:5: note: in expansion of macro 'VOID'
VOID chown (name,
^
afio.c: In function 'incheckdata':
afio.h:253:14: warning: ignoring return value of 'dup', declared with attribute
warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:1635:2: note: in expansion of macro 'VOID'
VOID dup (pfd[0]);
^
afio.c: In function 'opencontrolscript':
afio.h:253:14: warning: ignoring return value of 'dup', declared with attribute
warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:3148:2: note: in expansion of macro 'VOID'
VOID dup (pfd[0]);
^
afio.c: In function 'openotty':
afio.h:253:14: warning: ignoring return value of 'dup', declared with attribute
warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:3403:5: note: in expansion of macro 'VOID'
VOID dup (pfd[0]);
^
afio.c: In function 'pipechld':
afio.h:253:14: warning: ignoring return value of 'dup', declared with attribute
warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:4417:7: note: in expansion of macro 'VOID'
VOID dup (pfd[0]);
^
afio.h:253:14: warning: ignoring return value of 'dup', declared with attribute
warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:4428:7: note: in expansion of macro 'VOID'
VOID dup (pfd[1]);
^
afio.c: In function 'writedisk':
afio.h:253:14: warning: ignoring return value of 'nice', declared with
attribute warn_unused_result [-Wunused-result]
#define VOID (void) /* Quiet lint about ignored return values */
^
afio.c:5228:4: note: in expansion of macro 'VOID'
VOID nice (-10);
^
gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -pedantic -DHAVEFCNTL -DHAVEMEMCMP -DMEMCPY
-DMKDIR -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DDEFFMTCMD='"fdformat
/dev/fd0H1440"' -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wformat -Werror=format-security
-Wall -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP
-DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"'
-DHAVEFNMATCH -D_FORTIFY_SOURCE=2 -c -o compfile.o compfile.c
In file included from compfile.c:15:0:
afio.h:37:24: warning: ISO C90 does not support 'long long' [-Wlong-long]
typedef unsigned long long ulonglong;
^
afio.h:175:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_ino;
^
afio.h:180:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_rdev;
^
afio.h:181:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_mtime;
^
afio.h:182:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_size;
^
awk -f exten_make.awk afio.1 >exten_default.h
gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -pedantic -DHAVEFCNTL -DHAVEMEMCMP -DMEMCPY
-DMKDIR -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DDEFFMTCMD='"fdformat
/dev/fd0H1440"' -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wformat -Werror=format-security
-Wall -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP
-DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"'
-DHAVEFNMATCH -D_FORTIFY_SOURCE=2 -c -o exten.o exten.c
In file included from exten.c:12:0:
afio.h:37:24: warning: ISO C90 does not support 'long long' [-Wlong-long]
typedef unsigned long long ulonglong;
^
afio.h:175:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_ino;
^
afio.h:180:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_rdev;
^
afio.h:181:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_mtime;
^
afio.h:182:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_size;
^
gcc -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall -pedantic -DHAVEFCNTL -DHAVEMEMCMP -DMEMCPY
-DMKDIR -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DDEFFMTCMD='"fdformat
/dev/fd0H1440"' -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wformat -Werror=format-security
-Wall -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL -DHAVEMEMCMP
-DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"'
-DHAVEFNMATCH -D_FORTIFY_SOURCE=2 -c -o match.o match.c
In file included from match.c:40:0:
afio.h:37:24: warning: ISO C90 does not support 'long long' [-Wlong-long]
typedef unsigned long long ulonglong;
^
afio.h:175:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_ino;
^
afio.h:180:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_rdev;
^
afio.h:181:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_mtime;
^
afio.h:182:15: warning: ISO C90 does not support 'long long' [-Wlong-long]
unsigned long long PSt_size;
^
gcc -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -pedantic
-DHAVEFCNTL -DHAVEMEMCMP -DMEMCPY -DMKDIR -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"'
-DDEFFMTCMD='"fdformat /dev/fd0H1440"' -Wall -Wstrict-prototypes -s -O2
-fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wformat
-Werror=format-security -Wall -DMEMCPY -DMKDIR -DVOIDFIX -DHAVEFCNTL
-DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"' -DHAVE_LCHOWN
-DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH -fPIE -pie -Wl,-z,relro -Wl,-z,now
-Wl,--as-needed \
afio.o compfile.o exten.o match.o -o afio