Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2020 10:36:07 -0700
From:      Bryan Drewery <bryan-lists@shatow.net>
To:        Miroslav Lachman <000.fbsd@quip.cz>, ports@freebsd.org
Subject:   Re: poudriere overlays build failed with xargs: illegal option -- e
Message-ID:  <a04a0b29-c02c-a43d-741f-e64301badd32@shatow.net>
In-Reply-To: <5563154c-18b6-33f7-b16b-9448abaedcdf@quip.cz>
References:  <5563154c-18b6-33f7-b16b-9448abaedcdf@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a04a0b29-c02c-a43d-741f-e64301badd32>