From owner-freebsd-questions@FreeBSD.ORG  Thu Jan 17 04:54:45 2013
Return-Path: <owner-freebsd-questions@FreeBSD.ORG>
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by hub.freebsd.org (Postfix) with ESMTP id 34E79FC0
 for <freebsd-questions@freebsd.org>; Thu, 17 Jan 2013 04:54:45 +0000 (UTC)
 (envelope-from peter@vereshagin.org)
Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221])
 by mx1.freebsd.org (Postfix) with ESMTP id E6E5331B
 for <freebsd-questions@freebsd.org>; Thu, 17 Jan 2013 04:54:44 +0000 (UTC)
Received: from localhost (torrouter.ucar.edu [192.43.244.42])
 by mx1.skyriver.ru (Postfix) with ESMTPSA id E082B5B41;
 Thu, 17 Jan 2013 08:54:40 +0400 (MSK)
Date: Thu, 17 Jan 2013 08:54:31 +0400
From: Peter Vereshagin <peter@vereshagin.org>
To: freebsd-questions@freebsd.org
Subject: Re: svn-export Re: svn bdb checkout?
Message-ID: <20130117045431.GB5392@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Content-Disposition: inline
In-Reply-To: <20130116205533.GE8524@external.screwed.box>
Organization: '
X-Face: 8T>{1owI$Byj]]a;
 ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u
 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K
Cc: xyne@archlinux.ca
X-BeenThere: freebsd-questions@freebsd.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: User questions <freebsd-questions.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions>
List-Post: <mailto:freebsd-questions@freebsd.org>
List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, 
 <mailto:freebsd-questions-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jan 2013 04:54:45 -0000

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