pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/webkit-gtk webkit-gtk: add TOOL_DEPENDS on py-expat



details:   https://anonhg.NetBSD.org/pkgsrc/rev/180a2ee975e6
branches:  trunk
changeset: 401665:180a2ee975e6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 22 05:38:53 2019 +0000

description:
webkit-gtk: add TOOL_DEPENDS on py-expat

Trying to fix
[ 53%] Generating ../../DerivedSources/JavaScriptCore/IntlDateTimeFormatConstructor.lut.h
Traceback (most recent call last):
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_itab.py", line 379, in <module>
    main()
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_itab.py", line 374, in main
    tables = UdOpcodeTables(xml=sys.argv[1])
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 326, in __init__
    for insn in self.__class__.parseOptableXML(xml):
  File "/scratch/www/webkit-gtk/work/webkitgtk-2.26.0/Source/JavaScriptCore/disassembler/udis86/ud_opcode.py", line 585, in parseOptableXML
    xmlDoc = minidom.parse(xml)
  File "/usr/pkg/lib/python2.7/xml/dom/minidom.py", line 1917, in parse
    from xml.dom import expatbuilder
  File "/usr/pkg/lib/python2.7/xml/dom/expatbuilder.py", line 32, in <module>
    from xml.parsers import expat
  File "/usr/pkg/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: No module named pyexpat

diffstat:

 www/webkit-gtk/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 160aceef7408 -r 180a2ee975e6 www/webkit-gtk/Makefile
--- a/www/webkit-gtk/Makefile   Sat Sep 21 23:59:09 2019 +0000
+++ b/www/webkit-gtk/Makefile   Sun Sep 22 05:38:53 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.172 2019/09/10 22:10:04 leot Exp $
+# $NetBSD: Makefile,v 1.173 2019/09/22 05:38:53 wiz Exp $
 
 DISTNAME=      webkitgtk-2.26.0
 PKGNAME=       ${DISTNAME:S/webkitgtk/webkit-gtk/}
@@ -15,6 +15,7 @@
 NOT_FOR_PLATFORM=      NetBSD-[1-6].*-*
 
 TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
 
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++11



Home | Main Index | Thread Index | Old Index