pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: math/gnumeric112 fails to build
Thomas Klausner <wiz%NetBSD.org@localhost> writes:
> You've refound an old bug. It was fixed in libxml2.
>
> See
>
> https://github.com/itstool/itstool/issues/22#issuecomment-451774830
>
> Can you update your libxml2?
With everything up to date, I'm still seeing errors.
I built itstool with PYTHON_VERSION_DEFAULT=37. With that, gnumeric
builds, packages, and runs. I don't really want to try to fix itstool
with python 2.7, and my impression is that the world is starting to
abandon 2.7.
Are you (or anyone0 able to build gnumeric112 on netbsd-8 with default
mk.conf (python particularly)? Anyplace else?
So I'd like to apply this patch as a bugfix to itstool.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/itstool/Makefile,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile
--- Makefile 30 Nov 2018 15:04:02 -0000 1.16
+++ Makefile 30 Mar 2019 13:35:54 -0000
@@ -12,6 +12,10 @@ LICENSE= gnu-gpl-v3
GNU_CONFIGURE= yes
+# With 27, gnumeric112 fails to build translations with ascii/utf-8
+# confusion.
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
REPLACE_PYTHON= ${WRKSRC}/itstool.in
DEPENDS+= ${PYPKGPREFIX}-libxml2-[0-9]*:../../textproc/py-libxml2
Home |
Main Index |
Thread Index |
Old Index