NetBSD Problem Report #54558

From makoto@h97.i.ki.nu  Thu Sep 19 11:31:34 2019
Return-Path: <makoto@h97.i.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D4FEA7A1A2
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 19 Sep 2019 11:31:34 +0000 (UTC)
Message-Id: <201909191143.x8JBhh1w014690@h97.i.ki.nu>
Date: Thu, 19 Sep 2019 20:43:43 +0900 (JST)
From: makoto@if.t.u-tokyo.ac.jp
Reply-To: makoto@if.t.u-tokyo.ac.jp
To: gnats-bugs@NetBSD.org
Subject: py-kde4 depends one py-sip, which updated to 4.19.18, now suppports size_t
X-Send-Pr-Version: 3.95

>Number:         54558
>Category:       pkg
>Synopsis:       To adapt to the changes of py-sip, size_t should be removed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    markd
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 19 11:35:00 +0000 2019
>Closed-Date:    Mon Oct 28 05:56:53 +0000 2019
>Last-Modified:  Mon Oct 28 05:56:53 +0000 2019
>Originator:     Makoto Fujiwara
>Release:        NetBSD 9.99.2
>Organization:
U Tokyo
>Environment:


System: NetBSD h97 9.99.2 NetBSD 9.99.2 (GENERIC) #0: Thu Aug 1 22:23:16 UTC 2019 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	py-kde4 depends on py-sip, which updated to 4.19.18. Since 4.19.14 it
	supports size_t, and py-kde4 should omit the process for size_t.

>How-To-Repeat:
	Make sure py-sip is updated (4.19.18 or 4.19.19), and make package
	on x11/py-kde4.
>Fix:

Index: x11/py-kde4/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/x11/py-kde4/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- x11/py-kde4/distinfo	17 Jan 2018 19:21:20 -0000	1.14
+++ x11/py-kde4/distinfo	19 Sep 2019 11:19:57 -0000
@@ -10,7 +10,7 @@
 SHA1 (patch-sip_kdecore_kmimetype.sip) = 50c2df2246b9f4263e307933e5b532db895b30aa
 SHA1 (patch-sip_kdecore_ksharedconfig.sip) = 748d6e014b31586ff6824065579bcbcfe2ec4cd2
 SHA1 (patch-sip_kdecore_ksycocaentry.sip) = 174773d04ebcfeb5b0730590e7d7e12011ee2107
-SHA1 (patch-sip_kdecore_typedefs.sip) = 3357640a33d07fb6c4c8e02e6a95149a773de0c9
+SHA1 (patch-sip_kdecore_typedefs.sip) = 24cb6b9c84171597f513e7100cefaaa7e4a4f932
 SHA1 (patch-sip_kdeui_kcompletion.sip) = ce3547028efb1f997117114d2189241bc03f6276
 SHA1 (patch-sip_kdeui_kfontchooser.sip) = 988d5207b5db4fd9a6dab46d6e5264ba6a00eaf4
 SHA1 (patch-sip_kdeui_kfontdialog.sip) = af921a11d407645dc50a591e34ffd93b3a0ccf16
@@ -21,4 +21,3 @@
 SHA1 (patch-sip_phonon_objectdescription.sip) = 29ef03ba93faefcfa3df915f5ca9947343ea2b1c
 SHA1 (patch-sip_solid_powermanagement.sip) = a0b961cca434b1998bcd86bf781af72b92cbf0ca
 SHA1 (patch-sip_solid_predicate.sip) = 0304cbd05eb6f1b878db2a2411e218158ba366fa
-SHA1 (patch-sip_soprano_pluginmanager.sip) = 2d9131583273bb47daffd55a2bc470ed1bbfda09
Index: x11/py-kde4/patches/patch-sip_kdecore_typedefs.sip
===================================================================
RCS file: /cvsroot/pkgsrc/x11/py-kde4/patches/patch-sip_kdecore_typedefs.sip,v
retrieving revision 1.3
diff -u -r1.3 patch-sip_kdecore_typedefs.sip
--- x11/py-kde4/patches/patch-sip_kdecore_typedefs.sip	17 Jan 2018 19:21:20 -0000	1.3
+++ x11/py-kde4/patches/patch-sip_kdecore_typedefs.sip	19 Sep 2019 11:19:57 -0000
@@ -1,10 +1,20 @@
 $NetBSD: patch-sip_kdecore_typedefs.sip,v 1.3 2018/01/17 19:21:20 markd Exp $

 build with sip 4.19 
+build with sip 4.19.18 (size_t issue) 

---- sip/kdecore/typedefs.sip.orig	2014-08-14 20:17:11.000000000 +0000
-+++ sip/kdecore/typedefs.sip
-@@ -397,8 +397,8 @@ template <TYPE1,TYPE2>
+--- sip/kdecore/typedefs.sip.orig	2014-08-15 05:17:11.000000000 +0900
++++ sip/kdecore/typedefs.sip	2019-09-16 10:32:45.923750123 +0900
+@@ -23,8 +23,6 @@ typedef uint mode_t;
+ 
+ typedef long time_t;
+ 
+-typedef ulong size_t;
+-
+ typedef int ssize_t;
+ 
+ typedef int pid_t;
+@@ -397,8 +395,8 @@ template <TYPE1,TYPE2>
          TYPE1 *t1 = new TYPE1(i.key());
          TYPE2 *t2 = new TYPE2(i.value());

@@ -98,3 +108,10 @@
      }

      *sipCppPtr = qv;
+@@ -1028,4 +1026,4 @@ template <TYPE1>
+     return sipGetState(sipTransferObj);
+ %End
+ };
+-%End
+\ No newline at end of file
++%End

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: mef@NetBSD.org
Responsible-Changed-When: Fri, 20 Sep 2019 03:39:35 +0000
Responsible-Changed-Why:
over to MAINTAINER


From: =?ISO-2022-JP?B?GyRCRiM4NhsoQiAbJEJAPxsoQg==?= Makoto Fujiwara
 <makoto@if.t.u-tokyo.ac.jp>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/54558 (To adapt to the changes of py-sip, size_t should be removed)
Date: Fri, 20 Sep 2019 12:44:19 +0900

 Sorry, the error message is not attached.

 It is found at
   http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0_BETA/20190918.1550/py27-kde4-4.14.3nb17/build.log
   http://www.ki.nu/pkgsrc/reports/current/NetBSD-9.0_BETA/20190918.1550/py37-kde4-4.14.3nb17/build.log
 And the summary is:

    sip: /tmp/x11/py-kde4/work/pykde4-4.14.3/sip/kdecore/typedefs.sip:26: syntax error

 Thank you,
 -- 
 Makoto Fujiwara
 mef@NetBSD.org
 makoto@if.t.u-tokyo.ac.jp

From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/54558 CVS commit: pkgsrc/x11/py-kde4
Date: Mon, 23 Sep 2019 21:55:43 +0000

 Module Name:	pkgsrc
 Committed By:	mef
 Date:		Mon Sep 23 21:55:43 UTC 2019

 Modified Files:
 	pkgsrc/x11/py-kde4: distinfo
 	pkgsrc/x11/py-kde4/patches: patch-sip_kdecore_typedefs.sip

 Log Message:
 Apply patch proposed at pkgsrc-users@, for PR pkg/54558 fix build with sip-4.19.14 or later

 The error was:
 sip: /tmp/x11/py-kde4/work/pykde4-4.14.3/sip/kdecore/typedefs.sip:26: syntax error


 To generate a diff of this commit:
 cvs rdiff -u -r1.14 -r1.15 pkgsrc/x11/py-kde4/distinfo
 cvs rdiff -u -r1.3 -r1.4 \
     pkgsrc/x11/py-kde4/patches/patch-sip_kdecore_typedefs.sip

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 28 Oct 2019 05:56:53 +0000
State-Changed-Why:
Sounds fixed. Thanks for the fix.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.