Fwd: Install ctorrent-3.2_1 error, Makefile error?

Sunry Chen sunrychen at gmail.com
Fri Sep 7 00:09:56 PDT 2007


---------- Forwarded message ----------
From: Sunry Chen <sunrychen at gmail.com>
Date: Sep 7, 2007 3:07 PM
Subject: Re: Install ctorrent-3.2_1 error, Makefile error?
To: Nikola Lecic <nlecic at eunet.yu>


On 9/7/07, Nikola Lecic <nlecic at eunet.yu> wrote:>
>   (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;

[root at www /tmp]# tar xzvf /usr/ports/net-p2p/ctorrent.tar.gz\?tarball\=1
x ctorrent/
x ctorrent/Makefile
x ctorrent/distinfo
x ctorrent/pkg-descr
[root at www /tmp]# cd -
/usr/ports/net-p2p/ctorrent
[root at www /usr/ports/net-p2p/ctorrent]# diff Makefile /tmp/ctorrent/Makefile
5c5
< # $FreeBSD: ports/net-p2p/ctorrent/Makefile,v 1.16 2007/08/24
09:40:35 flz Exp $
---
> # $FreeBSD: ports/net-p2p/ctorrent/Makefile,v 1.17 2007/08/25 11:49:56 flz Exp $
30c29,31
<       ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
---
> .for i in ${PORTDOCS}
>       ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}/
> .endfor
[root at www /usr/ports/net-p2p/ctorrent]#

I see, the Makefiles a little diff from mine. :-)

>
>   (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 .

[root at www /tmp]# make
test 1...
README-DNH.TXT
UserGuide
test 2...
README-DNH.TXT
UserGuide


More information about the freebsd-ports mailing list