pkgsrc-Bugs archive

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

Re: pkg/58045: devel/lldb fails to build



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

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc: 
Subject: Re: pkg/58045: devel/lldb fails to build
Date: Fri, 26 Apr 2024 21:23:19 +0200

 --jaSoMDWlO3S7PP1n
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Did tnn's commit change anything?
  Thomas
 
 --jaSoMDWlO3S7PP1n
 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 XK0wKYBpKmajbgAA4iLUCg
 	(envelope-from <bounces-pkgsrc-changes-owner-wiz=netbsd.org%NetBSD.org@localhost>)
 	for <wiz%gatalith.at@localhost>; Thu, 25 Apr 2024 16:32:32 +0200
 Received: from mail.netbsd.org (mail.NetBSD.org [IPv6:2001:470:a085:999::25])
 	by gatalith.at (Postfix) with ESMTPS id B1B6D390A21
 	for <wiz%gatalith.at@localhost>; Thu, 25 Apr 2024 16:32:31 +0200 (CEST)
 Received: by mail.netbsd.org (Postfix)
 	id 3270684ECB; Thu, 25 Apr 2024 14:32:29 +0000 (UTC)
 Delivered-To: wiz%netbsd.org@localhost
 Received: by mail.netbsd.org (Postfix, from userid 605)
 	id A65A784EAC; Thu, 25 Apr 2024 14:32:28 +0000 (UTC)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
 	s=20240131; t=1714055548;
 	bh=fXCgM8iI6t6KcOwOUt0y89EZYr2nUw1rtAJ2AHrVaCQ=;
 	h=Date:From:Subject:To:Reply-To:List-Id:List-Unsubscribe;
 	b=E4jo8ea56rMHUSeCHF9S2+ICjOGWz7BziHJR9MOZLmwzyJUT18sBaA71d66Edqc4/
 	 AoYiwHzponhg0tg0c4QsbzxXe2zmTPf+LNRbkXlPIwZ2yH3aBZV335neLY3+CJgkVg
 	 m392cBULOQmoPlrYso5llx+X6AkR1ZMACDc+KfPg=
 Delivered-To: pkgsrc-changes%NetBSD.org@localhost
 Received: from localhost (localhost [127.0.0.1])
 	by mail.netbsd.org (Postfix) with ESMTP id 9763C84EAB
 	for <pkgsrc-changes%NetBSD.org@localhost>; Thu, 25 Apr 2024 14:32:27 +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 ([127.0.0.1])
 	by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025)
 	with ESMTP id 0pH2DEOmp-VK for <pkgsrc-changes%netbsd.org@localhost>;
 	Thu, 25 Apr 2024 14:32:27 +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 0C58384EA5
 	for <pkgsrc-changes%NetBSD.org@localhost>; Thu, 25 Apr 2024 14:32:27 +0000 (UTC)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
 	s=20240131; t=1714055547;
 	bh=fXCgM8iI6t6KcOwOUt0y89EZYr2nUw1rtAJ2AHrVaCQ=;
 	h=Date:From:Subject:To:Reply-To;
 	b=z79PGDj3s61+FX0puPUG3Ikj7T1EQw9/Ik2K2QaqFiZlx1j9O45xUo141nPW1agut
 	 jmMQiUhrXHsL/1++rTTg9RBRf7/t+O6vYs2UIPOqVcQ0dI72YmW7dGPAXrSHCRhTif
 	 uYnFJEVyhjA4AIYionFIk2mU4VVOXCsHU/OuR8X4=
 Received: by cvs.NetBSD.org (Postfix, from userid 500)
 	id 03262FA2C; Thu, 25 Apr 2024 14:32:27 +0000 (UTC)
 Content-Transfer-Encoding: 7bit
 Content-Type: multipart/mixed; boundary="_----------=_171405554649350"
 MIME-Version: 1.0
 Date: Thu, 25 Apr 2024 14:32:26 +0000
 From: "Tobias Nygren" <tnn%netbsd.org@localhost>
 Subject: CVS commit: pkgsrc/mk
 To: pkgsrc-changes%NetBSD.org@localhost
 Reply-To: tnn%netbsd.org@localhost
 X-Mailer: log_accum
 Message-Id: <20240425143227.03262FA2C%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.
 
 --_----------=_171405554649350
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 Content-Type: text/plain; charset="US-ASCII"
 
 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Thu Apr 25 14:32:26 UTC 2024
 
 Modified Files:
 	pkgsrc/mk: termcap.builtin.mk
 
 Log Message:
 mk: fix termcap/terminfo detection issue when both are builtin
 
 Both termcap.builtin.mk and terminfo.builtin.mk used the same variable
 H_TERM for BUILTIN_FIND_HEADERS_VAR. This for some reason causes the
 logic to trip up in a specific scenario:
 when termcap.buildlink3.mk is included before terminfo.buildlink3.mk.
 
 When termcap was introduced as a dependency in audio/lame/buildlink3.mk
 in r1.12, then audio/libsndfile incorrectly started to depend on ncurses
 on NetBSD.
 
 Fix this by using a different variable name for the builtin detection.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/mk/termcap.builtin.mk
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 
 
 --_----------=_171405554649350
 Content-Disposition: inline
 Content-Length: 1854
 Content-Transfer-Encoding: binary
 Content-Type: text/x-diff; charset=us-ascii
 
 Modified files:
 
 Index: pkgsrc/mk/termcap.builtin.mk
 diff -u pkgsrc/mk/termcap.builtin.mk:1.10 pkgsrc/mk/termcap.builtin.mk:1.11
 --- pkgsrc/mk/termcap.builtin.mk:1.10	Sat Nov 23 09:10:14 2013
 +++ pkgsrc/mk/termcap.builtin.mk	Thu Apr 25 14:32:26 2024
 @@ -1,11 +1,11 @@
 -# $NetBSD: termcap.builtin.mk,v 1.10 2013/11/23 09:10:14 obache Exp $
 +# $NetBSD: termcap.builtin.mk,v 1.11 2024/04/25 14:32:26 tnn Exp $
  
  BUILTIN_PKG:=	termcap
  
  BUILTIN_FIND_LIBS:=		terminfo curses termcap termlib tinfo
 -BUILTIN_FIND_HEADERS_VAR:=	H_TERM H_TERMCAP H_TERMLIB
 -BUILTIN_FIND_HEADERS.H_TERM:=	term.h
 -BUILTIN_FIND_GREP.H_TERM:=	tgetent
 +BUILTIN_FIND_HEADERS_VAR:=	H_TERM_TC H_TERMCAP H_TERMLIB
 +BUILTIN_FIND_HEADERS.H_TERM_TC:=term.h
 +BUILTIN_FIND_GREP.H_TERM_TC:=	tgetent
  BUILTIN_FIND_HEADERS.H_TERMCAP:=	termcap.h
  BUILTIN_FIND_GREP.H_TERMCAP:=	tgetent
  BUILTIN_FIND_HEADERS.H_TERMLIB:=	termlib.h
 @@ -19,7 +19,7 @@ BUILTIN_FIND_GREP.H_TERMLIB:=	tgetent
  ###
  .if !defined(IS_BUILTIN.termcap)
  IS_BUILTIN.termcap=	no
 -.  if empty(H_TERM:M__nonexistent__) && empty(H_TERM:M${LOCALBASE}/*) || \
 +.  if empty(H_TERM_TC:M__nonexistent__) && empty(H_TERM_TC:M${LOCALBASE}/*) || \
        empty(H_TERMCAP:M__nonexistent__) && empty(H_TERMCAP:M${LOCALBASE}/*) || \
        empty(H_TERMLIB:M__nonexistent__) && empty(H_TERMLIB:M${LOCALBASE}/*) || \
        !empty(BUILTIN_LIB_FOUND.termlib:M[yY][eE][sS])
 @@ -55,7 +55,7 @@ MAKEVARS+=	USE_BUILTIN.termcap
  # (7) If <termlib.h> exists and libtermlib doesn't, then it's "c".
  # (8) If libtermlib exists by itself, then it's "termlib".
  #
 -.if empty(H_TERM:M__nonexistent__) && empty(H_TERM:M${LOCALBASE}/*)
 +.if empty(H_TERM_TC:M__nonexistent__) && empty(H_TERM_TC:M${LOCALBASE}/*)
  .  if !empty(BUILTIN_LIB_FOUND.terminfo:M[yY][eE][sS])
  BUILTIN_LIBNAME.termcap=	terminfo
  .  elif !empty(BUILTIN_LIB_FOUND.tinfo:M[yY][eE][sS])
 
 
 --_----------=_171405554649350--
 
 
 --jaSoMDWlO3S7PP1n--
 


Home | Main Index | Thread Index | Old Index