Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2013 02:58:01 +0200
From:      "Christopher J. Ruwe" <cjr@cruwe.de>
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:  <CAO%2BPfDe0nEdG=6ZVncE90kTjsY4jyrk9jR1PMFbAwrBJ5CbJAw@mail.gmail.com> <20130517.003258.983876528702230971.hrs@allbsd.org> <20130517001153.1d7d4d9d@dijkstra.cruwe.de> <20130517.085044.1287480701982669146.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <hrs@FreeBSD.org> wrote:

> "Christopher J. Ruwe" <cjr@cruwe.de> 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-<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.

--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 <bsd.port.mk>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130518025801.0659b2ac>