From owner-freebsd-ports@FreeBSD.ORG Thu May 29 02:57:31 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 313254C6 for ; Thu, 29 May 2014 02:57:31 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFB72080 for ; Thu, 29 May 2014 02:57:30 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id DBE5533C18; Wed, 28 May 2014 22:57:24 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 745E539846; Wed, 28 May 2014 22:57:22 -0400 (EDT) From: Lowell Gilbert To: ports@freebsd.org Subject: Re: second call: dns/libidn staging broken References: <53864C62.2020507@rcn.com> <44egzdv1y2.fsf@lowell-desk.lan> Date: Wed, 28 May 2014 22:57:22 -0400 In-Reply-To: <44egzdv1y2.fsf@lowell-desk.lan> (Lowell Gilbert's message of "Wed, 28 May 2014 20:55:01 -0400") Message-ID: <448upluwa5.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: Robert Huff X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 02:57:31 -0000 Lowell Gilbert writes: > Robert Huff writes: > >> Kevin Oberman writes: >> >>> > This port builds fine, or seems to. However, when I try to >>> > install I get this: >>> >>> Looks like it might be an issue with your build environment. Looks >>> like you have customized your build directories (/data/port-work). I >>> suspect something might be wrong there. I have seen several reports >>> of issues when symlinks are used in these types of customizations. >> >> It's not a sym-link, it's an evnironment variable: >> >> WRKDIRPREFIX=/data/port-work >> >> This was done because certain large ports (e.g. libreoffice) >> were eating up all the free space on /usr. So I pointed the work >> directory to /data, which has 200+ gbytes free. This works fine except >> is rare cases like this one. >> So ... how do I go about further diagnosing the breakage and >> getting that to {maintainer, pkg-ng team} who can Do the Right Thing? > > I've seen some funny things with WRKDIRPREFIX too, but I can't reproduce > them. I've mostly seen it on my chroot tinderbox, which always runs with > WRKDIRPREFIX set because the ports tree is mounted read-only. The > tinderbox is currently broken for other reasons. > > I tried rebuilding libidn on the host system (outside the tinderbox), > but it didn't break (with and without WRKDIRPREFIX, with portmaster or > "make install"). I guess I need to fix my tinderbox to get further... I managed to reproduce my problem in the tinderbox, but it's an issue with a workaround for libtool version parsing, so it wouldn't affect elisp files. Looking at the configure output for libidn, I'll guess that you don't have emacs installed when you try to install libidn, so the configure script decides not to install the elisp (.el) files, and staging chokes because it depends more heavily on the plist than the old port system did. You can look at the generated config.log to see if it backs me up on this. Assuming my previous paragraph isn't wildly wrong, the easy workaround would be to install emacs. That's just a hack; the right fix (I think) is to add a port option to let it depend on emacs, or for the port to adjust the plist dynamically.