Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 16:21:01 GMT
From:      Johan Svensson<johan@loxley.se>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/107991: Proftpd mod_sql_mysql fails when doing portupgrade
Message-ID:  <200701161621.l0GGL195010640@www.freebsd.org>
Resent-Message-ID: <200701161630.l0GGUQAW085674@freefall.freebsd.org>

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

>Number:         107991
>Category:       ports
>Synopsis:       Proftpd mod_sql_mysql fails when doing portupgrade
>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:   Tue Jan 16 16:30:26 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Johan Svensson
>Release:        FreeBSD 6.2-STABLE
>Organization:
>Environment:
FreeBSD gatekeeper.loxley.se 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Jan 15 22:39:01 CET 2007     loxley@gatekeeper.loxley.se:/usr/obj/usr/src/sys/GATEKEEPER  i386
>Description:
cc -DHAVE_CONFIG_H  -DFREEBSD6_2 -DFREEBSD6 -I.. -I../include -I/usr/local/include -I/usr/local/include -I/include -O2 -fno-strict-aliasing -pipe  -DHAVE_OPENSSL -Wall -c mod_sql_mysql.c
mod_sql_mysql.c:138:19: mysql.h: No such file or directory
mod_sql_mysql.c:164: error: syntax error before "MYSQL"
mod_sql_mysql.c: In function `_build_error':
mod_sql_mysql.c:303: warning: implicit declaration of function `mysql_errno'
mod_sql_mysql.c:303: error: structure has no member named `mysql'
mod_sql_mysql.c:305: warning: implicit declaration of function `mysql_error'
mod_sql_mysql.c:305: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `_build_data':
mod_sql_mysql.c:316: error: `MYSQL' undeclared (first use in this function)
mod_sql_mysql.c:316: error: (Each undeclared identifier is reported only once
mod_sql_mysql.c:316: error: for each function it appears in.)
mod_sql_mysql.c:316: error: `mysql' undeclared (first use in this function)
mod_sql_mysql.c:317: error: `MYSQL_RES' undeclared (first use in this function)
mod_sql_mysql.c:317: error: `result' undeclared (first use in this function)
mod_sql_mysql.c:318: error: syntax error before "row"
mod_sql_mysql.c:327: error: structure has no member named `mysql'
mod_sql_mysql.c:333: warning: implicit declaration of function `mysql_store_result'
mod_sql_mysql.c:339: warning: implicit declaration of function `mysql_num_rows'
mod_sql_mysql.c:340: warning: implicit declaration of function `mysql_num_fields'
mod_sql_mysql.c:345: error: `row' undeclared (first use in this function)
mod_sql_mysql.c:345: warning: implicit declaration of function `mysql_fetch_row'
mod_sql_mysql.c:355: warning: implicit declaration of function `mysql_free_result'
mod_sql_mysql.c: In function `cmd_open':
mod_sql_mysql.c:408: warning: implicit declaration of function `mysql_ping'
mod_sql_mysql.c:408: error: structure has no member named `mysql'
mod_sql_mysql.c:420: error: structure has no member named `mysql'
mod_sql_mysql.c:420: warning: implicit declaration of function `mysql_init'
mod_sql_mysql.c:422: error: structure has no member named `mysql'
mod_sql_mysql.c:433: warning: implicit declaration of function `mysql_options'
mod_sql_mysql.c:433: error: structure has no member named `mysql'
mod_sql_mysql.c:433: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
mod_sql_mysql.c:435: warning: implicit declaration of function `mysql_real_connect'
mod_sql_mysql.c:435: error: structure has no member named `mysql'
mod_sql_mysql.c:437: error: `CLIENT_INTERACTIVE' undeclared (first use in this function)
mod_sql_mysql.c: In function `cmd_close':
mod_sql_mysql.c:529: warning: implicit declaration of function `mysql_close'
mod_sql_mysql.c:529: error: structure has no member named `mysql'
mod_sql_mysql.c:530: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `cmd_select':
mod_sql_mysql.c:830: warning: implicit declaration of function `mysql_real_query'
mod_sql_mysql.c:830: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `cmd_insert':
mod_sql_mysql.c:943: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `cmd_update':
mod_sql_mysql.c:1041: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `cmd_query':
mod_sql_mysql.c:1156: error: structure has no member named `mysql'
mod_sql_mysql.c:1171: warning: implicit declaration of function `mysql_field_count'
mod_sql_mysql.c:1171: error: structure has no member named `mysql'
mod_sql_mysql.c: In function `cmd_escapestring':
mod_sql_mysql.c:1251: warning: implicit declaration of function `mysql_escape_string'
mod_sql_mysql.c: In function `cmd_checkauth':
mod_sql_mysql.c:1317: warning: implicit declaration of function `make_scrambled_password'
gmake[1]: *** [mod_sql_mysql.o] Error 1
gmake[1]: Leaving directory `/usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc2/modules'
gmake: *** [modules] Error 2
*** Error code 2

Stop in /usr/ports/ftp/proftpd-mysql.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.26509.44 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=proftpd-mysql-1.3.1.r1_3 UPGRADE_PORT_VER=1.3.1.r1_3 make
** Fix the problem and try again.

** Listing the failed packages (*:skipped / !:failed)
        ! ftp/proftpd-mysql (proftpd-mysql-1.3.1.r1_3)  (missing header)
>How-To-Repeat:
To repeat the problem just do a regular portupgrade -a. That's what I'm doing.
>Fix:

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



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