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@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: textproc/xerces-c breaks building several packages
X-Send-Pr-Version: www-1.0
>Number: 52851
>Notify-List: jdbaker@consolidated.net
>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: Tue Jan 29 06:32:11 +0000 2019
>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
From: Konrad Schroder <perseant@hhhh.org>
To: gnats-bugs@NetBSD.org
Cc: pettai@NetBSD.org
Subject: Re: pkg/52851: textproc/xerces-c breaks building several packages
Date: Thu, 10 Jan 2019 14:47:40 -0800
The following patch allows me to build textproc-xmltooling and
shibboleth-sp, which I use frequently. I've only tested in that
context, so it's possible there are other consumers that don't grok
c++11 that would now fail and need to be patched in the same way---but
if so I don't see them in pkgsrc. If there's no objection, I'll go
ahead and commit this in a few days.
Take care,
-Konrad
Index: security/opensaml/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/opensaml/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- security/opensaml/Makefile 13 Dec 2018 19:52:20 -0000 1.29
+++ security/opensaml/Makefile 10 Jan 2019 22:30:47 -0000
@@ -10,7 +10,7 @@
COMMENT= Security Assertion Markup Language (SAML)
LICENSE= apache-2.0
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-doxygen-doc
Index: textproc/xmltooling/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/xmltooling/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- textproc/xmltooling/Makefile 13 Dec 2018 19:52:24 -0000 1.31
+++ textproc/xmltooling/Makefile 10 Jan 2019 22:30:53 -0000
@@ -10,9 +10,7 @@
COMMENT= High level interface for XML processing library
LICENSE= apache-2.0
-BROKEN= xerces-c needs C++11, but xmltooling does not
support this yet
-
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-doxygen-doc
Index: www/shibboleth-sp/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/shibboleth-sp/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- www/shibboleth-sp/Makefile 13 Dec 2018 19:52:26 -0000 1.29
+++ www/shibboleth-sp/Makefile 10 Jan 2019 22:30:56 -0000
@@ -21,7 +21,7 @@
SHIB_CONFDIR= ${PKG_SYSCONFDIR}/shibboleth
USE_LIBTOOL= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
CFLAGS.SunOS+= -fpermissive
From: "Konrad Schroder" <perseant@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/52851 CVS commit: pkgsrc
Date: Thu, 24 Jan 2019 16:46:22 +0000
Module Name: pkgsrc
Committed By: perseant
Date: Thu Jan 24 16:46:22 UTC 2019
Modified Files:
pkgsrc/security/opensaml: Makefile
pkgsrc/textproc/xmltooling: Makefile
pkgsrc/www/shibboleth-sp: Makefile
Log Message:
Make packages build again. Partially addresses PR pkg/52851.
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/security/opensaml/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/textproc/xmltooling/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/www/shibboleth-sp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.