Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 1996 09:18:34 -0700 (PDT)
From:      Matt Bartley <mbartley@lear35.cytex.com>
To:        freebsd-ports@freebsd.org
Subject:   inn1.4unoff4 port broken
Message-ID:  <199606221618.JAA16790@lear35.cytex.com>

next in thread | raw e-mail | index | archive | help
Background: FreeBSD-current, /usr/src is at CTM level src-cur 1920,
/usr/ports is at CTM level ports-cur 1085.

First problem is probably something simple, but I couldn't find the
problem in the Makefile:


bash# pwd
/usr/ports/news/inn
bash# make
>> inn1.4unoff4.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch from ftp://ftp.math.psu.edu/pub/INN.
INNinn1.4unoff4.tar.gz: No such file or directory
^^^

>> Attempting to fetch from ftp://ftp.freebsd.org/pub/FreeBSD/distfiles//.
inn1.4unoff4.tar.gz: No such file or directory
>> Couldn't fetch it - please try to retreive this
>> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
bash#


If I manually fetch the source code, this is what happens:


bash# pwd
/usr/ports/news/inn
bash# ls /usr/ports/distfiles/inn1.4unoff4.tar.gz 
/usr/ports/distfiles/inn1.4unoff4.tar.gz
bash# make
Checksums OK.
===>  Extracting for inn-1.4u4
===>  Patching for inn-1.4u4
===>  Applying FreeBSD patches for inn-1.4u4
File to patch: nnrpd/loadave.c
No file found--skip this patch? [n] 
File to patch: loadave.c
No file found--skip this patch? [n] 
File to patch: work/inn1.4unoff4/nnrpd/loadave.c
No file found--skip this patch? [n] y
2 out of 2 hunks ignored--saving rejects to work/inn1.4unoff4/nnrpd/
  loadave.c.rej
Can't create work/inn1.4unoff4/nnrpd/loadave.c.rej, output is in /tmp/
  patchr010175: No such file or directory
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
bash# 


So I applied the patch manually, touched .patch_done, and tried to continue,
only to get this:


bash# ls -l work
total 4
-rw-r--r--   1 root  wheel     0 Jun 22 08:57 .extract_done
drwxr-xr-x  16 617   10     1024 Jan 12 14:59 inn1.4unoff4
bash# cd work/inn1.4unoff4
bash# patch < ../../patches/patch-ah 
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** nnrpd/loadave.c.orig	Fri Jan 29 17:51:58 1993
|--- nnrpd/loadave.c	Tue Oct 24 23:10:10 1995
--------------------------
Patching file nnrpd/loadave.c using Plan A...
Hunk #1 succeeded at 17.
Hunk #2 succeeded at 62.
done
bash# cd ..
bash# pwd
/usr/ports/news/inn/work
bash# touch .patch_done
bash# cd ..
bash# make
Checksums OK.
===>  Configuring for inn-1.4u4
echo "-O" >/tmp/build-ports-news-inn-cflags
/usr/ports/news/inn/scripts/configure: cannot create /usr/ports/news/inn/
  work/config/config.data: directory nonexistent
cd: can't cd to /usr/ports/news/inn/work/config
make: don't know how to make c. Stop
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
bash#


Looks like it's looking in the wrong directory for the INN source code.




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