From owner-freebsd-ports@FreeBSD.ORG Tue Apr 29 17:52:32 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8095C1065673 for ; Tue, 29 Apr 2008 17:52:32 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCD58FC1D for ; Tue, 29 Apr 2008 17:52:27 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so102167fgg.35 for ; Tue, 29 Apr 2008 10:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=4RVnvcSRHOWlBLQXxROtJRNQvKJOiJ1fVhLwui/wnM8=; b=dicWWzYlNQib1o1teDd8nYhGCtQ8oUgty2IfLY883fxr4nUdYGSyixL3qH7zXhI03Rp8FmyfzxV+Tuq66yCNwuG/5tc/hSvTftTMGsdqR2RbzCqHaJSo7bN5usojEHKxF3Cp6/9/Yhn70nLlIvFwbeb9f+sNb+E9mi5zkRX6CMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=p9jZUjKIZq8+wpfQMoTNYZr6IcRSeZS0145i48p0BsGoayyDniq4Iklxq1EtADYElPO1krB9GdCFkmylswjiSKHOkrxZeSHidwOu36zZVhTDSy4/pzkzbHZphgxeifoWpdZUi5FuEueKnmleSxcjLa0GZ0BlZTulHwMSQUay+to= Received: by 10.86.28.5 with SMTP id b5mr9817100fgb.76.1209489991560; Tue, 29 Apr 2008 10:26:31 -0700 (PDT) Received: from acme.spoerlein.net ( [217.172.44.86]) by mx.google.com with ESMTPS id 4sm118799fgg.4.2008.04.29.10.26.30 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Apr 2008 10:26:30 -0700 (PDT) Received: from roadrunner.spoerlein.net (e180148251.adsl.alicedsl.de [85.180.148.251]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id m3THQQ0w092733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 29 Apr 2008 19:26:28 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m3THQI6v003164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Apr 2008 19:26:18 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m3THQHph003163; Tue, 29 Apr 2008 19:26:17 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 29 Apr 2008 19:26:17 +0200 From: Ulrich Spoerlein To: Stanislav Sedov Message-ID: <20080429172617.GA1667@roadrunner.spoerlein.net> Mail-Followup-To: Stanislav Sedov , ports@freebsd.org, Henrik Brix Andersen References: <20080425195933.GB1674@roadrunner.spoerlein.net> <20080425221824.GE70297@tirith.brixandersen.dk> <20080426081917.GA1694@roadrunner.spoerlein.net> <20080428230931.0e70a370.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080428230931.0e70a370.stas@FreeBSD.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: ports@FreeBSD.org, Henrik Brix Andersen Subject: Re: Rubygems and trouble with rdoc node renumbering - ports/123112 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 17:52:32 -0000 I've submitted PR ports/123112 as a possible next step to solve the problem. On Mon, 28.04.2008 at 23:09:31 +0400, Stanislav Sedov wrote: > On Sat, 26 Apr 2008 10:19:17 +0200 > Ulrich Spoerlein mentioned: > > > Heh, well, that's exactly what I thought about, 5 minutes after sending > > that email! Yes, I'm running /usr and the WRKDIRPREFIX on ZFS. > > > > I haven't compared, if it is responsible for shuffling around the order > > in which directories are written (or read). > > > > Anyway, this means that almost all rdoc ports will break their pkg-plist > > when you compile/create them on an ZFS system. I will test with UFS > > today and also run some other rdoc-using ports on my ZFS to see if this > > is general problem or only specific to my port. > > Yeah, pkg-plists of ruby ports that has static plist entries for rdoc > are broken under ZFS. I spotted that problem a while ago when switched > my tinderbox installation to ZFS. That's why they're also broken > with ruby19 - ruby 19 tends to sort file names before renumbering, > so they're consistent. Is the numbering the same, as we get with my patch in the PR? Could you please try this on a couple of ruby ports? > The possible solution - convert all such ports to generate rdoc pkg-plist > entries dynamically. In fact, this code will be common for major of > such ports, and it will cut down their plists dramatically. If you > interested, we can work on this, since it seems to be a lot of work. We can > add a knob to bsd.ruby.mk for ports to generate such entries easily. Dynamically generated plists are usually not well received, as you cannot know a priori what files the port will install. Since this only affects port documentation, though, I think this would be ok. But you would have to add all files under the doc-prefix into this plist *after* the port has been installed. This could spell trouble. It would be way better, if the rubygem ports would extract and 'run rdoc' under ${WRKSRC} and only then install/copy themselves. Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt.