NetBSD Problem Report #52851

From www@NetBSD.org  Fri Dec 22 22:44:47 2017
Return-Path: <www@NetBSD.org>
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 89F517A19B
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 22 Dec 2017 22:44:47 +0000 (UTC)
Message-Id: <20171222224446.33AB37A1EF@mollari.NetBSD.org>
Date: Fri, 22 Dec 2017 22:44:46 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: textproc/xerces-c breaks building several packages
X-Send-Pr-Version: www-1.0

>Number:         52851
>Category:       pkg
>Synopsis:       textproc/xerces-c breaks building several packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dholland
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 22 22:45:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Sat Apr 28 13:00:01 +0000 2018
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.0_BETA, pkgsrc-2017Q3
>Organization:
>Environment:
NetBSD x3650.technoskunk.fur 8.0_BETA NetBSD 8.0_BETA (RACKMOUNT) #117: Mon Dec  4 16:17:04 CST 2017  sysop@x3650.technoskunk.fur:/r1/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/RACKMOUNT amd64

>Description:
As described in this short thread:

  http://mail-index.netbsd.org/pkgsrc-users/2017/09/29/msg025639.html

the update of "textproc/xerces-c" prior to the pkgsrc-2017Q3 branch
causes building "games/enigma" to fail.

Looking through a recent bulk build log:

  http://mail-index.netbsd.org/pkgsrc-bulk/2017/12/22/msg015342.html

I see several other packages that directly depend on "xerces-c" and
a couple more of them fail in the same way during the build phase:

  devel/xsd
  textproc/xqilla

"textproc/xmltooling" fails during the configure phase, claiming it
can't find the xerces headers.

The failure of "textproc/xqilla" further breaks:

  databases/bdb-xml
  databases/py-bdb-xml

The failure of "textproc/xmltooling" further breaks:

  security/opensaml
  www/shibboleth-sp

>How-To-Repeat:
Using pkgsrc-2017Q3 (and probably HEAD leading into pkgsrc-2017Q4),
attempt to build any of:

  games/enigma
  devel/xsd
  textproc/xqilla
  textproc/xmltooling
>Fix:
Workaround:

The following patch allows "games/enigma" to build.  A similar hack
may also help "devel/xsd" and "textproc/xqilla".  Not sure what
"textproc/xmltooling" would need:

Index: games/enigma/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/games/enigma/Makefile,v
retrieving revision 1.35
diff -u -p -r1.35 Makefile
--- games/enigma/Makefile	25 Apr 2015 14:22:54 -0000	1.35
+++ games/enigma/Makefile	17 Nov 2017 22:52:58 -0000
@@ -15,7 +15,7 @@ DEPENDS+=		gettext-tools-[0-9]*:../../de

 WRKSRC=			${WRKDIR}/${DISTNAME:S/-r1914//}
 GCC_REQD+=		3.3
-USE_LANGUAGES=		c c++
+USE_LANGUAGES=		c c++11
 USE_PKGLOCALEDIR=	yes
 USE_TOOLS+=		gmake
 GNU_CONFIGURE=		yes

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52851: textproc/xerces-c breaks building several packages
Date: Mon, 12 Mar 2018 11:24:45 -0500 (CDT)

 With the pull-up of xerces-c 3.2.1 to pkgsrc-2017Q4, "games/enigma" still
 fails to build as originally described.  The workaround/hack for "enigma"
 is still needed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Mon, 12 Mar 2018 18:04:54 +0000
Responsible-Changed-Why:
take


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52851 CVS commit: pkgsrc/games/enigma
Date: Mon, 12 Mar 2018 20:51:30 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Mon Mar 12 20:51:30 UTC 2018

 Modified Files:
 	pkgsrc/games/enigma: Makefile

 Log Message:
 Build with C++11, fix build.

 This is necessary because of the last xerces-c update. Found by John D.
 Baker in PR pkg/52851.


 To generate a diff of this commit:
 cvs rdiff -u -r1.35 -r1.36 pkgsrc/games/enigma/Makefile

 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: bsiegert@NetBSD.org
State-Changed-When: Thu, 05 Apr 2018 09:15:34 +0000
State-Changed-Why:
Fix committed, thanks!


Responsible-Changed-From-To: bsiegert->dholland
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Sat, 28 Apr 2018 09:08:16 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 28 Apr 2018 09:08:16 +0000
State-Changed-Why:
only one of the issues got fixed


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52851: textproc/xerces-c breaks building several packages
Date: Sat, 28 Apr 2018 09:09:05 +0000

 On Fri, Dec 22, 2017 at 10:45:00PM +0000, jdbaker@mylinuxisp.com wrote:
  > Looking through a recent bulk build log:
  > 
  >   http://mail-index.netbsd.org/pkgsrc-bulk/2017/12/22/msg015342.html
  > 
  > I see several other packages that directly depend on "xerces-c" and
  > a couple more of them fail in the same way during the build phase:
  > 
  >   devel/xsd
  >   textproc/xqilla
  > 
  > "textproc/xmltooling" fails during the configure phase, claiming it
  > can't find the xerces headers.

 Are these still broken? Only enigma got explicitly patched...

 -- 
 David A. Holland
 dholland@netbsd.org

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52851: textproc/xerces-c breaks building several packages
Date: Sat, 28 Apr 2018 07:58:35 -0500 (CDT)

 On Sat, 28 Apr 2018, David Holland wrote:

 >  On Fri, Dec 22, 2017 at 10:45:00PM +0000, jdbaker@mylinuxisp.com wrote:
 >   > 
 >   >   devel/xsd
 >   >   textproc/xqilla
 >   > 
 >   > "textproc/xmltooling" fails during the configure phase, claiming it
 >   > can't find the xerces headers.
 >  
 >  Are these still broken? Only enigma got explicitly patched...

 In the most recent bulk build that appears relevant:

   http://mail-index.netbsd.org/pkgsrc-bulk/2018/04/16/msg015836.html

 "devel/xsd" still fails as described.  "textproc/xquilla" is not listed
 at all. and "textproc/xmltooling" is marked explicitly broken.

 Note:  I do not build any of these myself, only noting that they shared
 the same problem as "games/enigma", which I do build.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

>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.