* 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'
Created attachment 293559 [details] USE flags
Created attachment 293561 [details] environment
Created attachment 293563 [details] emerge info
Created attachment 293565 [details] build log
fresh install on primarily stable amd64 default/linux/amd64/10.0/desktop/gnome builds ok
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.
Created attachment 293857 [details] Various tex logs
Oh, and I'm on ~amd64, not stable, so I'm probably trying to compile a newer version than you are.
luatex: error while loading shared libraries: libpoppler.so.18: cannot open shared object file: No such file or directory you should run revdep-rebuild...
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?
(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.
(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.
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. :)
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...
*** This bug has been marked as a duplicate of bug 342581 ***