Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2007 05:32:16 +0200
From:      Nikola Lecic <nlecic@EUnet.yu>
To:        "Sunry Chen" <sunrychen@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Install ctorrent-3.2_1 error, Makefile error?
Message-ID:  <200709070331.l873VZkJ007951@smtpclu-5.eunet.yu>
In-Reply-To: <c96f04920709061913h33c24822o2d34a8c7b51327d7@mail.gmail.com>
References:  <c96f04920709051959q51781c86jdb02e1399151f3e2@mail.gmail.com> <200709060722.l867MsVV024729@smtpclu-7.EUnet.yu> <200709061515.l86FFNXm025802@smtpclu-2.EUnet.yu> <c96f04920709061913h33c24822o2d34a8c7b51327d7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_tgoTpGFJDf=S8MR634HuJLA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Fri, 7 Sep 2007 10:13:01 +0800
"Sunry Chen" <sunrychen@gmail.com> wrote:

> On 9/6/07, Nikola Lecic <nlecic@eunet.yu> wrote:
[...]
> > "Sunry Chen" <sunrychen@gmail.com> wrote:
> >
> > > On 9/6/07, Nikola Lecic <nlecic@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.
>=20
[...]
> For devel/p5-Proc-ProcessTable:
[...]
> share/doc/Proc-ProcessTable/README.freebsd
> @dirrm share/doc/Proc-ProcessTable
[...]
> [root@www /tmp]# make
> First
> Second
> Third
> Fourth
> [root@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@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?ta=
rball=3D1

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

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=C4=8Di=C4=87

--MP_tgoTpGFJDf=S8MR634HuJLA
Content-Type: application/octet-stream; name=BSDmakefile
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=BSDmakefile

UE9SVERPQ1M9CVJFQURNRS1ETkguVFhUIFVzZXJHdWlkZQphbGw6CglAZWNobyB0ZXN0IDEuLi4K
LmlmICFkZWZpbmVkKE5PUE9SVERPQ1MpCi5mb3IgaSBpbiAke1BPUlRET0NTfQoJQGVjaG8gJGkK
LmVuZGZvcgouZW5kaWYKCUBlY2hvIHRlc3QgMi4uLgouZm9yIGkgaW4gJHtQT1JURE9DU30KCUBl
Y2hvICRpCi5lbmRmb3IK

--MP_tgoTpGFJDf=S8MR634HuJLA--



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