Chuck Rolke created PROTON-1950:
-----------------------------------

             Summary: [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: Chuck Rolke


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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to