From owner-freebsd-bugs Sun Apr 30 14:39:08 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA04586 for bugs-outgoing; Sun, 30 Apr 1995 14:39:08 -0700 Received: from grunt.grondar.za (grunt.grondar.za [196.7.18.129]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA04489 ; Sun, 30 Apr 1995 14:37:09 -0700 Received: from grumble.grondar.za (grumble.grondar.za [196.7.18.130]) by grunt.grondar.za (8.6.11/8.6.9) with ESMTP id XAA03441; Sun, 30 Apr 1995 23:36:29 +0200 Received: from localhost (localhost [127.0.0.1]) by grumble.grondar.za (8.6.11/8.6.9) with SMTP id XAA10328; Sun, 30 Apr 1995 23:36:24 +0200 Message-Id: <199504302136.XAA10328@grumble.grondar.za> X-Authentication-Warning: grumble.grondar.za: Host localhost didn't use HELO protocol To: "Jordan K. Hubbard" cc: asami@cs.berkeley.edu, bugs@FreeBSD.org, ports@FreeBSD.org Subject: Re: pkg_manage has a problem? Date: Sun, 30 Apr 1995 23:36:24 +0200 From: Mark Murray Sender: bugs-owner@FreeBSD.org Precedence: bulk > Hmmmm... Can you add a little diagnostic output to pkg_manage and tell > me which args its invoking pkg_add with? I may have broken something > with my recent changes and would like a chance to debug it! OK - back from the movies, and I have found something: 1) I put a line to print all arguments to exec_catch_errors, and that looks OK: /usr/sbin/pkg_info -a /var/tmp/pkg.009638 /usr/sbin/pkg_info -a /var/tmp/pkg.009820 but there is a diagnostic in that routine that hard-codes certain errors as though they are from pkg_add (around line 129 of pkg_manage.c). That could be fixed by replacing the string with a variable. 2) Around line 374 of pkg_manage.c, there is a hardcoded attempt to get package details using tar. This is the bugger that is failing. > Also, please put the failing package information up for ftp someplace > so that I can debug the problem under the same set of circumstances. It fails for all packages. M -- Mark Murray 46 Harvey Rd, Claremont, Cape Town 7700, South Africa +27 21 61-3768 GMT+0200