py-setuptools fails to build with FLAVOR

Milan Obuch freebsd-ports at dino.sk
Fri Dec 8 20:45:19 UTC 2017


On Fri, 08 Dec 2017 14:41:29 -0600
Paul Schmehl <pschmehl_lists at tx.rr.com> wrote:

> # cd ../py-setuptools
> [root at 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 at 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


More information about the freebsd-ports mailing list