:: [DNG] git buildpackage simple-netai…
Top Page
Delete this message
Reply to this message
Author: Edward Bartolo
Date:  
To: dng, aitor_czr
Subject: [DNG] git buildpackage simple-netaid-lightweight ERROR
Hi,

While running 'git buildpackage' to test building a .deb package for
simple-netaid-lightweight I am receiving this error:

Error:
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libfreetype.so.6 (it uses none of the library's symbols)

The complete command output is the following:

--------------------------------------------------
edbarx@edbarx-pc:~/simple-netaid-lightweight$ git buildpackage --git-ignore-new
dpkg-buildpackage -rfakeroot -D -us -uc -i -I
dpkg-buildpackage: source package simple-netaid-lightweight
dpkg-buildpackage: source version 0.1.1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by edbarx <edbarx@???>
dpkg-source -i -I --before-build simple-netaid-lightweight
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory '/home/edbarx/simple-netaid-lightweight'
rm -f sn-lightweight
rm -rf obj
make[1]: Leaving directory '/home/edbarx/simple-netaid-lightweight'
dh_clean
dpkg-source -i -I -b simple-netaid-lightweight
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building simple-netaid-lightweight in
simple-netaid-lightweight_0.1.1.tar.xz
dpkg-source: info: building simple-netaid-lightweight in
simple-netaid-lightweight_0.1.1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make[1]: Entering directory '/home/edbarx/simple-netaid-lightweight'
rm -f sn-lightweight
rm -rf obj
gcc -Iinclude `pkg-config --libs --cflags gtk+-2.0` -c
src/auxiliaries.c src/signal_functions.c src/main_gui.c
src/dialog_gui.c src/sn-lightweight.c
mkdir obj
mv *.o obj/
gcc -Iinclude `pkg-config --libs --cflags gtk+-2.0` -o sn-lightweight
obj/auxiliaries.o obj/signal_functions.o obj/main_gui.o
obj/dialog_gui.o obj/sn-lightweight.o
make[1]: Leaving directory '/home/edbarx/simple-netaid-lightweight'
dh_auto_test
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
dh_auto_install
dh_install
dh_installdocs
dh_installchangelogs
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/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libfreetype.so.6 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libcairo.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libpangoft2-1.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libatk-1.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libpangocairo-1.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libgdk_pixbuf-2.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libfontconfig.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libpango-1.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libgdk-x11-2.0.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/simple-netaid-lightweight/usr/bin/sn-lightweight was not linked
against libgio-2.0.so.0 (it uses none of the library's symbols)
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `simple-netaid-lightweight' in
`../simple-netaid-lightweight_0.1.1_amd64.deb'.
dpkg-genchanges >../simple-netaid-lightweight_0.1.1_amd64.changes
dpkg-genchanges: including full source code in upload
dpkg-source -i -I --after-build simple-netaid-lightweight
dpkg-buildpackage: full upload; Debian-native package (full source is included)
Now running lintian...
Could not find a profile matching "{VENDOR}/main" for vendor devuan at
/usr/bin/lintian line 979.
Finished running lintian.
Now signing changes and any dsc files...
signfile simple-netaid-lightweight_0.1.1.dsc edbarx
<edbarx@???>
gpg: skipped "edbarx <edbarx@???>": secret key
not available
gpg: /tmp/debsign.edZjvSt0/simple-netaid-lightweight_0.1.1.dsc:
clearsign failed: secret key not available
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1295:
running debsign failed
gbp:error: 'debuild -i -I' failed: it exited with 29
----------------------------------------


The Makefile is this:
----------------------------------------
CC=gcc
CFLAGS=-Iinclude
GTK2FLAGS=`pkg-config --libs --cflags gtk+-2.0`
D=src
OBJ=obj

src0=auxiliaries.c signal_functions.c main_gui.c
src1=dialog_gui.c sn-lightweight.c

SOURCEFILES=$(addprefix $(D)/, $(src0) $(src1))
OBJFILES=$(addprefix $(OBJ)/, $(src0:.c=.o) $(src1:.c=.o))

all: clean compile-objs sn-lightweight

compile-objs:
    $(CC) $(CFLAGS) $(GTK2FLAGS) -c $(SOURCEFILES)
    mkdir obj
    mv *.o obj/


sn-lightweight:
    $(CC) $(CFLAGS) $(GTK2FLAGS) -o sn-lightweight $(OBJFILES)


clean:
    rm -f sn-lightweight
    rm -rf obj
-------------------------------------------


Any help appreciated.

Thanks, Edward.