Project

General

Profile

Actions

Bug #3243

closed

src/compat/sys/queue.h missing from 1.4.74 tarball

Added by ldilley 2 months ago. Updated 2 months ago.

Status:
Fixed
Priority:
Normal
Category:
build_autotools
Target version:
ASK QUESTIONS IN Forums:
No

Description

The tarball at https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.74.tar.gz is missing src/compat/sys/queue.h which results in an error at compile time under FreeBSD (see below for details). I've worked around this issue for now by creating the src/compat/sys directory and copying https://redmine.lighttpd.net/projects/lighttpd/repository/14/revisions/master/entry/src/compat/sys/queue.h to it. The build completes fine after the aforementioned steps.

# make
make  all-recursive
Making all in src
make  all-am
depbase=`echo h2.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh ../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR="\"/usr/local/lighttpd/lib\"" -DSBIN_DIR="\"/usr/local/lighttpd/sbin\""  -I. -I..   -D_REENTRANT -I/usr/local/include -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_DEFAULT_SOURCE    -fPIE -D_FORTIFY_SOURCE=2 -flto -O2 -pipe -march=native -Wformat -Wformat-security -Werror=format-security -fstack-protector-all -pipe -Wall -W -Wshadow -pedantic -pipe -Wall -W -Wshadow -pedantic -MT h2.lo -MD -MP -MF $depbase.Tpo -c -o h2.lo h2.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -DHAVE_VERSIONSTAMP_H -DLIBRARY_DIR=\"/usr/local/lighttpd/lib\" -DSBIN_DIR=\"/usr/local/lighttpd/sbin\" -I. -I.. -D_REENTRANT -I/usr/local/include -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_DEFAULT_SOURCE -D_FORTIFY_SOURCE=2 -flto -O2 -pipe -march=native -Wformat -Wformat-security -Werror=format-security -fstack-protector-all -pipe -Wall -W -Wshadow -pedantic -pipe -Wall -W -Wshadow -pedantic -MT h2.lo -MD -MP -MF .deps/h2.Tpo -c h2.c  -fPIC -DPIC -o .libs/h2.o
In file included from h2.c:8:
In file included from ./h2.h:10:
./ls-hpack/lshpack.h:229:10: fatal error: '../compat/sys/queue.h' file not found
#include "../compat/sys/queue.h" 
         ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/local/src/lighttpd-1.4.74/src
*** Error code 1
Actions #1

Updated by gstrauss 2 months ago

  • Category changed from core to build_autotools
  • Status changed from New to Fixed
  • Target version changed from 1.4.xx to 1.4.75

Sorry. Already fixed in commit 47db6448

For FreeBSD, the patch in commit 106c4b14 should be sufficient, and I think is going to be part of the FreeBSD package for lighttpd 1.4.74

Actions

Also available in: Atom