Wireshark-bugs: [Wireshark-bugs] [Bug 6049] New: make debian-package fails
Date: Tue, 21 Jun 2011 07:49:34 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6049

           Summary: make debian-package fails
           Product: Wireshark
           Version: 1.6.0
          Platform: x86-64
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Build Information:
wireshark 1.6.0 (SVN Rev 37594 from /releases/wireshark-1.6.0)

Copyright 1998-2011 Gerald Combs <[email protected]> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.22.0, with GLib 2.26.1, with libpcap 1.1.1, with
libz 1.2.3.4, with POSIX capabilities (Linux), without libpcre, with SMI 0.4.8,
with c-ares 1.7.3, with Lua 5.1, without Python, with GnuTLS 2.8.6, with Gcrypt
1.4.5, with MIT Kerberos, with GeoIP, with PortAudio V19-devel (built Aug  3
2010 06:06:51), without AirPcap.

Running on Linux 2.6.35-28-generic, with libpcap version 1.1.1, with libz
1.2.3.4, GnuTLS 2.8.6, Gcrypt 1.4.5.

Built using gcc 4.4.5.

--
./autogen.sh ; ./configure ; make
make debian-package

...
Tail end of build output:
...

ln -s /etc/wireshark/init.lua \
               
/home/peter/workspace/wireshark/debian/tmp/usr/share/wireshark/init.lua
mkdir -p
/home/peter/workspace/wireshark/debian/tmp/usr/lib/python2.4/site-packages/
cp /home/peter/workspace/wireshark/tools/wireshark_be.py
/home/peter/workspace/wireshark/tools/wireshark_gen.py \
                       
/home/peter/workspace/wireshark/debian/tmp/usr/lib/python2.4/site-packages/
mkdir -p /home/peter/workspace/wireshark/debian/tmp/usr/include/wireshark/
for F in `cat debian/wireshark-dev.header-files`; do \
                cp --parents $F
/home/peter/workspace/wireshark/debian/tmp/usr/include/wireshark; \
        done
rm -rf /home/peter/workspace/wireshark/debian/tmp/usr/man
dh_installman
dh_movefiles
dh_movefiles: debian/tmp//usr/lib/wireshark/libwireshark.so.0 not found
(supposed to put it in wireshark-common)
dh_movefiles: debian/tmp//usr/lib/wireshark/libwireshark.so.0.0.1 not found
(supposed to put it in wireshark-common)
dh_movefiles: debian/tmp//usr/lib/wireshark/libwiretap.so.0 not found (supposed
to put it in wireshark-common)
dh_movefiles: debian/tmp//usr/lib/wireshark/libwiretap.so.0.0.1 not found
(supposed to put it in wireshark-common)
dh_movefiles: debian/tmp//usr/lib/wireshark/libwsutil.so.0 not found (supposed
to put it in wireshark-common)
dh_movefiles: debian/tmp//usr/lib/wireshark/libwsutil.so.0.0.0 not found
(supposed to put it in wireshark-common)
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/peter/workspace/wireshark'
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2


Further digging (on Ubuntu 10.10, both 32 & 64 bit versions) shows that the
build generates versions of libwireshark, libwiretap and libwsutil that differ
from those specified in debian/wireshark-common.files and
debian/wireshark-common.shlibs.  Changing the versions allows make
debian-package to complete, but an install from the resulting deb file does not
pick up the custom dissectors - although this may not be directly related.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.