From owner-freebsd-ports@FreeBSD.ORG Sun Dec 26 00:07:10 2004 Return-Path: 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 2562016A4CE for ; Sun, 26 Dec 2004 00:07:10 +0000 (GMT) Received: from smtp808.mail.sc5.yahoo.com (smtp808.mail.sc5.yahoo.com [66.163.168.187]) by mx1.FreeBSD.org (Postfix) with SMTP id 88E1943D45 for ; Sun, 26 Dec 2004 00:07:09 +0000 (GMT) (envelope-from krinklyfig@spymac.com) Received: from unknown (HELO smogmonster.com) (jtinnin@pacbell.net@64.173.26.30 with login) by smtp808.mail.sc5.yahoo.com with SMTP; 26 Dec 2004 00:07:09 -0000 From: Joshua Tinnin To: freebsd-ports@freebsd.org Date: Sat, 25 Dec 2004 16:07:08 -0800 User-Agent: KMail/1.7.2 References: <200412231651.52690.h@erathia.be> <200412232325.56753.h@erathia.be> <200412231501.42334.krinklyfig@spymac.com> In-Reply-To: <200412231501.42334.krinklyfig@spymac.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200412251607.08896.krinklyfig@spymac.com> cc: h Subject: Re: broken port: gnuchess X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2004 00:07:10 -0000 On Thursday 23 December 2004 03:01 pm, Joshua Tinnin wrote: > On Thursday 23 December 2004 02:25 pm, h wrote: > > On Thursday 23 December 2004 22:55, Joshua Tinnin wrote: > > > On Thursday 23 December 2004 07:51 am, h wrote: > > > > make install clean > > > > ===> Found saved configuration for gnuchess-5.07 > > > > ===> Extracting for gnuchess-5.07 > > > > => Checksum OK for book_1.01.pgn.gz. > > > > /usr/ports/distfiles//gnuchess-5.07.tar.gz: No such file or > > > > directory ===> Patching for gnuchess-5.07 > > > > ===> Applying FreeBSD patches for gnuchess-5.07 > > > > patch: **** can't cd to > > > > /usr/ports/games/gnuchess/work/gnuchess-5.07: No such file or > > > > directory > > > > => Patch patch-book.h failed to apply cleanly. > > > > *** Error code 1 > > > > > > > > Stop in /usr/ports/games/gnuchess. > > > > > > > > > > > > actually the port doesn't even try to fetch the gz: > > > > > > > > x [ OK ] > > > > Cancel x > > > > > > > > mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq > > > >qq qqqq j > > > > > > > > ===> Vulnerability check disabled, database not found > > > > ===> Found saved configuration for gnuchess-5.07 > > > > => book_1.01.pgn.gz doesn't seem to exist in > > > > /usr/ports/distfiles/. => Attempting to fetch from > > > > http://ftp.gnu.org/gnu/chess/. book_1.01.pgn.gz > > > > 100% of 24 MB 213 kBps 00m00s ===> Extracting > > > > for gnuchess-5.07 > > > > cannot open gnuchess-5.07.tar.gz: no such file > > > > *** Error code 2 > > > > > > > > Stop in /usr/ports/games/gnuchess. > > > > *** Error code 1 > > > > > > > > Stop in /usr/ports/games/gnuchess. > > > > > > I get a slightly different error: > > > > > > ---> Upgrading 'gnuchess-5.06_1' to 'gnuchess-5.07' > > > (games/gnuchess) ---> Building '/usr/ports/games/gnuchess' > > > ===> Cleaning for gnuchess-5.07 > > > ===> Vulnerability check disabled, database not found > > > ===> Found saved configuration for gnuchess-5.07 > > > ===> Extracting for gnuchess-5.07 > > > => Checksum OK for book_1.01.pgn.gz. > > > /usr/ports/distfiles//gnuchess-5.07.tar.gz: No such file or > > > directory tar: Error opening archive: Empty input file: > > > Inappropriate file type or format > > > *** Error code 1 > > > > does your make even try to fetch 5.07? it seems it tries to build > > 5.07 from the 5.06 gz. > > No, it doesn't look like it's trying to fetch 5.07 at all. I am not > sure why there are double slashes for the distfile pointer, but I'm > also not sure if that has anything to do with why it's not fetching. > It looks like it's trying to build 5.07 from the right distfile, but > it's not pointing exactly to the right place, and it's not fetching > it when it's not found. I looked at the Makefile, but I'm not sure > where to start with that. Incidentally, I was playing around with this again, and I downloaded the source from ftp.gnu.org/pub/gnu/chess/gnuchess-5.07.tar.gz manually and copied it into /usr/ports/distfiles . It updated fine until the install, where it encountered a permission problem with an install script: ===> Installing for gnuchess-5.07 scripts/create_opening_book.sh:Permission denied *** Error code 1 This is because create_opening_book.sh is not set to be executable. So, I did: # chmod 744 /usr/ports/games/gnuchess/scripts/create_opening_book.sh and the install seemed to work fine. As far as I can tell, the game works without problems after install. - jt