Wireshark-bugs: [Wireshark-bugs] [Bug 2863] RPM build fails due to partially changed man path
Date: Wed, 10 Sep 2008 14:07:34 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2863





--- Comment #2 from Neil Piercy <Neil@xxxxxxxxxxxxxxxxxx>  2008-09-10 14:07:33 PDT ---
I did:

./autogen.sh
./configure
make rpm-package

This is on RHEL4.  make on its own worked, but make rpm-package failed to build
the rpm.
The output at the error is below - it is actually a patched build for internal
extras, but we do not patch any relevant files, and it worked on 1.0.2 OK:

......

make  install-exec-hook
make[6]: Entering directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
make[6]: Nothing to be done for `install-exec-hook'.
make[6]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
test -z "/usr/share/wireshark/diameter" || mkdir -p --
"/tmp/wireshark-1.0.3ipa20-root/usr/share/wireshark/diameter"
 /usr/bin/install -c -m 644 'diameter/chargecontrol.xml'
'/tmp/wireshark-1.0.3ipa20-root/usr/share/wireshark/diameter/chargecontrol.xml'

<snip>

test -z "/usr/man/man1" || mkdir -p --
"/tmp/wireshark-1.0.3ipa20-root/usr/man/man1"
 /usr/bin/install -c -m 644 './wireshark.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/wireshark.1'
 /usr/bin/install -c -m 644 './tshark.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/tshark.1'
 /usr/bin/install -c -m 644 './text2pcap.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/text2pcap.1'
 /usr/bin/install -c -m 644 './mergecap.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/mergecap.1'
 /usr/bin/install -c -m 644 './capinfos.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/capinfos.1'
 /usr/bin/install -c -m 644 './editcap.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/editcap.1'
 /usr/bin/install -c -m 644 './dumpcap.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/dumpcap.1'
 /usr/bin/install -c -m 644 './idl2wrs.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/idl2wrs.1'
 /usr/bin/install -c -m 644 './rawshark.1'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man1/rawshark.1'
test -z "/usr/man/man4" || mkdir -p --
"/tmp/wireshark-1.0.3ipa20-root/usr/man/man4"
 /usr/bin/install -c -m 644 './wireshark-filter.4'
'/tmp/wireshark-1.0.3ipa20-root/usr/man/man4/wireshark-filter.4'

<snip>

make[5]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
make[4]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
make[3]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
make[2]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/rpm/BUILD/wireshark-1.0.3ipa20'
+ /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
Processing files: wireshark-1.0.3ipa20-2
error: File not found by glob: /tmp/wireshark-1.0.3ipa20-root/usr/share/man/*/*
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.57171
+ umask 022
+ cd 
+ /home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3/packaging/
+ rpm/BUILD
+ cd wireshark-1.0.3ipa20
+ DOCDIR=/tmp/wireshark-1.0.3ipa20-root/usr/share/doc/wireshark-1.0.3ipa
+ 20
+ export DOCDIR
+ rm -rf 
+ /tmp/wireshark-1.0.3ipa20-root/usr/share/doc/wireshark-1.0.3ipa20
+ /bin/mkdir -p 
+ /tmp/wireshark-1.0.3ipa20-root/usr/share/doc/wireshark-1.0.3ipa20
+ 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-1.0.3ipa20-root/usr/share/doc/wireshark-1.0.3ipa20
+ exit 0
    File not found by glob: /tmp/wireshark-1.0.3ipa20-root/usr/share/man/*/*


RPM build errors:
make[1]: *** [rpm-package] Error 1
make[1]: Leaving directory
`/home/bob/itg/cc-projects/wireshark/sandbox/wireshark-1.0.3'
make: *** [package] Error 2
make: Leaving directory `/home/bob/itg/cc-projects/wireshark/sandbox'

Regards,
Neil


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