On Fri, 17 May 2013 08:50:44 +0900 (JST) Hiroki Sato <h...@freebsd.org> wrote:
> "Christopher J. Ruwe" <c...@cruwe.de> wrote > in <20130517001153.1d7d4...@dijkstra.cruwe.de>: > > cj> > de> Thank you very much, however I have a install failure on > cj> > de> poudriere with ports tree up to date 5 minutes ago: > cj> > > cj> > Thank you for your report. I have received several reports > cj> > about install failures on poudriere and am investigating them. > cj> > > cj> > -- Hiroki > cj> > cj> Hello, > cj> > cj> I had exactly the same issue. I have a manual solution so far and > cj> am trying out the automation from ports. I am posting my progress > cj> hoping to save someone some time. > > Could you try r318346? > > -- Hiroki Sorry, I have updated ports and built from r318394. That did not work either. From the log: ===> Checking if print/tex-formats already installed tcfmgr: config file `tcfmgr.map' (usually in $TEXMFMAIN/texconfig) not found (ls-R missing?). fmtutil: config file `fmtutil.cnf' not found. *** [do-fmtutil-amstex] Error code 1 My nightly poudriere-build after patching texlive-texmf resulted in the same failures also. Having had a look at the texlive-texmf-<version>.txz and the +MANIFEST included therein showed that the post-install script I hoped to include by my post-install target was not included in the package's +MANIFEST. After upgrading to r318394 and building and hitting the same error, I had a look at texlive-base-<version>.txz and the +MANIFEST. Therein, as post-install, is one line /bin/rm -f share/texmf-var/ls-R Isn't that what the error-message is complaining about? I have a working solution for my installation, though. The idea is similar to my attempt with texlive-texmf: I have included texconfig rehash as pre-install or pre-build targets in the failing packages. This results on tex-formats, tex-jadetex and auctex compiling. I have included the patches, they are rather trivial, although, I think, dirty. I have also included a complete logfile of a failed build for tex-formats. I hope that helps. -- Christopher J. Ruwe TZ: GMT + 2h GnuPG/GPG: 0xE8DE2C14 FreeBSD 9.1-RELEASE #2: Tue Nov 27 03:45:16 UTC 2012 root@darkstar:/usr/obj/pcbsd-build90/fbsd-source/9.1/sys/GENERIC Punctuation matters: "Lets eat Grandma or Lets eat, Grandma" - Punctuation saves lives. "A panda eats shoots and leaves" or "A panda eats, shoots, and leaves" - Punctuation teaches proper biology.
diff -uN /poudriere/ports/workstation/print/tex-jadetex/Makefile tree/print/tex-jadetex/Makefile --- /poudriere/ports/workstation/print/tex-jadetex/Makefile 2013-05-17 14:34:13.546421312 +0200 +++ tree/print/tex-jadetex/Makefile 2013-05-17 14:54:01.191422074 +0200 @@ -26,6 +26,9 @@ NO_BUILD= yes TEX_FORMATS= jadetex +pre-install: + texconfig rehash + do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS}
diff -uN /poudriere/ports/workstation/print/auctex/Makefile tree/print/auctex/Makefile --- /poudriere/ports/workstation/print/auctex/Makefile 2013-05-14 14:56:53.122240896 +0200 +++ tree/print/auctex/Makefile 2013-05-17 14:33:19.578422430 +0200 @@ -39,6 +39,9 @@ NOT_FOR_ARCHS= ia64 +pre-build: + texconfig rehash + post-install: ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} @${CAT} ${PKGMESSAGE} diff -uN /poudriere/ports/workstation/print/auctex/Makefile~ tree/print/auctex/Makefile~ --- /poudriere/ports/workstation/print/auctex/Makefile~ 1970-01-01 01:00:00.000000000 +0100 +++ tree/print/auctex/Makefile~ 2013-05-17 13:49:04.413421912 +0200 @@ -0,0 +1,49 @@ +# Created by: Martin Kammerhofer +# $FreeBSD: head/print/auctex/Makefile 317899 2013-05-11 17:58:55Z hrs $ + +PORTNAME= auctex +PORTVERSION= 11.87 +PORTREVISION= 1 +CATEGORIES= print elisp +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMESUFFIX= -${EMACS_PORT_NAME} + +MAINTAINER= h...@freebsd.org +COMMENT= Integrated environment for writing LaTeX using GNU Emacs + +LICENSE= GPLv3 + +USE_TEX= latex +USE_GHOSTSCRIPT=yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-lispdir=${PREFIX}/${LISPDIR} \ + --with-auto-dir=${PREFIX}/${LISPDIR}/auctex/auto \ + --with-texmf-dir=${PREFIX}/${TEXMFDIR} +.if defined(NOPORTDOCS) +MAKE_ENV= WITHOUT_AUCTEX_DOCSDIR=yes +.else +PORTDOCS= tex-ref.pdf +.endif + +USE_EMACS= yes +LISPDIR= ${EMACS_VERSION_SITE_LISPDIR} + +PLIST_SUB+= LISPDIR=${LISPDIR} \ + TEXMFDIR=${TEXMFDIR} \ + MKTEXLSR=${MKTEXLSR} +INFO= auctex preview-latex + +TEXMFDIR= share/texmf +MKTEXLSR= ${LOCALBASE}/bin/mktexlsr + +NOT_FOR_ARCHS= ia64 + +pre-install: + texconfig rehash + +post-install: + ${MKTEXLSR} ${PREFIX}/${TEXMFDIR} + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> Common subdirectories: /poudriere/ports/workstation/print/auctex/files and tree/print/auctex/files
diff -uN /poudriere/ports/workstation/print/tex-xmltex/Makefile tree/print/tex-xmltex/Makefile --- /poudriere/ports/workstation/print/tex-xmltex/Makefile 2013-05-07 14:40:46.987298252 +0200 +++ tree/print/tex-xmltex/Makefile 2013-05-17 13:48:35.150424002 +0200 @@ -26,6 +26,9 @@ NO_BUILD= yes TEX_FORMATS= xmltex +pre-install: + texconfig rehash + do-install: ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \ ${EXTRACT_AFTER_ARGS}
diff -uN /poudriere/ports/workstation/print/tex-formats/Makefile tree/print/tex-formats/Makefile --- /poudriere/ports/workstation/print/tex-formats/Makefile 2013-05-17 13:53:42.572446707 +0200 +++ tree/print/tex-formats/Makefile 2013-05-17 13:06:03.298423000 +0200 @@ -17,6 +17,9 @@ TEX_FORMATS= amstex context cslatex eplain latex-bin \ metafont mex mltex mptopdf pdftex tex texsis +pre-install: + texconfig rehash + do-install: @${DO_NADA}
_______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"