From owner-freebsd-ports@FreeBSD.ORG Thu May 15 11:26:58 2014 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 ESMTPS id D549AFD0 for ; Thu, 15 May 2014 11:26:58 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A0322D07 for ; Thu, 15 May 2014 11:26:58 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id f8so3988393wiw.16 for ; Thu, 15 May 2014 04:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=BnntspCdF5H1m0aCS1jlFd6Laqm4Ayhga2nP9Qqnvu8=; b=JaP8XR9nr9Qqa0iI3nHAU0H5wfj/QLpfEYBkw1mYZrM8UB8B0flv5TiNp2rn+Lb5cq MnNc628wxOPoYmKLMMInpCYo9Une27eBChykQfsWX7mzGBUndjeJIRMZtj+HXqK9Hys3 oBWFZ3tDlpE/myDn1aUXIlD2yV2YqORemWlUFJduFdx6avomQ5DXZJM3clPWfMI/p0HA i7ru8OZLo/y7L8LXUyu0rnEEyiB/JZjG2Kxl25XfVcc85qsdw/HF0ELCYFERu1x1vqgU Kxe/zTJMHbZqhTn8p5DJPZN9bGw3JaZ2YpbuekjvioNd/Qm+5IdX0XMLv7go+i6clrUC EbpA== X-Received: by 10.180.206.205 with SMTP id lq13mr30861441wic.11.1400153216357; Thu, 15 May 2014 04:26:56 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id ba9sm33098748wib.24.2014.05.15.04.26.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 May 2014 04:26:55 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 15 May 2014 13:26:53 +0200 From: Baptiste Daroussin To: Anton Shterenlikht Subject: Re: staging without root privileges Message-ID: <20140515112653.GF16089@ivaldir.etoilebsd.net> References: <5373BA67.9050003@gmx.de> <201405150805.s4F85kY7098261@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7mxbaLlpDEyR1+x6" Content-Disposition: inline In-Reply-To: <201405150805.s4F85kY7098261@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: matthias.andree@gmx.de, freebsd-ports@freebsd.org 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, 15 May 2014 11:26:59 -0000 --7mxbaLlpDEyR1+x6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 15, 2014 at 09:05:46AM +0100, Anton Shterenlikht wrote: > > > >Am 14.05.2014 17:51, schrieb Baptiste Daroussin: > > > >> Add USES=3Duidfix it should do the magic :) > > > >...added a note to the wiki ports/StageDir... >=20 > doesn't work for me: >=20 > without USES=3Duidfix: >=20 > =3D=3D=3D> slatec-4.1_2 depends on executable: gfortran47 - found > =3D=3D=3D> Generating temporary packing list > install -C -o root -g wheel -m 444 libslatec.a /tmp/usr/ports/math/slat= ec/work/stage/usr/local/lib > install: /tmp/usr/ports/math/slatec/work/stage/usr/local/lib/libslatec.a:= chown/chgrp: Operation not permitted > *** Error code 71 >=20 > with USES=3Duidfix: >=20 > $ make WRKDIRPREFIX=3D/tmp PACKAGES=3D/tmp clean all stage plist-check pa= ckage > =3D=3D=3D> Cleaning for slatec-4.1_2 > =3D=3D=3D> Found saved configuration for slatec-4.1_2 > =3D=3D=3D> slatec-4.1_2 depends on file: /usr/local/sbin/pkg - found > =3D=3D=3D> Fetching all distfiles required by slatec-4.1_2 for building > =3D=3D=3D> Extracting for slatec-4.1_2 > =3D> SHA256 Checksum OK for slatec/guide. > =3D> SHA256 Checksum OK for slatec/slatec_chk.tgz. > =3D> SHA256 Checksum OK for slatec/slatec_src.tgz. > =3D> SHA256 Checksum OK for slatec/toc. > =3D> SHA256 Checksum OK for slatec/d1mach.f. > =3D> SHA256 Checksum OK for slatec/i1mach.f. > =3D> SHA256 Checksum OK for slatec/r1mach.f. > =3D=3D=3D> Patching for slatec-4.1_2 > =3D=3D=3D> Configuring for slatec-4.1_2 > =3D=3D=3D> Building for slatec-4.1_2 > --- objwarn --- > --- aaaaaa.po --- > --- objwarn --- > Warning: Object directory not changed from original /tmp/usr/ports/math/s= latec/work/src > --- acosh.po --- > --- aaaaaa.po --- > f77 -pg -O -o aaaaaa.po -c aaaaaa.f > f77: not found > --- acosh.po --- > f77 -pg -O -o acosh.po -c acosh.f > --- aaaaaa.po --- > *** [aaaaaa.po] Error code 127 >=20 > make[2]: stopped in /tmp/usr/ports/math/slatec/work/src > --- acosh.po --- > f77: not found >=20 > From the Makefile: >=20 > USES=3D fortran > USE_LDCONFIG=3D yes > WRKSRC=3D ${WRKDIR}/src > SHLIB_MAJOR=3D 1 >=20 > USES=3D uidfix >=20 > Anton You USES=3Duidfix is overwriting USES=3Dfortran so it doesn't find the comp= iler, you want to append it. regards, Bapt --7mxbaLlpDEyR1+x6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iEYEARECAAYFAlN0pH0ACgkQ8kTtMUmk6ExoCgCgvK7R2ZveMy8Wjr2Z/8ajQdwY +RcAn2JhwV5wMC5NBrS+IKeuYTsKjAtG =KZTO -----END PGP SIGNATURE----- --7mxbaLlpDEyR1+x6--