Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Dec 2004 16:07:08 -0800
From:      Joshua Tinnin <krinklyfig@spymac.com>
To:        freebsd-ports@freebsd.org
Cc:        h <h@erathia.be>
Subject:   Re: broken port: gnuchess
Message-ID:  <200412251607.08896.krinklyfig@spymac.com>
In-Reply-To: <200412231501.42334.krinklyfig@spymac.com>
References:  <200412231651.52690.h@erathia.be> <200412232325.56753.h@erathia.be> <200412231501.42334.krinklyfig@spymac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 23 December 2004 03:01 pm, Joshua Tinnin 
<krinklyfig@spymac.com> wrote:
> On Thursday 23 December 2004 02:25 pm, h <h@erathia.be> wrote:
> > On Thursday 23 December 2004 22:55, Joshua Tinnin wrote:
> > > On Thursday 23 December 2004 07:51 am, h <h@erathia.be> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200412251607.08896.krinklyfig>