Summary: | www/webkit-gtk2 : Fix build with DEFAULT_VERSIONS=python=3.3 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | olivier | ||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | berg2839, gnome, kevinz5000 | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
olivier
2015-02-04 10:09:30 UTC
Auto-assigned to maintainer gnome@FreeBSD.org This patch effectively does nothing but bump PORTREVISION. Without upstream fixing the script, the way to actually solve this is to add an explicit dependency on Python 2 rather than assuming Python is in the environment because GTK needs it. (In reply to Andrew Berg from comment #2) How can this patch do nothing ? There are theses 2 patches files included: files/patch-Source_WebCore_xml_XMLViewer.css files/patch-Source_WebCore_xml_XMLViewer.js (In reply to olivier from comment #3) For each of those files, your diff only removes a line from the license statement and then adds it back. If you are adding files, they are not here. *** Bug 205710 has been marked as a duplicate of this bug. *** A commit references this bug: Author: jbeich Date: Mon Jul 25 21:09:59 UTC 2016 New revision: 419064 URL: https://svnweb.freebsd.org/changeset/ports/419064 Log: www/webkit-gtk{2,3}: use ASCII quotes to unbreak python3 build GEN DerivedSources/WebCore/XMLViewerCSS.h GEN DerivedSources/WebCore/XMLViewerJS.h Traceback (most recent call last): File "./Source/JavaScriptCore/inspector/scripts/cssmin.py", line 44, in <module> sys.stdout.write(cssminify(sys.stdin.read())) File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 642: ordinal not in range(128) gmake: *** [GNUmakefile:82114: DerivedSources/WebCore/XMLViewerCSS.h] Error 1 gmake: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 237, in <module> minifier.minify() File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 106, in minify previous = read(1) File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 696: ordinal not in range(128) gmake: *** [GNUmakefile:82119: DerivedSources/WebCore/XMLViewerJS.h] Error 1 offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated. PR: 197316 Submitted by: olivier@cochard.me Approved by: maintainer timeout (1.5 years) MFH: 2016Q3 Changes: head/www/webkit-gtk2/Makefile head/www/webkit-gtk2/files/patch-Source_WebCore_xml_XMLViewer.css head/www/webkit-gtk2/files/patch-Source_WebCore_xml_XMLViewer.js head/www/webkit-gtk3/Makefile head/www/webkit-gtk3/files/patch-Source_WebCore_xml_XMLViewer.css head/www/webkit-gtk3/files/patch-Source_WebCore_xml_XMLViewer.js Thanks. Landed. A commit references this bug: Author: jbeich Date: Thu Jul 28 02:50:29 UTC 2016 New revision: 419205 URL: https://svnweb.freebsd.org/changeset/ports/419205 Log: MFH: r419064 www/webkit-gtk{2,3}: use ASCII quotes to unbreak python3 build GEN DerivedSources/WebCore/XMLViewerCSS.h GEN DerivedSources/WebCore/XMLViewerJS.h Traceback (most recent call last): File "./Source/JavaScriptCore/inspector/scripts/cssmin.py", line 44, in <module> sys.stdout.write(cssminify(sys.stdin.read())) File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 642: ordinal not in range(128) gmake: *** [GNUmakefile:82114: DerivedSources/WebCore/XMLViewerCSS.h] Error 1 gmake: *** Waiting for unfinished jobs.... Traceback (most recent call last): File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 237, in <module> minifier.minify() File "./Source/JavaScriptCore/inspector/scripts/jsmin.py", line 106, in minify previous = read(1) File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 696: ordinal not in range(128) gmake: *** [GNUmakefile:82119: DerivedSources/WebCore/XMLViewerJS.h] Error 1 offlineasm: offset extractor DerivedSources/JavaScriptCore/LLIntDesiredOffsets.h successfully generated. PR: 197316 Submitted by: olivier@cochard.me Approved by: maintainer timeout (1.5 years) Approved by: ports-secteam (feld) Changes: _U branches/2016Q3/ branches/2016Q3/www/webkit-gtk2/Makefile branches/2016Q3/www/webkit-gtk2/files/patch-Source_WebCore_xml_XMLViewer.css branches/2016Q3/www/webkit-gtk2/files/patch-Source_WebCore_xml_XMLViewer.js branches/2016Q3/www/webkit-gtk3/Makefile branches/2016Q3/www/webkit-gtk3/files/patch-Source_WebCore_xml_XMLViewer.css branches/2016Q3/www/webkit-gtk3/files/patch-Source_WebCore_xml_XMLViewer.js |