find_lang problem

Toshio Kuratomi toshio at tiki-lounge.com
Tue Oct 25 06:29:47 UTC 2005


Does anyone have any ideas why find_lang might fail to work from within
a spec file?  I'm seeing that both %find_lang qof
and /usr/lib/rpm/find_lang.sh $RPM_BUILD_ROOT qof are not spitting out
any diagnostics or a qof.lang file from within my spec.

Running /usr/lib/rpm/find_lang.sh (BUILDROOT) qof from a shell generates
the expected file.

Here's some output from rpmbuild (Using "make x86_64" from a modified
cvs co of qof on FC4):

+ echo DEBUG::
DEBUG::
+ find /pkgs/cvs/qof-0.6.0-1/tmp/qof-0.6.0-1-root-badger -name '*.mo'
-print
/pkgs/cvs/qof-0.6.0-1/tmp/qof-0.6.0-1-root-badger/usr/share/locale/en_GB/LC_MESSAGES/qof.mo
+ echo DEBUG::
DEBUG::
+ /usr/lib/rpm/redhat/find-lang.sh /pkgs/cvs/qof-0.6.0-1/tmp/qof-0.6.0-1-root-badger qof
+ /usr/lib/rpm/find-debuginfo.sh /pkgs/cvs/qof/devel/qof-0.6.0
[...]
Processing files: qof-0.6.0-1
error: Could not open %files
file /pkgs/cvs/qof/devel/qof-0.6.0/qof.lang: No such file or directory

spec file that's generating this is attached.

Thanks,
-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qof.spec
Type: application/x-extension-spec
Size: 5089 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051024/36a176af/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051024/36a176af/attachment.sig>


More information about the fedora-extras-list mailing list