From owner-freebsd-questions@FreeBSD.ORG Sat Aug 13 05:35:05 2011 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75E181065672 for ; Sat, 13 Aug 2011 05:35:05 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 3D1C38FC08 for ; Sat, 13 Aug 2011 05:35:05 +0000 (UTC) Received: by iye7 with SMTP id 7so7318421iye.17 for ; Fri, 12 Aug 2011 22:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=Vx2EfPW7gmJ79YffNlprWq0mVo1QBsXiihXZ9Kfh9SM=; b=pWQA4ALek0E4YeszLiONelC+7dMGDgyAbiVQb9kq94bbQzXemtdY8bQOYD8wx4tv+7 ArvEEjQ1hCqruVL/9/iyt8kW1uIyKWj6AhbonJkK6Yp4RlWuXjAS6XlvLCtGnBeAthz3 D/t0Y8EE+ROffX2fZksQVfPcf07E++s+3+lRE= MIME-Version: 1.0 Received: by 10.142.195.14 with SMTP id s14mr787641wff.1.1313213704527; Fri, 12 Aug 2011 22:35:04 -0700 (PDT) Received: by 10.68.54.106 with HTTP; Fri, 12 Aug 2011 22:35:04 -0700 (PDT) Date: Sat, 13 Aug 2011 01:35:04 -0400 Message-ID: From: "b. f." To: Daryl Sayers , freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: port build breaks at xmlto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2011 05:35:05 -0000 On Fri, Aug 12, 2011 at 01:18:07PM +1000, Daryl Sayers wrote: > > > FreeBSD 7.4 > I am having trouble building the xmlto port on FreeBSD 7.4. I am getting an > error: > > ===> Building for xmlto-0.0.24 > make all-am > for xml in xmlif.xml xmlto.xml; do FORMAT_DIR=./format /usr/local/bin/bash ./xmlto -o man/man1 man ./doc/$xml ; done || ( RC=$?; exit $RC ) > xmlto: /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml does not validate (status 3) > xmlto: Fix document syntax or use --skip-validation option > I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd > /usr/ports/textproc/xmlto/work/xmlto-0.0.24/./doc/xmlif.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" > "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> > .... xmlto should be using /usr/local/share/xml/docbook/4.2/docbookx.dtd, which should be installed by the build dependency textproc/docbook-xml, but instead is trying to fetch this file from a remote location, and failing. Check to see if this file is present, and intact. If it isn't, then reinstall textproc/docbook-xml. You could look at the file (and compare it to the reference file from the remote location), and the output of "pkg_info -ag", to see if anything is corrupted. > > After alot of frustration I decided to throw everything away and start again: > > # pkg_delete -a Okay, you've instructed the system to delete the registered files and directories in the step above -- but is any garbage left in /usr/local afterward? After the above step, you should check to see that /usr/local only contains files that you have placed there, and that won't interfere with new port installations. > # cd /usr/ports; rm -fr * > # csup -h cvsup.au.FreeBSD.org /usr/share/examples/cvsup/ports-supfile > # cd /usr/ports/textproc/xmlto > # make Usually, it's a good idea to perform "make deinstall-all clean all" (in that order), although in this case it should not have made a difference for the first build, if you had succeeded in cleaning /usr/local and /usr/ports. > > Using the defaults when the config screens appear. As there are now no packages > installed and the ports tree is brand new there should be no problems but in > the end it still fails with the same message. My /etc/make.conf is empty also. > > Why cant I build this package. This port was built on July 17 on the build cluster with 7.3-RELEASE-p4: http://pointyhat.freebsd.org/errorlogs/amd64-7-latest-logs/xmlto-0.0.24.log so while there may be a bug in the port, or in one of its dependencies, it is more probable that your build is polluted. If you don't want to use a binary package downloaded from the server, then you'll have to be patient, and break down the build until you find the precise location where it is failing, even though that is a nuisance. A complete build transcript and config.log would help. b.