poudriere overlays build failed with xargs: illegal option -- e
Bryan Drewery
bryan-lists at shatow.net
Fri May 15 17:36:20 UTC 2020
On 5/15/2020 6:21 AM, Miroslav Lachman wrote:
> I am trying to use port overlays with poudriere-devel.
> I have main tree with old quaterly branch from December 2019 (default).
> The overlay contains just a bunch of ports from current tree with
> updated versions of Apache, Python etc. and Mk from current ports tree.
> This is called mfh_overlay.
> I need this because I need to maintain some old SW not existing in
> current ports tree (phantomjs with old openssl for example)
>
> Some ports are building fine but when port needs to be patched it is
> failing:
>
> =>> Status lang/python27 | python27-2.7.18: extract-depends
> =======================<phase: extract-depends>============================
> ===========================================================================
> =>> Status lang/python27 | python27-2.7.18: extract
> =======================<phase: extract >============================
> ===> NOTICE:
>
> This port is deprecated; you may wish to reconsider installing it:
>
> EOLed upstream.
>
> It is scheduled to be removed on or after 2020-12-31.
>
> ===> python27-2.7.18 depends on file: /usr/local/sbin/pkg - found
> ===> Fetching all distfiles required by python27-2.7.18 for building
> ===> Extracting for python27-2.7.18
> => SHA256 Checksum OK for python/Python-2.7.18.tar.xz.
> ===========================================================================
> =>> Status lang/python27 | python27-2.7.18: patch-depends
> =======================<phase: patch-depends >============================
> ===========================================================================
> =>> Status lang/python27 | python27-2.7.18: patch
> =======================<phase: patch >============================
> ===> Patching for python27-2.7.18
> xargs: illegal option -- e
> usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements] [-S
> replsize]]
> [-J replstr] [-L number] [-n number [-x]] [-P maxprocs]
> [-s size] [utility [argument ...]]
> *** Error code 1
I suspect somewhere ${REINPLACE_CMD} or ${SED} or
${FRAMEWORK_REINPLACE_CMD} is misspelled or not set.
Perhaps your overlay is outdated and one of these is not set.
You could try this in your poudriere.conf to get more debugging (untested):
PORT_FLAGS="-dlx"
--
Regards,
Bryan Drewery
More information about the freebsd-ports
mailing list