pkgsrc-Bugs archive

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

Re: pkg/58662: gobject-introspection build failure



The following reply was made to PR pkg/58662; it has been noted by GNATS.

From: Thomas Klausner <wiz%gatalith.at@localhost>
To: prlw1%cam.ac.uk@localhost
Cc: Ryo ONODERA <ryo%tetera.org@localhost>,
	NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/58662: gobject-introspection build failure
Date: Tue, 3 Sep 2024 11:15:00 +0200

 --rp8F+rKaR55r+hmC
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 This is already fixed in pkgsrc-HEAD but before the date you give?
 See if you have the attached commit.
  Thomas
  
 On Tue, Sep 03, 2024 at 08:55:00AM +0000, prlw1%cam.ac.uk@localhost wrote:
 > >Number:         58662
 > >Category:       pkg
 > >Synopsis:       gobject-introspection build failure
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Sep 03 08:55:00 +0000 2024
 > >Originator:     Patrick Welche
 > >Release:        pkgsrc head 2024-Sep-01
 > >Organization:
 > >Environment:
 > 10.99.12/amd64
 > >Description:
 > My pbulk run shows:
 > 
 > Packages causing the most breakage                                              
 > 
 > Location: devel/gobject-introspection
 > Package:  gobject-introspection-1.80.1nb2
 > Breaks:   500
 > 
 >    Location Package Breaks Maintainer Status Build log                          
 >    archivers/file-roller file-roller-3.38.0nb10 1 pkgsrc-users%NetBSD.org@localhost       
 >    indirect-failed                                                              
 >      Failed: gobject-introspection-1.80.1nb2                                    
 > ...
 > 
 > build failure:
 > FAILED: gir/GLib-2.0.gir                                                        
 > ...
 > Traceback (most recent call last):                                              
 >   File "/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.80.
 > 1/output/tools/g-ir-scanner", line 103, in <module>                             
 >     from giscanner.scannermain import scanner_main                              
 >   File "/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.80.
 > 1/output/giscanner/scannermain.py", line 35, in <module>                        
 >     from giscanner.ast import Include, Namespace                                
 >   File "/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.80.
 > 1/output/giscanner/ast.py", line 27, in <module>                                
 >     from .sourcescanner import CTYPE_TYPEDEF, CSYMBOL_TYPE_TYPEDEF              
 >   File "/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.80.
 > 1/output/giscanner/sourcescanner.py", line 25, in <module>                      
 >     from .ccompiler import CCompiler                                            
 >   File "/tmp/pkgsrc/devel/gobject-introspection/work/gobject-introspection-1.80.
 > 1/output/giscanner/ccompiler.py", line 29, in <module>                          
 >     from distutils._msvccompiler import MSVCCompiler                            
 >   File "/usr/pkg/lib/python3.11/distutils/_msvccompiler.py", line 18, in <module
 > >                                                                               
 >     import winreg                                                               
 > ModuleNotFoundError: No module named 'winreg'                                   
 > 
 > >How-To-Repeat:
 > pbulk run, without disabling gobject-introspection.
 > >Fix:
 > 
 
 --rp8F+rKaR55r+hmC
 Content-Type: message/rfc822
 Content-Disposition: inline
 
 Return-Path: <bounces-pkgsrc-changes-owner-wiz=netbsd.org%NetBSD.org@localhost>
 Delivered-To: wiz%gatalith.at@localhost
 Received: from gatalith.at
 	by gatalith.at with LMTP
 	id CB5HM93z0WZSNgAA4iLUCg
 	(envelope-from <bounces-pkgsrc-changes-owner-wiz=netbsd.org%NetBSD.org@localhost>)
 	for <wiz%gatalith.at@localhost>; Fri, 30 Aug 2024 18:31:25 +0200
 Received: from mail.netbsd.org (mail.NetBSD.org [IPv6:2001:470:a085:999::25])
 	by gatalith.at (Postfix) with ESMTPS id D94C2390A13
 	for <wiz%gatalith.at@localhost>; Fri, 30 Aug 2024 18:31:24 +0200 (CEST)
 Received: by mail.netbsd.org (Postfix)
 	id 5F34A84E92; Fri, 30 Aug 2024 16:31:22 +0000 (UTC)
 Delivered-To: wiz%netbsd.org@localhost
 Received: by mail.netbsd.org (Postfix, from userid 605)
 	id C255084E69; Fri, 30 Aug 2024 16:31:21 +0000 (UTC)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
 	s=20240131; t=1725035482;
 	bh=1xAeOavRo0JpErY1Me9bkizROQrVGny9vjkWzUzlZAY=;
 	h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe;
 	b=xT232NC/mMcuquMQ0WlC8mcDr4ORhZxuclgRq6JUhrHzFvIwnkQb0OxYoBeWWTC72
 	 afMYDfzxZexAl6toJgN2TQ52pQqFkxHpH2XFaj1VKo35q6UwtV0pe0wsKs/K1xmDcC
 	 CFMewC7TWley9bI03lcjktHyMugJv/KVEZQ0fcxk=
 Delivered-To: pkgsrc-changes%NetBSD.org@localhost
 Received: from localhost (localhost [127.0.0.1])
 	by mail.netbsd.org (Postfix) with ESMTP id D15AF84D3D
 	for <pkgsrc-changes%NetBSD.org@localhost>; Fri, 30 Aug 2024 16:31:20 +0000 (UTC)
 X-Virus-Scanned: amavisd-new at netbsd.org
 Authentication-Results: mail.netbsd.org (amavisd-new);
 	dkim=pass (1024-bit key) header.d=netbsd.org
 Received: from mail.netbsd.org ([IPv6:::1])
 	by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025)
 	with ESMTP id bl_mTBsVMI4E for <pkgsrc-changes%netbsd.org@localhost>;
 	Fri, 30 Aug 2024 16:31:20 +0000 (UTC)
 Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984])
 	by mail.netbsd.org (Postfix) with ESMTP id 2975E84CC9
 	for <pkgsrc-changes%NetBSD.org@localhost>; Fri, 30 Aug 2024 16:31:20 +0000 (UTC)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
 	s=20240131; t=1725035480;
 	bh=1xAeOavRo0JpErY1Me9bkizROQrVGny9vjkWzUzlZAY=;
 	h=Date:From:Subject:To:Reply-To;
 	b=t6jdau5KpQBbYr+V8bcWRWqZeOhreWboQ0bMWyEhEP/eOSb7nqU6RaLq5kJmXGGJA
 	 6DFAKmrM0igZ7wPeeTk/EZHW4akm/JgCRZkv74EvrYZTZ4NNfwA6gjbVyH+Xj08Lbj
 	 UL8K2Gyh4hznFNECUYprf23Br0ltdmiV5ziAHyks=
 Received: by cvs.NetBSD.org (Postfix, from userid 500)
 	id 20820FC74; Fri, 30 Aug 2024 16:31:20 +0000 (UTC)
 Content-Transfer-Encoding: 7bit
 Content-Type: multipart/mixed; boundary="_----------=_1725035480128500"
 MIME-Version: 1.0
 Date: Fri, 30 Aug 2024 16:31:20 +0000
 From: "Ryo ONODERA" <ryoon%netbsd.org@localhost>
 Subject: CVS commit: pkgsrc/devel/gobject-introspection
 To: pkgsrc-changes%NetBSD.org@localhost
 Reply-To: ryoon%netbsd.org@localhost
 X-Mailer: log_accum
 Message-Id: <20240830163120.20820FC74%cvs.NetBSD.org@localhost>
 Sender: pkgsrc-changes-owner%NetBSD.org@localhost
 List-Id: <pkgsrc-changes.NetBSD.org>
 Precedence: bulk
 List-Unsubscribe: <mailto:majordomo%NetBSD.org@localhost?subject=Unsubscribe%20pkgsrc-changes&body=unsubscribe%20pkgsrc-changes>
 
 This is a multi-part message in MIME format.
 
 --_----------=_1725035480128500
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 Content-Type: text/plain; charset="US-ASCII"
 
 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Fri Aug 30 16:31:20 UTC 2024
 
 Modified Files:
 	pkgsrc/devel/gobject-introspection: distinfo
 	pkgsrc/devel/gobject-introspection/patches:
 	    patch-giscanner_ccompiler.py
 
 Log Message:
 devel/gobject-introspection: Fix build with py-setuptools-74.0.0
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.54 -r1.55 pkgsrc/devel/gobject-introspection/distinfo
 cvs rdiff -u -r1.6 -r1.7 \
     pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 
 
 --_----------=_1725035480128500
 Content-Disposition: inline
 Content-Length: 2661
 Content-Transfer-Encoding: binary
 Content-Type: text/x-diff; charset=us-ascii
 
 Modified files:
 
 Index: pkgsrc/devel/gobject-introspection/distinfo
 diff -u pkgsrc/devel/gobject-introspection/distinfo:1.54 pkgsrc/devel/gobject-introspection/distinfo:1.55
 --- pkgsrc/devel/gobject-introspection/distinfo:1.54	Tue Apr  9 17:55:46 2024
 +++ pkgsrc/devel/gobject-introspection/distinfo	Fri Aug 30 16:31:19 2024
 @@ -1,11 +1,11 @@
 -$NetBSD: distinfo,v 1.54 2024/04/09 17:55:46 wiz Exp $
 +$NetBSD: distinfo,v 1.55 2024/08/30 16:31:19 ryoon Exp $
  
  BLAKE2s (gobject-introspection-1.80.1.tar.xz) = 7c2c1b4225ea68afbe91b6718b1f1c6d4f102cf1a3b8bdf27599b199ef1480b6
  SHA512 (gobject-introspection-1.80.1.tar.xz) = f45c2c1b105086488d974c6134db9910746df8edb187772f2ecd249656a1047c8ac88ba51f5bf7393c3d99c3ace143ecd09be256c2f4d0ceee110c9ad51a839a
  Size (gobject-introspection-1.80.1.tar.xz) = 1040228 bytes
  SHA1 (patch-girepository_gitypelib.c) = b5fa0fe0fc22a5dfb2b2916dfbb87e16fc732640
  SHA1 (patch-giscanner_ast.py) = 24d31e9675af3779a9399a1611cf6bc985285360
 -SHA1 (patch-giscanner_ccompiler.py) = c63c3a823661de880038aa2303d3961d66802341
 +SHA1 (patch-giscanner_ccompiler.py) = 1c5b38f5720b0174ace77645df0985060408d26f
  SHA1 (patch-tools_compiler.c) = 799d5a086338e08378b8b249e6808e8b1a8101dc
  SHA1 (patch-tools_generate.c) = 3fa74dd0e2c7658768a4278b984be38bff729d94
  SHA1 (patch-tools_meson.build) = 01c9aaaaacf1d0855704f55eb568b77bc207cc14
 
 Index: pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py
 diff -u pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py:1.6 pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py:1.7
 --- pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py:1.6	Tue Apr  9 17:55:46 2024
 +++ pkgsrc/devel/gobject-introspection/patches/patch-giscanner_ccompiler.py	Fri Aug 30 16:31:19 2024
 @@ -1,10 +1,21 @@
 -$NetBSD: patch-giscanner_ccompiler.py,v 1.6 2024/04/09 17:55:46 wiz Exp $
 +$NetBSD: patch-giscanner_ccompiler.py,v 1.7 2024/08/30 16:31:19 ryoon Exp $
 +
 +Fix build with py-setuptools-74.0.0.
  
  Exclude system paths from LD_LIBRARY_PATH.
  Do not use -Wl,--no-as-needed on SunOS.
  
  --- giscanner/ccompiler.py.orig	2024-04-01 13:21:25.000000000 +0000
  +++ giscanner/ccompiler.py
 +@@ -26,7 +26,7 @@ import tempfile
 + import sys
 + import distutils
 + 
 +-from distutils.msvccompiler import MSVCCompiler
 ++from distutils._msvccompiler import MSVCCompiler
 + from distutils.unixccompiler import UnixCCompiler
 + from distutils.cygwinccompiler import Mingw32CCompiler
 + from distutils.sysconfig import get_config_vars
  @@ -232,7 +232,7 @@ class CCompiler(object):
   
                   # Ensure libraries are always linked as we are going to use ldd to work
 
 
 --_----------=_1725035480128500--
 
 
 --rp8F+rKaR55r+hmC--
 


Home | Main Index | Thread Index | Old Index