pkgsrc-Bugs archive

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

pkg/53279: devel/hyperscan does not compile



>Number:         53279
>Category:       pkg
>Synopsis:       devel/hyperscan does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 12 13:35:00 +0000 2018
>Originator:     Alexander Nasonov
>Release:        NetBSD 8.0_RC1
>Organization:
	XMM SWAP LTD
>Environment:
	# gcc -v 
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
	Target: x86_64--netbsd
	Configured with: /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-tune=nocona --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/amd64-x86_64/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/x86_64 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd7.1 --host=x8
 6_64--netbsd --with-sysroot=/var/obj/mknative/amd64-x86_64/usr/src/destdir.amd64
	Thread model: posix
	gcc version 5.5.0 (nb2 20180327) 
System: NetBSD nebeda 8.0_RC1 NetBSD 8.0_RC1 (GENERIC) #0: Mon May  7 22:19:21 BST 2018  alnsn@nebeda:/home/alnsn/netbsd-8/src/sys/arch/amd64/compile/obj/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Building devel/hyperscan fails:

===> Building for hyperscan-4.7.0
[  0%] Built target ragel_Parser
[  1%] Building C object CMakeFiles/hs_exec_shared.dir/src/runtime.c.o
[  1%] Building C object CMakeFiles/hs_exec_shared.dir/src/stream_compress.c.o
[  1%] Building CXX object util/CMakeFiles/corpusomatic.dir/ng_corpus_editor.cpp.o   
In file included from /usr/include/string.h:98:0,                                
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/multibit.h:60,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/stream_compress.c:34:
/usr/include/strings.h:61:14: error: conflicting types for 'popcount64'
 unsigned int popcount64(__uint64_t) __constfunc;                       
              ^
In file included from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/bitutils.h:37:0,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/multibit.h:55,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/stream_compress.c:34:
/tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/popcount.h:54:5: note: previous definition of 'popcount64' was here
 u32 popcount64(u64a x) {                                        
     ^          
In file included from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/bitutils.h:37:0,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/nfa/vermicelli.h:36,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/nfa/nfa_rev_api.h:38,
                 from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/runtime.c:45:
/tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/util/popcount.h:40:5: error: static declaration of 'popcount32' follows non-static declaration                                                          
 u32 popcount32(u32 x) {                                          
     ^    
In file included from /usr/include/string.h:98:0,                                                                                                         from /tmp/obj/devel/hyperscan/work/hyperscan-4.7.0/src/runtime.c:34:
/usr/include/strings.h:60:14: note: previous declaration of 'popcount32' was here
 unsigned int popcount32(__uint32_t) __constfunc;
              ^

>How-To-Repeat:
	cd /usr/pkgsrc/devel/hyperscan
	make
>Fix:
	N/A.


Home | Main Index | Thread Index | Old Index