Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 08:54:31 +0400
From:      Peter Vereshagin <peter@vereshagin.org>
To:        freebsd-questions@freebsd.org
Cc:        xyne@archlinux.ca
Subject:   Re: svn-export Re: svn bdb checkout?
Message-ID:  <20130117045431.GB5392@external.screwed.box>
In-Reply-To: <20130116205533.GE8524@external.screwed.box>
References:  <20130116185832.GB8524@external.screwed.box> <50F6FD37.5060309@gmail.com> <20130116193534.GC8524@external.screwed.box> <50F704CE.3010904@gmail.com> <20130116200754.GD8524@external.screwed.box> <50F70C60.4000108@FreeBSD.org> <20130116205533.GE8524@external.screwed.box>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello.

2013/01/17 00:55:33 +0400 Peter Vereshagin <peter@vereshagin.org> => To freebsd-questions@freebsd.org :
PV> GL> If anyone wants to create a port for svn-export and send it my way for
PV> GL> review, I would be happy to do that.  Otherwise, I expect to have a
PV> GL> look myself within the next few months.
PV> 
PV> A 'why not', too. (=

There's a thing about 'svn-export': It requires 'threaded' build of the perl
known to be inappropriate for the production environment (if I'm not mistaken:
this may be obsoltete). At the least this is in the lang/perl5.16/Makefile:

  .if defined(WITH_THREADS)
  #XXX .if ${ARCH} == "amd64"
  #XXX IGNORE=    Threaded perl does not pass tests on ${ARCH}
  #XXX .endif
  CONFIGURE_ARGS+=        -Dusethreads=y
  PKGNAMESUFFIX=          -threaded
  WITH_PTHREAD=           yes
  # it seems perl malloc has problems with threaded perl on FreeBSD
  .undef WITH_PERL_MALLOC
  .else
  CONFIGURE_ARGS+=        -Dusethreads=n
  .endif

I believe 'amd64' is the common architecture these days and 'perl malloc' is the
feature needed for profiling and/or leaks detection.

Good news is that such a stuff can be redone with forks instead of threads but
it should take me the time amount I'm not supposed to have of the any early.

By itself perl threading has a fabulously bad luck history, recently
criticized for instance at: 

  https://speakerdeck.com/stevan_little/perl-is-not-dead-it-is-a-dead-end

Thank you.

--
Peter Vereshagin <peter@vereshagin.org> (http://vereshagin.org) pgp: 1754B9C1



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