Date: Fri, 28 Oct 2016 10:35:11 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 213848] www/lighttpd: Version 1.4.42 update does not work with FreeBSD 9.3 Message-ID: <bug-213848-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213848 Bug ID: 213848 Summary: www/lighttpd: Version 1.4.42 update does not work with FreeBSD 9.3 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: cedric@precidata.com CC: pkubaj@anongoth.pl Flags: maintainer-feedback?(pkubaj@anongoth.pl) CC: pkubaj@anongoth.pl Since the update 6 days ago, lighttpd 1.4.42 does not work on FreeBSD 9.3 anymore. The binary fails to startup with: 2016-10-28 11:06:30: (plugin.c.227) dlopen() failed for: /usr/local/lib/lighttpd/mod_cgi.so /usr/local/lib/lighttpd/mod_cgi.so: Undefined symbol "pipe2=E2=80=9D=20 mod_cgi.c contains the following horror: #ifdef O_CLOEXEC #define pipe_cloexec(pipefd) pipe2((pipefd), O_CLOEXEC) #elif defined FD_CLOEXEC #define pipe_cloexec(pipefd) \ ( 0 =3D=3D pipe(pipefd) \ && 0 =3D=3D fcntl(pipefd[0], F_SETFD, FD_CLOEXEC) \ && 0 =3D=3D fcntl(pipefd[1], F_SETFD, FD_CLOEXEC) \ ? 0 \ : -1) #else #define pipe_cloexec(pipefd) pipe(pipefd) #endif Which of course is wrong, FreeBSD 9.3 has O_CLOEXEC but no pipe2. Thanks, Cedric --=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-213848-13>