Git Product home page Git Product logo

Comments (8)

diversario avatar diversario commented on September 24, 2024

Update

Build also fails in the same way when run as rake couchdb:deps otp_keep="*".

from build-couchdb.

diversario avatar diversario commented on September 24, 2024

Failure is curl-related, possibly?..

from build-couchdb.

diversario avatar diversario commented on September 24, 2024

Trace:

STDOUT configure: exit 77
STDOUT == End of config.log ==
STDERR rake aborted!
STDERR Command failed with status (77): [env LDFLAGS='-R/home/diversario/distros/bu...]
STDERR /usr/lib/ruby/1.8/rake.rb:995:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1094:in `sh'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:18
STDERR /home/diversario/distros/build-couchdb/tasks/lib.rb:206:in `show_file'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:17
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16:in `chdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16
STDERR /usr/lib/ruby/1.8/tmpdir.rb:129:in `mktmpdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:15
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDOUT configure: exit 77
STDOUT == End of config.log ==
STDERR rake aborted!
STDERR Command failed with status (77): [env LDFLAGS='-R/home/diversario/distros/bu...]
STDERR /usr/lib/ruby/1.8/rake.rb:995:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:1010:in `sh'
STDERR /usr/lib/ruby/1.8/rake.rb:1094:in `sh'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:18
STDERR /home/diversario/distros/build-couchdb/tasks/lib.rb:206:in `show_file'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:17
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16:in `chdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16
STDERR /usr/lib/ruby/1.8/tmpdir.rb:129:in `mktmpdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:15
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `call'
STDERR /usr/lib/ruby/1.8/rake.rb:636:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:631:in `execute'
STDERR /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:607:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:604:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.8/rake.rb:596:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
STDERR /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.8/rake.rb:583:in `invoke'
STDERR /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `each'
STDERR /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
STDERR /usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
STDERR /usr/lib/ruby/1.8/rake.rb:2001:in `run'
STDERR /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
STDERR /usr/lib/ruby/1.8/rake.rb:1998:in `run'
STDERR /usr/bin/rake:28

Is there anything I could try to install it?

from build-couchdb.

diversario avatar diversario commented on September 24, 2024

Well, I keep trying.

If I run rake --trace curl:build I get the aforementioned error. I upgraded from Ruby 1.8.7 to 1.9.2 and the trace is this:

STDOUT /* confdefs.h */
STDOUT #define PACKAGE_NAME "curl"
STDOUT #define PACKAGE_TARNAME "curl"
STDOUT #define PACKAGE_VERSION "-"
STDOUT #define PACKAGE_STRING "curl -"
STDOUT #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/"
STDOUT #define PACKAGE_URL ""
STDOUT #define PACKAGE "curl"
STDOUT #define VERSION "7.21.4-DEV"
STDOUT #define OS "i686-pc-linux-gnu"
STDOUT 
STDOUT configure: exit 77
STDOUT == End of config.log ==
STDERR rake aborted!
STDERR Command failed with status (77): [env LDFLAGS='-R/home/diversario/distros/bu...]
STDERR /usr/lib/ruby/1.9.1/rake.rb:993:in `block in sh'
STDERR /usr/lib/ruby/1.9.1/rake.rb:1008:in `call'
STDERR /usr/lib/ruby/1.9.1/rake.rb:1008:in `sh'
STDERR /usr/lib/ruby/1.9.1/rake.rb:1092:in `sh'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:18:in `block (5 levels) in <top (required)>'
STDERR /home/diversario/distros/build-couchdb/tasks/lib.rb:206:in `show_file'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:17:in `block (4 levels) in <top (required)>'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16:in `chdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:16:in `block (3 levels) in <top (required)>'
STDERR /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
STDERR /home/diversario/distros/build-couchdb/tasks/curl.rake:15:in `block (2 levels) in <top (required)>'
STDERR /usr/lib/ruby/1.9.1/rake.rb:634:in `call'
STDERR /usr/lib/ruby/1.9.1/rake.rb:634:in `block in execute'
STDERR /usr/lib/ruby/1.9.1/rake.rb:629:in `each'
STDERR /usr/lib/ruby/1.9.1/rake.rb:629:in `execute'
STDERR /usr/lib/ruby/1.9.1/rake.rb:595:in `block in invoke_with_call_chain'
STDERR /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
STDERR /usr/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.9.1/rake.rb:605:in `block in invoke_prerequisites'
STDERR /usr/lib/ruby/1.9.1/rake.rb:602:in `each'
STDERR /usr/lib/ruby/1.9.1/rake.rb:602:in `invoke_prerequisites'
STDERR /usr/lib/ruby/1.9.1/rake.rb:594:in `block in invoke_with_call_chain'
STDERR /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
STDERR /usr/lib/ruby/1.9.1/rake.rb:588:in `invoke_with_call_chain'
STDERR /usr/lib/ruby/1.9.1/rake.rb:581:in `invoke'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2041:in `invoke_task'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2019:in `block (2 levels) in top_level'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2019:in `each'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2019:in `block in top_level'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
STDERR /usr/lib/ruby/1.9.1/rake.rb:2013:in `top_level'
STDERR /usr/lib/ruby/1.9.1/rake.rb:1992:in `run'
STDERR /usr/bin/rake:28:in `<main>'

I don't know Ruby so I can't figure out what is going on.

from build-couchdb.

barnaba avatar barnaba commented on September 24, 2024

I can confirm this bug. I tried recreating the behavior of curl:build task, and come with some different results:

in build-couchdb/dependencies/curl

sudo ./buildconf  #this went well
./configure --prefix=/home/barnex/build-couchdb/build --with-erlang=/home/barnex/build-couchdb/build/lib/erlang/usr/include  #this also went well

sudo gmake
...
gmake[2]: Entering directory `/home/barnex/build-couchdb/dependencies/curl/src'
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g0 -O2 -Wno-system-headers    -o curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o os-specific.o xattr.o strtoofft.o strdup.o rawstr.o nonblock.o  ../lib/libcurl.la -lrt -lz 
libtool: link: gcc -g0 -O2 -Wno-system-headers -o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o os-specific.o xattr.o strtoofft.o strdup.o rawstr.o nonblock.o  ../lib/.libs/libcurl.so -lrt -lz -Wl,-rpath -Wl,/home/barnex/build-couchdb/build/lib
../lib/.libs/libcurl.so: undefined reference to `SSLv2_client_method'
collect2: ld returned 1 exit status

from build-couchdb.

jhs avatar jhs commented on September 24, 2024

Thanks very much for this bug report! I am working on all of the open Ubuntu issues so hopefully I will have a fix soon.

from build-couchdb.

jhs avatar jhs commented on September 24, 2024

I have corrected this issue and confirmed that the latest master branch builds on 11.10 Oneiric Ocelot out of the box. It looks like Ubuntu's OpenSSL upgrade (or perhaps build process) removes SSLv2 support, and the latest release of libcurl supports this.

Remember to run git submodule update --init --recursive after pulling, to make Git check out the newer curl tag. Thanks for the bug report!

from build-couchdb.

barnaba avatar barnaba commented on September 24, 2024

Thank you, works great.

from build-couchdb.

Related Issues (20)

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.