=> Building databases/rdfdb Started : Sunday, 1 OCT 2017 at 06:36:23 UTC Platform: 4.9-DEVELOPMENT DragonFly v4.9.0.699.g39a93-DEVELOPMENT #22: Tue Sep 19 22:06:52 PDT 2017 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/databases/rdfdb XDG_CONFIG_HOME=/construction/databases/rdfdb HOME=/construction/databases/rdfdb TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/databases/rdfdb XDG_CONFIG_HOME=/construction/databases/rdfdb HOME=/construction/databases/rdfdb TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wno-return-type -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/databases/rdfdb/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/rdfdb" EXAMPLESDIR="share/examples/rdfdb" DATADIR="share/rdfdb" WWWDIR="www/rdfdb" ETCDIR="etc/rdfdb" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- RDFDB_PORT="7001" RDFDB_DIR="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/rdfdb DOCSDIR=/usr/local/share/doc/rdfdb EXAMPLESDIR=/usr/local/share/examples/rdfdb WWWDIR=/usr/local/www/rdfdb ETCDIR=/usr/local/etc/rdfdb -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The rdfdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> rdfdb-0.46_4 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.1.txz Installing pkg-1.10.1... Extracting pkg-1.10.1: .......... done ===> rdfdb-0.46_4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of rdfdb-0.46_4 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The rdfdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by rdfdb-0.46_4 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The rdfdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by rdfdb-0.46_4 for building => SHA256 Checksum OK for rdfdb_src.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The rdfdb port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by rdfdb-0.46_4 for building ===> Extracting for rdfdb-0.46_4 => SHA256 Checksum OK for rdfdb_src.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for rdfdb-0.46_4 ===> Applying ports patches for rdfdb-0.46_4 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> rdfdb-0.46_4 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing gettext-runtime-0.19.8.1_1... | `-- Installing indexinfo-0.2.6... | `-- Extracting indexinfo-0.2.6: .... done `-- Extracting gettext-runtime-0.19.8.1_1: .......... done Extracting gmake-4.2.1_1: .......... done ===> rdfdb-0.46_4 depends on executable: gmake - found ===> Returning to build of rdfdb-0.46_4 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> rdfdb-0.46_4 depends on shared library: libdb-5.3.so - not found ===> Installing existing package /packages/All/db5-5.3.28_6.txz Installing db5-5.3.28_6... Extracting db5-5.3.28_6: .......... done ===> rdfdb-0.46_4 depends on shared library: libdb-5.3.so - found (/usr/local/lib/libdb-5.3.so) ===> Returning to build of rdfdb-0.46_4 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for rdfdb-0.46_4 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for rdfdb-0.46_4 gmake[1]: Entering directory '/construction/databases/rdfdb/rdfdb' cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o utils/hash.o utils/hash.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o utils/utils.o utils/utils.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/ncontentSource.o librdf/ncontentSource.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/parsers.o librdf/parsers.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/rdfxmlparser.o librdf/rdfxmlparser.c librdf/rdfxmlparser.c: In function 'getAttributeValue': librdf/rdfxmlparser.c:56:46: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (strcmp(attname, elName) == 0) return attlist[n + 1]; ^ librdf/rdfxmlparser.c: In function 'addElementProps': librdf/rdfxmlparser.c:92:57: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_LoadFileAssert(f, f->db, obj, RDF_GetResource(attName), attValue, RDF_STRING_TYPE); ^ In file included from librdf/rdf-int.h:19:0, from librdf/rdfxmlparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const char *' RDF_Resource RDF_GetResource (char* uri); ^ librdf/rdfxmlparser.c:92:67: warning: passing argument 5 of 'RDF_LoadFileAssert' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_LoadFileAssert(f, f->db, obj, RDF_GetResource(attName), attValue, RDF_STRING_TYPE); ^ In file included from librdf/rdf-int.h:19:0, from librdf/rdfxmlparser.c:20: librdf/rdf.h:94:12: note: expected 'void *' but argument is of type 'const char *' RDF_Result RDF_LoadFileAssert (RDF_Parser rdfp, RDF_DB db, RDF_Resource source, RDF_Resource arc, void* target, RDF_ValueType type) ; ^ librdf/rdfxmlparser.c: In function 'RDFXML_StartElementHandler': librdf/rdfxmlparser.c:132:13: warning: implicit declaration of function 'newAnonResource' [-Wimplicit-function-declaration] url = newAnonResource (rdfp, elementName) ; ^ librdf/rdfxmlparser.c:132:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] url = newAnonResource (rdfp, elementName) ; ^ librdf/rdfxmlparser.c:138:42: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_Resource eln = RDF_GetResource(elementName); ^ In file included from librdf/rdf-int.h:19:0, from librdf/rdfxmlparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const XML_Char * {aka const char *}' RDF_Resource RDF_GetResource (char* uri); ^ librdf/rdfxmlparser.c:163:42: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_Resource eln = RDF_GetResource(elementName); ^ In file included from librdf/rdf-int.h:19:0, from librdf/rdfxmlparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const XML_Char * {aka const char *}' RDF_Resource RDF_GetResource (char* uri); ^ librdf/ncontentSource.c: In function 'CS_GetContent': librdf/ncontentSource.c:154:13: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] int n = read(cs->socket, body, bufferSize); ^ librdf/ncontentSource.c: In function 'CS_Close': librdf/ncontentSource.c:174:5: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(cs->socket); ^ librdf/parsers.c: In function 'termType': librdf/parsers.c:38:10: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (!isdigit(term[c++])) isn = 0; ^ librdf/parsers.c: In function 'parseTermOfType': librdf/parsers.c:50:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void*)atoi(term); ^ librdf/parsers.c: In function 'newAnonResource': librdf/parsers.c:62:19: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if (!post) post = name; ^ librdf/parsers.c: In function 'RSS_StartElementHandler': librdf/parsers.c:80:50: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] rdfp->stack[rdfp->depth++] = RDF_GetResource(name); ^ In file included from librdf/rdf-int.h:19:0, from librdf/parsers.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const XML_Char * {aka const char *}' RDF_Resource RDF_GetResource (char* uri); ^ librdf/parsers.c: In function 'unloadExistingAssertions': librdf/parsers.c:148:24: warning: passing argument 1 of 'RDF_Unassert' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_Unassert(db, source, arc, value, type); ^ In file included from librdf/rdf-int.h:19:0, from librdf/parsers.c:20: librdf/rdf.h:98:12: note: expected 'RDF_DB {aka char *}' but argument is of type 'const char *' RDF_Result RDF_Unassert (RDF_DB db, RDF_Resource source, RDF_Resource arc, void* target, RDF_ValueType type) ; ^ librdf/parsers.c: In function 'RDF_LoadURLIntoDB': librdf/parsers.c:172:7: warning: implicit declaration of function 'db2bdb' [-Wimplicit-function-declaration] if (db2bdb(db, 0) == 0) { ^ librdf/parsers.c:167:32: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] #define CLEANUP_CONNECTION {close(rdfp->file); XML_Parse(xmlp, buffer, 0, 1);CS_Close(cs); freeMem((void*)rdfp); freeMem(buffer); XML_ParserFree(xmlp); freeMem(nurl);} ^ librdf/parsers.c:195:7: note: in expansion of macro 'CLEANUP_CONNECTION' CLEANUP_CONNECTION ^ librdf/parsers.c:213:9: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/dmozrdfparser.o librdf/dmozrdfparser.c utils/utils.c: In function 'trimLine': utils/utils.c:37:9: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] if (isspace(line[index])) { ^ utils/utils.c: In function 'writen': utils/utils.c:88:16: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] nwritten = write(fd, ptr, nleft); ^ utils/utils.c: In function 'readline': utils/utils.c:112:16: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] if ( (rc = read(fd, &c, 1)) == 1) { ^ librdf/dmozrdfparser.c: In function 'dm_addElementProps': librdf/dmozrdfparser.c:57:57: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_LoadFileAssert(f, f->db, obj, RDF_GetResource(attName), attValue, RDF_STRING_TYPE); ^ In file included from librdf/rdf-int.h:19:0, from librdf/dmozrdfparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const char *' RDF_Resource RDF_GetResource (char* uri); ^ librdf/dmozrdfparser.c:57:67: warning: passing argument 5 of 'RDF_LoadFileAssert' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_LoadFileAssert(f, f->db, obj, RDF_GetResource(attName), attValue, RDF_STRING_TYPE); ^ In file included from librdf/rdf-int.h:19:0, from librdf/dmozrdfparser.c:20: librdf/rdf.h:94:12: note: expected 'void *' but argument is of type 'const char *' RDF_Result RDF_LoadFileAssert (RDF_Parser rdfp, RDF_DB db, RDF_Resource source, RDF_Resource arc, void* target, RDF_ValueType type) ; ^ librdf/dmozrdfparser.c: In function 'DMOZRDFXML_StartElementHandler': librdf/dmozrdfparser.c:95:13: warning: implicit declaration of function 'newAnonResource' [-Wimplicit-function-declaration] url = newAnonResource (rdfp, elementName) ; ^ librdf/dmozrdfparser.c:95:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] url = newAnonResource (rdfp, elementName) ; ^ librdf/dmozrdfparser.c:101:42: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_Resource eln = RDF_GetResource(elementName); ^ In file included from librdf/rdf-int.h:19:0, from librdf/dmozrdfparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const XML_Char * {aka const char *}' RDF_Resource RDF_GetResource (char* uri); ^ librdf/dmozrdfparser.c:126:42: warning: passing argument 1 of 'RDF_GetResource' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] RDF_Resource eln = RDF_GetResource(elementName); ^ In file included from librdf/rdf-int.h:19:0, from librdf/dmozrdfparser.c:20: librdf/rdf.h:70:14: note: expected 'char *' but argument is of type 'const XML_Char * {aka const char *}' RDF_Resource RDF_GetResource (char* uri); ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/rdflib.o librdf/rdflib.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/indexPool.o librdf/indexPool.c librdf/rdflib.c: In function 'makeIndex': librdf/rdflib.c:63:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] snprintf(res, 12, "%i", (int) item); ^ librdf/rdflib.c: In function 'makeValue': librdf/rdflib.c:97:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] snprintf(res, 32, "%i\t%s\n%i", RDF_INT_TYPE, sourceCode, (int) item); ^ librdf/rdflib.c: In function 'addRemoveTriple': librdf/rdflib.c:130:38: warning: implicit declaration of function 'DB_AddArcIndex' [-Wimplicit-function-declaration] if (!err && (err1 != 1)) err = DB_AddArcIndex(db, realArc, arcValue->data, 0); ^ librdf/rdflib.c:136:21: warning: implicit declaration of function 'DB_RemoveArcIndex' [-Wimplicit-function-declaration] if (!err) err = DB_RemoveArcIndex(db, realArc, arcValue->data); ^ librdf/rdflib.c: In function 'printAssertion': librdf/rdflib.c:182:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] printf("%i)", (int) target); ^ librdf/rdflib.c: In function 'RDF_LoadFileAssert': librdf/rdflib.c:207:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(file, "%i\n", (int)target); ^ librdf/rdflib.c: In function 'RDF_HasAssertion': librdf/rdflib.c:253:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)value == (int) target) return 1; ^ librdf/rdflib.c:253:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int)value == (int) target) return 1; ^ librdf/rdflib.c: In function 'RDF_GetArcSources': librdf/rdflib.c:363:21: warning: implicit declaration of function 'DB_GetArcCursor' [-Wimplicit-function-declaration] if (0 != (err = DB_GetArcCursor(dbn, realArc, &dbc))) { ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/db.o librdf/db.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o librdf/main.o librdf/main.c librdf/db.c: In function 'getIndex': librdf/db.c:358:13: warning: passing argument 1 of 'freeMem' from incompatible pointer type [-Wincompatible-pointer-types] freeMem(xdbc); ^ In file included from librdf/db.c:29:0: librdf/../utils/utils.h:25:7: note: expected 'char *' but argument is of type 'DB_Cursor {aka struct _DB_CursorStruct *}' void freeMem(char* mem); ^ librdf/db.c:366:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] xdbc->ind = index; ^ librdf/db.c:371:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] xdbc->key.data = index; ^ librdf/db.c: In function 'addremoveIndex': librdf/main.c: In function 'main': librdf/db.c:400:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] key.data = index; ^ librdf/main.c:34:3: warning: implicit declaration of function 'openService' [-Wimplicit-function-declaration] openService(); ^ librdf/db.c:403:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] data.data = value; ^ librdf/db.c:446:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] key.data = index; ^ librdf/db.c:448:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] data.data = value; ^ librdf/db.c: In function 'DB_CursorAdvance': librdf/db.c:630:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] c->value = (void*)atoi(strchr(&value[2], '\n')+1); ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o expat/xmltok/xmltok.o expat/xmltok/xmltok.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o expat/xmltok/xmlrole.o expat/xmltok/xmlrole.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o expat/xmlparse/xmlparse.o expat/xmlparse/xmlparse.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o expat/xmlparse/hashtable.o expat/xmlparse/hashtable.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o query/queryParser.o query/queryParser.c cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o query/processQuery.o query/processQuery.c query/queryParser.c: In function 'nextWord': query/queryParser.c:26:22: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] #define isspace(x) ((isspace(x) || (x == '\n') || (x == '\r'))) ^ query/queryParser.c:133:33: note: in expansion of macro 'isspace' while ((str[*start] != 0) && (isspace(str[*start]) || (str[*start] == ','))) { ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib -c -o server/loop.o server/loop.c server/loop.c: In function 'catchBrokenPipe': server/loop.c:36:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGPIPE, catchBrokenPipe); ^ In file included from /usr/include/sys/select.h:39:0, from /usr/include/sys/time.h:44, from /usr/include/pthread.h:43, from server/loop.c:16: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' __sighandler_t *signal (int, __sighandler_t *); ^ server/loop.c: In function 'freeNamespace': server/loop.c:52:11: warning: passing argument 1 of 'freeMem' from incompatible pointer type [-Wincompatible-pointer-types] freeMem(ns); ^ In file included from server/loop.c:11:0: server/../utils/utils.h:25:7: note: expected 'char *' but argument is of type 'Namespace {aka struct _NamespaceStruct *}' void freeMem(char* mem); ^ server/loop.c: In function 'terminateConnection': server/loop.c:83:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close(conn->socket); ^ server/loop.c: In function 'processConnection': server/loop.c:156:19: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGPIPE, catchBrokenPipe); ^ In file included from /usr/include/sys/select.h:39:0, from /usr/include/sys/time.h:44, from /usr/include/pthread.h:43, from server/loop.c:16: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' __sighandler_t *signal (int, __sighandler_t *); ^ server/loop.c:166:7: warning: 'return' with no value, in function returning non-void return; /* connection terminated */ ^ server/loop.c:172:7: warning: 'return' with no value, in function returning non-void return; ^ server/loop.c:180:7: warning: 'return' with no value, in function returning non-void return; ^ server/loop.c:188:7: warning: implicit declaration of function 'ProcessQuery' [-Wimplicit-function-declaration] ProcessQuery(query, connec); ^ server/loop.c:198:4: warning: 'return' with no value, in function returning non-void return; /* connection terminated */ ^ server/loop.c:202:4: warning: 'return' with no value, in function returning non-void return; ^ server/loop.c: In function 'openService': server/loop.c:278:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] sleep(1); ^ server/loop.c:282:18: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] signal(SIGINT, closeAndExit); ^ In file included from /usr/include/sys/select.h:39:0, from /usr/include/sys/time.h:44, from /usr/include/pthread.h:43, from server/loop.c:16: /usr/include/sys/signal.h:414:17: note: expected 'void (*)(int)' but argument is of type 'int (*)(int)' __sighandler_t *signal (int, __sighandler_t *); ^ query/processQuery.c: In function 'addAnswer': query/processQuery.c:121:9: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write(q->cl->socket, v1->name, strlen(v1->name)); ^ query/processQuery.c:150:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] snprintf(ansLine, 512, "%i\t", (int)v->value); ^ query/processQuery.c:152:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] snprintf(ansLine, 512, "%s = %i\t", v->name, (int)v->value); ^ query/processQuery.c: In function 'SelectNextInt': query/processQuery.c:195:41: warning: passing argument 2 of 'RDF_GetSources' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetSources(q->database, vval(q, nl->target), vval(q, nl->arc), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:110:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetSources(RDF_DB db, RDF_Resource target, RDF_Resource arc, RDF_Cursor *c) ; ^ query/processQuery.c:195:62: warning: passing argument 3 of 'RDF_GetSources' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetSources(q->database, vval(q, nl->target), vval(q, nl->arc), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:110:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetSources(RDF_DB db, RDF_Resource target, RDF_Resource arc, RDF_Cursor *c) ; ^ query/processQuery.c:199:41: warning: passing argument 2 of 'RDF_GetTargets' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetTargets(q->database, vval(q, nl->source), vval(q, nl->arc), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:106:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetTargets (RDF_DB db, RDF_Resource source, RDF_Resource arc, RDF_Cursor *c) ; ^ query/processQuery.c:199:62: warning: passing argument 3 of 'RDF_GetTargets' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetTargets(q->database, vval(q, nl->source), vval(q, nl->arc), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:106:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetTargets (RDF_DB db, RDF_Resource source, RDF_Resource arc, RDF_Cursor *c) ; ^ query/processQuery.c:203:44: warning: passing argument 2 of 'RDF_GetArcSources' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetArcSources(q->database, vval(q, nl->arc), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:102:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetArcSources (RDF_DB db, RDF_Resource arc, RDF_Cursor *c) ; ^ query/processQuery.c:207:41: warning: passing argument 2 of 'RDF_GetArcsOut' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetArcsOut(q->database, vval(q, nl->source), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:114:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetArcsOut(RDF_DB db, RDF_Resource node, RDF_Cursor *c) ; ^ query/processQuery.c:211:40: warning: passing argument 2 of 'RDF_GetArcsIn' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] err = RDF_GetArcsIn(q->database, vval(q, nl->target), &c); ^ In file included from query/queryParser.h:18:0, from query/processQuery.c:22: query/../librdf/rdf.h:118:12: note: expected 'RDF_Resource {aka char *}' but argument is of type 'const void *' RDF_Result RDF_GetArcsIn(RDF_DB db, RDF_Resource node, RDF_Cursor *c) ; ^ query/processQuery.c: In function 'processQueryInt': query/processQuery.c:396:5: warning: implicit declaration of function 'describeQuery' [-Wimplicit-function-declaration] describeQuery (query) ; ^ query/processQuery.c:466:9: warning: implicit declaration of function 'addNamespace' [-Wimplicit-function-declaration] addNamespace(cl, &prefix[6], query->namespace); ^ query/processQuery.c:477:9: warning: implicit declaration of function 'removeNamespace' [-Wimplicit-function-declaration] removeNamespace(cl, &prefix[6], query->namespace); ^ cc -pipe -Wno-return-type -O2 -fno-strict-aliasing -I /usr/local/include/db5 -I expat/xmltok -I expat/xmlparse -L /usr/local/lib utils/hash.o utils/utils.o librdf/ncontentSource.o librdf/parsers.o librdf/rdfxmlparser.o librdf/dmozrdfparser.o librdf/rdflib.o librdf/indexPool.o librdf/db.o librdf/main.o expat/xmltok/xmltok.o expat/xmltok/xmlrole.o expat/xmlparse/xmlparse.o expat/xmlparse/hashtable.o query/queryParser.o query/processQuery.o server/loop.o -ldb-5.3 -lpthread -o rdfdb gmake[1]: Leaving directory '/construction/databases/rdfdb/rdfdb' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for rdfdb-0.46_4 ===> Generating temporary packing list ===> Creating groups. ===> Creating users install -s -m 555 /construction/databases/rdfdb/rdfdb/rdfdb /construction/databases/rdfdb/stage/usr/local/bin ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for rdfdb-0.46_4 file sizes/checksums [2]: . done packing files [2]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Sunday, 1 OCT 2017 at 06:36:30 UTC Duration: 00:00:07