Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Nov 2013 20:03:53 GMT
From:      Ivan Klymenko <fidaj@ukr.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183761: databases/kyotocabinet not built with clang
Message-ID:  <201311072003.rA7K3rSX035488@oldred.freebsd.org>
Resent-Message-ID: <201311072010.rA7KA0js007255@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183761
>Category:       ports
>Synopsis:       databases/kyotocabinet not built with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 07 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Klymenko
>Release:        10.0-BETA3
>Organization:
individual
>Environment:
FreeBSD nonamehost.local 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257719: Wed Nov  6 00:03:00 EET 2013     ivan@nonamehost.local:/usr/obj/usr/src/sys/mk10  amd64
>Description:
# make
===>  License GPLv3 accepted by the user
===>  Found saved configuration for kyotocabinet-1.2.76
===>   kyotocabinet-1.2.76 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by kyotocabinet-1.2.76 for building
===>  Extracting for kyotocabinet-1.2.76
=> SHA256 Checksum OK for kyotocabinet-1.2.76.tar.gz.
===>  Patching for kyotocabinet-1.2.76
===>   kyotocabinet-1.2.76 depends on executable: gmake - found
===>  Configuring for kyotocabinet-1.2.76
===>   FreeBSD 10 autotools fix applied to /usr/ports_build/usr/ports/databases/kyotocabinet/work/kyotocabinet-1.2.76/configure
configure: loading site script /usr/ports/Templates/config.site
#================================================================
# Configuring Kyoto Cabinet version 1.2.76.
#================================================================
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for 64-bit availability... yes
checking for CPU optimization availability... yes
checking for useless warnings... yes
checking for atomic operations... no
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lstdc++... yes
checking for main in -lregex... no
checking for main in -lz... yes
checking for main in -lkyotocabinet... yes
configure: WARNING: old version of Kyoto Cabinet was detected
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for dirent.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for zlib.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating kyotocabinet.pc
#================================================================
# Ready to make.
#================================================================
===>  Building for kyotocabinet-1.2.76
gmake[2]: &#1042;&#1093;&#1086;&#1076; &#1074; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075; `/usr/ports_build/usr/ports/databases/kyotocabinet/work/kyotocabinet-1.2.76'
c++ -c -I. -I/usr/local/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/local\"" -D_KC_INCLUDEDIR="\"/usr/local/include\"" -D_KC_LIBDIR="\"/usr/local/lib\"" -D_KC_BINDIR="\"/usr/local/bin\"" -D_KC_LIBEXECDIR="\"/usr/local/libexec\"" -D_KC_APPINC="\"-I/usr/local/include\"" -D_KC_APPLIBS="\"-L/usr/local/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc \"" -march=native -m64 -O2 -pipe -march=corei7-avx -fno-strict-aliasing -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcutil.cc
c++ -c -I. -I/usr/local/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/local\"" -D_KC_INCLUDEDIR="\"/usr/local/include\"" -D_KC_LIBDIR="\"/usr/local/lib\"" -D_KC_BINDIR="\"/usr/local/bin\"" -D_KC_LIBEXECDIR="\"/usr/local/libexec\"" -D_KC_APPINC="\"-I/usr/local/include\"" -D_KC_APPLIBS="\"-L/usr/local/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc \"" -march=native -m64 -O2 -pipe -march=corei7-avx -fno-strict-aliasing -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcthread.cc
c++ -c -I. -I/usr/local/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/local\"" -D_KC_INCLUDEDIR="\"/usr/local/include\"" -D_KC_LIBDIR="\"/usr/local/lib\"" -D_KC_BINDIR="\"/usr/local/bin\"" -D_KC_LIBEXECDIR="\"/usr/local/libexec\"" -D_KC_APPINC="\"-I/usr/local/include\"" -D_KC_APPLIBS="\"-L/usr/local/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc \"" -march=native -m64 -O2 -pipe -march=corei7-avx -fno-strict-aliasing -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kcfile.cc
c++ -c -I. -I/usr/local/include -I/usr/local/include -DNDEBUG -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D__EXTENSIONS__ -D_MYZLIB -D_KC_PREFIX="\"/usr/local\"" -D_KC_INCLUDEDIR="\"/usr/local/include\"" -D_KC_LIBDIR="\"/usr/local/lib\"" -D_KC_BINDIR="\"/usr/local/bin\"" -D_KC_LIBEXECDIR="\"/usr/local/libexec\"" -D_KC_APPINC="\"-I/usr/local/include\"" -D_KC_APPLIBS="\"-L/usr/local/lib -lkyotocabinet -lz -lstdc++ -lrt -lpthread -lm -lc \"" -march=native -m64 -O2 -pipe -march=corei7-avx -fno-strict-aliasing -Wall -fPIC -fsigned-char -g0 -O2 -Wno-unused-but-set-variable -Wno-unused-but-set-parameter kccompress.cc
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-parameter'; did youwarning:  meanunknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-variable'? [-Wunknown-warning-option]
 '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-unused-but-set-parameter'; did you mean '-Wno-unused-parameter'? [-Wunknown-warning-option]
In file included from In file included from kcthread.cc:16:
In file included from ./kcthread.h:19:
./kccommon.h:96:7: error: use of undeclared identifier 'tr1'
kcfile.ccIn file included from kcutil.cc:16:
In file included from ./kcutil.h:19:
./kccommon.h:96:7: error: use of undeclared identifier 'tr1'
:16:
In file included from ./kcfile.h:19:
./kccommon.h:96:7: error: use of undeclared identifier 'tr1'
using tr1::hash;
      ^
using tr1::hash;
      ^
using tr1::hash;
      ^
In file included from kccompress.cc:16:
In file included from ./kccompress.h:19:
./kccommon.h:96:7: error: use of undeclared identifier 'tr1'
using tr1::hash;
      ^
./kccommon.h:97:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_map;
      ^
./kccommon.h:97:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_map;
      ^
./kccommon.h:97:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_map;
      ^
./kccommon.h:97:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_map;
      ^
./kccommon.h:98:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_set;
      ^
./kccommon.h:98:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_set;
      ^
./kccommon.h:98:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_set;
      ^
./kccommon.h:98:7: error: use of undeclared identifier 'tr1'
using tr1::unordered_set;
      ^
2 warnings and 3 errors generated.
gmake[2]: *** [kcutil.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[2]: *** &#1054;&#1078;&#1080;&#1076;&#1072;&#1085;&#1080;&#1077; &#1079;&#1072;&#1074;&#1077;&#1088;&#1096;&#1077;&#1085;&#1080;&#1103; &#1079;&#1072;&#1076;&#1072;&#1085;&#1080;&#1081;...
2 warnings and 3 errors generated.
gmake[2]: *** [kccompress.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
2 warnings and 3 errors generated.
gmake[2]: *** [kcfile.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
2 warnings and 3 errors generated.
gmake[2]: *** [kcthread.o] &#1054;&#1096;&#1080;&#1073;&#1082;&#1072; 1
gmake[2]: &#1042;&#1099;&#1093;&#1086;&#1076; &#1080;&#1079; &#1082;&#1072;&#1090;&#1072;&#1083;&#1086;&#1075;&#1072; `/usr/ports_build/usr/ports/databases/kyotocabinet/work/kyotocabinet-1.2.76'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/databases/kyotocabinet
*** Error code 1

Stop.
make: stopped in /usr/ports/databases/kyotocabinet

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311072003.rA7K3rSX035488>