From owner-freebsd-ports@FreeBSD.ORG Thu Oct 17 10:24:03 2013 Return-Path: Delivered-To: freebsd-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 ESMTP id BDC1CFFF for ; Thu, 17 Oct 2013 10:24:03 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-qa0-x22c.google.com (mail-qa0-x22c.google.com [IPv6:2607:f8b0:400d:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B7082399 for ; Thu, 17 Oct 2013 10:24:03 +0000 (UTC) Received: by mail-qa0-f44.google.com with SMTP id cm18so5330299qab.3 for ; Thu, 17 Oct 2013 03:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:face:mime-version:content-type; bh=X5+tAr0j+7n/Ppgq/3kdQ7f0eJkUjvUc4H/DlE2D/rM=; b=EfveI2rSU1uO6CuJL13Z3qQyFWd5KXM6WBLVLvy3mkrhHaatvZmaaYeiUU7yCmxEaw bGn9VF8h+j6VbhJ7WVx00+JDBlx3yOAWPnR7viA1KGU5asKc16fkywbsSSibxobPuSUu QHhq4eGCM4ZU2j+vMvRWagF6cAGxqC2LI6Nno= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:reply-to:organization:face:mime-version:content-type; bh=X5+tAr0j+7n/Ppgq/3kdQ7f0eJkUjvUc4H/DlE2D/rM=; b=BtOGvCtGECAqKjC+MhnInMoaIAbI4vJtkzBCEqO9dGCADlizSPOpkyjRVwdXlGtUPG WjtVRrAAeEqfdYlbK96V8vXlvI+FSRsSIzpCTHG2UuwnpY/l/l5ufzc8nAdC95sk+s90 8vVb0Gcg6pNZBJwXo6LCOkyX/lpGUYDo8YV85qAeGdoORSXeqZcmilS6A3HN3nujj/bm FQJZ0BkG/wlckdf5jKKXBOgEgEIAD+uFD798QjtROFo8tGduAbNIBR9aBUSjVu6vxDuF N4OReLoNBcgyTmzHRYqWBjDFYuMyJyW1IGnlIlirO6XYbdnHSi2AvZb5L0HuTleAdcUN tKcQ== X-Gm-Message-State: ALoCoQmhNM5G54HPD13Gl4CetjXyBZVtL1VdpiwJRmanM2x94Btd9FM76tLcXnK6AolxKWpRSmNK X-Received: by 10.224.161.146 with SMTP id r18mr10848555qax.57.1382005442638; Thu, 17 Oct 2013 03:24:02 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id a5sm48996785qae.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Oct 2013 03:24:02 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3d0mgh0hC4z2CG67 for ; Thu, 17 Oct 2013 06:24:00 -0400 (EDT) Date: Thu, 17 Oct 2013 06:23:38 -0400 From: Jerry To: freebsd-ports@freebsd.org Subject: Re: Updating linux-f10-pango fails Message-ID: <20131017062338.6442fe67@scorpio> In-Reply-To: <525EEEFB.6050403@FreeBSD.org> References: <20131015065816.4be007fb@scorpio> <525D3C65.7050501@passap.ru> <525E8715.9000205@freebsd.org> <20131016211703.00006ed9@unknown> <525EEEFB.6050403@FreeBSD.org> Organization: seibercom.net X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/jD6NDzYN+JO9ByrJPfOjB21"; protocol="application/pgp-signature" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Oct 2013 10:24:03 -0000 --Sig_/jD6NDzYN+JO9ByrJPfOjB21 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, 16 Oct 2013 21:54:35 +0200 Matthias Andree articulated: > Am 16.10.2013 21:17, schrieb Alexander Leidinger: > > On Wed, 16 Oct 2013 14:31:17 +0200 > > Ren=C3=83=C2=A9 Ladan wrote: > >=20 > >> On 15-10-2013 15:00, Boris Samorodov wrote: > >>> 15.10.2013 15:08, Ren=C3=A9 Ladan =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >=20 > >>>> Here tar gets confused somehow, it wants to pack > >>>> ${STAGEDIR}/usr/compat/linux (note the extra usr/ ), which fails > >>>> consequently. > >>> > >>> Does the affected system (poudiere jail) use links, like > >>> /compat -> /usr/compat? > >>> > >> Mine does not have a /usr/compat -> /compat link (nor the other way > >> around), and /compat is only created when building/installing linux > >> ports (or other ports that require it). > >=20 > > A normal install creates (or used to create, so at least there are > > old systems with this) the link /compat -> /usr/compat, so maybe > > somewhere realpath comes into use and exhibits a problem here > > ("here" being the staging support in general, not limited to the > > port). > >=20 > > Bye, > > Alexander. > >=20 >=20 > Alexander, >=20 > I think I can confirm your assessment. >=20 >=20 > Ren=C3=A9, >=20 > I had the same issue as Jerry (as reported on IRC, on > 9.1-RELEASE-amd64), but did not dig deeper. >=20 > In the end I sidestepped the problem because I could not solve it; > meaning I used poudriere to build the package and installed that > through pkg_add. That is not the canonical way to do that. >=20 > I think I can confirm Alexanders suspicion. >=20 > I do have the symbolic link that Alexander states: >=20 > $ ls -l /compat > lrwxr-xr-x 1 root wheel 10 10 Okt 2009 /compat -> usr/compat >=20 > "make package" in the actual system fails (poudriere is fine for me, > too). >=20 > So perhaps either Poudriere sets up the jail a touch differently than > a regular system would install it (possibly through sysinstall or > whatever I used to get 9.1, I do not remember). >=20 >=20 > Now, my workaround that makes "make package" work is to alias the file > systems instead of : >=20 > # mv /compat /compat.off > # mkdir /compat && mount_nullfs /usr/compat /compat >=20 > (Further hints below.) >=20 > Then: >=20 > $ make package > =3D=3D=3D> Building package for linux-f10-pango-1.28.3_1 > Creating package > /var/tmp/usr/ports.svn/x11-toolkits/linux-f10-pango/work/linux-f10-pango-= 1.28.3_1.tbz > Registering depends: linux-f10-cairo-1.8.0_2 linux-f10-xorg-libs-7.4_1 > linux-f10-fontconfig-2.6.0 linux-f10-expat-2.0.1 > linux-f10-png-1.2.37_2 linux_base-f10-10_7. > Registering conflicts: linux-pango-[0-9]* linux-f8-pango-[0-9]*. > Creating bzip'd tar ball in > '/var/tmp/usr/ports.svn/x11-toolkits/linux-f10-pango/work/linux-f10-pango= -1.28.3_1.tbz' > $ >=20 > *This would seem to confirm that the symlink is the trigger for the > problem.* >=20 >=20 > Now, for the archives, further hints: >=20 > 1. to make the change permanent, add one line to /etc/fstab so the > mount gets re-established after reboot >=20 > # printf '/usr/compat\t\t/compat\t\tnullfs\trw\t\t0\t0\n' > >> /etc/fstab >=20 > 2. if instead you want to revert the change: >=20 > # umount /compat > # rmdir /compat && mv /compat.off /compat > # sed -i.bak -e '/^\/usr\/compat/d' /etc/fstab >=20 > 3. if /compat gets destroyed: >=20 > # ln -sfn usr/compat /compat >=20 >=20 > I hope portmgr can investigate and fix this problem. I asked the other day if I should file a PR against this port; however, I never received a reply. Unless I am told not to, I will file one tomorrow. I don't want this problem to fall through the cracks. Ever since this staging support started, too many ports are failing. I am wondering just how thoroughly this was tested before being force on the general populace. --=20 Jerry =E2=99=94 Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ --Sig_/jD6NDzYN+JO9ByrJPfOjB21 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQEcBAEBAgAGBQJSX7q/AAoJEF2rWD2do7dNMtAH/15tVrBG0hO91o5On/aYO321 VsQzRYJFSt4kj9daxbXZp7igKOtypsUMzG7XCh/azI+xaQfw10VW3yAcFJ+3irGn BKEOzvl4XuXl9z+LqhdhCrTZDNgBgteV+QyY8zalCEVRdlPex7pzzx2dxfzgiDg8 0l3oWlz2ZUYAGtjWcTs6dAsU5wKBa3+QXEqFP4rGj5cbQOpU6ql0jzemfwshMwxg 6XCvvjugAqeiPitNTsiVYf26wYpLWUTdSpvwRJZnWgtb6qcxgVF3r/gt72dph1yR 00gstIyHbL0lxzy/EFlBugxp5FwcgvfurF/okPVqTtEbhjPdWbQCfn6TonR0nHI= =89QQ -----END PGP SIGNATURE----- --Sig_/jD6NDzYN+JO9ByrJPfOjB21--