Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 818902 Details for
Bug 874951
app-crypt/fcrackzip-1.0 - ./cpmask.c: error: type specifier missing, defaults to int; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-crypt:fcrackzip-1.0:20221004-124412.log
app-crypt:fcrackzip-1.0:20221004-124412.log (text/plain), 14.19 KB, created by
Toralf Förster
on 2022-10-04 16:27:57 UTC
(
hide
)
Description:
app-crypt:fcrackzip-1.0:20221004-124412.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:27:57 UTC
Size:
14.19 KB
patch
obsolete
> * Package: app-crypt/fcrackzip-1.0:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking fcrackzip-1.0.tar.gz to /var/tmp/portage/app-crypt/fcrackzip-1.0/work >>>> Source unpacked in /var/tmp/portage/app-crypt/fcrackzip-1.0/work >>>> Preparing source in /var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --docdir=/usr/share/doc/fcrackzip-1.0 --htmldir=/usr/share/doc/fcrackzip-1.0/html --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >checking for style of include used by make... GNU >checking dependency style of clang... none >checking how to run the C preprocessor... clang -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /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 for short... yes >checking size of short... 2 >checking for int... yes >checking size of int... 4 >checking for long... yes >checking size of long... 8 >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking for perl5... no >checking for perl... perl >checking for pgcc/egcs... checking for x86 asm... not x86 >checking stdbool.h usability... yes >checking stdbool.h presence... yes >checking for stdbool.h... yes >checking getopt.h usability... yes >checking getopt.h presence... yes >checking for getopt.h... yes >checking for unistd.h... (cached) yes >checking sys/time.h usability... yes >checking sys/time.h presence... yes >checking for sys/time.h... yes >checking for gettimeofday... yes >checking for getopt_long... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >config.status: executing depfiles commands >>>> Source configured. >'/var/tmp/portage/app-crypt/fcrackzip-1.0/temp/clang14.log' -> '/var/tmp/clang/app-crypt/fcrackzip-1.0/clang14.log' >'/var/tmp/portage/app-crypt/fcrackzip-1.0/temp/clang15.log' -> '/var/tmp/clang/app-crypt/fcrackzip-1.0/clang15.log' >>>> Compiling source in /var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0 ... >make -j4 >make all-am >make[1]: Entering directory '/var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0' >clang -DHAVE_CONFIG_H -I. -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'main.c' || echo './'`main.c >clang -DHAVE_CONFIG_H -I. -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'crack.c' || echo './'`crack.c >clang -DHAVE_CONFIG_H -I. -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c `test -f 'zipinfo.c' || echo './'`zipinfo.c >In file included from crack.c:160: >./cpmask.c:129:8: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >static cp_table_lu1[MAX_CP_WIDTH]; >~~~~~~ ^ >int >./cpmask.c:130:8: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >static cp_table_lu2[MAX_CP_WIDTH]; >~~~~~~ ^ >int >main.c:132:14: warning: passing 'u8[41]' (aka 'unsigned char[41]') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > if (fgets (pw, MAX_PW+1, dict_file)) > ^~ >/usr/include/stdio.h:592:38: note: passing argument to parameter '__s' here >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) > ^ >main.c:134:18: warning: passing 'u8[41]' (aka 'unsigned char[41]') to ./cpmask.cparameter: > 347of :type24 :'const char *' convertswarning: betweenpassing pointers'u8[41]' to (aka 'unsigned char[41]')integer totypes > whereparameter > oneof istype of'const char *' theconverts unique betweenplain pointers'char' totype integerand > the typesother whereis onenot >is [-Wpointer-sign]of > the unique plain pw[strlen (pw) - 1] = 0; >'char' ^~ >type and the other is /usr/include/string.hnot:407 >: 35[-Wpointer-sign]: >note: passing argument to parameter '__s' here > pw_end = pw + strlen (pw); > ^~ >extern size_t strlen (const char *__s) > ^ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >In file included from crack.c:160: >./cpmask.c:358:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x - 1, y, 0) - P (x, y, 0)); > ^ >main.c:166:15: warning: passing 'u8[41]' (aka 'unsigned char[41]') to parameter > of type 'char *' converts between pointers to integer types where one is > of ./cpmask.cthe: 358unique:17 :plain note: 'char'remove typethe andcall theto other'abs' issince notunsigned [-Wpointer-sign]values > cannot > be negative > strcpy (pw, "Martha"); > ^~ >/usr/include/string.h:141:39: note: current += abs (P (x - 1, y, 0) - P (x, y, 0));passing > ^~~~argument > to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >./cpmask.c:359:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x - 1, y, 1) - P (x, y, 1)); > ^ >./cpmask.c:359:17: note: remove the call to 'abs' since unsigned values cannot > be negative > current += abs (P (x - 1, y, 1) - P (x, y, 1)); > ^~~~ >./cpmask.c:360:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x - 1, y, 2) - P (x, y, 2)); > ^ >./cpmask.c:360:17: note: remove the call to 'abs' since unsigned values cannot > be negative > current += abs (P (x - 1, y, 2) - P (x, y, 2)); > ^~~~ >./cpmask.c:369:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x, y - 1, 0) - P (x, y, 0)); > ^ >./cpmask.c:main.c:261:15:369: warning: passing 'u8[41]' (aka 'unsigned char[41]')17 to parameter: > of type 'char *' converts between pointers to integer types where one is > of note: theremove uniquethe plaincall 'char'to type'abs' andsince theunsigned othervalues iscannot >not be[-Wpointer-sign] >negative > strcpy (pw, "abcdefghij"); > ^~ >/usr/include/string.h:141 current += abs (P (x, y - 1, 0) - P (x, y, 0));: >39 ^~~~: > note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >./cpmask.c:370:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x, y - 1, 1) - P (x, y, 1)); > ^ >./cpmask.c:370:17: note: remove the call to 'abs' since unsigned values cannot > be negative > current += abs (P (x, y - 1, 1) - P (x, y, 1)); > ^~~~ >./cpmask.c:371:17: warning: taking the absolute value of unsigned type > 'unsigned int' has no effect [-Wabsolute-value] > current += abs (P (x, y - 1, 2) - P (x, y, 2)); > ^ >./cpmask.c:371:17: note: remove the call to 'abs' since unsigned values cannot > be negative > current += abs (P (x, y - 1, 2) - P (x, y, 2)); > ^~~~ >./cpmask.c:387:27: warning: passing 'u8[41]' (aka 'unsigned char[41]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((changed = cbfunc (pw, info))) > ^~ >main.c:333:13: warning: format specifies type 'int' but the argument has type > 'long' [-Wformat] > crack_method - methods, > ^~~~~~~~~~~~~~~~~~~~~~ >main.c:378:17: warning: passing 'u8[41]' (aka 'unsigned char[41]') to parameter > of type 'char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > strcpy (pw, optarg); > ^~ >/usr/include/string.h:141:39: note: passing argument to parameter '__dest' here >extern char *strcpy (char *__restrict __dest, const char *__restrict __src) > ^ >In file included from crack.c:161: >In file included from ./crackdef.c:98: >./zipcrack.c:62:29: warning: passing 'u8[41]' (aka 'unsigned char[41]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > changed = strlen (pw); > ^~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >In file included from crack.c:161: >In file included from ./crackdef.c:98: >./zipcrack.c:269:30: warning: passing 'u8[41]' (aka 'unsigned char[41]') tomain.c > :parameter511 :of33 :type warning: 'const char *'passing converts'u8[41]' between (aka 'unsigned char[41]')pointers toto parameterinteger > > oftypes typewhere 'const char *'one convertsis betweenof pointersthe tounique integerplain types'char' wheretype > andone theis otherof isthe notunique > plain[-Wpointer-sign] >'char' type and the if ((changed = cbfunc (pw, 0)))other > ^~is > not > [-Wpointer-sign] > pw_end = pw + strlen (pw); > ^~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >extern size_t strlen (const char *__s) > ^ >main.c:528:32: warning: passing 'u8[41]' (aka 'unsigned char[41]') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if (!(dict_file = fopen (pw, "r"))) > ^~ >/usr/include/stdio.h:258:44: note: In file included from passingcrack.c :argument161: > In file included from ./crackdef.cto: 109parameter: > ./zipcrack.c:'__filename'62: >29 : herewarning: >passing 'u8[41]' (aka 'unsigned char[41]') to > parameter of type 'const char *' converts between pointers to integer >extern FILE *fopen (const char *__restrict __filename, types > where ^ >one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > changed = strlen (pw); > ^~ >/usr/include/string.h:407:35: note: passing argument to parameter '__s' here >main.cextern size_t strlen (const char *__s): >530 ^: >19: warning: passing 'u8[41]' (aka 'unsigned char[41]') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > perror (pw); > ^~ >/usr/include/stdio.h:804:33: note: passing argument to parameter '__s' here >extern void perror (const char *__s); > ^ >In file included from crack.c:161: >In file included from ./crackdef.c:109: >./zipcrack.c:269:30: warning: passing 'u8[41]' (aka 'unsigned char[41]') to > parameter of type 'const char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > if ((changed = cbfunc (pw, 0))) > ^~ >12 warnings and 2 errors generated. >make[1]: *** [Makefile:277: crack.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >9 warnings generated. >make[1]: Leaving directory '/var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0' >make: *** [Makefile:173: all] Error 2 > * ERROR: app-crypt/fcrackzip-1.0::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-crypt/fcrackzip-1.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-crypt/fcrackzip-1.0::gentoo'`. > * The complete build log is located at '/var/log/portage/app-crypt:fcrackzip-1.0:20221004-124412.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/fcrackzip-1.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-crypt/fcrackzip-1.0/temp/environment'. > * Working directory: '/var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0' > * S: '/var/tmp/portage/app-crypt/fcrackzip-1.0/work/fcrackzip-1.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 874951
:
818899
| 818902 |
818905
|
818908
|
818911
|
818914
|
818917
|
818920