ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Wireshark version: 0.99.6 throws an error when creating rpm on F

From: "Nandkumar Narel" <nandkumar.narel@xxxxxxxxxxxxxxxx>
Date: Fri, 23 Nov 2007 17:02:50 +0530
Hi,
Tried to create binary rpm package(using make rpm-package) for 0.99.6 release and got the following error.
Wireshark builds successfully on the above mentioned version of Fedora Linux (configure, make and make install) and captures the messages.
Is there a fix to create a rpm successfully.?
 
###################ERROR LOG##################################################

make[1]: Leaving directory `/root/nandkumar/wireshark-0.99.6/packaging/rpm/BUILD/wireshark-0.99.6'

+ /usr/lib/rpm/redhat/brp-compress

+ /usr/lib/rpm/redhat/brp-strip /usr/bin/strip

+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip

+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump

+ /usr/lib/rpm/brp-python-bytecompile

+ /usr/lib/rpm/redhat/brp-java-repack-jars

Processing files: wireshark-0.99.6-2

error: File not found by glob: /tmp/wireshark-0.99.6-root/usr/man/*/*

Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.71455

+ umask 022

+ cd /root/nandkumar/wireshark-0.99.6/packaging/rpm/BUILD

+ cd wireshark-0.99.6

+ DOCDIR=/tmp/wireshark-0.99.6-root/usr/share/doc/wireshark-0.99.6

+ export DOCDIR

+ rm -rf /tmp/wireshark-0.99.6-root/usr/share/doc/wireshark-0.99.6

+ /bin/mkdir -p /tmp/wireshark-0.99.6-root/usr/share/doc/wireshark-0.99.6

+ cp -pr AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README README.aix README.bsd README.hpux README.irix README.linux README.macos README.tru64 README.vmware README.win32 /tmp/wireshark-0.99.6-root/usr/share/doc/wireshark-0.99.6

+ exit 0

 

 

RPM build errors:

    File not found by glob: /tmp/wireshark-0.99.6-root/usr/man/*/*

make: *** [rpm-package] Error 1

#####################################################################
 
Build  and Platform details:
========================================================

Wireshark version/release: 0.99.6

 

Dependent libraries linked with:

Compiled with GTK+ 2.10.4, with GLib 2.12.3, with libpcap 0.8.3, with libz

1.2.3, with libpcre 6.6, without Net-SNMP, without ADNS, without Lua, without

GnuTLS, with Gcrypt 1.2.3, with MIT Kerberos, without PortAudio, without

AirPcap.

Built using gcc 4.1.1 20061011 (Red Hat 4.1.1-30).

 

 

Running on Linux 2.6.18-1.2798.fc6, with libpcap version 0.8.3.

=================================================

 

 

Appreciate your help on this, thanks

 

 

Nandkumar