From owner-freebsd-ports@FreeBSD.ORG Tue Dec 20 15:00:05 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 435D116A41F for ; Tue, 20 Dec 2005 15:00:05 +0000 (GMT) (envelope-from jr@opal.com) Received: from smtp3.vzavenue.net (smtp3.vzavenue.net [66.171.59.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id E935843D73 for ; Tue, 20 Dec 2005 15:00:03 +0000 (GMT) (envelope-from jr@opal.com) Received: from smtp.vzavenue.net ([66.171.59.140]) by smtp3.vzavenue.net with ESMTP; 20 Dec 2005 10:00:03 -0500 X-REPUTATION: 2.7 X-IronPort-AV: i="3.99,273,1131339600"; d="scan'208"; a="1028174:sNHT19127151" Received: from linwhf.opal.com (118.79.171.66.subscriber.vzavenue.net [66.171.79.118]) by smtp.vzavenue.net (MOS 3.7.1-GA) with ESMTP id DKD04924; Tue, 20 Dec 2005 10:00:00 -0500 (EST) Received: from ASSP-nospam (localhost [127.0.0.1]) by linwhf.opal.com (8.13.4/8.13.4) with ESMTP id jBKExxCl062622; Tue, 20 Dec 2005 09:59:59 -0500 (EST) (envelope-from jr@opal.com) Received: from 127.0.0.1 ([127.0.0.1] helo=linwhf.opal.com) by ASSP-nospam ; 20 Dec 05 14:59:59 -0000 Received: (from jr@localhost) by linwhf.opal.com (8.13.4/8.13.4/Submit) id jBKExwdc062621; Tue, 20 Dec 2005 09:59:58 -0500 (EST) (envelope-from jr) Date: Tue, 20 Dec 2005 09:59:57 -0500 From: "J.R. Oldroyd" To: Kent Stewart Message-ID: <20051220145957.GL11719@linwhf.opal.com> References: <20051220103850.GA28819@k7.mavetju> <200512200438.08552.kstewart@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512200438.08552.kstewart@owt.com> User-Agent: Mutt/1.4.2.1i X-Junkmail-Status: score=0/50, host=smtp.vzavenue.net Cc: Edwin Groothuis , freebsd-ports@freebsd.org Subject: Re: boinc-setiathome on 6.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2005 15:00:05 -0000 On Dec 20, 04:38, Kent Stewart wrote: > On Tuesday 20 December 2005 02:38 am, Edwin Groothuis wrote: > > I get: > > > > Message from server: platform 'i386-portbld-freebsd6.0' not > > found. > > > > Does anybody have hints on how to overcome this problem? > > Make sure you have a clean build of both and then reset and update your > project. It always took off after that. > I've had this question a few times, so here are the details... Boinc is a tool that downloads applications and then datasets, runs the applications on that data, and then uploads the results. For boinc to be able to download an application, a binary must be available on the server for your architecture/OS combination. However, since FreeBSD isn't as popular as other OSs, most application servers don't support downloadable binaries for FreeBSD. The message you saw tells you that you have attempted to download a binary for an application for i386/freebsd6.0 but this was not available. The boinc-setiathome port compiles the SETI application from source installs it locally and also installs the file ~boinc/projects/setiathome.berkeley.edu/app_info.xml which is used by boinc to find the installed SETI application which boinc will then use, rather than trying to download a binary from the SETI server. Since you have attempted to download a binary, this means that something isn't installed correctly. Either the app_info.xml file is missing, or the user "boinc" is not set up properly or the ~boinc directory or one of the subdirs has a permissions problem. If deinstalling and reinstalling both ports doesn't fix things, check that the boinc user and ~boinc directory permissions are OK as these are created when the ports are first installed, but not changed on later installs. The boinc user can have any user ID, the ~boinc dir (default /var/db/boinc, but can be anywhere) and subdirs must match the user ID and be at least rwx for the boinc user. Oh, and when you start boinc, you must use the bin/boinc script or the rc.d/boinc script, both of which su to the boinc user before starting things up. If you run lib/boinc/boinc-client directly and you are not su'd to the user boinc, things probably won't work properly either. -jr