pkgsrc-Users archive

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

size_t issue ? (Re: x11/py-sip 4.19.18 breaks x11/py-qwt-qt4 then ham/gnuradio*



Hi, David, thanks for the information.
Sounds like py-sip issue. But py-sip changed the rule I'm afraid.

with py-sip 4.19.14 still fails. and in the ChangeLog, size_t is mentioned.

| 2018-12-23  Phil Thompson  <phil%riverbankcomputing.com@localhost>
| 
|         * NEWS, sipgen/gencode.c, siplib/int_convertors.c, siplib/sip.h.in,
|         siplib/sipint.h, siplib/siplib.c, sphinx/c_api.rst:
|         Completed the support for size_t including overflow checking.
                                    ~~~~~~
|         [c1aeffa204c6] <4.19-maint>
| 
| 2018-12-21  Phil Thompson  <phil%riverbankcomputing.com@localhost>
| 
|         * NEWS, sipgen/export.c, sipgen/gencode.c, sipgen/metasrc/lexer.l,
|         sipgen/metasrc/parser.y, sipgen/sip.h.in, sipgen/transform.c,
|         sipgen/type_hints.c, sphinx/specification_files.rst:
|         Added initial support for size_t (without overflow checking).
                                    ~~~~~~
|         [942cfae8780c] <4.19-maint>
| 
|         * METADATA.in:
|         Corrected the wheel meta-data version.
|         [049dad997cdb] <4.19-maint>

If the patch attached is applied, py-qwt-qt4 packaged.
I don't believe this is the right change, but one of work around,
-- 
Makoto Fujiwara
mef%NetBSD.org@localhost
makoto%if.t.u-tokyo.ac.jp@localhost
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E
Index: x11/py-qwt-qt4/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/x11/py-qwt-qt4/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- x11/py-qwt-qt4/distinfo	4 Nov 2015 03:28:51 -0000	1.3
+++ x11/py-qwt-qt4/distinfo	15 Sep 2019 23:27:52 -0000
@@ -4,4 +4,5 @@
 RMD160 (PyQwt-5.2.0.tar.gz) = e4c8a63d623d974cd500e29fbc62255746ca7feb
 SHA512 (PyQwt-5.2.0.tar.gz) = 8c409ee228d91d625bf9bd8a5704c3d41f70613b420bc8f1527312dd1ebb686b8482bd68c4b3d1a72edd80673533a4f5a39378221967bea70f389c9dde14f265
 Size (PyQwt-5.2.0.tar.gz) = 2670893 bytes
-SHA1 (patch-configure_configure.py) = 4fbae449cd80b7cf8ed3893ba1333b6fbbca17fc
+SHA1 (patch-configure_configure.py) = 1559e3f9e62e69a82c3e7c9643e4e00c18cb2d8b
+SHA1 (patch-sip_qwt5qt4_QwtTypes.sip) = 734f20d9767e5c8fd5a4f71018cf272691eec97a
Index: x11/py-qwt-qt4/patches/patch-configure_configure.py
===================================================================
RCS file: /cvsroot/pkgsrc/x11/py-qwt-qt4/patches/patch-configure_configure.py,v
retrieving revision 1.1
diff -u -r1.1 patch-configure_configure.py
--- x11/py-qwt-qt4/patches/patch-configure_configure.py	27 Jan 2015 06:11:12 -0000	1.1
+++ x11/py-qwt-qt4/patches/patch-configure_configure.py	15 Sep 2019 23:27:52 -0000
@@ -2,8 +2,8 @@
 
 On pkgsrc, python is installed more like generic unix and less like Mac OS.
 
---- configure/configure.py.orig	2009-08-01 07:28:33.000000000 +0000
-+++ configure/configure.py
+--- configure/configure.py.orig	2009-08-01 16:28:33.000000000 +0900
++++ configure/configure.py	2019-09-16 08:03:52.221548278 +0900
 @@ -155,8 +155,6 @@ def make_and_run_qt_program(name, code, 
      if sys.platform == "win32":
          exe = os.path.join("release", name + ".exe")
@@ -13,3 +13,12 @@
      else:
          exe = os.path.join(".", name)
  
+@@ -1075,7 +1073,7 @@ def main():
+     
+     options = check_sip(configuration, options)
+     options = check_os(configuration, options)
+-    options = check_compiler(configuration, options)
++#   options = check_compiler(configuration, options)
+     options = check_numarray(configuration, options, 'PyQwt')
+     options = check_numeric(configuration, options, 'PyQwt')
+     options = check_numpy(configuration, options, 'PyQwt')
Index: x11/py-qwt-qt4/patches/patch-sip_qwt5qt4_QwtTypes.sip
===================================================================
RCS file: x11/py-qwt-qt4/patches/patch-sip_qwt5qt4_QwtTypes.sip
diff -N x11/py-qwt-qt4/patches/patch-sip_qwt5qt4_QwtTypes.sip
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ x11/py-qwt-qt4/patches/patch-sip_qwt5qt4_QwtTypes.sip	15 Sep 2019 23:27:52 -0000
@@ -0,0 +1,14 @@
+$NetBSD$
+
+
+--- sip/qwt5qt4/QwtTypes.sip.orig	2008-09-01 19:52:30.000000000 +0900
++++ sip/qwt5qt4/QwtTypes.sip	2019-09-16 08:22:56.429324208 +0900
+@@ -1,7 +1,7 @@
+ // Automagically generated by configure.py
+ 
+ // Uncomment one of the following three lines
+-typedef unsigned int size_t;
++// typedef unsigned int size_t;
+ // typedef unsigned long size_t;
+ // typedef unsigned long long size_t;
+ 


Home | Main Index | Thread Index | Old Index