pkgsrc-Bugs archive

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

Re: pkg/50236 (lang/php54 fails to build on NetBSD/m68k 7.0_RC1)



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

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: dholland%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/50236 (lang/php54 fails to build on NetBSD/m68k 7.0_RC1)
Date: Mon, 2 May 2016 17:04:24 +0900

 php-5.5.34 in pkgsrc-2016Q1 on (a bit faster) NetBSD/sh3 7.0 still complains:
 
 ---
 /bin/sh /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/libtool --silent --preserve-dup-deps --mode=compile gcc -DHAVE_CONFIG_H -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib -Iext/pcre/ -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/ -DPHP_ATOM_INC -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/include -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/main -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34 -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/date/lib -I/usr/pkg/include/libxml2 -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/TSRM -I/usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/Zend  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include  -Os -freorder-blocks -pthread -I/usr/pkg/include -I/usr/include  -c /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c -o ext/pcre/pcrelib/pcre_jit_compile.lo 
 In file included from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:62:0:
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.c:1718:49: error: conflicting types for 'sljit_create_compiler'
  SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void)
                                                  ^
 In file included from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.c:27:0,
                  from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:62:
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.h:420:49: note: previous declaration of 'sljit_create_compiler' was here
  SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void *allocator_data);
                                                  ^
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:65:2: error: #error Unsupported architecture
  #error Unsupported architecture
   ^
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c: In function '_pcre_jit_compile':
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:10012:1: error: too many arguments to function 'sljit_create_compiler'
  compiler = sljit_create_compiler(NULL);
  ^
 In file included from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:62:0:
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.c:1718:49: note: declared here
  SLJIT_API_FUNC_ATTRIBUTE struct sljit_compiler* sljit_create_compiler(void)
                                                  ^
 In file included from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.c:27:0,
                  from /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c:62:
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/pcre_jit_compile.c: At top level:
 /usr/obj.sh3el/pkgsrc/lang/php55/work.sh3el/php-5.5.34/ext/pcre/pcrelib/sljit/sljitLir.h:438:31: warning: 'sljit_set_compiler_memory_error' used but never defined [enabled by default]
  SLJIT_API_FUNC_ATTRIBUTE void sljit_set_compiler_memory_error(struct sljit_compiler *compiler);
                                ^
 Makefile:479: recipe for target 'ext/pcre/pcrelib/pcre_jit_compile.lo' failed
 gmake: *** [ext/pcre/pcrelib/pcre_jit_compile.lo] Error 1
 *** Error code 2
 
 Stop.
 make[1]: stopped in /usr/pkgsrc/lang/php55
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/lang/php55
 
 ---
 
 The essencial problem is
 >> #error Unsupported architecture
 so it's still there.
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index