Install ctorrent-3.2_1 error, Makefile error?
Nikola Lecic
nlecic at EUnet.yu
Thu Sep 6 20:31:41 PDT 2007
On Fri, 7 Sep 2007 10:13:01 +0800
"Sunry Chen" <sunrychen at gmail.com> wrote:
> On 9/6/07, Nikola Lecic <nlecic at eunet.yu> wrote:
[...]
> > "Sunry Chen" <sunrychen at gmail.com> wrote:
> >
> > > On 9/6/07, Nikola Lecic <nlecic at eunet.yu> wrote:
> > [...]
> > > > (1) What is the contents of .PLIST.mktmp file? It should be
> > > >
> > > > # cat /usr/ports/net-p2p/ctorrent/work/.PLIST.mktmp
> > > > bin/ctorrent
> > > > share/doc/ctorrent/README-DNH.TXT
> > > > share/doc/ctorrent/UserGuide
> > > > @dirrm share/doc/ctorrent
> > > My output is only:
> > > bin/ctorrent
> >
> > Ok, expected...
> >
> > > > (2) Do you get the same error installing e.g. devel/avra?
> > > No. Not any error installing devel/avra-1.0.1_1.
> >
> > Ok... Maybe the devel/gtgt and devel/p5-Proc-ProcessTable would be
> > more informative examples (because of their install commands).
> > Please include work/.PLIST.mktmp files of both ports.
>
[...]
> For devel/p5-Proc-ProcessTable:
[...]
> share/doc/Proc-ProcessTable/README.freebsd
> @dirrm share/doc/Proc-ProcessTable
[...]
> [root at www /tmp]# make
> First
> Second
> Third
> Fourth
> [root at www /tmp]# uname -a
> FreeBSD www 6.2-STABLE FreeBSD 6.2-STABLE #7: Wed Mar 28 04:38:15 CST
> 2007 root@:/usr/obj/usr/src/sys/MYKERNEL i386
> [root at www /tmp]#
Interesting. :)
(1) The identically arranged .for loop for PORTDOCS works correctly
in e.g. devel/p5-Proc-ProcessTable;
(2) There is no global isspace(3) problem with something weird, e.g.
with your locale or something else.
The last two things you can try are:
(a) download
http://cvsweb.freebsd.org/ports/net-p2p/ctorrent/ctorrent.tar.gz?tarball=1
Replace net-p2p/ctorrent dir with it and try again;
(b) try to reproduce the error using the minimal BSDmakefile I
attached, which literally repeats the problematic line. If your
output differs from
# make
test 1...
README-DNH.TXT
UserGuide
test 2...
README-DNH.TXT
UserGuide
then you maybe can book a hunted bug somewhere in
src/usr.bin/make/for.c or related to isspace(3), triggered by
something strange in your environment, maybe by your locale. But
that's material for a new thread, perhaps on freebsd-stable at .
In meantime, if you just want to install ctorrent, do some tiny
surgery, for example edit PORTDOCS line to contains only one file.
Nikola Lečić
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BSDmakefile
Type: application/octet-stream
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070907/6a612e9c/BSDmakefile.obj
More information about the freebsd-ports
mailing list