awscli pkg broken on 10.2 i386

Bradley T. Hughes bradleythughes at
Tue Jan 12 08:50:01 UTC 2016

> On 12 Jan 2016, at 09:05, Matthew Seaman <matthew at> wrote:
> On 12/01/2016 04:52, Michael Sierchio wrote:
>> Installing the python package via pip works. Something is broken in the
>> port/package for FreeBSD 10.2 on i386.

Specifically, it is because the py-botocore dependency is out of date, cf.

> Hi, Michael,
> Thank you for your report.  This would have been better sent to the
> freebsd-ports@ list, but no matter.
> There is already a PR with patches to update awscli and dependencies:
> As far as I can see, that's just waiting on maintainer feedback -- if
> the maintainer doesn't respond, it will need about another week before
> it times out and can be committed.

My fingers are still crossed :)

> However, if you'ld like to apply the patches to your ports tree by hand
> and add a note to the PR about the success or not of trying that, it
> would be appreciated.
> Note: the patches in the PR are in git-diff format, so to apply them to
> a ports tree checked out via subversion or svnlite or portupdate you
> would need to do something like (untested):
>   # cd /usr/ports
>   # patch -p1 awscli.patch
>   # patch -p1 py-botocore.patch

Since the patches are just version bumps, it's possible to do the change by hand too. Just change the version numbers in the Makefiles and run `make makesum` in both ports.

    # vi /usr/ports/devel/py-botocore/Makefile
    # vi /usr/ports/devel/awscli/Makefile

    # make -C /usr/ports/devel/py-botocore/ makesum
    # make -C /usr/ports/devel/awscli/ makesum

And then you can update the ports (e.g. using portmaster og portupgrade).

Good luck (and please drop a comment on PR 205949) :)

Bradley T. Hughes
bradleythughes at

More information about the freebsd-questions mailing list