Giter VIP home page Giter VIP logo

Comments (7)

ChrisTimperley avatar ChrisTimperley commented on July 26, 2024 3

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.

joerenzullo avatar joerenzullo commented on July 26, 2024 2

Thanks, @ChrisTimperley !

from manybugs.

ChrisTimperley avatar ChrisTimperley commented on July 26, 2024

@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.

afsafzal avatar afsafzal commented on July 26, 2024

installing openssl or libssl-dev didn't fix the issue.

from manybugs.

ChrisTimperley avatar ChrisTimperley commented on July 26, 2024

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.

joerenzullo avatar joerenzullo commented on July 26, 2024

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.

ChrisTimperley avatar ChrisTimperley commented on July 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.