From owner-freebsd-ports@FreeBSD.ORG Sat May 18 00:58:06 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5339B742 for ; Sat, 18 May 2013 00:58:06 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from wp376.webpack.hosteurope.de (wp376.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:8591]) by mx1.freebsd.org (Postfix) with ESMTP id EFF777DE for ; Sat, 18 May 2013 00:58:05 +0000 (UTC) Received: from p57b83e2a.dip0.t-ipconnect.de ([87.184.62.42] helo=dijkstra.cruwe.de); authenticated by wp376.webpack.hosteurope.de running ExIM with esmtpsa (SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1UdVTH-0007ce-RR; Sat, 18 May 2013 02:58:04 +0200 Date: Sat, 18 May 2013 02:58:01 +0200 From: "Christopher J. Ruwe" To: freebsd-ports@freebsd.org Subject: Re: [patch included] teTeX and TeXLive Message-ID: <20130518025801.0659b2ac@dijkstra.cruwe.de> In-Reply-To: <20130517.085044.1287480701982669146.hrs@allbsd.org> References: <20130517.003258.983876528702230971.hrs@allbsd.org> <20130517001153.1d7d4d9d@dijkstra.cruwe.de> <20130517.085044.1287480701982669146.hrs@allbsd.org> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/pKwWJMmhCEo+9Zvj4xKDXcI" X-bounce-key: webpack.hosteurope.de;cjr@cruwe.de;1368838686;dc63b6ab; X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 May 2013 00:58:06 -0000 --MP_/pKwWJMmhCEo+9Zvj4xKDXcI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Fri, 17 May 2013 08:50:44 +0900 (JST) Hiroki Sato wrote: > "Christopher J. Ruwe" wrote > in <20130517001153.1d7d4d9d@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-.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-.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. --MP_/pKwWJMmhCEo+9Zvj4xKDXcI Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=tex-jadetex.patch 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} --MP_/pKwWJMmhCEo+9Zvj4xKDXcI Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=auctex.patch 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= hrs@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 Common subdirectories: /poudriere/ports/workstation/print/auctex/files and tree/print/auctex/files --MP_/pKwWJMmhCEo+9Zvj4xKDXcI Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=tex-xmltex.patch 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} --MP_/pKwWJMmhCEo+9Zvj4xKDXcI Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=tex-formats.patch 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} --MP_/pKwWJMmhCEo+9Zvj4xKDXcI--