Comments (7)
After installing the missing dependencies, and executing configure
with the appropriate flags, the scenario builds successfully inside the Docker container.
I'm adding the ability to pass additional flags to configure
inside the preprocess
script. Once that's done, the issue should be fully addressed.
from manybugs.
Thanks, @ChrisTimperley !
from manybugs.
@afsafzal can you try to debug by installing the openssl-dev
package in lighttpd/Dockerfile
? The error looks rather similar to this one: wg/wrk#67
from manybugs.
installing openssl
or libssl-dev
didn't fix the issue.
from manybugs.
Interestingly, I tried to recompile this particular bug scenario on the original ManyBugs VM and got the same error:
$ make distclean
$ ./configure
$ make
...
mv -f .deps/response.Tpo .deps/response.Po
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/lib\"" -I. -I.. -D_REENTRANT -D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT request.o -MD -MP -MF .deps/request.Tpo -c -o request.o request.c
configfile.c: In function ‘config_setup_connection’:
configfile.c:329: error: ‘specific_config’ has no member named ‘ssl_ctx’
configfile.c:329: error: ‘specific_config’ has no member named ‘ssl_ctx’
configfile.c: In function ‘config_patch_connection’:
configfile.c:389: error: ‘specific_config’ has no member named ‘ssl_ctx’
configfile.c:389: error: ‘specific_config’ has no member named ‘ssl_ctx’
make[4]: *** [configfile.o] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/proc_open-buffer.Tpo .deps/proc_open-buffer.Po
mv -f .deps/network.Tpo .deps/network.Po
mv -f .deps/connections.Tpo .deps/connections.Po
mv -f .deps/server.Tpo .deps/server.Po
mv -f .deps/request.Tpo .deps/request.Po
mv -f .deps/configparser.Tpo .deps/configparser.Po
mv -f .deps/lemon.Tpo .deps/lemon.Po
make[4]: Leaving directory `/root/genprog-many-bugs/lighttpd-bug-2661-2662/lighttpd/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/genprog-many-bugs/lighttpd-bug-2661-2662/lighttpd/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/genprog-many-bugs/lighttpd-bug-2661-2662/lighttpd/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/genprog-many-bugs/lighttpd-bug-2661-2662/lighttpd'
make: *** [all] Error 2
from manybugs.
I just ran into this bug today and have the same trace as @afsafzal.
Tried installing libssl-dev to the base image (and committing it so that the child images would have the libraries) to no avail. I also tried installing the libraries from within the partially-built image to the same result.
I'd really like to get this particular bug working, since previous work has showed a repair for it and the bug type (segfault) is compelling.
from manybugs.
It would seem that this particular scenario requires a slightly different set of configuration flags than the others. The following commands cause the bug to successfully compile on the ManyBugs VM:
$ make distclean
$ ./configure --with-ldap --with-bzip2 --with-openssl --with-gdbm --with-memcache --with-webdav-props --with-webdav-locks
$ make
I'll incorporate them into the Docker file for the scenario.
from manybugs.
Related Issues (19)
- Update bugs to use new 'compiler' property
- Unexpected failure during build process for php:2011-01-23-bc049ccb62-a6c0a4e474 HOT 1
- libtiff:2005-12-14-6746b87-0d3d51d fails passing test due to compilation error
- lighttpd fails sanity checks HOT 1
- lighttpd-2225-2266 fails to build
- Cannot build lighttpd:1913-1914 HOT 2
- Calling test.sh from other directories HOT 2
- Fix commit fails the negative test in `lighttpd-bug-1948-1949` HOT 7
- inconsistent buggy and fixed revision information for gzip-2009-09-26-a1d3d4019d-f17cbd13a1 HOT 1
- Cannot build subset of the PHP scenarios HOT 13
- gmp:14166-14167 test cases assumed failed HOT 1
- Two PHP scenarios segfault during compilation
- manybugs:gzip:2009-10-09-1a085b1446-118a107f2d Test Cases Behave Non-Deterministically HOT 1
- Syntax error in Docker file
- manybugs:gmp:13420-13421 sanity tests don't pass
- manybugs:php:2012-03-22-3efc9f2f78-2e19cccad7 sanity tests don't pass
- php scenarios do not build with --enable-debug configuration
- gmp-14166-14167 fails to build
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manybugs.