pkgsrc-Bugs archive

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

pkg/52851: textproc/xerces-c breaks building several packages



>Number:         52851
>Category:       pkg
>Synopsis:       textproc/xerces-c breaks building several packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 22 22:45:00 +0000 2017
>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@localhost:/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



Home | Main Index | Thread Index | Old Index