Date: Tue, 04 Oct 2022 01:54:22 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266806] www/bozohttpd: Fails to compile if Lua support is disabled Message-ID: <bug-266806-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266806 Bug ID: 266806 Summary: www/bozohttpd: Fails to compile if Lua support is disabled Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: freebsd@kumba.dev CC: jmohacsi@bsd.hu CC: jmohacsi@bsd.hu Flags: maintainer-feedback?(jmohacsi@bsd.hu) The www/bozohttpd port will not build if Lua support is disabled. It looks like the -DNO_LUA_SUPPORT compiler flag is not getting passed down to the various make calls, causing the conditional #include <lua.h> in bozohttpd.h= to generate the error. I tried playing around with the port's make file, but = as far as I can tell, it appears to be fine, so I think it is an issue with the package's own makefile, and makefiles aren't one of my strong points. I also tried updating the package to the latest bozohttpd release (20220517= ), but that has the same issue. I suspect the NO_LUA_SUPPORT flag may not be = the only one affected, so the other NO_XXX_SUPPORT flags probably need to be checked as well. # cat /var/db/ports/www_bozohttpd/options # This file is auto-generated by 'make config'. # Options for bozohttpd-20210227 _OPTIONS_READ=3Dbozohttpd-20210227 _FILE_COMPLETE_OPTIONS_LIST=3DBLACKLIST CGI DAEMON DEBUG DIRINDEX DYNAMIC HTPASSWD LUA SSL USER OPTIONS_FILE_UNSET+=3DBLACKLIST OPTIONS_FILE_UNSET+=3DCGI OPTIONS_FILE_SET+=3DDAEMON OPTIONS_FILE_SET+=3DDEBUG OPTIONS_FILE_SET+=3DDIRINDEX OPTIONS_FILE_UNSET+=3DDYNAMIC OPTIONS_FILE_UNSET+=3DHTPASSWD OPTIONS_FILE_UNSET+=3DLUA OPTIONS_FILE_UNSET+=3DSSL OPTIONS_FILE_UNSET+=3DUSER > # make package > =3D=3D=3D> License BSD2CLAUSE accepted by the user > =3D=3D=3D> bozohttpd-20210227 depends on file: /usr/local/sbin/pkg - fo= und > =3D=3D=3D> Fetching all distfiles required by bozohttpd-20210227 for buil= ding > =3D=3D=3D> Extracting for bozohttpd-20210227 > =3D> SHA256 Checksum OK for bozohttpd-20210227.tar.bz2. > =3D=3D=3D> Patching for bozohttpd-20210227 > =3D=3D=3D> Applying FreeBSD patches for bozohttpd-20210227 from /usr/por= ts/www/bozohttpd/files > =3D=3D=3D> Configuring for bozohttpd-20210227 > =3D=3D=3D> Building for bozohttpd-20210227 > --- objwarn --- > --- .depend --- > --- objwarn --- > Warning: Object directory not changed from original /usr/ports/www/bozoht= tpd/work/bozohttpd-20210227 > --- .depend --- > echo bozohttpd: /usr/lib/libc.a >> .depend > --- bozohttpd.o --- > --- ssl-bozo.o --- > --- auth-bozo.o --- > --- cgi-bozo.o --- > --- bozohttpd.o --- > cc -O2 -pipe -fno-strict-aliasing -march=3Dnative -fPIE -MD -MF.depend= .bozohttpd.o -MTbozohttpd.o -std=3Dgnu99 -Wno-format-zero-length -nobuiltin= inc -idirafter /usr/lib/clang/13.0.0/include -fstack-protector-strong -Wsys= tem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict= -prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual = -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-unin= itialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unuse= d-const-variable -Wno-error=3Dunused-but-set-variable -Qunused-arguments = -c bozohttpd.c -o bozohttpd.o > --- ssl-bozo.o --- > cc -O2 -pipe -fno-strict-aliasing -march=3Dnative -fPIE -MD -MF.depend= .ssl-bozo.o -MTssl-bozo.o -std=3Dgnu99 -Wno-format-zero-length -nobuiltinin= c -idirafter /usr/lib/clang/13.0.0/include -fstack-protector-strong -Wsyste= m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -W= write-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-uninit= ialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-= const-variable -Wno-error=3Dunused-but-set-variable -Qunused-arguments = -c ssl-bozo.c -o ssl-bozo.o > --- auth-bozo.o --- > cc -O2 -pipe -fno-strict-aliasing -march=3Dnative -fPIE -MD -MF.depend= .auth-bozo.o -MTauth-bozo.o -std=3Dgnu99 -Wno-format-zero-length -nobuiltin= inc -idirafter /usr/lib/clang/13.0.0/include -fstack-protector-strong -Wsys= tem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict= -prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual = -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-unin= itialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unuse= d-const-variable -Wno-error=3Dunused-but-set-variable -Qunused-arguments = -c auth-bozo.c -o auth-bozo.o > --- cgi-bozo.o --- > cc -O2 -pipe -fno-strict-aliasing -march=3Dnative -fPIE -MD -MF.depend= .cgi-bozo.o -MTcgi-bozo.o -std=3Dgnu99 -Wno-format-zero-length -nobuiltinin= c -idirafter /usr/lib/clang/13.0.0/include -fstack-protector-strong -Wsyste= m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -W= write-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-uninit= ialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-= const-variable -Wno-error=3Dunused-but-set-variable -Qunused-arguments = -c cgi-bozo.c -o cgi-bozo.o > --- daemon-bozo.o --- > cc -O2 -pipe -fno-strict-aliasing -march=3Dnative -fPIE -MD -MF.depend= .daemon-bozo.o -MTdaemon-bozo.o -std=3Dgnu99 -Wno-format-zero-length -nobui= ltininc -idirafter /usr/lib/clang/13.0.0/include -fstack-protector-strong -= Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wst= rict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-q= ual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-= uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-u= nused-const-variable -Wno-error=3Dunused-but-set-variable -Qunused-argumen= ts -c daemon-bozo.c -o daemon-bozo.o > --- ssl-bozo.o --- > In file included from ssl-bozo.c:41: > ./bozohttpd.h:44:10: fatal error: 'lua.h' file not found > #include <lua.h> > ^~~~~~~ > --- bozohttpd.o --- > In file included from bozohttpd.c:147: > ./bozohttpd.h:44:10: fatal error: 'lua.h' file not found > #include <lua.h> > ^~~~~~~ > --- cgi-bozo.o --- > In file included from cgi-bozo.c:52: > ./bozohttpd.h:44:10: fatal error: 'lua.h' file not found > #include <lua.h> > ^~~~~~~ > --- daemon-bozo.o --- > In file included from daemon-bozo.c:52: > ./bozohttpd.h:44:10: fatal error: 'lua.h' file not found > #include <lua.h> > ^~~~~~~ > --- cgi-bozo.o --- > 1 error generated. > *** [cgi-bozo.o] Error code 1 >=20 > make[2]: stopped in /usr/ports/www/bozohttpd/work/bozohttpd-20210227 > --- daemon-bozo.o --- > 1 error generated. > *** [daemon-bozo.o] Error code 1 >=20 > make[2]: stopped in /usr/ports/www/bozohttpd/work/bozohttpd-20210227 > --- bozohttpd.o --- > 1 error generated. > *** [bozohttpd.o] Error code 1 >=20 > make[2]: stopped in /usr/ports/www/bozohttpd/work/bozohttpd-20210227 > --- ssl-bozo.o --- > 1 error generated. > *** [ssl-bozo.o] Error code 1 >=20 > make[2]: stopped in /usr/ports/www/bozohttpd/work/bozohttpd-20210227 > 4 errors >=20 > make[2]: stopped in /usr/ports/www/bozohttpd/work/bozohttpd-20210227 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/ports/www/bozohttpd > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/www/bozohttpd --=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-266806-7788>