Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 149117 - Build of tetex RPMs fails because of missing file "ls-R"
Build of tetex RPMs fails because of missing file "ls-R"
Product: Fedora
Classification: Fedora
Component: tetex (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-02-18 16:59 EST by Joachim Frieben
Modified: 2013-07-02 19:06 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-28 10:29:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joachim Frieben 2005-02-18 16:59:12 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020 Epiphany/1.4.4

Description of problem:
Building tetex-2.0.2-21.3 on a fully updated FC3 system fails with the

+ mkdir /var/tmp/tetex-root/usr/share/applications
+ desktop-file-install --vendor tetex --delete-original --dir
/var/tmp/tetex-root/usr/share/applications --add-category
X-Red-Hat-Extra --add-category Graphics --add-category Application
warning: file contains key "MiniIcon", usage of this key is not
recommended, since it has been deprecated
+ rm -f /var/tmp/tetex-root/var/lib/texmf/ls-R
+ head -n 1 /var/tmp/tetex-root/usr/share/texmf/ls-R
head: cannot open `/var/tmp/tetex-root/usr/share/texmf/ls-R' for
reading: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.73780 (%install)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Execute "rpmbuild --rebuild tetex-2.0.2-21.3.src.rpm"


Actual Results:  Watch the above error message appear and "rpmbuild"
abort the packaging of the binary packages.

Additional info:

The various tetex-2.0.2-21.3 binary packages should have built properly.
Comment 1 Joachim Frieben 2005-02-19 09:54:55 EST
Identical output for the rebuild of "tetex-3.0-1".
Comment 2 Jindrich Novy 2005-02-22 09:17:35 EST
The log context you presented here looks weird. Could you please send
the whole compile log here as an attachment?

I don't think it's a general problem since I build both the versions
with no problems locally and also our build system and other users had
no complains about it.

Comment 3 Joachim Frieben 2005-02-26 04:20:29 EST
I have found the reason for the observed behaviour: I've got a local "texmf"
tree, and via the "su" command the TEXMF shell variable got exported to the both
local accounts (install/root) which I had used to try to rebuild the binary
After correction of this misleading setting, the packages do build as expected.
Unless one does not consider rpmbuild taking into account a local TEXMF shell
variable as undesirable, the issue can be qualified a "NOT A BUG".
Comment 4 Jindrich Novy 2005-02-28 10:29:29 EST
Ok, thanks for the bugreport anyway.


Note You need to log in before you can comment on or make changes to this bug.