First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 199810
Alias:
Product:
Component:
Status: RESOLVED
Resolution: INVALID
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alex Weiss <gg.alex.weiss@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fmtutil.cnf Requested config file text/plain Alex Weiss 2007-11-21 08:07 0000 4.88 KB Details
texconfig_output Output of texconfig conf text/plain Alex Weiss 2007-11-21 08:48 0000 3.03 KB Details
texconfig_conf_as_root the output of texmfconfig conf as root after trying to emerge auctex text/plain Alex Weiss 2007-11-21 10:18 0000 2.70 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199810 depends on: Show dependency tree
Bug 199810 blocks: 199765
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-20 19:15 0000
When I try to emerge auctex-11.84-r2 it fails to emerge with an error.



Reproducible: Always

Steps to Reproduce:
1.emerge auctex
2.
3.

Actual Results:  

/usr/bin/mktexfmt: line 331: /usr/share/texmf/texconfig/tcfmgr: No such file or
directory
fmtutil: config file `fmtutil.cnf' not found.
I can't find the format file `pdftex.fmt'!
make: *** [tex-ref.pdf] Error 1
 *
 * ERROR: app-emacs/auctex-11.84-r2 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   auctex-11.84-r2.ebuild, line   76:  Called die
 * The specific snippet of code:
 *      cd doc; emake tex-ref.pdf || die "creation of tex-ref.pdf failed"
 *  The die message:
 *   creation of tex-ref.pdf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-emacs/auctex-11.84-r2/temp/build.log'.
 *

 * Messages for package app-emacs/auctex-11.84-r2:

 *
 * ERROR: app-emacs/auctex-11.84-r2 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   auctex-11.84-r2.ebuild, line   76:  Called die
 * The specific snippet of code:
 *      cd doc; emake tex-ref.pdf || die "creation of tex-ref.pdf failed"
 *  The die message:
 *   creation of tex-ref.pdf failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-emacs/auctex-11.84-r2/temp/build.log'.
 *

Expected Results:  
auctex should successfully upgrade

Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.22-gentoo-r9 i686)
=================================================================
System uname: 2.6.22-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Timestamp of tree: Tue, 20 Nov 2007 18:30:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa asf audiofile avi berkdb bitmap-fonts bzlib cairo
cdparanoia cdr cli cracklib crypt cups curl curlwrappers divx4linux dri dts dvd
dvdnav dvdr dvdread eds emboss encode fam ffmpeg firefox fortran freetype
freewnn gdbm gif gphoto2 gpm gtk gtk2 hal iconv imagemagick imlib ipv6 isdnlog
jpeg kde ldap mad matroska mbox midi mikmod mime mmx mp3 mpeg mudflap ncurses
network nls nptl nptlonly nvidia ogg oggvorbis opengl openmp pam pcre pdf
pdflib perl png ppds pppd python qt qt-static qt3 qt4 quicktime readline
reflection sdl session sox spell spl sse sse2 ssl tcltk tcpd tetex truetype
truetype-fonts type1-fonts unicode vorbis win32codecs x264 x86 xine xml xorg xv
xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy
dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear
meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="nv nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Alexis Ballier 2007-11-20 21:24:15 0000 -------
what tex distribution are you using ?

------- Comment #2 From Alex Weiss 2007-11-20 21:51:41 0000 -------
(In reply to comment #1)
> what tex distribution are you using ?
> 

I'm using tetex-3.0_p1-r6

------- Comment #3 From Christian Faulhammer 2007-11-21 05:48:19 0000 -------
(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.

------- Comment #4 From Alex Weiss 2007-11-21 07:34:27 0000 -------
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.

------- Comment #5 From Christian Faulhammer 2007-11-21 07:54:16 0000 -------
-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?

------- Comment #6 From Alex Weiss 2007-11-21 08:07:45 0000 -------
Created an attachment (id=136576) [details]
Requested config file

------- Comment #7 From Alex Weiss 2007-11-21 08:09:45 0000 -------
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?
> 

------- Comment #8 From Alex Weiss 2007-11-21 08:10:53 0000 -------
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?
> 

------- Comment #9 From Christian Faulhammer 2007-11-21 08:24:57 0000 -------
I am not able to reproduce your failure, I will look into it later today or
this week.

------- Comment #10 From Alexis Ballier 2007-11-21 08:32:14 0000 -------
(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/ ?

------- Comment #11 From Alex Weiss 2007-11-21 08:48:33 0000 -------
Created an attachment (id=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.

------- Comment #12 From Alexis Ballier 2007-11-21 10:01:27 0000 -------
(In reply to comment #11)
> Created an attachment (id=136578) [edit] [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.
> 


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)

------- Comment #13 From Alex Weiss 2007-11-21 10:18:59 0000 -------
Created an attachment (id=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

------- Comment #14 From Alexis Ballier 2007-11-21 10:26:54 0000 -------
(In reply to comment #13)
> Created an attachment (id=136588) [edit] [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


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

------- Comment #15 From Alex Weiss 2007-11-21 10:49:21 0000 -------
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
> 

------- Comment #16 From Christian Faulhammer 2007-11-21 12:39:31 0000 -------
(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.

First Last Prev Next    No search results available      Search page      Enter new bug