Skip to content

'404 response' building memcache example, build fails #39

Closed
pacovell opened this Issue Dec 2, 2012 · 1 comment

2 participants

@pacovell
pacovell commented Dec 2, 2012

There seem to be two issues, perhaps related:

  • /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 404 Resource Not Found (RestClient::ResourceNotFound)
  • bin/make:66:in `chdir': No such file or directory - /app/vendor/memcached-1.4 (Errno::ENOENT)

See below for full transcript. To reproduce, I:
1 Created a new build environment with vulcan create
2 Downloaded and extracted memcached per instructions (https://devcenter.heroku.com/articles/buildpack-binaries)
3 cd memcached-1.4; vulcan build -v

If I use heroku run bash to create /app/vendor/memcached-1.4, the second error still occurs.

Cloudant is installed and functioning happily.

got-one:memcached-1.4.13 pac$ vulcan build -v
Packaging local directory... done
Uploading source package... done
Building with: ./configure --prefix /app/vendor/memcached-1.4 && make install
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for icc in use... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether __SUNPRO_C is declared... no
checking for gcc option to accept ISO C99... -std=gnu99
checking whether gcc -std=gnu99 and cc understand -c and -o together... yes
checking sasl/sasl.h usability... no
checking sasl/sasl.h presence... no
checking for sasl/sasl.h... no
checking for gcov... /usr/bin/gcov
checking for main in -lgcov... yes
checking for library containing clock_gettime... -lrt
checking for library containing socket... none required
checking for library containing gethostbyname... none required
checking for libevent directory... (system)
checking for library containing umem_cache_create... no
checking for library containing gethugepagesizes... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inttypes.h... (cached) yes
checking for sasl_callback_ft... no
checking for print macros for integers (C99 section 7.8.1)... yes
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for endianness... little
checking for htonll... no
checking for library containing pthread_create... none required
checking for mlockall... yes
checking for getpagesizes... no
checking for memcntl... no
checking for sigignore... yes
checking for clock_gettime... yes
checking for alignment... need
checking for GCC atomics... yes
checking for setppriv... no
checking umem.h usability... no
checking umem.h presence... no
checking for umem.h... no
checking for xml2rfc... no
checking for xsltproc... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
/app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/abstract_response.rb:48:in `return!': 404 Resource Not Found (RestClient::ResourceNotFound)
    from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:230:in `process_result'
    from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:178:in `block in transmit'
    from /usr/local/lib/ruby/1.9.1/net/http.rb:627:in `start'
    from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:172:in `transmit'
    from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in `execute'
    from /app/vendor/gems/gems/rest-client-1.6.7/lib/restclient/request.rb:33:in `execute'
    from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/rest_api.rb:89:in `execute'
    from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/rest_api.rb:45:in `get'
    from /app/vendor/gems/gems/couchrest-1.1.2/lib/couchrest/database.rb:82:in `get'
    from /app/bin/make:19:in `block (2 levels) in <main>'
    from /app/bin/make:18:in `chdir'
    from /app/bin/make:18:in `block in <main>'
    from /usr/local/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
    from /app/bin/make:17:in `<main>'
bin/make:66:in `chdir': No such file or directory - /app/vendor/memcached-1.4 (Errno::ENOENT)
    from bin/make:66:in `block (2 levels) in <main>'
    from bin/make:18:in `chdir'
    from bin/make:18:in `block in <main>'
    from /usr/local/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
    from bin/make:17:in `<main>'
>> Downloading build artifacts to: /tmp/memcached-1.4.tgz
   (available at http://<snip />.herokuapp.com/output/f1ff5e26-5016-43b9-ab25-8a0ff612612a)
@wuputah
wuputah commented Dec 12, 2012

Should be fixed in 0.8.1.

@wuputah wuputah closed this Dec 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.