Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 18:53:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230781] www/lighttpd Update to 1.4.50 config  MySQL support (mod_authn_mysql, mod_mysql_vhost) compilation failed
Message-ID:  <bug-230781-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230781

            Bug ID: 230781
           Summary: www/lighttpd Update to 1.4.50 config  MySQL support
                    (mod_authn_mysql, mod_mysql_vhost) compilation failed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: install
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: igor.polovykh@gmail.com
                CC: pkubaj@anongoth.pl
             Flags: maintainer-feedback?(pkubaj@anongoth.pl)
                CC: pkubaj@anongoth.pl

libtool: compile:  cc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H
-DLIBRARY_DIR=3D\"/usr/local/lib/lighttpd\" -DSBIN_DIR=3D\"/usr/local/sbin\=
" -I.
-I.. -I/usr/local/include/mysql -I/usr/local/include -isystem
/usr/local/include -D_REENTRANT -I/usr/local/include -I/usr/local/include
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -pipe
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing -std=3Dg=
nu99
-Wall -W -Wshadow -pedantic -MT mod_vhostdb_mysql_la-mod_vhostdb_mysql.lo -=
MD
-MP -MF .deps/mod_vhostdb_mysql_la-mod_vhostdb_mysql.Tpo -c mod_vhostdb_mys=
ql.c
 -fPIC -DPIC -o .libs/mod_vhostdb_mysql_la-mod_vhostdb_mysql.o
libtool: link: ( cd ".libs" && rm -f "mod_cgi.la" && ln -s "../mod_cgi.la"
"mod_cgi.la" )
depbase=3D`echo mod_staticfile.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=3DCC   --mode=3Dcompile cc -DHAVE_CONFIG_H
-DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR=3D"\"/usr/local/lib/lighttpd\""
-DSBIN_DIR=3D"\"/usr/local/sbin\"" -I. -I..   -I/usr/local/include -isystem
/usr/local/include -D_REENTRANT -I/usr/local/include -I/usr/local/include
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_LARGE_FILES   -O2 -pipe=20
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing -std=3Dg=
nu99
-Wall -W -Wshadow -pedantic -MT mod_staticfile.lo -MD -MP -MF $depbase.Tpo =
-c
-o mod_staticfile.lo mod_staticfile.c &&\
mv -f $depbase.Tpo $depbase.Plo
mod_mysql_vhost.c:196:4: error: use of undeclared identifier 'my_bool'
                        my_bool reconnect =3D 1;
                        ^
mod_mysql_vhost.c:205:50: error: use of undeclared identifier 'reconnect'; =
did
you mean 'connect'?
                        mysql_options(s->mysql, MYSQL_OPT_RECONNECT,
&reconnect);
                                                                      ^~~~~=
~~~~
                                                                      conne=
ct
/usr/include/sys/socket.h:617:5: note: 'connect' declared here
int     connect(int, const struct sockaddr *, socklen_t);
        ^
2 errors generated.
gmake[5]: *** [Makefile:2538: mod_mysql_vhost_la-mod_mysql_vhost.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
libtool: compile:  cc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H
-DLIBRARY_DIR=3D\"/usr/local/lib/lighttpd\" -DSBIN_DIR=3D\"/usr/local/sbin\=
" -I.
-I.. -I/usr/local/include -isystem /usr/local/include -D_REENTRANT
-I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -std=3Dgnu99 -Wall -W -Wshadow -ped=
antic
-MT mod_scgi.lo -MD -MP -MF .deps/mod_scgi.Tpo -c mod_scgi.c  -fPIC -DPIC -o
.libs/mod_scgi.o
mod_vhostdb_mysql.c:94:13: error: use of undeclared identifier 'my_bool'
            my_bool reconnect =3D 1;
            ^
mod_vhostdb_mysql.c:95:57: error: use of undeclared identifier 'reconnect';=
 did
you mean 'connect'?
            mysql_options(dbconn, MYSQL_OPT_RECONNECT, &reconnect);
                                                        ^~~~~~~~~
                                                        connect
/usr/include/sys/socket.h:617:5: note: 'connect' declared here
int     connect(int, const struct sockaddr *, socklen_t);
        ^
2 errors generated.
gmake[5]: *** [Makefile:2552: mod_vhostdb_mysql_la-mod_vhostdb_mysql.lo] Er=
ror
1
libtool: compile:  cc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H
-DLIBRARY_DIR=3D\"/usr/local/lib/lighttpd\" -DSBIN_DIR=3D\"/usr/local/sbin\=
" -I.
-I.. -I/usr/local/include -isystem /usr/local/include -D_REENTRANT
-I/usr/local/include -I/usr/local/include -D_FILE_OFFSET_BITS=3D64
-D_LARGEFILE_SOURCE -D_LARGE_FILES -O2 -pipe -fstack-protector -isystem
/usr/local/include -fno-strict-aliasing -std=3Dgnu99 -Wall -W -Wshadow -ped=
antic
-MT mod_staticfile.lo -MD -MP -MF .deps/mod_staticfile.Tpo -c mod_staticfil=
e.c=20
-fPIC -DPIC -o .libs/mod_staticfile.o
gmake[5]: Leaving directory '/usr/ports/www/lighttpd/work/lighttpd-1.4.50/s=
rc'
gmake[4]: *** [Makefile:1630: all] Error 2
gmake[4]: Leaving directory '/usr/ports/www/lighttpd/work/lighttpd-1.4.50/s=
rc'
gmake[3]: *** [Makefile:450: all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/www/lighttpd/work/lighttpd-1.4.50'
gmake[2]: *** [Makefile:380: all] Error 2
gmake[2]: Leaving directory '/usr/ports/www/lighttpd/work/lighttpd-1.4.50'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/lighttpd
*** Error code 1

Stop.
make: stopped in /usr/ports/www/lighttpd

--=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-230781-7788>