Date: Wed, 22 Nov 2017 12:33:16 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 223802] misc/sword failed to build. Message-ID: <bug-223802-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223802 Bug ID: 223802 Summary: misc/sword failed to build. Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: tabthorpe@FreeBSD.org Reporter: ericturgeon.bsd@gmail.com Flags: maintainer-feedback?(tabthorpe@FreeBSD.org) Assignee: tabthorpe@FreeBSD.org ericbsd@ericbsd /u/p/m/sword> sudo make MAKE_JOBS_UNSAFE=3Dyes reinstall cl= ean =3D=3D=3D> License GPLv2 accepted by the user =3D=3D=3D> sword-1.7.4_9 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by sword-1.7.4_9 for building =3D=3D=3D> Extracting for sword-1.7.4_9 =3D> SHA256 Checksum OK for sword-1.7.4.tar.gz. =3D=3D=3D> Patching for sword-1.7.4_9 =3D=3D=3D> sword-1.7.4_9 depends on executable: cppunit-config - found =3D=3D=3D> sword-1.7.4_9 depends on executable: gmake - found =3D=3D=3D> sword-1.7.4_9 depends on package: pkgconf>=3D1.3.0_1 - found =3D=3D=3D> sword-1.7.4_9 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so) =3D=3D=3D> sword-1.7.4_9 depends on shared library: libclucene-core.so - = found (/usr/local/lib/libclucene-core.so) =3D=3D=3D> sword-1.7.4_9 depends on shared library: libicudata.so - found (/usr/local/lib/libicudata.so) =3D=3D=3D> Configuring for sword-1.7.4_9 configure: loading site script /usr/ports/Templates/config.site checking build system type... amd64-portbld-freebsd11.1 checking host system type... amd64-portbld-freebsd11.1 checking target system type... amd64-portbld-freebsd11.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes 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...=20 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 cc understands -c and -o together... yes checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B checking the name lister (/usr/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+=3D"... no checking how to convert amd64-portbld-freebsd11.1 file names to amd64-portbld-freebsd11.1 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd11.1 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/local/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp 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 for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... y= es checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd11.1 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... = yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... = yes checking dynamic linker characteristics... freebsd11.1 ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... no checking pkg-config is at least version 0.9.0... yes checking for CLUCENE2... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for compress in -lz... yes checking for library containing regexec... none required configure: Using system regex.h checking for cppunit-config... /usr/local/bin/cppunit-config checking for Cppunit - version >=3D 1.8.0... 1.13.2 checking for pkg-config... /usr/local/bin/pkg-config checking for icu-config... /usr/local/bin/icu-config checking for curl-config... /usr/local/bin/curl-config curl found - remote install options available test: x: unexpected operator clucene 2.x found - lucene searching options available checking for vsnprintf... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating tests/Makefile config.status: creating tests/cppunit/Makefile config.status: creating utilities/Makefile config.status: creating examples/Makefile config.status: creating examples/cmdline/Makefile config.status: creating examples/tasks/Makefile config.status: creating utilities/diatheke/Makefile config.status: creating sword.pc config.status: creating include/swversion.h config.status: creating sword.spec config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: LIBDIR: ${exec_prefix}/lib DEBUG: no PROFILE: no BUILD TESTS: yes BUILD EXAMPLES: no BUILD UTILITIES: yes LIBZ: yes ICU: yes ICUSWORD: no CXX11REGEX: no CURL: yes CURL SFTP: no INTERNAL FTPLIB: no INTERNAL REGEX: no CLUCENE: yes 2.x =3D=3D=3D> Building for sword-1.7.4_9 gmake[3]: Entering directory '/usr/ports/misc/sword/work/sword-1.7.4' Making all in lib gmake[4]: Entering directory '/usr/ports/misc/sword/work/sword-1.7.4/lib' /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Du= nix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\"=20 -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -= D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib = -O2 -pipe -fstack-protector -fno-strict-aliasing -MT swkey.lo -MD -MP -MF .deps/swkey.Tpo -c -o swkey.lo `test -f '../src/keys/swkey.cpp' || echo './'`../src/keys/swkey.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT swkey.lo -MD -MP -MF .deps/swkey.Tpo -c ../src/keys/swkey.cpp -fPIC -DPIC -o .libs/swkey.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT swkey.lo -MD -MP -MF .deps/swkey.Tpo -c ../src/keys/swkey.cpp -o swkey.o >/dev/null 2>&1 mv -f .deps/swkey.Tpo .deps/swkey.Plo /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Du= nix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\"=20 -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -= D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib = -O2 -pipe -fstack-protector -fno-strict-aliasing -MT listkey.lo -MD -MP -MF .deps/listkey.Tpo -c -o listkey.lo `test -f '../src/keys/listkey.cpp' || ec= ho './'`../src/keys/listkey.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT listkey.lo -MD -MP -MF .deps/listkey.Tpo -c ../src/keys/listkey.cpp -fPIC -DPIC -o .libs/listkey.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT listkey.lo -MD -MP -MF .deps/listkey.Tpo -c ../src/keys/listkey.cpp -o listkey.o >/dev/null 2>&1 mv -f .deps/listkey.Tpo .deps/listkey.Plo /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Du= nix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\"=20 -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -= D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib = -O2 -pipe -fstack-protector -fno-strict-aliasing -MT strkey.lo -MD -MP -MF .deps/strkey.Tpo -c -o strkey.lo `test -f '../src/keys/strkey.cpp' || echo './'`../src/keys/strkey.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT strkey.lo -MD -MP -MF .deps/strkey.Tpo -c ../src/keys/strkey.cpp -fPIC -DPIC -o .libs/strkey.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT strkey.lo -MD -MP -MF .deps/strkey.Tpo -c ../src/keys/strkey.cpp -o strkey.o >/dev/null 2>&1 mv -f .deps/strkey.Tpo .deps/strkey.Plo /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Du= nix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\"=20 -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -= D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib = -O2 -pipe -fstack-protector -fno-strict-aliasing -MT treekey.lo -MD -MP -MF .deps/treekey.Tpo -c -o treekey.lo `test -f '../src/keys/treekey.cpp' || ec= ho './'`../src/keys/treekey.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT treekey.lo -MD -MP -MF .deps/treekey.Tpo -c ../src/keys/treekey.cpp -fPIC -DPIC -o .libs/treekey.o libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT treekey.lo -MD -MP -MF .deps/treekey.Tpo -c ../src/keys/treekey.cpp -o treekey.o >/dev/null 2>&1 mv -f .deps/treekey.Tpo .deps/treekey.Plo /bin/sh ../libtool --tag=3DCXX --mode=3Dcompile c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Du= nix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\"=20 -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -= D_ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib = -O2 -pipe -fstack-protector -fno-strict-aliasing -MT treekeyidx.lo -MD -MP -MF .deps/treekeyidx.Tpo -c -o treekeyidx.lo `test -f '../src/keys/treekeyidx.c= pp' || echo './'`../src/keys/treekeyidx.cpp libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=3D\"/usr/local/lib/sword/1.7.4_icu_\" -DGLOBCONFPATH=3D\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -fPIC -D= _ICU_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/local/include -I/usr/local/inclu= de -I/usr/local/include/CLucene/ext -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -O2 -pipe -fstack-protector -fno-strict-aliasing -MT treekeyidx.lo -MD -MP -MF .deps/treekeyidx.Tpo -c ../src/keys/treekeyidx.cpp -fPIC -DPIC -o .libs/treekeyidx.o ../src/keys/treekeyidx.cpp:64:12: error: ordered comparison between pointer= and zero ('sword::FileDesc *' and 'int') if (datfd <=3D 0) { ~~~~~ ^ ~ ../src/keys/treekeyidx.cpp:334:12: error: ordered comparison between pointer and zero ('sword::FileDesc *' and 'int') if (datfd > 0) { ~~~~~ ^ ~ ../src/keys/treekeyidx.cpp:388:12: error: ordered comparison between pointer and zero ('sword::FileDesc *' and 'int') if (idxfd > 0) { ~~~~~ ^ ~ ../src/keys/treekeyidx.cpp:425:12: error: ordered comparison between pointer and zero ('sword::FileDesc *' and 'int') if (idxfd > 0) { ~~~~~ ^ ~ ../src/keys/treekeyidx.cpp:491:12: error: ordered comparison between pointer and zero ('sword::FileDesc *' and 'int') if (idxfd > 0) { ~~~~~ ^ ~ 5 errors generated. gmake[4]: *** [Makefile:1180: treekeyidx.lo] Error 1 gmake[4]: Leaving directory '/usr/ports/misc/sword/work/sword-1.7.4/lib' gmake[3]: *** [Makefile:610: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/misc/sword/work/sword-1.7.4' *** Error code 1 Stop. make[2]: stopped in /usr/ports/misc/sword *** Error code 1 Stop. make[1]: stopped in /usr/ports/misc/sword *** Error code 1 Stop. make: stopped in /usr/ports/misc/sword --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223802-13>