| Summary: | app-emacs/auctex-11.84-r2 fails to emerge - fmtutil: config file `fmtutil.cnf' not found. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Weiss <gg.alex.weiss> |
| Component: | New packages | Assignee: | Emacs project <emacs> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | CC: | tex |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 199765 | ||
| Attachments: |
Requested config file
Output of texconfig conf the output of texmfconfig conf as root after trying to emerge auctex |
||
|
Description
Alex Weiss
2007-11-20 19:15:00 UTC
what tex distribution are you using ? (In reply to comment #1) > what tex distribution are you using ? > I'm using tetex-3.0_p1-r6 (In reply to comment #2) > (In reply to comment #1) > > what tex distribution are you using ? > I'm using tetex-3.0_p1-r6 Do you actually have a file pdftex.fmt? And where is it located? If yes, execute texhash and try auctex again. Next is to try texmf-update, last resort a remerge of teTeX. Yes, I do have the file. I ran an updatedb (to make sure it wasn't deleted since the last updatedv) and it's located in /var/lib/texmf/web2c. I tried all three suggestions and all led to the same error. -r1 is no problem? Sorry, I don't meant pdftex.fmt, but fmtutil.cnf. What is its content? And what do you mean by "led to the same error"? Did the proposed commands succeed and then AUCTeX failed or did the commands itself fail with the same error? Created attachment 136576 [details]
Requested config file
Hi there, Not sure what happened, but my earlier message didn't get sent, though the fmtutil.cnf file apparently was sent. I found the file in /etc/texmf/web2c/ and there was another copy in /var/lib/texmf/web2c (I used diff to check if they were any different and they weren't). Sorry I wasn't clear about the results of the earlier proposed commands. The commands were successful but auctex still failed to emerge. (In reply to comment #5) > -r1 is no problem? Sorry, I don't meant pdftex.fmt, but fmtutil.cnf. What is > its content? And what do you mean by "led to the same error"? Did the > proposed commands succeed and then AUCTeX failed or did the commands itself > fail with the same error? > Quick P.S. I tried re-emerging -r1 and it worked perfectly. (In reply to comment #5) > -r1 is no problem? Sorry, I don't meant pdftex.fmt, but fmtutil.cnf. What is > its content? And what do you mean by "led to the same error"? Did the > proposed commands succeed and then AUCTeX failed or did the commands itself > fail with the same error? > I am not able to reproduce your failure, I will look into it later today or this week. (In reply to comment #0) > /usr/bin/mktexfmt: line 331: /usr/share/texmf/texconfig/tcfmgr: No such file or > directory what concerns me is more that line, your tex installation seems broken -r1 didnt fail because it didn't generate tex-ref.pdf I'd say could you please give us the output of 'texconfig conf' and a ls -l of /usr/share/texmf/texconfig/ ? Created attachment 136578 [details]
Output of texconfig conf
Here is the output you requested. Also, the directory you asked me to get a listing of doesn't exist. I suppose that's the likely file.
(In reply to comment #11) > Created an attachment (id=136578) [edit] > Output of texconfig conf > > Here is the output you requested. Also, the directory you asked me to get a > listing of doesn't exist. I suppose that's the likely file. > Ok I understand it: on tetex it is installed in /var/lib/texmf/texconfig/ while you seem to have environment pollution as root which comes in the way do define TEXMFMAIN as /usr/share/texmf, so mktexfmt wont find it there since it does not exist. It seems you ran 'texconfig conf' as a user, but I need it with the same user you run emerge app-emacs/auctex, just right after a failure for example. Also, env | grep TEX or grep -i TEX might help (still as root, just after a failure) Created attachment 136588 [details]
the output of texmfconfig conf as root after trying to emerge auctex
Here's the output you requested from texmfconfig conf.
The output for the environment variables is as follows:
TEXMFLOCAL=/usr/share/texmf.local
TEXMFMAIN=/usr/share/texmf
(In reply to comment #13) > Created an attachment (id=136588) [edit] > the output of texmfconfig conf as root after trying to emerge auctex > > Here's the output you requested from texmfconfig conf. > > The output for the environment variables is as follows: > > TEXMFLOCAL=/usr/share/texmf.local > TEXMFMAIN=/usr/share/texmf hehe you'll have to find out why those variables are defined, because they are the ones that cause you failures and you shouldn't override the defaults unless you know what you're doing ;) As they are set only for root I'd say you have them set in /root/.someshellrc files, you could try grepping there as a first try Hi there,
I know why those variables are defined as such; it has to do with my copying .bashrc from my prior linux distribution to gentoo and not making sure that everything was kosher. Never gave me problems, until now :-).
Anyway, I took out the TEXMFMAIN specification and auctex emerged fine. Anything else I need to do?
Thanks for the help!
> hehe you'll have to find out why those variables are defined, because they are
> the ones that cause you failures and you shouldn't override the defaults unless
> you know what you're doing ;)
>
> As they are set only for root I'd say you have them set in /root/.someshellrc
> files, you could try grepping there as a first try
>
(In reply to comment #15) > Anyway, I took out the TEXMFMAIN specification and auctex emerged fine. > Anything else I need to do? Not really, I close it now as INVALID. > Thanks for the help! That's what we are here for. Keep bug reports coming, even if there is a false positive sometimes. |