From owner-freebsd-questions@FreeBSD.ORG Tue Apr 1 10:09:01 2008 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 DE847106567E for ; Tue, 1 Apr 2008 10:09:01 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7B6898FC24; Tue, 1 Apr 2008 10:09:00 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47F209C2.6010603@FreeBSD.org> Date: Tue, 01 Apr 2008 12:09:06 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: perryh@pluto.rain.com References: <47ef4464.8hmxyx8owvB7UAFk%perryh@pluto.rain.com> <47EF83E2.2000400@FreeBSD.org> <47f012c0.vaeX6y/Ut1gA9Lko%perryh@pluto.rain.com> <47F0147C.8070108@FreeBSD.org> <47f02d8e.xtw4HoBZjJEYST6+%perryh@pluto.rain.com> <47F033EB.2010009@FreeBSD.org> <47f0406c.fqjBxIwYJw8D9/Po%perryh@pluto.rain.com> <47F0AFDB.2@FreeBSD.org> <47f1bb1f.mcW1l/uA7Lv93qDq%perryh@pluto.rain.com> In-Reply-To: <47f1bb1f.mcW1l/uA7Lv93qDq%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add goofiness in 7.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 10:09:02 -0000 perryh@pluto.rain.com wrote: > ... >>> extract: execute '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' >>> xmlcatmgr: unbalanced arguments for `add' action >>> pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed > ... > >> That looks like a warning from xmlcatmgr which may or may not be >> important, but the package apparently added itself completely (no >> errors were reported by pkg_add). > > It may not make a lot of difference, but I am now wondering how to > recognize an "error reported by pkg_add" since this: > >>> pkg_add: command '/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add linuxdoc/catalog' failed > > looks like one to me, but apparently it isn't. /usr/local/* files are installed by a package, in this case run as part of a particular package installation script, and this failure is dutifully reported by pkg_add. > Just taking the xmlcatmgr message at face value, it looks as if > some addition that linuxdoc intended to make in some catalog did > not get done. Anything following that step in the postinstall > script may also not have gotten done. My gut suspicion is that > there is something wrong with the linuxdoc postinstall script > -- or perhaps linuxdoc has an unstated dependency which I don't > happen to have installed -- rather than something wrong with > xmlcatmgr. PR time, I guess :( Yes, that is the next step. It works for many others though, so the problem is likely to be more subtle than "it is completely broken". Krs