Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2016 09:15:29 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, Ben Woods <woodsb02@gmail.com>
Cc:        FreeBSD ports <freebsd-ports@freebsd.org>
Subject:   Re: Poudriere not mounting fdescfs and proc; java/openjdk8 build failing
Message-ID:  <a92ae87a-57c3-21ec-dde0-66df93432f0d@FreeBSD.org>
In-Reply-To: <e984ceb0-3fa1-87e9-89bd-35741d34ee1e@FreeBSD.org>
References:  <CAOc73CDNjyuuUS8POMqAnfNJ1Gye5Yh5sjTMKRGs3F2Ddze2tQ@mail.gmail.com> <adef012c-c9f9-5976-ae23-a00fb66d74d0@FreeBSD.org> <CAOc73CAz=4e-QTmn3oML7heTZWzK0opjokpNw1nLrTH72BwcHQ@mail.gmail.com> <e984ceb0-3fa1-87e9-89bd-35741d34ee1e@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--AOoes16rCQnBmcU2vQcas5DDNNxKaXu4u
Content-Type: multipart/mixed; boundary="t5KDb7v9XKveMqLnLNerKnhxsQqR8jJX0";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Mathieu Arnold <mat@FreeBSD.org>, Ben Woods <woodsb02@gmail.com>
Cc: FreeBSD ports <freebsd-ports@freebsd.org>
Message-ID: <a92ae87a-57c3-21ec-dde0-66df93432f0d@FreeBSD.org>
Subject: Re: Poudriere not mounting fdescfs and proc; java/openjdk8 build
 failing
References: <CAOc73CDNjyuuUS8POMqAnfNJ1Gye5Yh5sjTMKRGs3F2Ddze2tQ@mail.gmail.com>
 <adef012c-c9f9-5976-ae23-a00fb66d74d0@FreeBSD.org>
 <CAOc73CAz=4e-QTmn3oML7heTZWzK0opjokpNw1nLrTH72BwcHQ@mail.gmail.com>
 <e984ceb0-3fa1-87e9-89bd-35741d34ee1e@FreeBSD.org>
In-Reply-To: <e984ceb0-3fa1-87e9-89bd-35741d34ee1e@FreeBSD.org>

--t5KDb7v9XKveMqLnLNerKnhxsQqR8jJX0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 9/28/16 7:32 AM, Mathieu Arnold wrote:
> Le 28/09/2016 =C3=A0 16:24, Ben Woods a =C3=A9crit :
>> On 28 September 2016 at 21:38, Mathieu Arnold <mat@freebsd.org
>> <mailto:mat@freebsd.org>> wrote:
>>
>>     Le 28/09/2016 =C3=A0 12:58, Ben Woods a =C3=A9crit :
>>     > On my poudriere box, the java/openjdk8 build is failing:
>>     >
>>     > =3D=3D=3D>  Configuring for openjdk8-8.102.14_1
>>     > Warning: You are using legacy autoconf cross-compilation flags.
>>     > It is recommended that you use --openjdk-target instead.
>>     >
>>     > Running generated-configure.sh
>>     > ../../common/autoconf/generated-configure.sh: redirection error:=

>>     > cannot duplicate fd: Bad file descriptor
>>     > ../../common/autoconf/generated-configure.sh: line 560: 0: Bad
>>     file descriptor
>>     > configure exiting with result code 1
>>     > =3D=3D=3D>  Script "../../configure" failed unexpectedly.
>>     > Please report the problem to java@FreeBSD.org [maintainer] and
>>     attach the
>>     >
>>     "/wrkdirs/usr/ports/java/openjdk8/work/openjdk/common/autoconf/con=
fig.log"
>>     > including the output of the failure of your make command. Also,
>>     it might be
>>     > a good idea to provide an overview of all packages installed on
>>     your system
>>     > (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
>>     > *** Error code 1
>>     >
>>     >
>>     > Using poudriere testport with -i (interactive mode), it doesn't
>>     appear that
>>     > fdescfs or proc are mounted.
>>     >
>>     > # ls /dev/fd
>>     > 0       1       2
>>     > # ls /proc/
>>     > # mount
>>     > /poudriere/jails/12amd64-default-ref on / (zfs, local, noatime,
>>     nfsv4acls)
>>     >
>>     > Is anyone else experiencing this issue?
>>
>>     Is this while running testport java/openjdk8 ?
>>
>>     I'm wondering if there might be a bug in poudriere there.
>>
>>     fdescfs and procfs will be mounted, but only if the jail is not "r=
ef",
>>     and the ref jail is used in testport when building the port to be
>>     tested.
>>
>>     --
>>     Mathieu Arnold
>>
>>
>> Hi Mathieu,
>>
>> Yes, it is when using testport. Indeed when I use poudriere bulk I can=

>> see from outside the jail that fd is mounted.
>>
>> $ mount | grep fd
>> fdescfs on /dev/fd (fdescfs)
>> fdescfs on /poudriere/data/.m/12amd64-default/01/dev/fd (fdescfs)
>> fdescfs on /poudriere/data/.m/12amd64-default/05/dev/fd (fdescfs)
>> fdescfs on /poudriere/data/.m/12amd64-default/03/dev/fd (fdescfs)
>> fdescfs on /poudriere/data/.m/12amd64-default/02/dev/fd (fdescfs)
>> fdescfs on /poudriere/data/.m/12amd64-default/04/dev/fd (fdescfs)
>>
>> However, java/openjdk8 still fails to build with bulk, with the same
>> error.
>=20
> Well, it may not be related to fdescfs being, or not, there, then ;-)
>=20
> I openned https://github.com/freebsd/poudriere/issues/416 for the
> problem of procfs/fdescfs not being there when running testport.
>=20

Thanks, will fix!

--=20
Regards,
Bryan Drewery


--t5KDb7v9XKveMqLnLNerKnhxsQqR8jJX0--

--AOoes16rCQnBmcU2vQcas5DDNNxKaXu4u
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJX6+yiAAoJEDXXcbtuRpfP0WkIAMWLD8kveWDicoYyA/KUhOsR
LQYJF5zpMADOuYB9f8MXTBgxv1s+frp2VsjPbR57JCmVrIu6m+kWEu77LTwtMcBQ
vTXP9HA4J9F64Y2a1crWnsUm+5Esyrq1Ia9rHiJqrRYfOpwpabm2y3J0ieSwrFtc
zKOcFpkKWx87dc9Dq96/yHg3kEiSujRA/9l+kAe+pw5pkH5k2KyaDVIXL/0X+XTO
h4fAziyhwDEMaCp0QkXlocnzIGXFDWZgCbHgtXiVnu2XqFM0DXCK/LJbKF62guyB
cWWyLFR2g4Vu9SGBDxmRpFkWBNLgPF8J9ahqNc9HLW1ffp4v+kK8bO89P6wpsMo=
=okx2
-----END PGP SIGNATURE-----

--AOoes16rCQnBmcU2vQcas5DDNNxKaXu4u--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a92ae87a-57c3-21ec-dde0-66df93432f0d>