shaikat3 / open-vcdiff

Automatically exported from code.google.com/p/open-vcdiff
Apache License 2.0
0 stars 0 forks source link

Building RPM package fails on Fedora 9: Installed (but unpackaged) file vcdiff.1.gz #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unpack the source tarball into a temporary directory on a machine
running Fedora release 9 (Sulphur).
2. In that directory, execute "./configure && make dist && make rpm".

What is the expected output? What do you see instead?

The expected output should end with:
+ exit 0
The rpm package file(s) are located in [directory name]

Instead, the following errors appear during "make rpm":
 /usr/bin/install -c -m 644 './man/vcdiff.1'
'/var/tmp/open-vcdiff-root/usr/man/man1/vcdiff.1'
[...]
Processing files: open-vcdiff-0.4-1
error: File not found: /var/tmp/open-vcdiff-root/usr/man/man1/vcdiff.1
[...]
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/open-vcdiff-root
error: Installed (but unpackaged) file(s) found:
   /usr/man/man1/vcdiff.1.gz
RPM build errors:
    File not found: /var/tmp/open-vcdiff-root/usr/man/man1/vcdiff.1
    Installed (but unpackaged) file(s) found:
   /usr/man/man1/vcdiff.1.gz

Original issue reported on code.google.com by openvcd...@gmail.com on 12 Jan 2009 at 8:02

GoogleCodeExporter commented 9 years ago
Some OS, including Fedora 9, automatically compress man pages that are installed
using /usr/bin/install.  This confuses the RPM packager, which expects a file 
named
"vcdiff.1" and finds one named "vcdiff.1.gz".

Original comment by openvcd...@gmail.com on 12 Jan 2009 at 8:15

GoogleCodeExporter commented 9 years ago
Fixed in open-vcdiff v0.5.  It uses a wild-card character to accept either
alternative ("vcdiff.1" or "vcdiff.1.gz").

Original comment by openvcd...@gmail.com on 20 Mar 2009 at 10:47