pkgsrc-Bugs archive

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

pkg/52524: can't build devel/pcre2 on sparc64



>Number:         52524
>Category:       pkg
>Synopsis:       can't build devel/pcre2 on sparc64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 04 08:20:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.2
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD whoever-brings-the-night.aprisoft.de 8.99.2 NetBSD 8.99.2 (WHOEVER) #159: Thu Aug 31 16:56:02 CEST 2017 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/WHOEVER sparc64
Architecture: sparc64
Machine: sparc64
>Description:

Trying to build devel/pcre2 fails:

src/pcre2_jit_compile.c: In function 'do_callout':
src/sljit/sljitConfigInternal.h:721:22: error: duplicate case value
  switch(0) { case 0: case ((x) ? 1 : 0): break; }
                      ^
                      ^
src/pcre2_jit_compile.c:7936:1: note: in expansion of macro 'SLJIT_COMPILE_ASSERT'
 SLJIT_COMPILE_ASSERT(sizeof (PCRE2_SIZE) <= sizeof (sljit_sw), pcre2_size_must_be_lower_than_sljit_sw_size);
 ^
src/sljit/sljitConfigInternal.h:721:14: error: previously used here
  switch(0) { case 0: case ((x) ? 1 : 0): break; }
              ^
src/pcre2_jit_compile.c:7936:1: note: in expansion of macro 'SLJIT_COMPILE_ASSERT'
 SLJIT_COMPILE_ASSERT(sizeof (PCRE2_SIZE) <= sizeof (sljit_sw), pcre2_size_must_be_lower_than_sljit_sw_size);
 ^


>How-To-Repeat:
Try to build it on sparc64

>Fix:
n/a



Home | Main Index | Thread Index | Old Index