From owner-freebsd-ports@freebsd.org Fri Dec 8 20:45:19 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DA36CE8EDCD for ; Fri, 8 Dec 2017 20:45:19 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 75A656363D for ; Fri, 8 Dec 2017 20:45:18 +0000 (UTC) (envelope-from freebsd-ports@dino.sk) Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Fri, 08 Dec 2017 21:45:09 +0100 id 00DD6037.5A2AF9D5.0000D491 Date: Fri, 8 Dec 2017 21:45:09 +0100 From: Milan Obuch To: freebsd-ports@freebsd.org Cc: Paul Schmehl Subject: Re: py-setuptools fails to build with FLAVOR Message-ID: <20171208214509.50eb3d95@zeta.dino.sk> In-Reply-To: References: X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.31; i386-portbld-freebsd10.4) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Dec 2017 20:45:19 -0000 On Fri, 08 Dec 2017 14:41:29 -0600 Paul Schmehl wrote: > # cd ../py-setuptools > [root@colo11 /usr/ports/devel/py-setuptools]# make distclean > ===> Cleaning for py27-setuptools-36.5.0 > ===> Cleaning for py35-setuptools-36.5.0 > ===> Cleaning for py36-setuptools-36.5.0 > ===> Cleaning for py34-setuptools-36.5.0 > ===> Deleting distfiles for py27-setuptools-36.5.0 > [root@colo11 /usr/ports/devel/py-setuptools]# make FLAVOR=py27 install > ===> License PSFL accepted by the user > ===> py27-setuptools-36.5.0 depends on file: /usr/local/sbin/pkg - > found => setuptools-36.5.0.zip doesn't seem to exist in > /usr/ports/distfiles/python. > => Attempting to fetch > https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-36.5.0.zip > setuptools-36.5.0.zip 100% of 704 kB 4447 > kBps 00m00s > ===> Fetching all distfiles required by py27-setuptools-36.5.0 for > building ===> Extracting for py27-setuptools-36.5.0 > => SHA256 Checksum OK for python/setuptools-36.5.0.zip. > ===> Patching for py27-setuptools-36.5.0 > ===> Applying FreeBSD patches for py27-setuptools-36.5.0 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to > setuptools/command/install_egg_info.py.rej > => FreeBSD patch patch-setuptools__command__install_egg_info.py > failed to apply cleanly. > *** Error code 1 > > Stop. > make: stopped in /usr/ports/devel/py-setuptools > > Are we in a catch22? > > Paul Schmehl, Retired > I found following works for me: portmaster -o devel/py-setuptools py27-setuptools-36.5.0 Afterwards I was able to update some dependent ports as if they were not flavored (did not check). So I think worth to try, but no guarantee other than it seemingly did not break in my case. Regards, Milan