iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

Ubuntu 10.04 failure due to python 2.7 requirement #76

Closed saanvik closed 11 years ago

saanvik commented 11 years ago

From the rake.log on a vanilla 10.04 install:

STDOUT configure: exit 0 STDOUT == End of config.log == STDOUT Faked: /root/temp/build-couchdb/build/bin/makeinfo STDOUT Faked: /root/temp/build-couchdb/build/bin/help2man STDOUT python ./macro2m4.py "m4/ax_absolute_header.m4" "stage/ax_absolute_header.m4" STDERR Traceback (most recent call last): STDERR File "./macro2m4.py", line 56, in STDERR m = Macro(m4File, computeSerialNumber=True) STDERR File "/root/temp/build-couchdb/dependencies/autoconf-archive/macro.py", line 109, in init STDERR logMessages = subprocess.check_output(["git", "log", "--oneline", "--", filePath], bufsize=1) STDERR AttributeError: 'module' object has no attribute 'check_output' STDERR make: *\ [stage/ax_absolute_header.m4] Error 1 STDERR rm -f /root/temp/build-couchdb/build/bin/makeinfo STDERR rm -f /root/temp/build-couchdb/build/bin/help2man STDERR git reset --hard STDOUT HEAD is now at e6d6aa7 README, NEWS: updated for release STDERR git clean -f -d STDOUT Removing autom4te.cache/ STDOUT Removing build-aux/ STDOUT Removing stage/ STDERR git ls-files --others -i --exclude-standard | xargs rm -f || true STDOUT rm_f /root/temp/build-couchdb/build/bin/autoconf STDOUT rm_f /root/temp/build-couchdb/build/bin/autoreconf STDOUT rm_f /root/temp/build-couchdb/build/bin/autoheader STDOUT rm_f /root/temp/build-couchdb/build/bin/autom4te STDERR rake aborted! STDERR Command failed with status (2): [make maintainer-all...] STDERR /root/temp/build-couchdb/tasks/lib.rb:142:in gmake' STDERR /root/temp/build-couchdb/tasks/toolchain.rake:125:inblock (6 levels) in <top (required)>' STDERR /root/temp/build-couchdb/tasks/lib.rb:229:in with_fakes' STDERR /root/temp/build-couchdb/tasks/toolchain.rake:124:inblock (5 levels) in <top (required)>' STDERR /root/temp/build-couchdb/tasks/lib.rb:241:in block in git_work' STDERR /root/temp/build-couchdb/tasks/lib.rb:239:inchdir' STDERR /root/temp/build-couchdb/tasks/lib.rb:239:in git_work' STDERR /root/temp/build-couchdb/tasks/toolchain.rake:112:inblock (4 levels) in <top (required)>' STDERR /root/temp/build-couchdb/tasks/lib.rb:259:in with_autoconf' STDERR /root/temp/build-couchdb/tasks/toolchain.rake:111:inblock (3 levels) in <top (required)>' STDERR /root/temp/build-couchdb/tasks/lib.rb:211:in with_path' STDERR /root/temp/build-couchdb/tasks/toolchain.rake:110:inblock (2 levels) in <top (required)>' STDERR Tasks: TOP => default => couchdb:build => couchdb:couchdb => /root/temp/build-couchdb/build/bin/couchdb => /root/temp/build-couchdb/build/share/aclocal/ax_check_icu.m4

STDERR (See full trace by running task with --trace)

Upgrading to python 2.7 fixed this. Python 2.7 isn't an official package for 10.04.