Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2006 08:56:29 +0200
From:      Erwin Lansing <erwin@FreeBSD.org>
To:        Oliver Lehmann <lehmann@ans-netz.de>
Cc:        ports@freebsd.org, tinderbox-list@marcuscom.com
Subject:   Re: error in bsd.port.mk? - gcc34 compilation
Message-ID:  <20060712065629.GP20915@droso.net>
In-Reply-To: <20060712062315.aeeb70c2.lehmann@ans-netz.de>
References:  <20060712062315.aeeb70c2.lehmann@ans-netz.de>

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

--lIdIj/ncdD+VcXt4
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 12, 2006 at 06:23:15AM +0200, Oliver Lehmann wrote:
> Hi,=20
>=20
> I tried to compile gcc34 on my FreeBSD 4 tinderbox and got:
>=20
> =3D=3D=3D>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib/gcc/i386-portbld-freebsd4.11/3.4.6
> =3D=3D=3D>   Installing ldconfig configuration file
> mkdir: libdata: Read-only file system
> *** Error code 1
>=20
> For those who don't know tinderbox: the portstree gets mounted readonly.
> For me it looks like it tries to create the libdata-dir in the portstree
> because in bsd.port.mk you can read:
>=20
[snip]

This is an error in b.p.m the following patch is currently being tested
on pointyhat:

Index: bsd.port.mk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /sw/FreeBSD/CVSUP/ports/Mk/bsd.port.mk,v
retrieving revision 1.537
diff -u -3 -p -r1.537 bsd.port.mk
--- bsd.port.mk	6 Jul 2006 17:56:45 -0000	1.537
+++ bsd.port.mk	8 Jul 2006 20:26:50 -0000
@@ -3690,7 +3690,7 @@ install-ldconfig-file:
 .if ${USE_LDCONFIG:L} !=3D "${PREFIX}/lib"
 	@${ECHO_MSG} "=3D=3D=3D>   Installing ldconfig configuration file"
 .if defined(NO_LDCONFIG_MTREE)
-	@${MKDIR} ${LDCONFIG_DIR}
+	@${MKDIR} ${PREFIX}/${LDCONFIG_DIR}
 .endif
 	@${ECHO_CMD} ${USE_LDCONFIG} | ${TR} ' ' '\n' \
 		> ${PREFIX}/${LDCONFIG_DIR}/${UNIQUENAME}


-erwin

--=20
Erwin Lansing                                     http://droso.org
Security is like an onion.          (o_ _o)
It's made up of several layers   \\\_\   /_///
And it makes you cry.            <____) (____>    erwin@lansing.dk

--lIdIj/ncdD+VcXt4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQFEtJ0dqy9aWxUlaZARAgdVAJ9slZNm+ajW1lXrjHQhRDYiJjVNsgCgkJbV
nLKXEFsY8tjzV065aDIKVaU=
=16Dy
-----END PGP SIGNATURE-----

--lIdIj/ncdD+VcXt4--



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