Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30016 - problem to emerge dev-tex/texpower
Summary: problem to emerge dev-tex/texpower
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-30 12:52 UTC by Alcino Dall Igna Junior
Modified: 2003-10-03 10:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alcino Dall Igna Junior 2003-09-30 12:52:36 UTC
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/texpower-0.0.9d/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-texpower-0.0.9d-24948.log"

open_wr:   /var/cache/fonts/source/jknappen/ec/mf19370.tmp
unlink:    /var/cache/fonts/source/jknappen/ec/ectt1000.mf
open_wr:   /var/cache/fonts/source/jknappen/ec/mf20276.tmp
unlink:    /var/cache/fonts/source/jknappen/ec/ectt1000.mf
--------------------------------------------------------------------------------


Reproducible: Always
Steps to Reproduce:
1.emerge texpower
2.
3.




I have tetex-2.0.2-r1 installed
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-10-01 10:11:21 UTC
i think i have some idea of where this is going wrong, but could you please
attach the full build log here, the actual sandbox violations will be occuring
further up where we'll be able to get a better idea. thanks.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2003-10-01 19:57:55 UTC
( not sure why, but i was emailed this information directly, instead of it
being posted here, email was from Alcino Dall Igna Junior <alcino@lncc.br>,
and is the emerge build log i requested. )


root@pharma:~ 
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-10-01 19:57:55 UTC
( not sure why, but i was emailed this information directly, instead of it
being posted here, email was from Alcino Dall Igna Junior <alcino@lncc.br>,
and is the emerge build log i requested. )


root@pharma:~ ยป emerge texpower
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-tex/texpower-0.0.9d to /
>>> md5 src_uri ;-) texpower-0.0.9d.tar.gz
>>> md5 src_uri ;-) texpower-doc-pdf-0.0.9d.tar.gz
base
latex-package
base
latex-package
>>> Unpacking source...
>>> Unpacking texpower-0.0.9d.tar.gz to
/var/tmp/portage/texpower-0.0.9d/work
>>> Unpacking texpower-doc-pdf-0.0.9d.tar.gz to
/var/tmp/portage/texpower-0.0.9d/work
>>> Source unpacked.
base
latex-package
base
latex-package

>>> Install texpower-0.0.9d into /var/tmp/portage/texpower-0.0.9d/image/
category dev-tex
doc
 * Making documentation: ./fancystep.tex
 * Making documentation: ./__TPpbla.tex
 * Making documentation: ./__TPpblb.tex
 * Making documentation: ./__TPppic.tex
 * Making documentation: ./__TPpble.tex
 * Making documentation: ./__TPFAQ.tex
 * Making documentation: ./manual.tex
 * Making documentation: ./__TPdoc.tex
 * Making documentation: ./hilitexample.tex
 * Making documentation: ./__TPmath.tex
 * Making documentation: ./pdfscrdemo.tex
 * Making documentation: ./__TPtab.tex
 * Making documentation: ./pdfslidemo.tex
 * Making documentation: ./FAQ-printout.tex
 * Making documentation: ./tabexample.tex
 * Making documentation: ./__TPpblind.tex
 * Making documentation: ./divexample.tex
 * Making documentation: ./panelexample.tex
 * Making documentation: ./__TPbgnd.tex
 * Making documentation: ./picexample.tex
 * Making documentation: ./simplepanel.tex
 * Making documentation: ./seminardemo.tex
 * Making documentation: ./fulldemo.tex
 * Making documentation: ./bgndexample.tex
 * Making documentation: ./bckwrdexample.tex
 * Making documentation: ./ifmslidemo.tex
 * Making documentation: ./FAQ-display.tex
 * Making documentation: ./__TPlpic.tex
 * Making documentation: ./parexample.tex
 * Making documentation: ./__TPhlit.tex
 * Making documentation: ./foilsdemo.tex
 * Making documentation: ./__TPpar.tex
 * Making documentation: ./mathexample.tex
 * Making documentation: ./pp4sldemo.tex
 * Making documentation: ./__TPpic.tex
 * Making documentation: ./prosperdemo.tex
 * Making documentation: ./__TPbckwrd.tex
 * Making documentation: ./slidesdemo.tex
 * Making documentation: ./slifontsexample.tex
 * Making documentation: ./__TPslifonts.tex
 * Making documentation: ./simpledemo.tex
 * Making documentation: ./__TPdiv.tex
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/texpower-0.0.9d/image/

--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/tmp/sandbox-texpower-0.0.9d-30262.log"

open_wr:   /var/cache/fonts/source/jknappen/ec/mf17673.tmp
unlink:    /var/cache/fonts/source/jknappen/ec/ectt1000.mf
open_wr:   /var/cache/fonts/source/jknappen/ec/mf25850.tmp
unlink:    /var/cache/fonts/source/jknappen/ec/ectt1000.mf
--------------------------------------------------------------------------------
Comment 4 Martin Reed 2003-10-03 06:58:57 UTC
Problem is in the "use doc". The following emerged succesfully - I am not
sure where to look to solve it, hope this helps ..

src_install() {
	latex-package_src_install
	doins *.cfg

	insinto /usr/share/texmf/tex/latex/${PN}/addons
	doins addons/*.sty

	insinto /usr/share/texmf/tex/latex/${PN}/contrib
	doins contrib/config.landscapeplus contrib/tpmultiinc.tar

	dodoc 00readme.txt 01install.txt 0changes.txt
	newdoc addons/00readme.txt 00readme-addons.txt
	newdoc contrib/00readme.txt 00readme-contrib.txt

#	if use doc; then
#		S=${WORKDIR}/${P}/doc
#		latex-package_src_install
#		dodoc *.tex
#	fi
}

This is from texpower-0.0.9d-r1.ebuild
I have app-text/tetex-2.0.2-r1
and "use doc" is in my make.conf
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-03 07:56:42 UTC
How about

if use doc; then
	S=${WORKDIR}/${P}/doc
	mkdir ${T}/fonts
	VARTEXFONTS=${T}/fonts latex-package_src_install
	dodoc *.tex
fi

?
Comment 6 Alcino Dall Igna Junior 2003-10-03 08:52:18 UTC
Mamoru KOMACHI  sugestion works and I think that it could be in a -r1 ebuild
(I sync now and this wasn't there yet). I don't test it yes but it install
without other problems. After the changing of the ebuild I think that the
bug could be marked fixed.

Thanks to all,

Alcino

PS.: shouldn't be "dodir ${T}/fonts"?
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2003-10-03 10:12:17 UTC
Thanks for testing. I committed the fix. I didn't bump the version becausepeople
who had a problem with it could't emerge texpower, and there'sno reason for
those who have already installed texpower to upgrade.(This policy is described
in Gentoo Linux Development Policy)`dodir somedir` is a shorthand of `mkdir
${D}/somedir`, so `dodir${T}/fonts` is interpreted as `mkdir ${D}/${T}/fonts`.
I added`mkdir ${T}/fonts` to make temporary directory for fonts, so `mkdir${T}/fonts`
is correct here. Thanks anyway.