#43473: rabbitmq-server: build fails when Python 2.7 is not the active version ------------------------------+--------------------- Reporter: poorsod@… | Owner: meyer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: rabbitmq-server | ------------------------------+--------------------- Comment (by robertoschwald@…): Same problem here: {{{ :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work /rabbitmq-server-3.1.5' :info:build Makefile:375: deps.mk: No such file or directory :info:build python codegen.py body codegen/amqp-rabbitmq-0.9.1.json codegen/credit_extension.json src/rabbit_framing_amqp_0_9_1.erl :info:build You don't appear to have simplejson.py installed :info:build (an implementation of a JSON reader and writer in Python). :info:build You can install it: :info:build - by running 'apt-get install python-simplejson' on Debian- based systems, :info:build - by running 'yum install python-simplejson' on Fedora/Red Hat system, :info:build - by running 'port install py25-simplejson' on Macports on OS X :info:build (you may need to say 'make PYTHON=python2.5', as well), :info:build - from sources from 'http://pypi.python.org/pypi/simplejson' :info:build - simplejson is a standard json library in the Python core since 2.6 :info:build make: *** [src/rabbit_framing_amqp_0_9_1.erl] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work /rabbitmq-server-3.1.5' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_net_rabbitmq-server/rabbitmq-server/work /rabbitmq-server-3.1.5" && /usr/bin/make -w all :info:build Exit code: 2 :error:build org.macports.build for port rabbitmq-server returned: command execution failed :debug:build Error code: CHILDSTATUS 9482 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname" :info:build Warning: targets not executed for rabbitmq-server: org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} When selecting Python 2.6, it works. -- Ticket URL: <https://trac.macports.org/ticket/43473#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X