From owner-freebsd-ports-bugs@freebsd.org Tue Feb 21 11:35:34 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65EB6CE7653 for ; Tue, 21 Feb 2017 11:35:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43B72178B for ; Tue, 21 Feb 2017 11:35:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1LBZXEY001401 for ; Tue, 21 Feb 2017 11:35:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217268] www/webalizer build fails on dns_resolv.c Date: Tue, 21 Feb 2017 11:35:33 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jonaspalm@posteo.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dinoex@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 11:35:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217268 Bug ID: 217268 Summary: www/webalizer build fails on dns_resolv.c Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: dinoex@FreeBSD.org Reporter: jonaspalm@posteo.de Assignee: dinoex@FreeBSD.org Flags: maintainer-feedback?(dinoex@FreeBSD.org) Created attachment 180182 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180182&action= =3Dedit de-webalizer poudriere build log See the attached poudriere logfile for the complete log. In the log file I try to build german/webalizer2 but I just tried to build www/webalizer with portmaster and it failed with the same errors. It also fails with the same error in a FreeBSD 11.0-Release jail. Fails with: ----- cc -O2 -pipe -Wall -fstack-protector -fno-strict-aliasing=20 -I/usr/local/include -DETCDIR=3D\"/usr/local/etc\" -DGEODB_LOC=3D\"/usr/local/share/webalizer\" -DPACKAGE_NAME=3D\"webalizer\" -DPACKAGE_TARNAME=3D\"webalizer\" -DPACKAGE_VERSION=3D\"V2.23\" -DPACKAGE_STRING=3D\"webalizer\ V2.23\" -DPACKAGE_BUGREPORT=3D\"\" -DSTDC_H= EADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STR= ING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDIN= T_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_GETOPT_H=3D1 -DHAVE_MATH_H=3D1 -DHAVE_SYS_SOCKET= _H=3D1 -DUSE_GEOIP -DUSE_BZIP -DUSE_DNS -c dns_resolv.c dns_resolv.c:84:1: error: unknown type name 'DBC' DBC *geo_dbc =3D NULL; /* GeoDB database cursor = */ ^ dns_resolv.c:136:57: error: too many arguments to function call, expected 4, have 5 if ( (i=3Ddns_db->get(dns_db, NULL, &query, &response, 0)) =3D=3D 0) ~~~~~~~~~~~ ^ dns_resolv.c:211:10: warning: implicit declaration of function 'db_create' = is invalid in C99 [-Wimplicit-function-declaration] if ( (db_create(&dns_db, NULL, 0) !=3D 0) || ^ dns_resolv.c:212:18: error: no member named 'open' in 'struct __db' (dns_db->open(dns_db, NULL, ~~~~~~ ^ dns_resolv.c:214:12: error: use of undeclared identifier 'DB_CREATE' DB_CREATE, 0644) !=3D 0) ) ^ dns_resolv.c:228:23: error: too many arguments to function call, expected 1, have 2 dns_db->fd(dns_db, &dns_fd); ~~~~~~~~~~ ^~~~~~~ dns_resolv.c:239:29: error: too many arguments to function call, expected 1, have 2 dns_db->close(dns_db, 0); ~~~~~~~~~~~~~ ^ dns_resolv.c:291:55: error: too many arguments to function call, expected 4, have 5 if ( (i=3Ddns_db->get(dns_db, NULL, &q, &r, 0)) =3D=3D 0 ) ~~~~~~~~~~~ ^ dns_resolv.c:336:29: error: too many arguments to function call, expected 1, have 2 dns_db->close(dns_db, 0); ~~~~~~~~~~~~~ ^ dns_resolv.c:351:25: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] printf("%llu %s ",listEntries, msg_addresses); ~~~~ ^~~~~~~~~~~ %lu dns_resolv.c:373:26: error: too many arguments to function call, expected 1, have 2 dns_db->close(dns_db, 0); ~~~~~~~~~~~~~ ^ dns_resolv.c:762:49: error: too many arguments to function call, expected 4, have 5 if ( dns_db->put(dns_db, NULL, &k, &v, 0) !=3D 0 ) ~~~~~~~~~~~ ^ dns_resolv.c:815:18: error: no member named 'open' in 'struct __db' (dns_db->open(dns_db, NULL, ~~~~~~ ^ dns_resolv.c:817:12: error: use of undeclared identifier 'DB_RDONLY' DB_RDONLY, 0644) !=3D 0) ) ^ dns_resolv.c:829:23: error: too many arguments to function call, expected 1, have 2 dns_db->fd(dns_db, &dns_fd); ~~~~~~~~~~ ^~~~~~~ dns_resolv.c:839:29: error: too many arguments to function call, expected 1, have 2 dns_db->close(dns_db, 0); ~~~~~~~~~~~~~ ^ dns_resolv.c:865:26: error: too many arguments to function call, expected 1, have 2 dns_db->close(dns_db, 0); ~~~~~~~~~~~~~ ^ dns_resolv.c:893:16: error: no member named 'open' in 'struct __db' if (geo_db->open(geo_db,NULL,buf,NULL,DB_BTREE,DB_RDONLY,0)) return NULL; ~~~~~~ ^ dns_resolv.c:893:51: error: use of undeclared identifier 'DB_RDONLY' if (geo_db->open(geo_db,NULL,buf,NULL,DB_BTREE,DB_RDONLY,0)) return NULL; ^ dns_resolv.c:896:16: error: no member named 'cursor' in 'struct __db' if (geo_db->cursor(geo_db,NULL,&geo_dbc,0)) ~~~~~~ ^ dns_resolv.c:898:28: error: too many arguments to function call, expected 1, have 2 geo_db->close(geo_db,0); ~~~~~~~~~~~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=3D] 2 warnings and 20 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/german/webalizer2/work/webalizer-2.2= 3-08 *** Error code 1 Stop. make[1]: stopped in /usr/ports/german/webalizer2 *** Error code 1 Stop. make: stopped in /usr/ports/german/webalizer2 --=20 You are receiving this mail because: You are the assignee for the bug.=