You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (Jira)" <ji...@apache.org> on 2022/05/03 15:34:00 UTC
[jira] [Closed] (PROTON-1950) [proton-c] build intermittently fails to produce good python tox header file
[ https://issues.apache.org/jira/browse/PROTON-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross closed PROTON-1950.
-------------------------------
Resolution: Cannot Reproduce
We believe this is stale.
> [proton-c] build intermittently fails to produce good python tox header file
> ----------------------------------------------------------------------------
>
> Key: PROTON-1950
> URL: https://issues.apache.org/jira/browse/PROTON-1950
> Project: Qpid Proton
> Issue Type: Bug
> Components: build
> Affects Versions: proton-c-0.25.0
> Reporter: Charles E. Rolke
> Priority: Major
>
> Building from source, not installed, and running tests:
> {{ mkdir build
> cd build
> cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/local ..
> make -j 8
> make test
> }}
> fails python-tox-test. To see what's wrong:
> {{ ctest -VV -R python-tox-test
> }}
> shows:
> {{ 33: /home/chug/tmp/proton-0.26-rc2/qpid-proton-0.26.0/build/python/dist/src/core/message.c:118:24:
> error: ‘HEADER_PRIORITY_DEFAULT’ undeclared (first use in this function)
> 33: if (msg->priority != HEADER_PRIORITY_DEFAULT) {
> }}
> It looks like the header file that defines HEADER_PRIORITY_DEFAULT has an issue.
> By running 'make' again python-tox-test passes. I suspect that there is some kind of race with doing 'make -j 8' if running make again fixes things.
> This error does not always happen. Sometimes I can do clean cmake/build and it works just fine.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org