From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Shouldn't docbook-xml/xsl set XML_CATALOG_FILES? Date: Sun, 26 Mar 2017 22:13:04 +0200 Message-ID: <87mvc7okz3.fsf@gnu.org> References: <58D7A5E4.6090306@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1csEXI-00056x-PW for guix-devel@gnu.org; Sun, 26 Mar 2017 16:13:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1csEXE-0006U0-4J for guix-devel@gnu.org; Sun, 26 Mar 2017 16:13:12 -0400 In-Reply-To: <58D7A5E4.6090306@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 26 Mar 2017 13:28:36 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Hartmut Goebel Cc: guix-devel Heya, Hartmut Goebel skribis: > within a few day I stumbled twice over this: When using docbook-xml or > docbook-xsl in a package description, one needs to set XML_CATALOG_FILES > to make xslproc (and others) find the catalogs. > > Shouldn't XML_CATALOG_FILES be defined as native-search-paths? It is, but in libxml2, since libxml2 is the piece of software that does getenv("XML_CATALOG_FILES"). Now, what=E2=80=99s problematic, is that often users don=E2=80=99t install = libxml2 itself but rather tools that happen to be linked against libxml2. This is where the problem is: . > BTW: For docbook-xsl the directory-name includes version, while for > docbook-xml it does not. Which one should be used? Dunno, we should just follow what upstream does I guess? HTH, Ludo=E2=80=99.