Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 16:47:51 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Kris Moore <kris@pcbsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Question about WITHOUT_X11 / Poudriere
Message-ID:  <53C5A187.2020105@FreeBSD.org>
In-Reply-To: <53C58F44.9030508@pcbsd.org>
References:  <53C58F44.9030508@pcbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ACmwLihkX8rX94Ahp8tXNJLmmqlxo0Xfx
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 7/15/2014 3:29 PM, Kris Moore wrote:
>=20
> Porters,
>=20
> We are trying to get a build of the entire ports tree done, using the
> WITHOUT_X11=3Dyes in poudriere make.conf. This keeps bailing with these=

> errors:
>=20
> =3D=3D=3D=3D>> Creating the reference jail... done
> =3D=3D=3D=3D>> Mounting system devices for trueos-100-RELEASE-t10e
> =3D=3D=3D=3D>> Mounting ports/packages/distfiles
> =3D=3D=3D=3D>> Mounting packages from:
> /usr/local/poudriere/data/packages/trueos-100-RELEASE-t10e
> =3D=3D=3D=3D>> Logs:
> /usr/local/poudriere/data/logs/bulk/trueos-100-RELEASE-t10e/2014-07-15_=
14h49m12s
> =3D=3D=3D=3D>> Appending to make.conf:
> /usr/local/etc/poudriere.d/trueos-100-RELEASE-make.conf
> /etc/resolv.conf ->
> /usr/local/poudriere/data/build/trueos-100-RELEASE-t10e/ref/etc/resolv.=
conf
> =3D=3D=3D=3D>> Starting jail trueos-100-RELEASE-t10e
> =3D=3D=3D=3D>> Loading MOVED
> =3D=3D=3D=3D>> Calculating ports order and dependencies
> =3D=3D=3D=3D>> Error: Duplicated origin for ImageMagick-nox11-6.8.9.4_1=
,1:
> graphics/ImageMagick-nox11 AND graphics/ImageMagick. Rerun with -vv to
> see which ports are depending on these.
> =3D=3D=3D=3D>> Error: Duplicated origin for ImageMagick-nox11-6.8.9.4_1=
,1:
> graphics/ImageMagick-nox11 AND graphics/ImageMagick. Rerun with -vv to
> see which ports are depending on these.
> =3D=3D=3D=3D>> Cleaning up
> =3D=3D=3D=3D>> Umounting file systems
>=20
> Is WITHOUT_X11 supposed to work universally or is this a bug in some of=

> our ports?
>=20
> I can track down and fix the broken ports, but I wanted to see if this
> was something we even expect to work for bulk port builds.
>=20
>=20

Are only default OPTIONS selected? Are you using -a?

I've seen this reported a lot. It has to do with the broken hack that is
PKGNAMESUFFIX=3D-nox11. Some ports depend on the normal port, while other=
s
depend on the -nox11. Both of which have the same PKGNAME.

These:

> graphics/ImageMagick/Makefile:LIB_DEPENDS+=3D             libwmf.so:${P=
ORTSDIR}/graphics/libwmf-nox11
> graphics/pecl-imagick/Makefile:LIB_DEPENDS=3D     libMagickWand-6.Q*.so=
:${PORTSDIR}/graphics/ImageMagick-nox11
> graphics/ruby-rmagick/Makefile:LIB_DEPENDS=3D     libMagickWand-6.Q*.so=
:${PORTSDIR}/graphics/ImageMagick-nox11
> graphics/rubygem-rmagick/Makefile:LIB_DEPENDS=3D  libMagickWand-6.Q*.so=
:${PORTSDIR}/graphics/ImageMagick-nox11
> net/unison-devel/Makefile:BUILD_DEPENDS+=3D       ocamlc:${PORTSDIR}/la=
ng/ocaml-nox11
> net/unison/Makefile:BUILD_DEPENDS+=3D     ocamlc:${PORTSDIR}/lang/ocaml=
-nox11
> net/unison232/Makefile:BUILD_DEPENDS+=3D  ocamlc:${PORTSDIR}/lang/ocaml=
-nox11
> www/gallery3/Makefile:RUN_DEPENDS+=3D     convert:${PORTSDIR}/graphics/=
ImageMagick-nox11
> www/piwigo/Makefile:RUN_DEPENDS+=3D       ${LOCALBASE}/bin/convert:${PO=
RTSDIR}/graphics/ImageMagick-nox11
> www/typo3-lts/Makefile:RUN_DEPENDS+=3D    convert:${PORTSDIR}/graphics/=
ImageMagick-nox11
> www/typo3/Makefile:RUN_DEPENDS+=3D        convert:${PORTSDIR}/graphics/=
ImageMagick-nox11
> www/typo345/Makefile:RUN_DEPENDS+=3D      convert:${PORTSDIR}/graphics/=
ImageMagick-nox11
> www/typo347/Makefile:RUN_DEPENDS+=3D      convert:${PORTSDIR}/graphics/=
ImageMagick-nox11


It would be great if someone fixed them. Not sure exactly how, either
only depending on the normal port (since WITHOUT_X11 is already defined
in these checks), or fixing the depends on the normal port to prefer
-nox11 if WITHOUT_X11 is set. Note that 'WITHOUT_X11' is the old
deprecated check. It is now ${PORT_OPTIONS:MX11} with X11 in the
OPTIONS_DEFINE.

Having said all that, somehow I managed to build -a with nox11 a few
weeks ago without hitting this issue.

--=20
Regards,
Bryan Drewery


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTxaGHAAoJEDXXcbtuRpfPe1EIAKuYc8YTymGmjVnT/xNCIxP0
Ts8l1YdAqxfK2vWj9+uW2t4C6YTg9kO+vWzbW3RnuOLFCJsWu6tpeH92+k3obvNk
x7rHdoBE1j2QM2FcCeyeejt1WRK4P57Ym6Kq9sjgnFcbfU6OioT/Sh4khhi2j0vv
czJJ09EsMFY76iTqAdawD4bgNdZGEG8fsbpBanZcIijEO1nmYEi9Dd67pm6ldpZg
UlD6eDiKOfPLQsZ43DqFjVlSc+8IIrgtsFRMYYDzkSva9m8iVLWMS/X/3BqX/XHY
/7mSQZTuXtudtovaa5Xqyki86LpSYPQE7caNikVVGzA4ZEnRUSAfTwxnlU8NdM0=
=Dsss
-----END PGP SIGNATURE-----

--ACmwLihkX8rX94Ahp8tXNJLmmqlxo0Xfx--



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