From owner-freebsd-questions@FreeBSD.ORG Sat Nov 12 18:15:45 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCBC616A41F for ; Sat, 12 Nov 2005 18:15:45 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A55C43D46 for ; Sat, 12 Nov 2005 18:15:45 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so837122nzo for ; Sat, 12 Nov 2005 10:15:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=FmlzPrzfWHvgzbi4SEOY0MLhyTygUPq2oFWwmaDx2yQN7UE1H0fXaLZ+yaC3cCuSNoNrZX7VXEMslyawKcwmXemVi3OCXWzQl6PO9tMg/TZB2+QSAO6aCUo4Dj2wyQ/+ikUK+sOrvWFDBAOHoub+D3sGes8AhWEc4zrZoqiTgJI= Received: by 10.37.2.48 with SMTP id e48mr2431634nzi; Sat, 12 Nov 2005 10:15:44 -0800 (PST) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 5sm483449nzk.2005.11.12.10.15.42; Sat, 12 Nov 2005 10:15:44 -0800 (PST) From: "Michael C. Shultz" To: Alistair Sutton Date: Sat, 12 Nov 2005 10:06:14 -0800 User-Agent: KMail/1.8.3 References: <20051112154221.GA71266@fw.farid-hajji.net> <200511120839.59591.ringworm01@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511121006.15706.ringworm01@gmail.com> Cc: cpghost , freebsd-questions@freebsd.org Subject: Re: portmanager coredumps [with backtrace] 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: Sat, 12 Nov 2005 18:15:46 -0000 On Saturday 12 November 2005 09:17, Alistair Sutton wrote: > > I all ready have one pr against this port that looks like it will be > > pending until maintainer time out. Saw this a while bck and thought I > > had portmanager working around it. Mind testing the attached patch and > > seeing if it helps? > > Note: my /usr/ports tree is symlinked to somewhere within my home > directory so I don't know if this is causing any problems. > > With the patch, rather than coredumping, portmanager now offers to > remove the win32-codecs port. > > The output is like this: > > (ajs@falter) ~> sudo portmanager multimedia/avifile -ui -l -bu > Password: > rCreateCommandLineDb 0.3.4_0 info: executing rm -f > /usr/local/share/portmanager/commandLine.db > upgrading/installing /usr/ports/multimedia/avifile > ------------------------------------------------------------------------ > portmanager 0.3.4_0: Collecting installed port data > ------------------------------------------------------------------------ > 00001 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes > ------------------------------------------------------------------------ > Unix/FreeBSD/ports/multimedia/avifile/../win32-codecs is no longer in > the ports collection, see /usr/ports/MOVED > this port must be removed for portmanager to continue > is it OK to remove from your system? (yes/no/auto yes to all) [y/n/a] [y] > > Previously I got this response: > > (ajs@falter) ~> sudo portmanager multimedia/avifile -ui -l -bu > rCreateCommandLineDb 0.3.4_0 info: executing rm -f > /usr/local/share/portmanager/commandLine.db > upgrading/installing /usr/ports/multimedia/avifile > ------------------------------------------------------------------------ > portmanager 0.3.4_0: Collecting installed port data > ------------------------------------------------------------------------ > 00001 avifile-0.7.41,2 /multimedia/avifile WITHOUT_QT=yes > cd: can't cd to > /usr/portsUnix/FreeBSD/ports/multimedia/avifile/../win32-codecs zsh: > segmentation fault (core dumped) sudo portmanager > multimedia/avifile -ui -l -bu > > If you want me to try moving the ports into /usr/ports properly, then > let me know :-) > > Al > -- > GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg Here is what I get with the patch I sent you applied: root@ringworm:~> portmanager multimedia/avifile -ui -l -bu rCreateCommandLineDb 0.3.4_1 info: executing rm -f /usr/local/share/portmanager/commandLine.db upgrading/installing /usr/ports/multimedia/avifile ------------------------------------------------------------------------ portmanager 0.3.4_1: Collecting installed port data ------------------------------------------------------------------------ 00001 avifile-0.7.41,2 /multimedia/avifile 00002 nasm-0.98.39,1 /devel/nasm 00003 qt-copy-3.3.4 /x11-toolkits/qt33 00004 gmake-3.80_2 /devel/gmake 00005 libtool-1.5.20 /devel/libtool15 00006 sdl-1.2.9,2 /devel/sdl12 00007 win32-codecs-3.1.0.p5_1,1 .2005.10.01/multimedia/avifile/../win32-codecs 00008 liba52-0.7.4_1 /audio/liba52 This is correct, so may take at look at this cd /usr/ports/multimedia/avifile root@ringworm:~>cd /usr/ports/multimedia/avifile root@ringworm:/usr/ports/multimedia/avifile>make -V PORTSDIR /usr/ports (where ports thinks /usr/ports is located) root@ringworm:/usr/ports/multimedia/avifile>make -V make -V .CURDIR /usr/ports.2005.10.01/multimedia/avifile (actual location) root@ringworm:/usr/ports/multimedia/avifile>ls -l /usr/ports lrwxr-xr-x 1 root wheel 21 Nov 12 07:21 /usr/ports -> /usr/ports.2005.10.01 I have a link from /usr/ports to /usr/ports.2005.10.01 Is your something like this? -Mike