You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jeff Laughlin (JIRA)" <qp...@incubator.apache.org> on 2010/02/04 04:08:27 UTC
[jira] Created: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
--------------------------------------------------------------------------------------
Key: QPID-2389
URL: https://issues.apache.org/jira/browse/QPID-2389
Project: Qpid
Issue Type: Bug
Components: C++ Broker
Affects Versions: 0.6
Environment: Debian GNU/Linux 5.0.3 (lenny)
Reporter: Jeff Laughlin
Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
Making all in managementgen
make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
Making all in etc
make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
Making all in src
make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
./rubygen.mk
make[1]: execvp: ./rubygen.mk: Permission denied
make[1]: *** [rubygen.mk] Error 127
make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
Posted by "Jeff Laughlin (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850765#action_12850765 ]
Jeff Laughlin commented on QPID-2389:
-------------------------------------
Problem still exists in 0.6 release.
make[1]: execvp: ./rubygen.mk: Permission denied
If I chmod a+x /home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/src/rubygen.mk
I get a little bit farther:
Making all in managementgen
make[1]: Entering directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/managementgen'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/managementgen'
Making all in etc
make[1]: Entering directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/etc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/etc'
Making all in src
make[1]: Entering directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/src'
./rubygen.mk
./rubygen.mk: line 1: srcdir: command not found
./rubygen.mk: line 1: /rubygen.mk:: No such file or directory
./rubygen.mk: line 2: rgen_cmd: command not found
./rubygen.mk: line 2: srcdir: command not found
./rubygen.mk: line 2: /rubygen.mk: No such file or directory
make[1]: *** [rubygen.mk] Error 127
make[1]: Leaving directory `/home/jlaughlin/qpid_0.6/qpid_0.6-svn/cpp/src'
make: *** [all-recursive] Error 1
Is there a way to turn off JUST the Ruby bindings and keep the Python bindings on?
> 0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
> --------------------------------------------------------------------------------------
>
> Key: QPID-2389
> URL: https://issues.apache.org/jira/browse/QPID-2389
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.6
> Environment: Debian GNU/Linux 5.0.3 (lenny)
> Reporter: Jeff Laughlin
>
> Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
> jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
> Making all in managementgen
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> Making all in etc
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> Making all in src
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> ./rubygen.mk
> make[1]: execvp: ./rubygen.mk: Permission denied
> make[1]: *** [rubygen.mk] Error 127
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
Posted by "Carl Trieloff (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850897#action_12850897 ]
Carl Trieloff commented on QPID-2389:
-------------------------------------
Have you tried a full tree checkout and then building from the C++ dir. reason I ask is that a few things have been moved around and this would resolve unforeseen dependancies not yet corrected
> 0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
> --------------------------------------------------------------------------------------
>
> Key: QPID-2389
> URL: https://issues.apache.org/jira/browse/QPID-2389
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.6
> Environment: Debian GNU/Linux 5.0.3 (lenny)
> Reporter: Jeff Laughlin
>
> Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
> jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
> Making all in managementgen
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> Making all in etc
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> Making all in src
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> ./rubygen.mk
> make[1]: execvp: ./rubygen.mk: Permission denied
> make[1]: *** [rubygen.mk] Error 127
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
Posted by "Jeff Laughlin (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884505#action_12884505 ]
Jeff Laughlin commented on QPID-2389:
-------------------------------------
No. I don't want to check out the java broker.
It's caused by the specs directory being missing. the build system just needs to check for it's existence.
> 0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
> --------------------------------------------------------------------------------------
>
> Key: QPID-2389
> URL: https://issues.apache.org/jira/browse/QPID-2389
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.6
> Environment: Debian GNU/Linux 5.0.3 (lenny)
> Reporter: Jeff Laughlin
>
> Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
> jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
> Making all in managementgen
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> Making all in etc
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> Making all in src
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> ./rubygen.mk
> make[1]: execvp: ./rubygen.mk: Permission denied
> make[1]: *** [rubygen.mk] Error 127
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
Posted by "Jeff Laughlin (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850773#action_12850773 ]
Jeff Laughlin commented on QPID-2389:
-------------------------------------
Soooo it turns out that if I check out the specs dir as well as the cpp dir then autoconf finds some XML file that causes some lines in src/Makefile to come out uncommented that set the rgen_cmd variable which magically makes everything work.
Why did I not have the specs dir? Because I don't want to check out the ENORMOUS java broker dir.
Here's a snippit of the configure.ac that seems to be responsible for activating the bad behavior
specdir=`pwd`/$srcdir/../specs
AMQP_FINAL_XML=$specdir/amqp.0-10-qpid-errata.xml
AC_SUBST(AMQP_FINAL_XML)
AM_CONDITIONAL([GENERATE], [test -f $AMQP_FINAL_XML])
test -f $AMQP_FINAL_XML -a -z "$RUBY" && AC_MSG_ERROR([Missing ruby installation (try "yum install ruby").])
If that XML file is not found, then these lines on src/Makefile come out commented:
# Ruby generator.
#rgen_dir = $(top_srcdir)/rubygen
#rgen_cmd = ruby -I $(rgen_dir) $(rgen_dir)/generate . ../include $(specs) all
But THESE lines are NOT commented out (I don't know why, it looks like they should be, they are decorated with @GENERATE_TRUE@ in Makefile.in):
$(rgen_srcs) $(srcdir)/rubygen.mk: rgen.timestamp
rgen.timestamp: $(rgen_generator) $(specs)
$(rgen_cmd) $(srcdir)/rubygen.mk; touch $@
$(rgen_generator):
And rgen_cmd is undefined so make tries to run rubygen.mk as a command and then freaks out.
I humbly suggest that this is still a symptom of a bug in the build system. I also suggest adding instructions to the wiki for building the cpp broker from trunk without getting the ginormous java broker sources.
> 0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
> --------------------------------------------------------------------------------------
>
> Key: QPID-2389
> URL: https://issues.apache.org/jira/browse/QPID-2389
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.6
> Environment: Debian GNU/Linux 5.0.3 (lenny)
> Reporter: Jeff Laughlin
>
> Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
> jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
> Making all in managementgen
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> Making all in etc
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> Making all in src
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> ./rubygen.mk
> make[1]: execvp: ./rubygen.mk: Permission denied
> make[1]: *** [rubygen.mk] Error 127
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] Commented: (QPID-2389) 0.6 RC from SVN fails to build with
"make[1]: execvp: ./rubygen.mk: Permission denied"
Posted by "aaron fabbri (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902761#action_12902761 ]
aaron fabbri commented on QPID-2389:
------------------------------------
I just hit this, but I have a full tree checkout (the specs dir is available). Any hints?
> 0.6 RC from SVN fails to build with "make[1]: execvp: ./rubygen.mk: Permission denied"
> --------------------------------------------------------------------------------------
>
> Key: QPID-2389
> URL: https://issues.apache.org/jira/browse/QPID-2389
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.6
> Environment: Debian GNU/Linux 5.0.3 (lenny)
> Reporter: Jeff Laughlin
>
> Checked out 906327 from 0.6 branch, ./bootstrap, ./configure, then make and I get
> jlaughlin@kamikaze:~/qpid/broker/svn/0.6-release-cpp$ make
> Making all in managementgen
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/managementgen'
> Making all in etc
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/etc'
> Making all in src
> make[1]: Entering directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> ./rubygen.mk
> make[1]: execvp: ./rubygen.mk: Permission denied
> make[1]: *** [rubygen.mk] Error 127
> make[1]: Leaving directory `/home/jlaughlin/qpid/broker/svn/0.6-release-cpp/src'
> make: *** [all-recursive] Error 1
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org