From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1EE231382C5 for ; Wed, 16 Dec 2020 22:16:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 646C7E092B; Wed, 16 Dec 2020 22:16:45 +0000 (UTC) Received: from turkos.aspodata.se (turkos.aspodata.se [185.140.117.226]) by pigeon.gentoo.org (Postfix) with ESMTP id 08B83E08FF for ; Wed, 16 Dec 2020 22:16:44 +0000 (UTC) Received: from turkos.aspodata.se (localhost.aspodata.se [127.0.0.1]) by turkos.aspodata.se (Postfix) with ESMTP id 4457E82CBBF1 for ; Wed, 16 Dec 2020 23:16:43 +0100 (CET) Received: by turkos.aspodata.se (Postfix, from userid 1000) id 2B58182CBBF6; Wed, 16 Dec 2020 23:16:43 +0100 (CET) X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev X-Exmh-Isig-CompType: repl X-Exmh-Isig-Folder: inbox From: karl@aspodata.se To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] sci-libs/{amd,camd}-2.4.6/ doc wierdness In-reply-to: <0105de14-a276-d0c0-87fc-a79d064acc06@gentoo.org> References: <20201216173049.A953582CBBF6@turkos.aspodata.se> <1e8f2ffe-0720-a42a-0e21-9d2b7787752c@gentoo.org> <0105de14-a276-d0c0-87fc-a79d064acc06@gentoo.org> Comments: In-reply-to Michael Orlitzky message dated "Wed, 16 Dec 2020 13:29:24 -0500." Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain Message-Id: <20201216221643.2B58182CBBF6@turkos.aspodata.se> Date: Wed, 16 Dec 2020 23:16:43 +0100 (CET) X-Virus-Scanned: ClamAV using ClamSMTP X-Archives-Salt: 4807e2dc-6cb5-4dc4-bc62-4916d26a3999 X-Archives-Hash: a9fed60a3c00e1fdb5970fd5f4d1948b Michael: > On 12/16/20 1:17 PM, Michael Orlitzky wrote: > > On 12/16/20 12:30 PM, karl@aspodata.se wrote: > >> Both sci-libs/{amd,camd}-2.4.6 gives this error in their build log: > >> > >> ! Package inputenc Error: Unicode character ^^H (U+0008) > >> (inputenc) not set up for use with LaTeX. > >> > > > > I can reproduce this... I'll take a look. > It looks like the Makefile.am for the documentation was only tested with > bash. Yes, this part: CAMD_UserGuide.pdf: echo '\begin{verbatim}' > camd_h.tex expand -8 $(top_srcdir)/Include/camd.h >> camd_h.tex echo '\end{verbatim}' >> camd_h.tex -ln -s $(srcdir)/*.{tex,bib} . $(PDFLATEX) CAMD_UserGuide $(BIBTEX) CAMD_UserGuide $(PDFLATEX) CAMD_UserGuide $(PDFLATEX) CAMD_UserGuide Unfortunately, different echos handles excapes differently, see e.g. https://helpmanual.io/man1/echo-posix/ In /bin/sh (dash) echo always converts thoose excapes (a' la sysV), where bash needs -e to do it (a' la BSD). One could replace the echos with printf "%s\n" as in $ printf "%s\n" '\begin' | od -a 0000000 \ b e g i n nl Note: echo '\e' is said to be undefined in dashs manual. /// Also, the $(srcdir) seems defined as ".", and I get this useless link: # ls -l total 140 lrwxrwxrwx 1 portage portage 13 Dec 16 16:58 '*.{tex,bib}' -> './*.{tex,bib}' /// > Try e.g., > > CONFIG_SHELL=/bin/bash USE=doc emerge -v1 sci-libs/amd > > If that works for you, I'll add it to the ebuilds. It will probably, cannot test just now, rust is compiling.... Regards, /Karl Hammar