Peter Pentchev писал 2012-12-12 23:43:
On Wed, Dec 12, 2012 at 10:50:49PM +1100, Alex Z wrote:
The linking line that you pasted above is the one used to create the
udpxy executable file, while Lintian complains about a file named
udpxrec. Is udpxrec a separate program? If so, you should look at
the
way it is linked (find the link line in the log that generates a
udpxreg
executable, a line that contains something like '-o udpxrec').
If udpxrec is really the name that udpxy is installed as (or if it is
a
hardlink or something similar to udpxy), then the situation is a bit
more complicated. Can you post your full build log?
Sure, build log in attachment. JFYI, urpxrec is just a symlink to
udpxy. dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package udpxy
dpkg-buildpackage: source version 1.0.23-4
dpkg-buildpackage: source changed by Alex 'AdUser' Z <ad_u...@lavabit.com>
dpkg-source --before-build udpxy-1.0.23-4
dpkg-buildpackage: host architecture i386
dpkg-source: info: using options from udpxy-1.0.23-4/debian/source/options:
--extend-diff-ignore=^util/mkdep$
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
rm -f core.* core udpxy.dep udpxy.o sloop.o rparse.o util.o prbuf.o ifaddr.o
ctx.o mkpg.o rtp.o uopt.o dpkt.o netop.o extrn.o main.o udpxrec.o udpxy udpxrec
make[1]: Leaving directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
dh_clean
dpkg-source -b udpxy-1.0.23-4
dpkg-source: info: using options from udpxy-1.0.23-4/debian/source/options:
--extend-diff-ignore=^util/mkdep$
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building udpxy using existing ./udpxy_1.0.23.orig.tar.gz
dpkg-source: info: building udpxy in udpxy_1.0.23-4.debian.tar.gz
dpkg-source: info: building udpxy in udpxy_1.0.23-4.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make[1]: Entering directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -MM udpxy.c sloop.c rparse.c util.c prbuf.c ifaddr.c
ctx.c mkpg.c rtp.c uopt.c dpkt.c netop.c extrn.c main.c udpxrec.c > udpxy.dep
make[1]: Leaving directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
make[1]: Entering directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
-e
Making a [release] version (use 'debug' target as an alternative)
make[2]: Entering directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c udpxy.c -o
udpxy.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c sloop.c -o
sloop.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c rparse.c -o
rparse.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c util.c -o
util.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c prbuf.c -o
prbuf.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c ifaddr.c -o
ifaddr.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c ctx.c -o
ctx.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c mkpg.c -o
mkpg.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c rtp.c -o
rtp.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c uopt.c -o
uopt.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c dpkt.c -o
dpkt.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c netop.c -o
netop.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c extrn.c -o
extrn.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c main.c -o
main.o
cc -D_FORTIFY_SOURCE=2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c udpxrec.c -o
udpxrec.o
cc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wl,-z,relro -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -o
udpxy udpxy.o sloop.o rparse.o util.o prbuf.o ifaddr.o ctx.o mkpg.o rtp.o
uopt.o dpkt.o netop.o extrn.o main.o udpxrec.o
-rwxr-xr-x 1 alex alex 99747 Dec 12 23:56 udpxy
ln -s udpxy udpxrec
make[2]: Leaving directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
make[1]: Leaving directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
dh_auto_test
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
dh_installdirs
dh_auto_install
make[1]: Entering directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
-rwxr-xr-x 1 root root 99747 Dec 12 23:56
/home/alex/assembly/udpxy/udpxy-1.0.23-4/debian/udpxy/usr/bin/udpxy
-rwxr-xr-x 1 root root 99747 Dec 12 23:56
/home/alex/assembly/udpxy/udpxy-1.0.23-4/debian/udpxy/usr/bin/udpxrec
Installation of udpxy is complete
make[1]: Leaving directory `/home/alex/assembly/udpxy/udpxy-1.0.23-4'
dh_install
dh_installdocs
dh_installchangelogs
dh_installexamples
dh_installman
dh_installcatalogs
dh_installcron
dh_installdebconf
dh_installemacsen
dh_installifupdown
dh_installinfo
dh_installinit
dh_installmenu
dh_installmime
dh_installmodules
dh_installlogcheck
dh_installlogrotate
dh_installpam
dh_installppp
dh_installudev
dh_installwm
dh_installxfonts
dh_installgsettings
dh_bugfiles
dh_ucf
dh_lintian
dh_gconf
dh_icons
dh_perl
dh_usrlocal
dh_link
dh_compress
dh_fixperms
dh_strip
dh_makeshlibs
dh_shlibdeps
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `udpxy' in `../udpxy_1.0.23-4_i386.deb'.
dpkg-genchanges >../udpxy_1.0.23-4_i386.changes
dpkg-genchanges: not including original source code in upload
dpkg-source --after-build udpxy-1.0.23-4
dpkg-source: info: using options from udpxy-1.0.23-4/debian/source/options:
--extend-diff-ignore=^util/mkdep$
dpkg-buildpackage: binary and diff upload (original source NOT included)
Now running lintian...
W: udpxy: hardening-no-fortify-functions usr/bin/udpxrec
W: udpxy: hardening-no-fortify-functions usr/bin/udpxy
Finished running lintian.
Now signing changes and any dsc files...
signfile udpxy_1.0.23-4.dsc Alex 'AdUser' Z <ad_u...@lavabit.com>