dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package chntpw dpkg-buildpackage: source version 0.99.6-2.drbl1 dpkg-buildpackage: source distribution unstable dpkg-buildpackage: source changed by Steven Shiau dpkg-source --before-build chntpw-0.99.6 dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null pop -a -R || test $? = 2 No patch removed rm -rf .pc debian/stamp-patched dh_testdir dh_testroot [ ! -f Makefile ] || /usr/bin/make clean make[1]: Entering directory `/home/steven/tmp/wz/chntpw/chntpw-0.99.6' rm -f *.o chntpw chntpw.static cpnt reged reged.static *~ make[1]: Leaving directory `/home/steven/tmp/wz/chntpw/chntpw-0.99.6' rm -f *.gif rm -f build-stamp dh_clean dpkg-source -b chntpw-0.99.6 dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1) dpkg-source: info: using source format `1.0' dpkg-source: info: building chntpw using existing chntpw_0.99.6.orig.tar.gz dpkg-source: info: building chntpw in chntpw_0.99.6-2.drbl1.diff.gz dpkg-source: warning: ignoring deletion of file reged.static dpkg-source: info: building chntpw in chntpw_0.99.6-2.drbl1.dsc debian/rules build QUILT_PATCHES=debian/patches \ quilt --quiltrc /dev/null push -a || test $? = 2 Applying patch 01_port_to_gcrypt.patch patching file Makefile patching file chntpw.c Applying patch 03_keyname-overflow patching file ntreg.c Applying patch 04_get_abs_path patching file ntreg.c Applying patch 05_control_empty_values patching file ntreg.c Applying patch 06_correct_test_open_syscall patching file ntreg.c Applying patch 07_detect_failure_to_write_key patching file ntreg.c Applying patch 08_no_deref_null patching file reged.c Now at patch 08_no_deref_null touch debian/stamp-patched dh_testdir /usr/bin/make CFLAGS="-DUSELIBGCRYPT -Wall -O2" make[1]: Entering directory `/home/steven/tmp/wz/chntpw/chntpw-0.99.6' gcc -c -DUSELIBGCRYPT -Wall -O2 chntpw.c chntpw.c: In function ‘find_n_change’: chntpw.c:927:11: warning: ‘vkkey’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("Value <%s> is too short (only %d bytes) to be a SAM user V-struct!\n", ^ chntpw.c: In function ‘handle_syskey’: chntpw.c:1077:24: warning: iteration 11u invokes undefined behavior [-Waggressive-loop-optimizations] ff->syskeyflags1[i] = 0; ^ chntpw.c:1076:2: note: containing loop for (i = 0; i < 0x3b; i++) { ^ gcc -c -DUSELIBGCRYPT -Wall -O2 ntreg.c ntreg.c: In function ‘parse_nk’: ntreg.c:398:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] (key->type == KEY_ROOT ? "ROOT_KEY" : "") ); ^ ntreg.c:399:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x timestamp skipped\n", D_OFFS(timestamp) ); ^ ntreg.c:400:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x parent key offset = 0x%0x\n", D_OFFS(ofs_parent) ,key->ofs_parent); ^ ntreg.c:401:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of subkeys = %d\n", D_OFFS(no_subkeys),key->no_subkeys); ^ ntreg.c:402:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x lf-record offset = 0x%0x\n",D_OFFS(ofs_lf),key->ofs_lf); ^ ntreg.c:403:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of values = %d\n", D_OFFS(no_values),key->no_values); ^ ntreg.c:404:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x val-list offset = 0x%0x\n",D_OFFS(ofs_vallist),key->ofs_vallist); ^ ntreg.c:405:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x sk-record offset = 0x%0x\n",D_OFFS(ofs_sk),key->ofs_sk); ^ ntreg.c:406:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x classname offset = 0x%0x\n",D_OFFS(ofs_classnam),key->ofs_classnam); ^ ntreg.c:407:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy4),key->dummy4); ^ ntreg.c:408:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x name length = %d\n", D_OFFS(len_name),key->len_name); ^ ntreg.c:409:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x classname length = %d\n", D_OFFS(len_classnam),key->len_classnam); ^ ntreg.c:411:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x Key name: <",D_OFFS(keyname) ); ^ ntreg.c: In function ‘parse_vk’: ntreg.c:430:31: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->len_name, key->len_name ); ^ ntreg.c:432:31: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->len_data, key->len_data ); ^ ntreg.c:433:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x data offset = 0x%0x\n",D_OFFS(ofs_data),key->ofs_data); ^ ntreg.c:435:18: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] (key->val_type <= REG_MAX ? val_types[key->val_type] : "(unknown)") ) ; ^ ntreg.c:437:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x flag = 0x%0x\n",D_OFFS(flag),key->flag); ^ ntreg.c:438:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x *unused?* = 0x%0x\n",D_OFFS(dummy1),key->dummy1); ^ ntreg.c:440:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x Key name: <",D_OFFS(keyname) ); ^ ntreg.c: In function ‘parse_sk’: ntreg.c:458:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x *unused?* = %d\n" , D_OFFS(dummy1), key->dummy1 ); ^ ntreg.c:459:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x Offset to prev sk = 0x%0x\n", D_OFFS(ofs_prevsk), key->ofs_prevsk); ^ ntreg.c:460:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x Offset to next sk = 0x%0x\n", D_OFFS(ofs_nextsk), key->ofs_nextsk); ^ ntreg.c:462:46: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->no_usage,key->no_usage); ^ ntreg.c:464:46: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->len_sk,key->len_sk); ^ ntreg.c: In function ‘parse_lf’: ntreg.c:482:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:491:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->hash[i].name[3] ); ^ ntreg.c: In function ‘parse_lh’: ntreg.c:510:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:516:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->lh_hash[i].hash ); ^ ntreg.c: In function ‘parse_li’: ntreg.c:537:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of keys = %d\n", D_OFFS(no_keys), key->no_keys ); ^ ntreg.c:542:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->hash[i].ofs_nk); ^ ntreg.c: In function ‘parse_ri’: ntreg.c:562:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%04x number of subindices = %d\n", D_OFFS(no_lis), key->no_lis ); ^ ntreg.c:567:5: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long int’ [-Wformat=] key->hash[i].ofs_li); ^ ntreg.c: In function ‘free_block’: ntreg.c:892:24: warning: ‘prev’ may be used uninitialized in this function [-Wmaybe-uninitialized] int pofs,vofs,seglen,prev,next,nextsz,prevsz,size; ^ ntreg.c: In function ‘trav_path’: ntreg.c:1375:11: warning: ‘rikey’ may be used uninitialized in this function [-Wmaybe-uninitialized] newnkofs = rikey->hash[r].ofs_li; ^ ntreg.c: In function ‘add_key’: ntreg.c:2120:11: warning: ‘rislot’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("add_key: lf/lh fill at slot: %d, rislot: %d\n",slot,rislot); ^ gcc -c -DUSELIBGCRYPT -Wall -O2 edlib.c edlib.c: In function ‘regedit_interactive’: edlib.c:358:18: warning: variable ‘cdkey’ set but not used [-Wunused-but-set-variable] struct nk_key *cdkey; ^ gcc -DUSELIBGCRYPT -Wall -O2 -o chntpw chntpw.o ntreg.o edlib.o -lgcrypt gcc -c -DUSELIBGCRYPT -Wall -O2 cpnt.c gcc -DUSELIBGCRYPT -Wall -O2 -o cpnt cpnt.o -lgcrypt gcc -c -DUSELIBGCRYPT -Wall -O2 reged.c gcc -DUSELIBGCRYPT -Wall -O2 -o reged reged.o ntreg.o edlib.o make[1]: Leaving directory `/home/steven/tmp/wz/chntpw/chntpw-0.99.6' touch build-stamp fakeroot debian/rules binary dh_testdir dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_installdirs install -m 755 chntpw /home/steven/tmp/wz/chntpw/chntpw-0.99.6/debian/chntpw/usr/sbin/ dh_testdir dh_testroot # Do not install the documentation until available [ ! -f faq.uu ] || for i in *.uu; do uudecode $i; done [ ! -f faq.html ] || dh_installdocs faq.html bootdisk.html *.gif dh_installdocs dh_installexamples dh_installman debian/chntpw.8 dh_installchangelogs HISTORY.txt dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package `chntpw' in `../chntpw_0.99.6-2.drbl1_amd64.deb'. dpkg-genchanges >../chntpw_0.99.6-2.drbl1_amd64.changes dpkg-genchanges: not including original source code in upload dpkg-source --after-build chntpw-0.99.6 dpkg-buildpackage: binary and diff upload (original source NOT included) Now running lintian... W: chntpw source: debhelper-but-no-misc-depends chntpw W: chntpw source: changelog-should-mention-nmu W: chntpw source: debian-rules-missing-recommended-target build-indep W: chntpw source: debian-rules-missing-recommended-target build-arch W: chntpw source: ancient-standards-version 3.8.4 (current is 3.9.5) W: chntpw: hardening-no-relro usr/sbin/chntpw W: chntpw: debian-changelog-line-too-long line 3 W: chntpw: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL W: chntpw: duplicate-changelog-files usr/share/doc/chntpw/HISTORY.txt.gz usr/share/doc/chntpw/changelog.gz W: chntpw: manpage-has-errors-from-man usr/share/man/man8/chntpw.8.gz 102: warning: macro `This' not defined Finished running lintian. Now signing changes and any dsc files... signfile chntpw_0.99.6-2.drbl1.dsc Steven Shiau gpg: skipped "Steven Shiau ": secret key not available gpg: /tmp/debsign.Y3u7rfFm/chntpw_0.99.6-2.drbl1.dsc: clearsign failed: secret key not available debsign: gpg error occurred! Aborting....