bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build failure if rlog is not installed


From: Eric Blake
Subject: build failure if rlog is not installed
Date: Tue, 01 Jun 2010 11:46:30 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.4

I tried building gettext 0.18 from source using ./configure
--without-cvs --with-git, on a Fedora 13 machine (where rlog is not
installed by default), and it ended up creating a corrupt
archive.git.tar.gz (no tags and no contents), which meant that
installing it produced a useless autopoint:

+ git checkout -q gettext-0.14.1
error: pathspec 'gettext-0.14.1' did not match any file(s) known to git.
+ rm -rf tmpwrk15184
+ func_fatal_error 'infrastructure files for version 0.14.1 not found;
this is autopoint from GNU gettext-tools 0.18'

I looked back at the build log, and saw this:

if test -f archive.cvs.tar.gz; then \
          inputfile=archive.cvs.tar.gz; \
        else \
          inputfile='.'/archive.cvs.tar.gz; \
        fi; \
        ./convert-archive cvs git "$inputfile" archive.git.tar.gz
./convert-archive: line 157: rlog: command not found
[master (root-commit) d642136] Empty directory
./convert-archive: line 275: cd: *: No such file or directory
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
# On branch master
nothing to commit (working directory clean)
fatal: '*' is not a valid tag name.

But make kept chugging away with non-zero status.  The lack of rlog
should have been sufficient to cause make to exit with non-zero status,
rather than letting me proceed on to 'make install' with a broken
binary.  And perhaps configure should warn if this particular build
dependency is missing, rather than waiting until 'make' to find out.
Meanwhile, I found no mention of rlog in either DEPENDENCIES, README, or
INSTALL.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]