Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 13:26:53 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        matthias.andree@gmx.de, freebsd-ports@freebsd.org
Subject:   Re: staging without root privileges
Message-ID:  <20140515112653.GF16089@ivaldir.etoilebsd.net>
In-Reply-To: <201405150805.s4F85kY7098261@mech-cluster241.men.bris.ac.uk>
References:  <5373BA67.9050003@gmx.de> <201405150805.s4F85kY7098261@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140515112653.GF16089>