You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Christian Lavoie (JIRA)" <ji...@apache.org> on 2010/09/22 18:00:38 UTC
[jira] Created: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
autotools doesn't barf (but fails) when some components are missing
-------------------------------------------------------------------
Key: THRIFT-915
URL: https://issues.apache.org/jira/browse/THRIFT-915
Project: Thrift
Issue Type: Bug
Affects Versions: 0.5
Environment: Debian unstable, as of 2010/09/22
Reporter: Christian Lavoie
Fix For: 0.5
When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie updated THRIFT-915:
------------------------------------
Attachment: configure-no-flex
configure-no-flex-bison
configure-no-flex-bison-pkg-config
The config logs gotten by running:
(./bootstrap.sh && ./configure --prefix=/usr/local/stow/thrift-svn-test-915) >& $LOGFILE
Logfile name should make it obvious what debian package was or wasn't missing. This is debian unstable (fairly bare system) as of a few days ago.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915639#action_12915639 ]
Christian Lavoie commented on THRIFT-915:
-----------------------------------------
Any way to detect from within configure.ac whether this is a release (or instant release) as opposed to straight from svn?
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913694#action_12913694 ]
David Reiss commented on THRIFT-915:
------------------------------------
I'm assuming that you are using an svn checkout, rather than a release or instant release tarball. Please try one of the release (or instant release) tarballs and see how it goes. That should fix the MONO issue. If you still have issues, please include the output of ./configure in your report.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914264#action_12914264 ]
Christian Lavoie commented on THRIFT-915:
-----------------------------------------
David, you're right this is an svn checkout. Revision 1000647 -- as of a few hours ago.
I'll try with 0.4 and report again, in the meantime, I'm not sure why AC_PROG_LEX and AC_PROG_YACC haven't properly caught the lack of flex/bison. It'd be worthwhile to test for pkg-config too.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915833#action_12915833 ]
David Reiss commented on THRIFT-915:
------------------------------------
Possibly. What would you want to do with that information?
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.6
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury updated THRIFT-915:
---------------------------------
Fix Version/s: 0.6
(was: 0.5)
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.6
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Lavoie updated THRIFT-915:
------------------------------------
Attachment: dpkg.log
make-no-flex
make-no-flex-bison
Version of debian packages installed (or not) and make output.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "Christian Lavoie (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12915836#action_12915836 ]
Christian Lavoie commented on THRIFT-915:
-----------------------------------------
Conditionally check for flex, bison and pkg-config, and dump appropriate error messages.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.6
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (THRIFT-915) autotools doesn't barf (but fails)
when some components are missing
Posted by "David Reiss (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914265#action_12914265 ]
David Reiss commented on THRIFT-915:
------------------------------------
Lex, Yacc, and pkg-config are not required when building from a release (or instant release) tarball.
> autotools doesn't barf (but fails) when some components are missing
> -------------------------------------------------------------------
>
> Key: THRIFT-915
> URL: https://issues.apache.org/jira/browse/THRIFT-915
> Project: Thrift
> Issue Type: Bug
> Affects Versions: 0.5
> Environment: Debian unstable, as of 2010/09/22
> Reporter: Christian Lavoie
> Fix For: 0.5
>
> Attachments: configure-no-flex, configure-no-flex-bison, configure-no-flex-bison-pkg-config, dpkg.log, make-no-flex, make-no-flex-bison
>
>
> When some fundamental components are missing (flex, yacc, pkg-config, partial-boosts install...), thrift's configure.ac dies in non-obvious ways. In some cases it aborts with a MONO-related error (it complains about parsing errors near the 'MONO' token) or sometimes just halts halfway through the configure tests (it'll stop before running config.status and after checking for the slew of c functions.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.