On Tue, Oct 10, 2017 at 04:52:20AM +0000, Anthony J. Bentley wrote: > CVSROOT: /cvs > Module name: ports > Changes by: bent...@cvs.openbsd.org 2017/10/09 22:52:20 > > Modified files: > textproc/apertium-dicts/cat: Makefile distinfo > > Log message: > Update to apertium-cat-2.3.0.
Doesn't build when py-xml is installed. $ make package ===> Checking files for apertium-cat-2.3.0 `/hack/cvs/ports/distfiles/apertium-cat-2.3.0.tar.gz' is up to date. >> (SHA256) apertium-cat-2.3.0.tar.gz: OK ===> apertium-cat-2.3.0 depends on: apertium-* -> apertium-3.4.2 ===> apertium-cat-2.3.0 depends on: libxslt-* -> libxslt-1.1.30p0 ===> apertium-cat-2.3.0 depends on: lttoolbox-* -> lttoolbox-3.3.3 ===> apertium-cat-2.3.0 depends on: python->=2.7,<2.8 -> python-2.7.14 ===> apertium-cat-2.3.0 depends on: gmake-* -> gmake-4.2.1 ===> Extracting for apertium-cat-2.3.0 ===> Patching for apertium-cat-2.3.0 ===> Applying OpenBSD patch patch-Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$OpenBSD: patch-Makefile_in,v 1.1 2017/08/07 11:02:50 bentley Exp $ | |Index: Makefile.in |--- Makefile.in.orig |+++ Makefile.in -------------------------- Patching file Makefile.in using Plan A... Hunk #1 succeeded at 689 (offset 1 line). done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Configuring for apertium-cat-2.3.0 Using /hack/objdirs/pobj/apertium-cat-2.3.0/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /hack/objdirs/pobj/apertium-cat-2.3.0/config.site checking for a BSD-compatible install... /hack/objdirs/pobj/apertium-cat-2.3.0/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking whether ln -s works... yes checking for gawk... (cached) awk checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for APERTIUM... yes checking for LTTOOLBOX... yes checking for lt-print... /usr/local/bin/lt-print checking for cg-comp... /usr/local/bin/cg-comp checking for cg-proc... /usr/local/bin/cg-proc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating apertium-cat.pc configure: WARNING: unrecognized options: --disable-gtk-doc ===> Building for apertium-cat-2.3.0 /usr/bin/perl /hack/cvs/ports/infrastructure/bin/pkg_subst -DMODPY_PYCACHE= -DMODPY_COMMENT=\"@comment\ \" -DMODPY_ABI3SO= -DMODPY_PYC_MAGIC_TAG= -DMODPY_BIN=/usr/local/bin/python2.7 -DMODPY_EGG_VERSION= -DMODPY_VERSION=2.7 -DMODPY_BIN_SUFFIX= -DMODPY_PY_PREFIX=py- -DMODPY_PYOEXTENSION=pyo -DMODPY_BIN=/usr/local/bin/python2.7 -DMACHINE_ARCH=amd64 -DARCH=amd64 -DHOMEPAGE=https://www.apertium.org/ -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=apertium-cat-2.3.0 -DMAINTAINER=Anthony\ J.\ Bentley\ \<anth...@anjbe.name\> -D^BASE_PKGPATH=textproc/apertium-dicts/cat -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d -D^LOCALSTATEDIR=/var -i -B /hack/objdirs/pobj/apertium-cat-2.3.0 /hack/objdirs/pobj/apertium-cat-2.3.0/apertium-cat-2.3.0/Makefile.in cd . && /bin/sh ./config.status Makefile config.status: creating Makefile apertium-validate-dictionary apertium-cat.cat.dix apertium-cat.cat.dix validates lt-comp lr apertium-cat.cat.dix cat.automorf.bin apertium-cat.cat.acx apostrophes@postblank 727 1009 final@inconditional 7 17 main@standard 99060 191181 regexp@standard 153 7752 lt-print cat.automorf.bin | gzip -9 -c -n > cat.automorf.att.gz test -d .deps || mkdir .deps touch .deps/.d apertium-validate-dictionary apertium-cat.cat.dix apertium-cat.cat.dix validates /usr/local/bin/python2.7 genvdix.py cat apertium-cat.cat.dix >.deps/apertium-cat.cat.cat.dix Traceback (most recent call last): File "genvdix.py", line 65, in <module> parser.parse(f) File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse xmlreader.IncrementalParser.parse(self, source) File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse self.feed(buffer) File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed self._parser.Parse(data, isFinal) File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element self._cont_handler.startElement(name, AttributesImpl(attrs)) File "genvdix.py", line 37, in startElement if name == "e" and "v" in attrs: File "/usr/local/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py", line 316, in __getitem__ return self._attrs[name] KeyError: 0 gmake: *** [Makefile:733: .deps/apertium-cat.cat.cat.dix] Error 1 *** Error 2 in . (/hack/cvs/ports/infrastructure/mk/bsd.port.mk:2728 '/hack/objdirs/pobj/apertium-cat-2.3.0/.build_done') *** Error 1 in . (/hack/cvs/ports/infrastructure/mk/bsd.port.mk:1945 '/hack/cvs/ports/packages/amd64/all/apertium-cat-2.3.0.tgz') *** Error 1 in . (/hack/cvs/ports/infrastructure/mk/bsd.port.mk:2446 '_internal-package') *** Error 1 in /hack/cvs/ports/textproc/apertium-dicts/cat (/hack/cvs/ports/infrastructure/mk/bsd.port.mk:2425 'package') -- Antoine