[ 
https://issues.apache.org/jira/browse/PROTON-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648093#comment-14648093
 ] 

ASF subversion and git services commented on PROTON-953:
--------------------------------------------------------

Commit 7fa2c88b470eb79c1b2aaad989557ae7b2dedd04 in qpid-proton's branch 
refs/heads/master from [~kgiusti]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=7fa2c88 ]

PROTON-953: allow non-linux platforms to run setup.py


> Travis CI tox tests fail to correctly build python 2.6 extension lib
> --------------------------------------------------------------------
>
>                 Key: PROTON-953
>                 URL: https://issues.apache.org/jira/browse/PROTON-953
>             Project: Qpid Proton
>          Issue Type: Bug
>    Affects Versions: 0.10
>         Environment: Travis CI ubuntu
>            Reporter: Andrew Stitcher
>            Assignee: Ken Giusti
>
> In the current Travis CI build the tox tests fail to correctly build the 
> python 2.6 extension lib:
> {noformat}
> ...
> test 3
>       Start  3: python-tox-test
> 3: Test command: /home/travis/virtualenv/python2.7.9/bin/python 
> "/home/travis/build/apache/qpid-proton/proton-c/env.py" 
> "PATH=/home/travis/build/apache/qpid-proton/Build/proton-c:/home/travis/build/apache/qpid-proton/Build/tests/tools/apps/c:/home/travis/build/apache/qpid-proton/tests/tools/apps/python:/home/travis/.local/bin:/home/travis/virtualenv/python2.7.9/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:/home/travis/.nvm/v0.10.36/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/travis/.rvm/rubies/ruby-1.9.3-p551/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin"
>  "QPID_PROTON_SRC=/home/travis/build/apache/qpid-proton/proton-c/../" 
> "CLASSPATH=/home/travis/build/apache/qpid-proton/Build/proton-j/proton-j.jar" 
> "SASLPASSWD=/usr/sbin/saslpasswd2" "SWIG=/usr/bin/swig2.0" 
> "VALGRIND=/usr/bin/valgrind" "/home/travis/virtualenv/python2.7.9/bin/tox"
> 3: Test timeout computed to be: 1500
> 3: GLOB sdist-make: 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/setup.py
> 3: py26 create: 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26
> 3: py26 inst: 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip
> 3: ERROR: invocation failed (exit code 1), logfile: 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/log/py26-1.log
> 3: ERROR: actionid: py26
> 3: msg: installpkg
> 3: cmdargs: 
> [local('/home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/bin/pip'),
>  'install', 
> '/home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/dist/python-qpid-proton-0.10.0.zip']
> 3: env: {'rvm_version': '1.26.8 (1.26.8)', 'LC_CTYPE': 'en_US.UTF-8', 
> 'TRAVIS': 'true', 'TRAVIS_REPO_SLUG': 'apache/qpid-proton', 'JRUBY_OPTS': 
> '--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 
> -Xcext.enabled=false -J-Xss2m -Xcompile.invokedynamic=false', 'VIRTUAL_ENV': 
> '/home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26', 
> 'SHELL': '/bin/bash', 'TRAVIS_BRANCH': 'master', 'rvm_with_default_gems': 
> 'rake=~>10.2.2 bundler=~>1.6.0', 'VALGRIND': '/usr/bin/valgrind', 'NVM_BIN': 
> '/home/travis/.nvm/v0.10.36/bin', 'VIRTUAL_ENV_DISABLE_PROMPT': 'true', 
> 'MANPATH': 
> '/home/travis/.nvm/v0.10.36/share/man:/usr/local/clang-3.4/share/man:/usr/local/man:/usr/local/share/man:/usr/share/man',
>  'JAVA_HOME': '/usr/lib/jvm/java-7-oracle', '_system_type': 'Linux', 
> 'TRAVIS_SECURE_ENV_VARS': 'false', 'MY_RUBY_HOME': 
> '/home/travis/.rvm/rubies/ruby-1.9.3-p551', 'rvm_max_time_flag': '5', 
> 'RUBY_VERSION': 'ruby-1.9.3-p551', '_system_version': '12.04', 
> 'TRAVIS_COMMIT_RANGE': 'd9ce3cfd0916...8f82638b7e82', 'MAIL': 
> '/var/mail/travis', 'rvm_bin_path': '/home/travis/.rvm/bin', 
> 'CONTINUOUS_INTEGRATION': 'true', 'GOROOT': 
> '/home/travis/.gimme/versions/go1.4.1.linux.amd64', 'rvm_path': 
> '/home/travis/.rvm', 'RACK_ENV': 'test', 'USER': 'travis', 
> 'NVM_IOJS_ORG_MIRROR': 'https://iojs.org/dist', 'PS4': '+', 'SHLVL': '3', 
> 'MERB_ENV': 'test', 'GIT_ASKPASS': 'echo', 'GEM_PATH': 
> '/home/travis/.rvm/gems/ruby-1.9.3-p551:/home/travis/.rvm/gems/ruby-1.9.3-p551@global',
>  'HAS_ANTARES_THREE_LITTLE_FRONZIES_BADGE': 'true', 'CLASSPATH': 
> '/home/travis/build/apache/qpid-proton/Build/proton-j/proton-j.jar', 
> 'PKG_CONFIG_PATH': 'None', 'TRAVIS_COMMIT': 
> '8f82638b7e8299c8c3544516e4b8a18d185d3325', '_': '/usr/bin/ctest', 
> 'TRAVIS_TAG': '', 'SSH_CONNECTION': '172.17.42.1 39711 172.17.2.8 22', 
> 'rvm_without_gems': 'rubygems-bundler', 'TRAVIS_BUILD_NUMBER': '200', 
> '_system_name': 'Ubuntu', 'SWIG': '/usr/bin/swig2.0', 'TRAVIS_BUILD_ID': 
> '71822414', 'DEBUG': 'True', 'NVM_NODEJS_ORG_MIRROR': 
> 'https://nodejs.org/dist', 'NVM_DIR': '/home/travis/.nvm', 'HOME': 
> '/home/travis', 'TRAVIS_PULL_REQUEST': 'false', 'LANG': 'en_US.UTF-8', 
> 'TRAVIS_TEST_RESULT': '0', 'NVM_PATH': '/home/travis/.nvm/v0.10.36/lib/node', 
> 'PYTHONHASHSEED': '1834169705', '_system_arch': 'x86_64', 'CI': 'true', 
> 'rvm_prefix': '/home/travis', 'DEBIAN_FRONTEND': 'noninteractive', 
> 'rvm_user_install_flag': '1', 'IRBRC': 
> '/home/travis/.rvm/rubies/ruby-1.9.3-p551/.irbrc', 'SSH_TTY': '/dev/pts/1', 
> 'GEM_HOME': '/home/travis/.rvm/gems/ruby-1.9.3-p551', 
> 'HAS_JOSH_K_SEAL_OF_APPROVAL': 'true', 'PYTHON_CFLAGS': '-g -fstack-protector 
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security', 
> 'COMPOSER_NO_INTERACTION': '1', 'SSH_CLIENT': '172.17.42.1 39711 22', 
> 'rvm_project_rvmrc': '0', 'LOGNAME': 'travis', 'PATH': 
> '/home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/bin:/home/travis/build/apache/qpid-proton/Build/proton-c:/home/travis/build/apache/qpid-proton/Build/tests/tools/apps/c:/home/travis/build/apache/qpid-proton/tests/tools/apps/python:/home/travis/.local/bin:/home/travis/virtualenv/python2.7.9/bin:/home/travis/bin:/home/travis/.local/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:/home/travis/.nvm/v0.10.36/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/home/travis/.gimme/versions/go1.4.1.linux.amd64/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551/bin:/home/travis/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/travis/.rvm/rubies/ruby-1.9.3-p551/bin:/opt/python/2.7.9/bin:/opt/python/2.6.9/bin:/opt/python/3.4.2/bin:/opt/python/3.3.5/bin:/opt/python/3.2.5/bin:/opt/python/pypy-2.5.0/bin:/opt/python/pypy3-2.4.0/bin:/usr/local/phantomjs/bin:./node_modules/.bin:/usr/local/maven-3.2.5/bin:/usr/local/clang-3.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin:/home/travis/.rvm/bin',
>  'rvm_silence_path_mismatch_check_flag': '1', 'rvm_autoupdate_flag': '0', 
> 'TERM': 'xterm', 'NVM_IOJS_ORG_VERSION_LISTING': 
> 'https://iojs.org/dist/index.tab', 'rvm_loaded_flag': '1', 'RAILS_ENV': 
> 'test', 'CTEST_INTERACTIVE_DEBUG_MODE': '1', 'SASLPASSWD': 
> '/usr/sbin/saslpasswd2', 'TRAVIS_JOB_NUMBER': '200.1', 
> 'PYTHON_CONFIGURE_OPTS': '--enable-unicode=ucs4 --with-wide-unicode 
> --enable-shared --enable-ipv6 --enable-loadable-sqlite-extensions 
> --with-computed-gotos', 'rvm_stored_umask': '0002', 'QPID_PROTON_SRC': 
> '/home/travis/build/apache/qpid-proton/proton-c/bindings/python/../../../', 
> 'LC_ALL': 'en_US.UTF-8', 'TRAVIS_JOB_ID': '71822415', 
> 'TRAVIS_PYTHON_VERSION': '2.7', 'OLDPWD': 
> '/home/travis/build/apache/qpid-proton', 'TRAVIS_LANGUAGE': 'python', 
> 'TRAVIS_BUILD_DIR': '/home/travis/build/apache/qpid-proton', 'PWD': 
> '/home/travis/build/apache/qpid-proton/Build', 'TRAVIS_OS_NAME': 'linux'}
> 3: 
> 3: Processing ./.tox/dist/python-qpid-proton-0.10.0.zip
> 3: Building wheels for collected packages: python-qpid-proton
> 3:   Running setup.py bdist_wheel for python-qpid-proton
> 3:   Complete output from command 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/bin/python2.6
>  -c "import 
> setuptools;__file__='/tmp/pip-pbPpCz-build/setup.py';exec(compile(open(__file__).read().replace('\r\n',
>  '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmprXU2Gapip-wheel-:
> 3:   running bdist_wheel
> 3:   running build
> 3:   running build_ext
> 3:   running configure
> 3:   building '_cproton' extension
> 3:   swigging cproton.i to cproton_wrap.c
> 3:   swig -python -threads -o cproton_wrap.c cproton.i
> 3:   cproton.i:394: Error: Unable to find 'proton/cproton.i'
> 3:   error: command 'swig' failed with exit status 1
> 3:   
> 3:   ----------------------------------------
> 3:   Failed building wheel for python-qpid-proton
> 3: Failed to build python-qpid-proton
> 3: Installing collected packages: python-qpid-proton
> 3:   Running setup.py install for python-qpid-proton
> 3:     Complete output from command 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/bin/python2.6
>  -c "import setuptools, 
> tokenize;__file__='/tmp/pip-pbPpCz-build/setup.py';exec(compile(getattr(tokenize,
>  'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
> install --record /tmp/pip-G105Jg-record/install-record.txt 
> --single-version-externally-managed --compile --install-headers 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/include/site/python2.6/python-qpid-proton:
> 3:     running install
> 3:     running build
> 3:     running build_ext
> 3:     running configure
> 3:     building '_cproton' extension
> 3:     swigging cproton.i to cproton_wrap.c
> 3:     swig -python -threads -o cproton_wrap.c cproton.i
> 3:     cproton.i:394: Error: Unable to find 'proton/cproton.i'
> 3:     error: command 'swig' failed with exit status 1
> 3:     
> 3:     ----------------------------------------
> 3: Command 
> "/home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/bin/python2.6
>  -c "import setuptools, 
> tokenize;__file__='/tmp/pip-pbPpCz-build/setup.py';exec(compile(getattr(tokenize,
>  'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" 
> install --record /tmp/pip-G105Jg-record/install-record.txt 
> --single-version-externally-managed --compile --install-headers 
> /home/travis/build/apache/qpid-proton/proton-c/bindings/python/.tox/py26/include/site/python2.6/python-qpid-proton"
>  failed with error code 1 in /tmp/pip-pbPpCz-build
> 3: 
> 3: py26 installed: argparse==1.3.0,wheel==0.24.0
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to