Question about WITHOUT_X11 / Poudriere

Bryan Drewery bdrewery at FreeBSD.org
Tue Jul 15 21:47:59 UTC 2014


On 7/15/2014 3:29 PM, Kris Moore wrote:
> 
> Porters,
> 
> We are trying to get a build of the entire ports tree done, using the
> WITHOUT_X11=yes in poudriere make.conf. This keeps bailing with these
> errors:
> 
> ====>> Creating the reference jail... done
> ====>> Mounting system devices for trueos-100-RELEASE-t10e
> ====>> Mounting ports/packages/distfiles
> ====>> Mounting packages from:
> /usr/local/poudriere/data/packages/trueos-100-RELEASE-t10e
> ====>> Logs:
> /usr/local/poudriere/data/logs/bulk/trueos-100-RELEASE-t10e/2014-07-15_14h49m12s
> ====>> 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
> ====>> Starting jail trueos-100-RELEASE-t10e
> ====>> Loading MOVED
> ====>> Calculating ports order and dependencies
> ====>> 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.
> ====>> 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.
> ====>> Cleaning up
> ====>> Umounting file systems
> 
> Is WITHOUT_X11 supposed to work universally or is this a bug in some of
> our ports?
> 
> 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.
> 
> 

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=-nox11. Some ports depend on the normal port, while others
depend on the -nox11. Both of which have the same PKGNAME.

These:

> graphics/ImageMagick/Makefile:LIB_DEPENDS+=             libwmf.so:${PORTSDIR}/graphics/libwmf-nox11
> graphics/pecl-imagick/Makefile:LIB_DEPENDS=     libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick-nox11
> graphics/ruby-rmagick/Makefile:LIB_DEPENDS=     libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick-nox11
> graphics/rubygem-rmagick/Makefile:LIB_DEPENDS=  libMagickWand-6.Q*.so:${PORTSDIR}/graphics/ImageMagick-nox11
> net/unison-devel/Makefile:BUILD_DEPENDS+=       ocamlc:${PORTSDIR}/lang/ocaml-nox11
> net/unison/Makefile:BUILD_DEPENDS+=     ocamlc:${PORTSDIR}/lang/ocaml-nox11
> net/unison232/Makefile:BUILD_DEPENDS+=  ocamlc:${PORTSDIR}/lang/ocaml-nox11
> www/gallery3/Makefile:RUN_DEPENDS+=     convert:${PORTSDIR}/graphics/ImageMagick-nox11
> www/piwigo/Makefile:RUN_DEPENDS+=       ${LOCALBASE}/bin/convert:${PORTSDIR}/graphics/ImageMagick-nox11
> www/typo3-lts/Makefile:RUN_DEPENDS+=    convert:${PORTSDIR}/graphics/ImageMagick-nox11
> www/typo3/Makefile:RUN_DEPENDS+=        convert:${PORTSDIR}/graphics/ImageMagick-nox11
> www/typo345/Makefile:RUN_DEPENDS+=      convert:${PORTSDIR}/graphics/ImageMagick-nox11
> www/typo347/Makefile:RUN_DEPENDS+=      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.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140715/f5963792/attachment.sig>


More information about the freebsd-ports mailing list