Autor: Edward Bartolo Data: Para: dng Assunto: [DNG] Have to use "make -C . clean" before dpkg-buildpackage
Hi All,
Here is the output that speaks better than my words to describe the
remaining debianization issues with netman.
1) Failing to build package on 'dirty' sources.
edbarx@edbarx-pc:~/netman-0.1.1$ dpkg-buildpackage
dpkg-buildpackage: source package netman
dpkg-buildpackage: source version 0.1.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Edward <edbarx@edbarx-pc>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build netman-0.1.1
fakeroot debian/rules clean
dh clean --with quilt,python2
dh_testdir
dh_quilt_unpatch
No patch removed
dh_clean
dpkg-source -b netman-0.1.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building netman using existing ./netman_0.1.1.orig.tar.gz
dpkg-source: error: cannot represent change to
lib/x86_64-linux/backend.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/backend.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/backend.ppu: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/backend.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/common_functions.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/common_functions.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/common_functions.ppu: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/common_functions.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/connect_info.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/connect_info.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/connect_info.ppu: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/connect_info.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/formeditconnectprops.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/formeditconnectprops.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/formeditconnectprops.ppu: binary file contents
changed
dpkg-source: error: add lib/x86_64-linux/formeditconnectprops.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/helpwndu.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/helpwndu.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/helpwndu.ppu: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/helpwndu.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/mainform.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/mainform.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/mainform.ppu: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/mainform.ppu in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/netman.o: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/netman.o in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/netman.or: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/netman.or in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to
lib/x86_64-linux/netman.res: binary file contents changed
dpkg-source: error: add lib/x86_64-linux/netman.res in
debian/source/include-binaries if you want to store the modified
binary in the debian tarball
dpkg-source: error: cannot represent change to netman: binary file
contents changed
dpkg-source: error: add netman in debian/source/include-binaries if
you want to store the modified binary in the debian tarball
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b netman-0.1.1 gave error exit status 2
3) Building packages succeeds
edbarx@edbarx-pc:~/netman-0.1.1$ dpkg-buildpackage
dpkg-buildpackage: source package netman
dpkg-buildpackage: source version 0.1.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Edward <edbarx@edbarx-pc>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build netman-0.1.1
fakeroot debian/rules clean
dh clean --with quilt,python2
dh_testdir
dh_quilt_unpatch
No patch removed
dh_clean
dpkg-source -b netman-0.1.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building netman using existing ./netman_0.1.1.orig.tar.gz
dpkg-source: info: building netman in netman_0.1.1-1.debian.tar.xz
dpkg-source: info: building netman in netman_0.1.1-1.dsc
dpkg-source: warning: missing information for output field Standards-Version
debian/rules build
dh build --with quilt,python2
dh_testdir
dh_quilt_patch
No series file found
debian/rules override_dh_auto_configure
make[1]: Entering directory '/home/edbarx/netman-0.1.1'
#fpc -MObjFPC -Scghi -Tlinux -vewnhi -Filib/x86_64-linux
-Fl/opt/gnome/lib
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux -Fu.
-FUlib/x86_64-linux -l -dLCL -dLCLgtk2 netman.lpr && cd
backend_src/src && gcc -g -I../include core_functions.c
file_functions.c backend.c essid_encoder.c -o backend
lazbuild -B netman.lpr && cd backend_src/src && gcc -lm -I../include
core_functions.c file_functions.c backend.c essid_encoder.c
automated_scanner.c -o backend
primary config path: /home/edbarx/.lazarus
TProject.DoLoadStateFile Statefile not found:
/home/edbarx/netman-0.1.1/lib/x86_64-linux/netman.compiled
TBuildManager.CheckIfPackageNeedsCompilation No state file for Project
TCompiler.Compile WorkingDir="/home/edbarx/netman-0.1.1/"
CompilerFilename="/usr/bin/fpc" CompilerParams=" -MObjFPC -Scghi -O3
-vewnhi -Fi/home/edbarx/netman-0.1.1/lib/x86_64-linux
-Fl/opt/gnome/lib
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux
-Fu/home/edbarx/netman-0.1.1/
-FU/home/edbarx/netman-0.1.1/lib/x86_64-linux/ -l -dLCL -dLCLgtk2
netman.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc -B -MObjFPC -Scghi -O3
-vewnhi -Fi/home/edbarx/netman-0.1.1/lib/x86_64-linux
-Fl/opt/gnome/lib
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux/gtk2
-Fu/usr/lib/lazarus/1.2.4/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/components/lazutils/lib/x86_64-linux
-Fu/usr/lib/lazarus/1.2.4/packager/units/x86_64-linux
-Fu/home/edbarx/netman-0.1.1/
-FU/home/edbarx/netman-0.1.1/lib/x86_64-linux/ -l -dLCL -dLCLgtk2
netman.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.4+dfsg-4 [2014/10/14] for x86_64
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling netman.lpr
Compiling mainform.pas
Compiling backend.pas
backend.pas(100,47) Hint: Local variable "s" does not seem to be initialized
backend.pas(154,3) Note: Local variable "i" not used
backend.pas(214,30) Hint: Local variable "s" does not seem to be initialized
backend.pas(241,30) Hint: Local variable "s" does not seem to be initialized
backend.pas(264,30) Hint: Local variable "s" does not seem to be initialized
backend.pas(274,31) Hint: Local variable "s" does not seem to be initialized
backend.pas(346,47) Hint: Local variable "Buffer" does not seem to be
initialized
backend.pas(310,5) Note: Local variable "aline" not used
backend.pas(387,10) Warning: Function result does not seem to be set
backend.pas(495,3) Note: Local variable "equalPos" not used
backend.pas(27,63) Hint: Unit "BaseUnix" not used in backend
Compiling connect_info.pas
Compiling common_functions.pas
common_functions.pas(27,42) Hint: Local variable "s" does not seem to
be initialized
common_functions.pas(82,31) Warning: Local variable "delim_pos" does
not seem to be initialized
connect_info.pas(52,55) Hint: Local variable "s" does not seem to be initialized
connect_info.pas(24,28) Hint: Parameter "Sender" not used
connect_info.pas(25,28) Hint: Parameter "Sender" not used
connect_info.pas(26,24) Hint: Parameter "Sender" not used
connect_info.pas(93,39) Hint: Local variable "s" does not seem to be initialized
connect_info.pas(85,12) Note: Local variable "essid" not used
Compiling helpwndu.pas
Compiling mainform.pas
Compiling formeditconnectprops.pas
formeditconnectprops.pas(56,40) Hint: Parameter "Sender" not used
formeditconnectprops.pas(57,24) Hint: Parameter "Sender" not used
formeditconnectprops.pas(58,24) Hint: Parameter "Sender" not used
formeditconnectprops.pas(59,42) Hint: Parameter "Sender" not used
formeditconnectprops.pas(59,59) Hint: Parameter "User" not used
formeditconnectprops.pas(60,27) Hint: Parameter "Sender" not used
formeditconnectprops.pas(51,29) Hint: Parameter "Sender" not used
formeditconnectprops.pas(50,28) Hint: Parameter "Sender" not used
formeditconnectprops.pas(52,32) Hint: Parameter "Sender" not used
formeditconnectprops.pas(132,3) Note: Local variable "i" not used
formeditconnectprops.pas(53,28) Hint: Parameter "Sender" not used
formeditconnectprops.pas(54,35) Hint: Parameter "Sender" not used
formeditconnectprops.pas(55,28) Hint: Parameter "Sender" not used
formeditconnectprops.pas(27,23) Hint: Unit "ComCtrls" not used in
formEditConnectProps
mainform.pas(158,42) Hint: Local variable "s" does not seem to be initialized
mainform.pas(187,3) Note: Local variable "s" not used
mainform.pas(95,27) Hint: Parameter "Sender" not used
mainform.pas(96,36) Hint: Parameter "Sender" not used
mainform.pas(97,32) Hint: Parameter "Sender" not used
mainform.pas(98,45) Hint: Parameter "Sender" not used
mainform.pas(99,25) Hint: Parameter "Sender" not used
mainform.pas(347,3) Note: Local variable "anIcon" not used
mainform.pas(348,3) Note: Local variable "bmp" not used
mainform.pas(100,26) Hint: Parameter "Sender" not used
mainform.pas(386,3) Note: Local variable "anIcon" not used
mainform.pas(101,27) Hint: Parameter "Sender" not used
mainform.pas(102,24) Hint: Parameter "Sender" not used
mainform.pas(105,33) Hint: Parameter "Sender" not used
mainform.pas(107,43) Hint: Parameter "Sender" not used
mainform.pas(108,32) Hint: Parameter "Sender" not used
mainform.pas(109,32) Hint: Parameter "Sender" not used
mainform.pas(110,34) Hint: Parameter "Sender" not used
mainform.pas(111,36) Hint: Parameter "Sender" not used
mainform.pas(112,44) Hint: Parameter "Sender" not used
mainform.pas(116,29) Hint: Parameter "Sender" not used
mainform.pas(113,27) Hint: Parameter "Sender" not used
mainform.pas(114,33) Hint: Parameter "Sender" not used
mainform.pas(115,7) Hint: Parameter "Shift" not used
mainform.pas(115,27) Hint: Parameter "X" not used
mainform.pas(115,30) Hint: Parameter "Y" not used
mainform.pas(668,34) Hint: Local variable "pw" does not seem to be initialized
mainform.pas(92,28) Hint: Parameter "Sender" not used
mainform.pas(720,45) Hint: Local variable "Buffer" does not seem to be
initialized
mainform.pas(688,13) Note: Local variable "s" not used
mainform.pas(94,36) Hint: Parameter "Sender" not used
mainform.pas(760,10) Note: Local variable "pw" not used
mainform.pas(89,30) Hint: Parameter "Sender" not used
mainform.pas(90,48) Hint: Parameter "Sender" not used
mainform.pas(797,10) Note: Local variable "backend_text" not used
mainform.pas(797,24) Note: Local variable "prev_caption" not used
mainform.pas(87,31) Hint: Parameter "Sender" not used
mainform.pas(88,40) Hint: Parameter "Sender" not used
mainform.pas(839,3) Note: Local variable "s" not used
mainform.pas(85,44) Hint: Parameter "Sender" not used
mainform.pas(86,35) Hint: Parameter "Sender" not used
mainform.pas(91,34) Hint: Parameter "Sender" not used
helpwndu.pas(18,28) Hint: Parameter "Sender" not used
helpwndu.pas(19,25) Hint: Parameter "Sender" not used
helpwndu.pas(20,26) Hint: Parameter "Sender" not used
Compiling resource /home/edbarx/netman-0.1.1/lib/x86_64-linux/netman.or
Linking netman
/usr/bin/ld.bfd: warning: link.res contains output sections; did you forget -T?
2225 lines compiled, 1.8 sec
2 warning(s) issued
64 hint(s) issued
14 note(s) issued
[TCompiler.Compile] end
make[1]: Leaving directory '/home/edbarx/netman-0.1.1'
dh_auto_test
fakeroot debian/rules binary
dh binary --with quilt,python2
dh_testroot
dh_prep
dh_auto_install
dh_install
dh_installdocs
dh_installchangelogs
dh_python2
dh_perl
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/netman-gui/usr/bin/netman was not linked against
libgmodule-2.0.so.0 (it uses none of the library's symbols)
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `netman-gui' in `../netman-gui_0.1.1-1_amd64.deb'.
dpkg-deb: building package `netman-backend' in
`../netman-backend_0.1.1-1_amd64.deb'.
dpkg-genchanges >../netman_0.1.1-1_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-source --after-build netman-0.1.1
dpkg-buildpackage: full upload (original source is included)
signfile netman_0.1.1-1.dsc
gpg: skipped "Edward <edbarx@edbarx-pc>": No secret key
gpg: dpkg-sign.OBLx0Jpm/netman_0.1.1-1.dsc: clearsign failed: No secret key
dpkg-buildpackage: error: failed to sign .dsc and .changes file