[libvirt] errors building rpm

Daniel P. Berrange berrange at redhat.com
Wed Oct 22 10:59:57 UTC 2008


On Tue, Oct 21, 2008 at 04:39:36PM -0400, Ben Guthro wrote:
> I keep getting the following error when trying to build via a
> 'sudo make rpm' on the tip of the tree
> 
> + /usr/lib/rpm/find-lang.sh /var/tmp/libvirt-0.4.6-1.fc9-root libvirt
> No translations found for libvirt in /var/tmp/libvirt-0.4.6-1.fc9-root
> error: Bad exit status from /var/tmp/rpm-tmp.82848 (%install)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.82848 (%install)
> make: *** [rpm] Error 1
> 
> 
> This looks like it came in with one of Jim Meyering's latest checkins.

Looks like it probably failed to include any of the .po files. I see
Jim's change was essentially

ALL_LINGUAS=`{cd "po" > /dev/null && ls *.po} | sed 's+\.po$++'`

to

ALL_LINGUAS=`{cd "$srcdir/po" > /dev/null && ls *.po} | sed 's+\.po$++'`


So my expectation is that '$srcdir' is not defined, and thus its trying
to use '/po' to find po files.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list