Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 876700 Details for
Bug 919172
app-crypt/chntpw-140201-r1 - libsam.c: error: passing argument 1 of hexdump from incompatible pointer type [-Wincompatible-pointer-types]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-crypt:chntpw-140201-r1:20231204-025407.log
app-crypt:chntpw-140201-r1:20231204-025407.log (text/plain), 20.41 KB, created by
Toralf Förster
on 2023-12-04 17:42:44 UTC
(
hide
)
Description:
app-crypt:chntpw-140201-r1:20231204-025407.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-04 17:42:44 UTC
Size:
20.41 KB
patch
obsolete
> * Package: app-crypt/chntpw-140201-r1:0 > * Repository: gentoo > * Maintainer: marecki@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking chntpw-source-140201.zip to /var/tmp/portage/app-crypt/chntpw-140201-r1/work >>>> Source unpacked in /var/tmp/portage/app-crypt/chntpw-140201-r1/work >>>> Preparing source in /var/tmp/portage/app-crypt/chntpw-140201-r1/work/chntpw-140201 ... > * Applying chntpw-140201-missing-stdint.patch ... > [ ok ] >make -j4 clean >rm -f *.o chntpw chntpw.static cpnt reged reged.static samusrgrp samusrgrp.static sampasswd sampasswd.static *~ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-crypt/chntpw-140201-r1/work/chntpw-140201 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-crypt/chntpw-140201-r1/work/chntpw-140201 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O3 -pipe -march=native -fno-diagnostics-color -DUSEOPENSSL -Wall' LIBS=-lcrypto >x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -fno-diagnostics-color -DUSEOPENSSL -Wall chntpw.c >x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -fno-diagnostics-color -DUSEOPENSSL -Wall ntreg.c >x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -fno-diagnostics-color -DUSEOPENSSL -Wall edlib.c >x86_64-pc-linux-gnu-gcc -c -O3 -pipe -march=native -fno-diagnostics-color -DUSEOPENSSL -Wall libsam.c >libsam.c: In function âsam_put_grp_members_sidâ: >libsam.c:514:28: error: passing argument 1 of âhexdumpâ from incompatible pointer type [-Wincompatible-pointer-types] > 514 | if (gverbose) hexdump(&c->data, 0, c->len, 1); > | ^~~~~~~~ > | | > | int * >In file included from libsam.c:47: >ntreg.h:395:20: note: expected âchar *â but argument is of type âint *â > 395 | void hexdump(char *hbuf, int start, int stop, int ascii); > | ~~~~~~^~~~ >libsam.c:531:56: warning: format â%xâ expects argument of type âunsigned intâ, but argument 4 has type âvoid *â [-Wformat=] > 531 | if (gverbose) printf(" copying : %d len %x, at %x\n",i,sarray[i].len, sidptr); > | ~^ ~~~~~~ > | | | > | unsigned int void * > | %p >libsam.c:542:27: error: passing argument 1 of âhexdumpâ from incompatible pointer type [-Wincompatible-pointer-types] > 542 | if (gverbose) hexdump(&c->data, 0, c->len, 1); > | ^~~~~~~~ > | | > | int * >ntreg.h:395:20: note: expected âchar *â but argument is of type âint *â > 395 | void hexdump(char *hbuf, int start, int stop, int ascii); > | ~~~~~~^~~~ >ntreg.c: In function âparse_nkâ: >ntreg.c:542:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 542 | printf("%04x type = 0x%02x %s\n", D_OFFS(type) ,key->type, > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:544:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 544 | printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:545:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 545 | printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:546:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 546 | printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:547:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 547 | printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:548:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 548 | printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:549:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 549 | printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:550:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 550 | printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:551:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 551 | printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:553:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 553 | printf("%04x dummy3 = 0x%0x (%d)\n",D_OFFS(dummy3),key->dummy3,key->dummy3); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:554:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 554 | printf("%04x dummy4 = 0x%0x (%d)\n",D_OFFS(dummy4),key->dummy4,key->dummy4); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:555:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 555 | printf("%04x dummy5 = 0x%0x (%d)\n",D_OFFS(dummy5),key->dummy5,key->dummy5); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:556:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 556 | printf("%04x dummy6 = 0x%0x (%d)\n",D_OFFS(dummy6),key->dummy6,key->dummy6); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:557:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 557 | printf("%04x dummy7 = 0x%0x (%d)\n",D_OFFS(dummy7),key->dummy7,key->dummy7); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:559:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 559 | printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:560:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 560 | printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:562:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 562 | printf("%04x Key name: <",D_OFFS(keyname) ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_vkâ: >ntreg.c:580:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 580 | printf("%04x name length = %d (0x%0x)\n", D_OFFS(len_name), > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:582:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 582 | printf("%04x length of data = %d (0x%0x)\n", D_OFFS(len_data), > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:584:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 584 | printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:585:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 585 | printf("%04x value type = 0x%0x %s\n", D_OFFS(val_type), key->val_type, > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:588:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 588 | printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:589:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 589 | printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:591:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 591 | printf("%04x Key name: <",D_OFFS(keyname) ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_skâ: >ntreg.c:609:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 609 | printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:610:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 610 | printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:611:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 611 | printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk + 0x1000); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:612:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 612 | printf("%04x Usage counter = %d (0x%0x)\n", D_OFFS(no_usage), > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:614:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 614 | printf("%04x Security data len = %d (0x%0x)\n", D_OFFS(len_sk), > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_lfâ: >ntreg.c:633:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 633 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:636:16: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 636 | printf("%04x %3d Offset: 0x%0x - <%c%c%c%c>\n", > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_lhâ: >ntreg.c:661:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 661 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:664:16: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 664 | printf("%04x %3d Offset: 0x%0x - <hash: %08x>\n", > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_liâ: >ntreg.c:688:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 688 | printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:691:16: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 691 | printf("%04x %3d Offset: 0x%0x\n", > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_riâ: >ntreg.c:713:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 713 | printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:716:16: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 716 | printf("%04x %3d Offset: 0x%0x\n", > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c: In function âparse_dbâ: >ntreg.c:735:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 735 | printf("%04x number of parts = %d\n", D_OFFS(no_part), key->no_part ); > | ~~~^ > | | > | unsigned int > | %04lx >ntreg.c:737:14: warning: format â%xâ expects argument of type âunsigned intâ, but argument 2 has type âlong intâ [-Wformat=] > 737 | printf("%04x Data list at offset: 0x%0x\n", > | ~~~^ > | | > | unsigned int > | %04lx >make: *** [Makefile:66: libsam.o] Error 1 >make: *** Waiting for unfinished jobs.... >ntreg.c: In function âalloc_val_dataâ: >ntreg.c:2150:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 2150 | datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; > | ^ >ntreg.c:2150:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > 2150 | datablk = vkofs + (int32_t)&(vkkey->ofs_data) - (int32_t)vkkey; > | ^ >chntpw.c: In function âhandle_syskeyâ: >chntpw.c:805:31: warning: iteration 11 invokes undefined behavior [-Waggressive-loop-optimizations] > 805 | ff->syskeyflags1[i] = 0; > | ~~~~~~~~~~~~~~~~~~~~^~~ >chntpw.c:804:23: note: within this loop > 804 | for (i = 0; i < 0x3b; i++) { > | ~~^~~~~~ >ntreg.c: In function âfmyinputâ: >ntreg.c:233:4: warning: ignoring return value of âfgetsâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 233 | fgets(ibuf,maxlen+1,stdin); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:964, > from chntpw.c:64: >In function âfprintfâ, > inlined from âmainâ at chntpw.c:1123:4: >/usr/include/bits/stdio2.h:79:10: warning: âchâ may be used uninitialized [-Wmaybe-uninitialized] > 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 80 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >chntpw.c: In function âmainâ: >chntpw.c:1032:9: note: âchâ was declared here > 1032 | FILE *ch; /* Write out names of touched files to this */ > | ^~ >ntreg.c: In function âtrav_path.constpropâ: >ntreg.c:1729:58: warning: âadjustâ may be used uninitialized [-Wmaybe-uninitialized] > 1729 | return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); > | ^ >ntreg.c:1592:43: note: âadjustâ was declared here > 1592 | int newnkofs, plen, i, lfofs, vlistofs, adjust, r, ricnt, subs; > | ^~~~~~ >ntreg.c: In function âfree_blockâ: >ntreg.c:1232:14: warning: âprevâ may be used uninitialized [-Wmaybe-uninitialized] > 1232 | prevsz = get_int(hdesc->buffer+prev); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >ntreg.c:1172:24: note: âprevâ was declared here > 1172 | int pofs,vofs,seglen,prev,next,nextsz,prevsz,size; > | ^~~~ >ntreg.c: In function âtrav_pathâ: >ntreg.c:1729:58: warning: âadjustâ may be used uninitialized [-Wmaybe-uninitialized] > 1729 | return(trav_path(hdesc, newnkofs, path+plen+adjust, type)); > | ^ >ntreg.c:1592:43: note: âadjustâ was declared here > 1592 | int newnkofs, plen, i, lfofs, vlistofs, adjust, r, ricnt, subs; > | ^~~~~~ >In file included from ntreg.c:85: >ntreg.c: In function âimport_regâ: >ntreg.h:373:22: warning: âvalstrâ may be used uninitialized [-Wmaybe-uninitialized] > 373 | #define FREE(p) { if (p) { free(p); (p) = 0; } } > | ^ >ntreg.c:3991:12: note: in expansion of macro âFREEâ > 3991 | FREE(valstr); > | ^~~~ >ntreg.c:3879:11: note: âvalstrâ was declared here > 3879 | char *valstr, *key, *walstr = NULL; > | ^~~~~~ >ntreg.c: In function âopenHiveâ: >ntreg.c:4336:29: warning: âpâ may be used uninitialized [-Wmaybe-uninitialized] > 4336 | hdesc->lastbin = pofs - p->ofs_next; /* Compensate for loop that added at end above */ > | ~^~~~~~~~~~ >ntreg.c:4173:21: note: âpâ was declared here > 4173 | struct hbin_page *p; > | ^ > * ERROR: app-crypt/chntpw-140201-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-crypt/chntpw-140201-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-crypt/chntpw-140201-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-crypt:chntpw-140201-r1:20231204-025407.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-crypt/chntpw-140201-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-crypt/chntpw-140201-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-crypt/chntpw-140201-r1/work/chntpw-140201' > * S: '/var/tmp/portage/app-crypt/chntpw-140201-r1/work/chntpw-140201' >
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 919172
:
876699
| 876700 |
876701
|
876702
|
876703
|
876704
|
876705
|
876706