Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391739 - dev-texlive/texlive-basic-2011-r1 - fmtutil: Error! Not all formats have been built successfully.
Summary: dev-texlive/texlive-basic-2011-r1 - fmtutil: Error! Not all formats have been...
Status: RESOLVED DUPLICATE of bug 342581
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 20:32 UTC by Timothy Miller
Modified: 2013-04-23 14:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
USE flags (pqv.txt,184 bytes, text/plain)
2011-11-23 20:34 UTC, Timothy Miller
Details
environment (environment.txt,97.10 KB, text/plain)
2011-11-23 20:35 UTC, Timothy Miller
Details
emerge info (info.txt,5.71 KB, text/plain)
2011-11-23 20:35 UTC, Timothy Miller
Details
build log (build.log.txt,23.90 KB, text/plain)
2011-11-23 20:35 UTC, Timothy Miller
Details
Various tex logs (tex.tgz,652.14 KB, text/plain)
2011-11-26 16:03 UTC, Timothy Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Miller 2011-11-23 20:32:58 UTC
* ERROR: dev-texlive/texlive-basic-2011-r1 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
 * 
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 2269:  Called texlive-module_src_compile
 *   environment, line 2879:  Called die
 * The specific snippet of code:
 *               VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 * 
 * If you need support, post the output of 'emerge --info =dev-texlive/texlive-basic-2011-r1',
 * the complete build log and the output of 'emerge -pqv =dev-texlive/texlive-basic-2011-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2011-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2011-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-texlive/texlive-basic-2011-r1/work'
Comment 1 Timothy Miller 2011-11-23 20:34:55 UTC
Created attachment 293559 [details]
USE flags
Comment 2 Timothy Miller 2011-11-23 20:35:10 UTC
Created attachment 293561 [details]
environment
Comment 3 Timothy Miller 2011-11-23 20:35:23 UTC
Created attachment 293563 [details]
emerge info
Comment 4 Timothy Miller 2011-11-23 20:35:37 UTC
Created attachment 293565 [details]
build log
Comment 5 trogdog 2011-11-24 12:11:56 UTC
fresh install on primarily stable amd64 default/linux/amd64/10.0/desktop/gnome builds ok
Comment 6 Timothy Miller 2011-11-26 16:02:20 UTC
Well, it definitely does not build for me.  Not intermittent or anything.

I see this:

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /var/tmp/portage/dev-texlive/texlive-basic-2011-r1/work/texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages:
`luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
`luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
 * ERROR: dev-texlive/texlive-basic-2011-r1 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-basic.cnf

So I will attach a tar of the directory that it mentions with log files in it.
Comment 7 Timothy Miller 2011-11-26 16:03:08 UTC
Created attachment 293857 [details]
Various tex logs
Comment 8 Timothy Miller 2011-11-26 16:04:10 UTC
Oh, and I'm on ~amd64, not stable, so I'm probably trying to compile a newer version than you are.
Comment 9 Alexis Ballier gentoo-dev 2011-11-27 14:50:32 UTC
luatex: error while loading shared libraries: libpoppler.so.18: cannot open shared object file: No such file or directory


you should run revdep-rebuild...
Comment 10 Timothy Miller 2011-11-27 15:23:35 UTC
I run revdep-rebuild after every complete emerge update.  So essentially what you're implying is that we should be expected to run revdep-rebuild in the middle of emerges, because emerges are prone to break things part way through.  That would suggest a bug in the dependency checking in portage, no?
Comment 11 Alexis Ballier gentoo-dev 2011-11-27 16:53:32 UTC
(In reply to comment #10)
> I run revdep-rebuild after every complete emerge update.  So essentially what
> you're implying is that we should be expected to run revdep-rebuild in the
> middle of emerges, because emerges are prone to break things part way through. 
> That would suggest a bug in the dependency checking in portage, no?

you can play with preserve-libs (and the problems it implies) with portage 2.2 if you want to avoid this.
and yes, emerges are prone to break things part way by updating a library that changes its abi. portage doesnt have much way of knowing this besides the conservative behavior of preserve-libs.
Comment 12 trogdog 2011-11-29 12:53:23 UTC
(In reply to comment #8)
> Oh, and I'm on ~amd64, not stable, so I'm probably trying to compile a newer
> version than you are.

Sorry for the delay - busy weekend - No, in an effort to confirm your bug I unmasked texlive-basic-2011-r1 and emerged it. I posted that I could build it ok to show that the ebuild per se wasn't broken, but the problem likely lay with the "update" procedure, anyway glad to read in the forums that you got this solved.
Comment 13 Timothy Miller 2011-11-29 15:09:39 UTC
Yes.  I'd never before encountered a breakage in the middle of an emerge, although in retrospect, there's no difference between that and a breakage between emerges, so I guess I should have thought of it.  :)
Comment 14 Peter Fox 2012-02-25 15:51:41 UTC
I had this trouble when updating a machine that hadn't been updated for a while.
In my case I tried to fix by removing all of texlive, the /etc/texmf directory, and rebuilding luatex. It was only after rebuilding kpathsea that texlive-basic built ok. Removing all of /etc/texmf was probably not a good idea, which is why
I had to rebuild kpathsea...
Comment 15 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-23 14:56:04 UTC

*** This bug has been marked as a duplicate of bug 342581 ***