Re: Failed: phase compiling: auctex-11.87-1 failed
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 2/15/22 3:42 PM, Franchetti, Giuliano Dr. wrote: > Hello to all, > > auctex does not compile. > Below is the log of the errors. > > Cheers > > Giuliano > > > . > . > . > ) > (see the transcript file for additional information)</opt/sw/share/texmf-dist/f > onts/type1/public/amsfonts/cm/cmbx12.pfb></opt/sw/share/texmf-dist/fonts/type1/ > public/amsfonts/cm/cmbxti10.pfb></opt/sw/share/texmf-dist/fonts/type1/public/am > sfonts/cm/cmitt10.pfb></opt/sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/ > cmr10.pfb></opt/sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr12.pfb></ > opt/sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr17.pfb></opt/sw/share > /texmf-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb></opt/sw/share/texmf-dist/f > onts/type1/public/amsfonts/cm/cmsy10.pfb></opt/sw/share/texmf-dist/fonts/type1/ > public/amsfonts/cm/cmsy6.pfb></opt/sw/share/texmf-dist/fonts/type1/public/amsfo > nts/cm/cmsy8.pfb></opt/sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmti1 > 0.pfb></opt/sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt10.pfb></opt > /sw/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmtt12.pfb></opt/sw/share/t > exmf-dist/fonts/type1/public/amsfonts/cm/cmtt8.pfb></opt/sw/share/texmf-dist/fo > nts/type1/public/amsfonts/cm/cmtt9.pfb> > Output written on preview.pdf (8 pages, 170276 bytes). > Transcript written on preview.log. > make: *** [Makefile:86: preview.pdf] Error 1 > ### execution of cd failed, exit code 2 > ### execution of /tmp/fink.qP1ru failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /opt/sw/bin/dpkg-lockwait -r fink-buildlock-auctex-11.87-1 > (Reading database ... 267003 files and directories currently installed.) > Removing fink-buildlock-auctex-11.87-1 ... > Failed: phase compiling: auctex-11.87-1 failed Our old auctex worked fine with old texlive, but did not work so well with the new texlive. I've attached 2 files for a current auctex-12.3. If you save the two files to /opt/sw/fink/dists/local/main/finkinfo/ does the new auctex build and work for you? It builds and installs here, but I don't do emacs or TeX, so I don't know if it's actually working. Hanspeter -- Organic chemistry is the study of carbon compounds. Biochemistry is the study of carbon compounds that crawl. --Mike Adams _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
auctex.info
(text/plain, 3.8 KB)
Package: auctex Version: 12.3 Revision: 1 Description: Environment for writing TeX/LaTeX docs License: GPL Maintainer: Todai Fink Team <[email protected]> Depends: << emacsen, ghostscript, make, preview-latex (= %v-%r), tetex3-base | system-tetex << Recommends: xpdf Suggests: lacheck Source: mirror:gnu:%n/%n-%v.tar.gz Source-Checksum: SHA256(2fd4fe30b69457c9277fe204d3e83c8472bcf500c8fe4a810d744406174ca9dd) PatchFile: %n.patch PatchFile-MD5: 2be60d6f998e3736937b3eed468cd218 PatchScript: sed 's|@FINK_PREFIX@|%p|g' <%{PatchFile} | patch -p1 ConfigureParams: << --with-texmf-dir=%p/etc/texmf.local \ --with-lispdir=%p/share/emacs/site-lisp \ --with-auto-dir=%p/share/emacs/site-lisp/%n/auto << CompileScript: << ./configure %c make << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d install -m 755 -d %i/share/emacs/site-lisp/%n install -m 755 configure install-sh %i/share/emacs/site-lisp/%n install -m 644 ChangeLog* %i/share/emacs/site-lisp/%n install -m 644 *.ac *.el *.in *.m4 %i/share/emacs/site-lisp/%n install -m 755 -d %i/share/emacs/site-lisp/%n/doc install -m 644 doc/Makefile.in %i/share/emacs/site-lisp/%n/doc install -m 755 -d %i/share/emacs/site-lisp/%n/latex install -m 644 latex/*.in %i/share/emacs/site-lisp/%n/latex install -m 755 -d %i/share/emacs/site-lisp/%n/preview/latex install -m 644 latex/*.dtx %i/share/emacs/site-lisp/%n/preview/latex install -m 755 -d %i/share/doc/%n/src install -m 644 doc/*.texi %i/share/doc/%n/src install -m 755 -d %i/var/lib/%n install -m 755 -d %i/etc/emacs/site-start.d install -m 644 fink/%n-startup %i/etc/emacs/site-start.d/50%n.el install -m 755 -d %i/lib/emacsen-common/packages/{install,remove} install -m 755 fink/%n-install %i/lib/emacsen-common/packages/install/%n install -m 755 fink/%n-remove %i/lib/emacsen-common/packages/remove/%n # remove .elc files. compiling happens at install time by emacsen-common rm %i/share/emacs/site-lisp/auctex/*.elc rm %i/share/emacs/site-lisp/auctex/style/*.elc << DocFiles: CHANGES COPYING ChangeLog* FAQ INSTALL README RELEASE TODO doc/tex-ref.pdf InfoDocs: %n.info ConfFiles: %p/etc/emacs/site-start.d/50%n.el SplitOff: << Package: preview-latex Description: LaTeX style files for editor embedded preview Files: etc/texmf.local share/info/%n.info DocFiles: COPYING latex/{README,preview.pdf} InfoDocs: %n.info PostInstScript: [ -x %p/bin/mktexlsr ] && %p/bin/mktexlsr %p/etc/texmf.local PostRmScript: [ -x %p/bin/mktexlsr ] && %p/bin/mktexlsr %p/etc/texmf.local Homepage: http://www.gnu.org/software/auctex/preview-latex.html DescDetail: << These style files are allow previewing LaTeX environments such as math or figures in editors which support it. << << PostInstScript: << if [ "$1" = "configure" ] && [ -x %p/lib/emacsen-common/emacs-package-install ] then %p/lib/emacsen-common/emacs-package-install %n fi << PreRmScript: << if [ -x %p/lib/emacsen-common/emacs-package-remove ] ; then %p/lib/emacsen-common/emacs-package-remove %n fi << DescDetail: << AUC TeX is a comprehensive customizable integrated environment for writing input files for (La)TeX using GNU Emacs. It can indent your text as you write it, let you run TeX/LaTeX and other LaTeX-related tools (such as a output filter or post processor) from within Emacs, and includes a wide range of Emacs macros to allow both easy insertions of LaTeX commands, and easy compilation, previewing, and printing of your TeX documents. AUC TeX also lets you browse through compiling errors TeX reports, while it moves the cursor directly to the reported error and displays documentation for that particular error. This will even work when the document is spread over several files. << Homepage: https://www.gnu.org/software/auctex/
auctex.patch
(text/plain, 12.8 KB)
diff -ruN auctex-12.3-orig/Makefile.in auctex-12.3/Makefile.in
--- auctex-12.3-orig/Makefile.in 2020-10-18 13:04:06.000000000 -0500
+++ auctex-12.3/Makefile.in 2022-02-19 05:36:09.000000000 -0600
@@ -378,7 +378,7 @@
rm -f $(CLEANFILES) $(DISTCLEANFILES)
cd doc && $(MAKE) maintainer-clean
cd latex && $(MAKE) distclean
- cd tests && $(MAKE) clean
+ #cd tests && $(MAKE) clean
extraclean: maintainer-clean
rm -f *~ \#*\#
diff -ruN auctex-12.3-orig/doc/auctex.info-1 auctex-12.3/doc/auctex.info-1
--- auctex-12.3-orig/doc/auctex.info-1 2020-10-18 13:04:41.000000000 -0500
+++ auctex-12.3/doc/auctex.info-1 2022-02-19 04:19:01.000000000 -0600
@@ -425,7 +425,7 @@
'configure' cannot determine something on its own, you'll need to help
it out with one of these options:
-'--prefix=/usr/local'
+'--prefix=@FINK_PREFIX@'
All automatic placements for package components will be chosen from
sensible existing hierarchies below this: directories like 'man',
'share' and 'bin' are supposed to be directly below PREFIX.
@@ -434,9 +434,9 @@
alternative search will be made in a prefix deduced from a suitable
binary.
- '/usr/local' is the default PREFIX, intended to be suitable for a
+ '@FINK_PREFIX@' is the default PREFIX, intended to be suitable for a
site-wide installation. If you are packaging this as an operating
- system component for distribution, the setting '/usr' will probably
+ system component for distribution, the setting '@FINK_PREFIX@' will probably
be the right choice. See *note Advice for package providers:: for
detail.
diff -ruN auctex-12.3-orig/doc/install.texi auctex-12.3/doc/install.texi
--- auctex-12.3-orig/doc/install.texi 2020-10-18 13:04:06.000000000 -0500
+++ auctex-12.3/doc/install.texi 2022-02-19 04:19:01.000000000 -0600
@@ -165,7 +165,7 @@
help it out with one of these options:
@table @code
-@item --prefix=@file{/usr/local}
+@item --prefix=@file{@FINK_PREFIX@}
All automatic placements for package components will be chosen from
sensible existing hierarchies below this: directories like @file{man},
@file{share} and @file{bin} are supposed to be directly below
@@ -175,9 +175,9 @@
alternative search will be made in a prefix deduced from a suitable
binary.
-@file{/usr/local} is the default @var{prefix}, intended to be suitable
+@file{@FINK_PREFIX@} is the default @var{prefix}, intended to be suitable
for a site-wide installation. If you are packaging this as an
-operating system component for distribution, the setting @file{/usr}
+operating system component for distribution, the setting @file{@FINK_PREFIX@}
will probably be the right choice. See @ref{Advice for package
providers} for detail.
diff -ruN auctex-12.3-orig/doc/preview-latex.info auctex-12.3/doc/preview-latex.info
--- auctex-12.3-orig/doc/preview-latex.info 2020-10-18 13:04:39.000000000 -0500
+++ auctex-12.3/doc/preview-latex.info 2022-02-19 04:19:01.000000000 -0600
@@ -610,7 +610,7 @@
in order to customize this.
One particular problem is that several printer setup files (typically
-in a file called '/usr/share/texmf/dvips/config/config.pdf' if you are
+in a file called '@FINK_PREFIX@/share/texmf/dvips/config/config.pdf' if you are
using the '-Ppdf' switch) contain the 'G' option for 'character
shifting'. This option will result in 'fi' being rendered as '£'
(British Pounds sign) in several fonts, unless your version of Dvips has
diff -ruN auctex-12.3-orig/doc/preview-problems.texi auctex-12.3/doc/preview-problems.texi
--- auctex-12.3-orig/doc/preview-problems.texi 2020-10-18 13:04:06.000000000 -0500
+++ auctex-12.3/doc/preview-problems.texi 2022-02-19 04:19:01.000000000 -0600
@@ -57,7 +57,7 @@
in order to customize this.
One particular problem is that several printer setup files (typically in
-a file called @file{/usr/share/texmf/dvips/config/config.pdf} if you are
+a file called @file{@FINK_PREFIX@/share/texmf/dvips/config/config.pdf} if you are
using the @option{-Ppdf} switch) contain the @option{G} option for
`character shifting'. This option will result in @samp{fi} being
rendered as @samp{@pounds{}} (British Pounds sign) in several fonts,
diff -ruN auctex-12.3-orig/fink/auctex-install auctex-12.3/fink/auctex-install
--- auctex-12.3-orig/fink/auctex-install 1969-12-31 18:00:00.000000000 -0600
+++ auctex-12.3/fink/auctex-install 2022-02-19 05:32:21.000000000 -0600
@@ -0,0 +1,77 @@
+#! /bin/bash -e
+#
+# <% elisp %> Emacs install script for auctex
+#
+# Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06
+# by Davide G. M. Salvetti.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to: The Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+set -o posix
+
+FLAVOR=${1}
+
+INSTALL="install -o root -g admin -m 644"
+INSTDIR="${INSTALL} -m 755 -d"
+
+do_install () {
+ /bin/echo >&2 "install/auctex: Setting up for ${FLAVOR}... " \
+ "(log file: @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog)... \c"
+ cd @FINK_PREFIX@/share/emacs/site-lisp/auctex/; umask 0022;
+# touch --reference configure --date "-1 second" configure.ac
+# touch --reference configure --date "-1 second" aclocal.m4
+# touch --reference configure --date "-1 second" preview/configure.ac
+ touch configure
+ ${INSTDIR} @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex/
+ ./configure --disable-build-dir-test GS=gs \
+ --prefix=@FINK_PREFIX@/ \
+ --with-emacs=${FLAVOR} \
+ --with-lispdir=@FINK_PREFIX@/share/${FLAVOR}/site-lisp/ \
+ --with-texmf-dir=@FINK_PREFIX@/etc/texmf.local/ \
+ --with-auto-dir=@FINK_PREFIX@/var/lib/auctex/${FLAVOR}/ \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ make lisp \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ make INSTALL="${INSTALL}" MKINSTALLDIRS="${INSTDIR}" \
+ install-lisp install-startup \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ ln -sf @FINK_PREFIX@/share/emacs/site-lisp/auctex//images @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//
+ # pushd preview \
+ #>> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ echo "We're in " `pwd` >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ make INSTALL="${INSTALL}" MKINSTALLDIRS="${INSTDIR}" \
+ install-el install-startup \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ # popd >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ make maintainer-clean \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ find @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex/ \
+ -type f -name \*.el -print0 | xargs -0 rm -f ,dummy, \
+ >> @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog 2>&1
+ gzip -9fq @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog
+ echo >&2 "done."
+ return 0
+}
+
+case "${FLAVOR}" in
+ (emacs) : ;;
+ (emacs2*)
+ do_install ;;
+ (*) echo >&2 "install/auctex:" \
+ "Ignoring emacsen flavor: \"${FLAVOR}\"."
+ ;;
+esac
+
+exit 0
diff -ruN auctex-12.3-orig/fink/auctex-remove auctex-12.3/fink/auctex-remove
--- auctex-12.3-orig/fink/auctex-remove 1969-12-31 18:00:00.000000000 -0600
+++ auctex-12.3/fink/auctex-remove 2022-02-19 04:19:01.000000000 -0600
@@ -0,0 +1,62 @@
+#! /bin/bash -e
+#
+# <% elisp %> Emacs remove script for auctex
+#
+# Copyright (C) 1997, 98, 99, 2000, 01, 02, 03, 04, 05, 06
+# by Davide G. M. Salvetti.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to: The Free Software Foundation, Inc.,
+# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+
+set -o posix
+
+FLAVOR=${1}
+
+undo_install () {
+ /bin/echo >&2 "remove/auctex: Removing for ${FLAVOR}... \c"
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//../{auctex,tex-site}.el
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//../preview-latex.el
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//CompilationLog{,.gz}
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//images
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//*.elc
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//.nosearch
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//style//*.elc
+ rm -f @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//style//.nosearch
+ test -d @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//style/ && \
+ rm -rf \
+ @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex//style/
+ test -d @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex/ && \
+ rm -rf \
+ @FINK_PREFIX@/share/${FLAVOR}/site-lisp/auctex/
+ echo >&2 "done."
+ return 0
+}
+
+undo_auto () {
+ rm -rf @FINK_PREFIX@/var/lib/auctex//${FLAVOR}/
+ return 0
+}
+
+case "${FLAVOR}" in
+ (emacs) : ;;
+ (emacs2*)
+ undo_auto
+ undo_install
+ ;;
+ (*) echo >&2 "remove/auctex:" \
+ "Ignoring emacsen flavor: \"${FLAVOR}\"."
+ ;;
+esac
+
+exit 0
diff -ruN auctex-12.3-orig/fink/auctex-startup auctex-12.3/fink/auctex-startup
--- auctex-12.3-orig/fink/auctex-startup 1969-12-31 18:00:00.000000000 -0600
+++ auctex-12.3/fink/auctex-startup 2022-02-19 04:19:01.000000000 -0600
@@ -0,0 +1,28 @@
+;;; This is a conffile: you can edit it if you like; however,
+;;; please note that if you do not want AUCTeX to override the standard
+;;; Emacs TeX mode, you may unload AUCTeX completely by evaluating the
+;;; form "(unload-feature 'tex-site)" (i.e., put that string into your
+;;; "~/.emacs" to disable AUCTeX completely).
+
+(let ((list '((lisp . "auctex") (source . "auctex"))))
+ (while list
+ (let ((elt (car list)))
+ (cond
+ ((equal 'lisp (car elt))
+ (let ((dir (concat "@FINK_PREFIX@/share/"
+ (symbol-name fink-emacs-flavor)
+ "/site-lisp/" (cdr elt))))
+ (when (file-directory-p dir)
+; (if (fboundp 'fink-pkg-add-load-path-item)
+ (if (and nil (fboundp 'fink-pkg-add-load-path-item))
+ (fink-pkg-add-load-path-item dir)
+ (add-to-list 'load-path dir 'append)))))
+ ((equal 'source (car elt))
+ (let ((dir (concat "@FINK_PREFIX@/share/emacs/site-lisp/" (cdr elt))))
+ (when (file-directory-p dir)
+ (add-to-list 'load-path dir 'append))))))
+ (setq list (cdr list))))
+
+(load "auctex.el")
+(load "preview-latex.el")
+(setq TeX-parse-self t)
diff -ruN auctex-12.3-orig/tex-jp.el auctex-12.3/tex-jp.el
--- auctex-12.3-orig/tex-jp.el 2020-10-18 13:04:06.000000000 -0500
+++ auctex-12.3/tex-jp.el 2022-02-19 04:19:01.000000000 -0600
@@ -216,13 +216,13 @@
(or (TeX-tree-expand
'("$SYSTEXMF" "$TEXMFLOCAL" "$TEXMFMAIN" "$TEXMFDIST")
"platex" '("/ptex/" "/pbibtex/bst/"))
- '("/usr/share/texmf/ptex/" "/usr/share/texmf/pbibtex/bst/")))
+ '("@FINK_PREFIX@/share/texmf/ptex/" "@FINK_PREFIX@/share/texmf/pbibtex/bst/")))
(mapc (lambda (dir) (add-to-list 'TeX-macro-global dir t))
(or (TeX-tree-expand
'("$SYSTEXMF" "$TEXMFLOCAL" "$TEXMFMAIN" "$TEXMFDIST")
"jlatex" '("/jtex/" "/jbibtex/bst/"))
- '("/usr/share/texmf/jtex/" "/usr/share/texmf/jbibtex/bst/")))
+ '("@FINK_PREFIX@/share/texmf/jtex/" "@FINK_PREFIX@/share/texmf/jbibtex/bst/")))
(defcustom japanese-TeX-error-messages t
"*If non-nil, explain TeX error messages in Japanese."
diff -ruN auctex-12.3-orig/tex.el auctex-12.3/tex.el
--- auctex-12.3-orig/tex.el 2020-10-18 13:04:06.000000000 -0500
+++ auctex-12.3/tex.el 2022-02-19 04:19:01.000000000 -0600
@@ -2695,7 +2695,7 @@
"Return directories containing the site's TeX macro and style files."
(or (TeX-tree-expand '("$SYSTEXMF" "$TEXMFLOCAL" "$TEXMFMAIN" "$TEXMFDIST")
"latex" '("/tex/" "/bibtex/bst/"))
- '("/usr/share/texmf/tex/" "/usr/share/texmf/bibtex/bst/")))
+ '("@FINK_PREFIX@/share/texmf/tex/" "@FINK_PREFIX@/share/texmf/bibtex/bst/")))
(defun TeX-macro-private ()
"Return directories containing the user's TeX macro and style files."