Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erqj0-0003rt-Gq for pgsql-docs@arkaria.postgresql.org; Fri, 02 Mar 2018 19:52:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1erqiz-0002T3-Or for pgsql-docs@arkaria.postgresql.org; Fri, 02 Mar 2018 19:52:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1erqim-00018v-MD for pgsql-docs@lists.postgresql.org; Fri, 02 Mar 2018 19:52:01 +0000 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1erqii-0002U2-KW for pgsql-docs@postgresql.org; Fri, 02 Mar 2018 19:51:59 +0000 Received: by mail-qk0-x242.google.com with SMTP id 130so13361881qkd.13 for ; Fri, 02 Mar 2018 11:51:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/IajRmMK7c5WHVwla7jrjNqyY7eD3LnmYc0zQvcnQ3Y=; b=JgSyPGaGT+zBqrH8BrB6Ogr787L+OSqLDUyc4QlO+p1x1J63FbGn2eCWG1ODAgo2G7 5DmEarxvCX/E0JBXbuVrZdgR07lkpDG7ZuG3wmil/+QmZMlIkaMl6/GILI55ASStTNJb HmecyepRZDi+8VNghtDMCR4gq9iaccenMD6tMvT09HRYtKmhMrBjcNc/C5q5cvJB+vhx 0gRFjdf/TLbrT1GAosV5KPzVO4HW4v0np630ySlpo4s9kGo1T3NCC4GUdr8b0BsVgNOS mV+oUdOJ/9ByKluB2YsiYQrvqz4u2Fp86MnEg+SU+kBijvwFRSGtApyzozreVq1MqeY+ EuYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/IajRmMK7c5WHVwla7jrjNqyY7eD3LnmYc0zQvcnQ3Y=; b=Xmik2ssG/9e+t3tVB57PidbSQtwr6UJ3XnKh1rMCkd7f1jsSRB+oCZrQAsHtXJhK6h fnUSn2ezsf/BwXxPRZORCvyy38D1QmIgY1vCQ6MxNqD94dJvOnWXDHKme0kxckF6eBEz KGsQZIWgUfB3n2udi2fFmRYInOHDnkKEW/GKHiECyzqrQffHrDQbiPNt+lET5CzY37Y7 0EQuSPcdPrayONrRpzNNz2OrZ8q6wlYisf4MuuFW0QK40p7lZ82cB5Vr+zDupGOPMO2D mEbpyUoYQjE1rK0Ld5iBuWZN37WHUnFd4DJ2pqir4QdQaBJXkOEnBcKteBEJ9Jyq91TA 4S6g== X-Gm-Message-State: AElRT7HTMO5lmO1U2OFuRHH9L75riQ6QLytzRKSbCIJWNZHcZfSdfsSb f9/F+zdBRfGc1K19myQNvjlZmQwlFYzXdp/Bykc= X-Google-Smtp-Source: AG47ELuAa7kYgZZIb3QOx3NMq0GER1YyMA0C/n7xyf9H0d+dzMvs5tMIImpLV+IBz6x9tEuBfrvk26bWIMhCSOlXSDU= X-Received: by 10.233.235.8 with SMTP id b8mr10039207qkg.250.1520020315239; Fri, 02 Mar 2018 11:51:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.200.23.58 with HTTP; Fri, 2 Mar 2018 11:51:54 -0800 (PST) In-Reply-To: References: <6c7f286d-8803-3884-0638-10f513498464@gmail.com> <877.1511623314@sss.pgh.pa.us> From: Robert Haas Date: Fri, 2 Mar 2018 14:51:54 -0500 Message-ID: Subject: Re: MacPorts xsltproc is very slow? To: Thomas Munro Cc: Tom Lane , Alexander Lakhin , pgsql-docs Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sun, Nov 26, 2017 at 5:03 PM, Thomas Munro wrote: > That got me wondering... why does the Apple xsltproc in /usr/bin work > then? Where is it even getting docbook-xsl from? I ran it with > --profile and http://docbook.sourceforge.net instead of file:// URLs, > and I could see outgoing connections with netstat. It believe that's > because it doesn't find it locally in /etc/xml/catalog, whereas the > MacPorts xsltproc looks in /opt/locl/etc/xml/catalog where it has been > listed by the docbook-xsl package. > > So one solution is simply to uninstall the docbook-xsl package. That > gets me back to fast documentation builds! For me, the documentation build fails without docbook-xsl. I wonder why it works for you. It also fails for me if I follow the instructions in the documentation: If you use MacPorts, the following will get you set up: sudo port install docbook-xml-4.2 docbook-xsl fop I have to also 'port install libxslt'. Otherwise, /usr/bin/xsltproc is used, and it won't use files installed by MacPorts packages. And then it takes, like you reported originally, an insanely long time. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company