From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 11 19:50:12 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A369F1065673 for ; Fri, 11 May 2012 19:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 732A88FC14 for ; Fri, 11 May 2012 19:50:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4BJoCv4028215 for ; Fri, 11 May 2012 19:50:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4BJoCnX028212; Fri, 11 May 2012 19:50:12 GMT (envelope-from gnats) Resent-Date: Fri, 11 May 2012 19:50:12 GMT Resent-Message-Id: <201205111950.q4BJoCnX028212@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Oliver Hartmann Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01579106566B for ; Fri, 11 May 2012 19:49:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id DE29C8FC12 for ; Fri, 11 May 2012 19:49:05 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q4BJn5pX090119 for ; Fri, 11 May 2012 19:49:05 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q4BJn5lJ090118; Fri, 11 May 2012 19:49:05 GMT (envelope-from nobody) Message-Id: <201205111949.q4BJn5lJ090118@red.freebsd.org> Date: Fri, 11 May 2012 19:49:05 GMT From: Oliver Hartmann To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/167805: databases/mysql51-client: manager.c:132:10: error: too few arguments to function call, expected 6, have 5 hp = my_gethostbyname_r(host, &tmp_hostent, buff2, sizeof(buff2), X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2012 19:50:12 -0000 >Number: 167805 >Category: ports >Synopsis: databases/mysql51-client: manager.c:132:10: error: too few arguments to function call, expected 6, have 5 hp = my_gethostbyname_r(host,&tmp_hostent,buff2,sizeof(buff2), >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 11 19:50:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Oliver Hartmann >Release: FreeBSD 10.0-CURRENT/amd64 >Organization: FU Berlin >Environment: >Description: Compiling/updating port databases/mysql51-client ends up in the below shown error: libtool: compile: clang -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DMYSQL_DATADIR=\"/var/db/mysql\" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR=\"/usr/local/etc\" -DSHAREDIR=\"/usr/local/share/mysql\" -DMYSQL_CLIENT_NO_THREADS -DDONT_USE_RAID -I. -I../include -I../include -I../include -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=native -MT libmysql.lo -MD -MP -MF .deps/libmysql.Tpo -c libmysql.c -o libmysql.o >/dev/null 2>&1 mv -f .deps/password.Tpo .deps/password.Plo /bin/sh ../libtool --preserve-dup-deps --tag=CC --mode=compile clang -DDEFAULT_CHARSET_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/var/db/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/etc\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DMYSQL_CLIENT_NO_THREADS -DDONT_USE_RAID -I. -I../include -I../include -I../include -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=native -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c -o manager.lo manager.c libtool: compile: clang -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DMYSQL_DATADIR=\"/var/db/mysql\" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR=\"/usr/local/etc\" -DSHAREDIR=\"/usr/local/share/mysql\" -DMYSQL_CLIENT_NO_THREADS -DDONT_USE_RAID -I. -I../include -I../include -I../include -O2 -fno-strict-aliasing -pipe -pipe -O3 -fno-strict-aliasing -march=native -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c manager.c -fPIC -DPIC -o .libs/manager.o In file included from manager.c:20: In file included from ../include/my_global.h:444: /usr/include/sys/timeb.h:42:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ manager.c:132:10: error: too few arguments to function call, expected 6, have 5 hp = my_gethostbyname_r(host,&tmp_hostent,buff2,sizeof(buff2), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/my_net.h:113:74: note: expanded from macro 'my_gethostbyname_r' #define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E)) ~~~~~~~~~~~~~~~ ^ /usr/include/netdb.h:250:1: note: 'gethostbyname_r' declared here int gethostbyname_r(const char *, struct hostent *, char *, size_t, ^ 1 warning and 1 error generated. *** [manager.lo] Error code 1 mv -f .deps/libmysql.Tpo .deps/libmysql.Plo 1 error *** [all] Error code 2 1 error *** [all-recursive] Error code 1 1 error *** [do-build] Error code 1 Stop in /usr/ports/databases/mysql51-client. ===>>> make failed for databases/mysql51-client ===>>> Aborting update ===>>> Update for databases/mysql51-client failed ===>>> Aborting update Terminated >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: