[Bug 237795] devel/gobject-introspection: "needs Python 3.x at least, but 2.7 was specified"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 12 01:46:15 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237795

--- Comment #20 from Chris Hutchinson <portmaster at bsdforge.com> ---
Created attachment 209881
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209881&action=edit
Mk/Uses/python.mk: remove broken conditional

Mk/Uses/python.mk
This svn(1) diff(1) fixes a problem introduced to
Mk/Uses/python.mk
Its intent was to create a usable range of python versions
for any group of build/install targets. But was actually a
conditional/binary. As a result, it resulted in the failure
to build a great many ports.
This patch corrects the problem by removing the offending lines.
A more appropriate solution would be to use a greater than ||
less than, in an attempt to find a suitable range for the build
targets involved.
In any case. This patch will work correctly until a better
solution is found.
Tested on
FreeBSD eleventhree 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 #0 r355580:
Tue Dec 10 13:22:30 PST 2019
root at eleventhree:/usr/obj/usr/src/sys/ELEVENTHREE  amd64

/usr/ports
519768

Special thanks to:
Walter Schwarzenfeld, pr 237795 comment 18, for the initial insight
Antoine Brodin, pr 233723 comment 7, for the "clue bat"


--Chris

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list