[rabbitmq-discuss] rabbitmq-public-umbrella make error on debian

Simon MacMullen simon at lshift.net
Wed Mar 24 10:47:09 GMT 2010


Hi Martin.

It was me that introduced that step, so I guess I need to apologise. 
I'll try to get this fixed today, but in the mean time, you'll need to 
run "make clean" after installing xsltproc.

Cheers, Simon

On 24/03/2010 08:41, Paul Jones <paulj at lshift.net> said:
> Hi Martin,
>
> Looking through the trace, it was as I suspected - a new step in the
> build process that uses xsltproc is failing.
>
> xsltproc --stringparam modulename "`basename docs/rabbitmq-multi.1.xml
> .1.xml | tr -d -`_usage" \
> docs/usage.xsl docs/rabbitmq-multi.1.xml | sed -e s/\\\"/\\\\\\\"/g |
> sed -e s/%QUOTE%/\\\"/g | \
> fold -s > docs/`basename docs/rabbitmq-multi.1.xml .1.xml`.usage.erl
> /bin/sh: xsltproc: command not found
>
> Hopefully if you install xsltproc, then it should fix things.
>
> Cheers,
> Paul.
>
>
> Martin Destagnol wrote:
>> Hello Paul,
>>
>> To answer your previous email, here is the error on a fresh debian
>> lenny 64 bit, with all packages up to date.
>>
>> I applied the same procedure two weeks ago on other servers and it did
>> work so I suppose it's in the new release of your umbrella?
>>
>> *Erlang version*: The uptodate version of erlang on debian lenny:
>> http://packages.debian.org/lenny/erlang
>>
>> *Copy Paste: *Here is a full copy :
>>
>> *bash:~# hg clone http://hg.rabbitmq.com/rabbitmq-public-umbrella *
>> destination directory: rabbitmq-public-umbrella
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 70 changesets with 79 changes to 16 files
>> updating working directory
>> 12 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> *bash:~# cd rabbitmq-public-umbrella/*
>> *bash:~/rabbitmq-public-umbrella# make co*
>> hg clone http://hg.rabbitmq.com/rabbitmq-server
>> destination directory: rabbitmq-server
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 2929 changesets with 5116 changes to 243 files (+23 heads)
>> updating working directory
>> 119 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-codegen
>> destination directory: rabbitmq-codegen
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 77 changesets with 67 changes to 12 files (+2 heads)
>> updating working directory
>> 7 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-erlang-client
>> destination directory: rabbitmq-erlang-client
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 696 changesets with 1513 changes to 128 files (+7 heads)
>> updating working directory
>> 26 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-jsonrpc
>> destination directory: rabbitmq-jsonrpc
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 71 changesets with 168 changes to 69 files (+2 heads)
>> updating working directory
>> 6 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-mochiweb
>> destination directory: rabbitmq-mochiweb
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 40 changesets with 139 changes to 65 files (+1 heads)
>> updating working directory
>> 15 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-jsonrpc-channel
>> destination directory: rabbitmq-jsonrpc-channel
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 83 changesets with 226 changes to 94 files (+3 heads)
>> updating working directory
>> 38 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-bql
>> destination directory: rabbitmq-bql
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 93 changesets with 219 changes to 38 files (+3 heads)
>> updating working directory
>> 33 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-stomp
>> destination directory: rabbitmq-stomp
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 144 changesets with 200 changes to 55 files (+1 heads)
>> updating working directory
>> 36 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.rabbitmq.com/rabbitmq-smtp
>> destination directory: rabbitmq-smtp
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 15 changesets with 26 changes to 10 files
>> updating working directory
>> 8 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> hg clone http://hg.opensource.lshift.net/erlang-rfc4627
>> destination directory: erlang-rfc4627
>> requesting all changes
>> adding changesets
>> adding manifests
>> adding file changes
>> added 103 changesets with 207 changes to 57 files
>> updating working directory
>> 48 files updated, 0 files merged, 0 files removed, 0 files unresolved
>> *bash:~/rabbitmq-public-umbrella# make*
>> make -C rabbitmq-server all && make -C rabbitmq-codegen all && make -C
>> rabbitmq-erlang-client all && make -C rabbitmq-jsonrpc all && make -C
>> rabbitmq-mochiweb all && make -C rabbitmq-jsonrpc-channel all && make
>> -C rabbitmq-bql all && make -C rabbitmq-stomp all && make -C
>> rabbitmq-smtp all && make -C erlang-rfc4627 all && true
>> make[1]: Entering directory
>> `/root/rabbitmq-public-umbrella/rabbitmq-server'
>> python codegen.py body ../rabbitmq-codegen//amqp-0.8.json
>> src/rabbit_framing.erl
>> xsltproc --stringparam modulename "`basename docs/rabbitmqctl.1.xml
>> .1.xml | tr -d -`_usage" \
>> docs/usage.xsl docs/rabbitmqctl.1.xml | sed -e s/\\\"/\\\\\\\"/g | sed
>> -e s/%QUOTE%/\\\"/g | \
>> fold -s > docs/`basename docs/rabbitmqctl.1.xml .1.xml`.usage.erl
>> /bin/sh: xsltproc: command not found
>> cp docs/rabbitmqctl.usage.erl src/rabbitmqctl_usage.erl
>> xsltproc --stringparam modulename "`basename docs/rabbitmq-multi.1.xml
>> .1.xml | tr -d -`_usage" \
>> docs/usage.xsl docs/rabbitmq-multi.1.xml | sed -e s/\\\"/\\\\\\\"/g |
>> sed -e s/%QUOTE%/\\\"/g | \
>> fold -s > docs/`basename docs/rabbitmq-multi.1.xml .1.xml`.usage.erl
>> /bin/sh: xsltproc: command not found
>> cp docs/rabbitmq-multi.usage.erl src/rabbitmqmulti_usage.erl
>> python codegen.py header ../rabbitmq-codegen//amqp-0.8.json
>> include/rabbit_framing.hrl
>> escript generate_deps include src \$\(EBIN_DIR\) deps.mk
>> make[1]: Leaving directory
>> `/root/rabbitmq-public-umbrella/rabbitmq-server'
>> make[1]: Entering directory
>> `/root/rabbitmq-public-umbrella/rabbitmq-server'
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/gen_server2.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/pg_local.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/priority_queue.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_access_control.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_alarm.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_amqqueue.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_amqqueue_process.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_amqqueue_sup.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_basic.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_binary_generator.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_binary_parser.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_channel.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_control.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_dialyzer.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/rabbit.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_error_logger.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_error_logger_file_h.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type_direct.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type_fanout.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type_headers.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type_registry.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_exchange_type_topic.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_framing_channel.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_framing.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/rabbit_guid.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_heartbeat.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_hooks.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_limiter.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/rabbit_load.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/rabbit_log.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin src/rabbit_misc.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbit_mnesia.erl
>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>> src/rabbitmqctl_usage.erl
>> src/rabbitmqctl_usage.erl:1: no module definition
>> make[1]: *** [ebin/rabbitmqctl_usage.beam] Error 1
>> make[1]: Leaving directory
>> `/root/rabbitmq-public-umbrella/rabbitmq-server'
>> make: *** [all] Error 2
>>
>>
>> Thanks for your help,
>>
>> Martin Destagnol
>> twitter: @mdestagnol
>> mail: martin at plyce.com <mailto:martin at plyce.com>
>> tel. : +33 6 45 90 10 99
>> --
>> Plyce SAS
>> tel. : +33 1 42 33 32 24 / fax. : +33 1 53 40 82 53
>> http://www.plyce.com
>> twitter: @plyce
>>
>> On 24 mars 2010, at 07:32, Paul Jones wrote:
>>
>>> Hi Martin,
>>>
>>> What version of Erlang do you have installed? And are there any
>>> earlier errors? Could you also include the first few lines of the
>>> file that make is complaining about?
>>>
>>> The file that isn't compiling is indeed a new file, and it is being
>>> auto-generated - so I'm curious if perhaps you might be missing a
>>> build-time dependency.
>>>
>>> For future reference, it is better to email either info at rabbitmq.com
>>> <mailto:info at rabbitmq.com> (for private issues) or
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> <mailto:rabbitmq-discuss at lists.rabbitmq.com> (for public issues)
>>> rather than individual developers.
>>>
>>> Paul.
>>>
>>> On 23/03/2010 22:35, Martin Destagnol wrote:
>>>> Hello,
>>>>
>>>> I try to "make " the rabbitmq-public-umbrella" under debian 64bits,
>>>> but I've got the following error.
>>>>
>>>> erlc -I include -o ebin -Wall -v +debug_info -pa ebin
>>>> src/rabbitmqctl_usage.erl
>>>> src/rabbitmqctl_usage.erl:1: no module definition
>>>> make[1]: *** [ebin/rabbitmqctl_usage.beam] Error 1
>>>> make[1]: Leaving directory `/root/test/rabbitmq-server'
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>>
>>>> I used the exact same procedure as I did 2 weeks ago on other
>>>> servers, so I supsect a bug on your side.
>>>>
>>>> Any idea?
>>>>
>>>> Thanks for your help!
>>>>
>>>>
>>>> Martin Destagnol
>>>> twitter: @mdestagnol
>>>> mail: martin at plyce.com <mailto:martin at plyce.com>
>>>> tel. : +33 6 45 90 10 99
>>>> --
>>>> Plyce SAS
>>>> tel. : +33 1 42 33 32 24 / fax. : +33 1 53 40 82 53
>>>> http://www.plyce.com
>>>> twitter: @plyce
>>>>
>>>
>>
>
>


-- 
   [][][] Simon MacMullen
     [][] LShift Ltd
   []  [] www.lshift.net




More information about the rabbitmq-discuss mailing list