qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Danek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DISPATCH-757) Qpid Dispatch does not compile under Ubuntu
Date Thu, 18 May 2017 07:56:04 GMT

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

Jiri Danek commented on DISPATCH-757:
-------------------------------------

Generating test failures is actually quite easy, by just running something like

{noformat}
ctest -VV --repeat-until-fail 100
{noformat}

it is currently possible for me to see failures (some of them duplicates of one another) in

         13 - system_tests_link_routes (Failed)
         14 - system_tests_autolinks (Failed)
         15 - system_tests_drain (Failed)
         16 - system_tests_management (Failed)
         17 - system_tests_one_router (Timeout)
         18 - system_tests_policy (Failed)
         20 - system_tests_protocol_settings (Timeout)
         21 - system_tests_qdmanage (Failed)
         23 - system_tests_sasl_plain (Failed)
         27 - system_tests_two_routers (Failed)
         28 - system_tests_three_routers (Failed)
         29 - system_tests_multi_tenancy (Failed)
         30 - system_tests_dynamic_terminus (Failed)
         31 - system_tests_log_message_components (Failed)
         32 - system_tests_failover_list (Failed)

The command above also creates coredumps for crashed tests in the tests directory.

There is probably little point in me trying to report all of them, because whoever is fixing
this can as well just run the tests for themselves. Also, there is likelihood what I report
will overlap with what Chuck is reporting. So I won't do it.

> Qpid Dispatch does not compile under Ubuntu
> -------------------------------------------
>
>                 Key: DISPATCH-757
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-757
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>             Fix For: 1.0.0
>
>
> Got the following error message when compiling qpid-dispatch master on ubuntu:latest.
> The following is the compile error - 
> {noformat}
> [ 66%] Building C object src/CMakeFiles/qpid-dispatch.dir/trace_mask.c.o
> [ 67%] Building C object src/CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o
> /main/qpid-dispatch/src/http-libwebsockets.c: In function 'logger':
> /main/qpid-dispatch/src/http-libwebsockets.c:54:23: error: implicit declaration of function
'isspace' [-Werror=implicit-function-declaration]
>      while (len > 1 && isspace(line[len-1])) { /* Strip trailing newline */
>                        ^
> cc1: all warnings being treated as errors
> src/CMakeFiles/qpid-dispatch.dir/build.make:1184: recipe for target 'src/CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o'
failed
> make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/http-libwebsockets.c.o] Error 1
> CMakeFiles/Makefile2:981: recipe for target 'src/CMakeFiles/qpid-dispatch.dir/all' failed
> make[1]: *** [src/CMakeFiles/qpid-dispatch.dir/all] Error 2
> make: *** [all] Error 2
> Makefile:138: recipe for target 'all' failed
> The command '/bin/sh -c cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make install'
returned a non-zero code: 2
> [gmurthy@localhost dockerfiles]$ 
> {noformat}
> The following is the docker file used
> {noformat}
> #
> # Licensed to the Apache Software Foundation (ASF) under one
> # or more contributor license agreements.  See the NOTICE file
> # distributed with this work for additional information
> # regarding copyright ownership.  The ASF licenses this file
> # to you under the Apache License, Version 2.0 (the
> # "License"); you may not use this file except in compliance
> # with the License.  You may obtain a copy of the License at
> #
> #   http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing,
> # software distributed under the License is distributed on an
> # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> # KIND, either express or implied.  See the License for the
> # specific language governing permissions and limitations
> # under the License.
> #
> # Gets the latest Ubuntu from dockerhub
> FROM ubuntu:latest
> MAINTAINER "dev@qpid.apache.org"
> # Install all the required packages. Some in this list were picked off from proton's
INSTALL.md (https://github.com/apache/qpid-proton/blob/master/INSTALL.md) and the rest are
from dispatch (https://github.com/apache/qpid-dispatch/blob/master/README)
> RUN apt-get update && apt-get -y install gcc cmake cmake-curses-gui uuid-dev
libssl-dev libsasl2-2 libsasl2-dev sasl2-bin swig python-dev ruby-dev libperl-dev git make
doxygen valgrind emacs libuv1 libuv1-dev
> # Create a main directory and clone the qpid-proton repo from github
> RUN mkdir /main && cd /main && git clone https://git-wip-us.apache.org/repos/asf/qpid-proton.git
&& cd /main/qpid-proton && mkdir /main/qpid-proton/build
> WORKDIR /main/qpid-proton/build
> # make and install proton
> RUN cmake .. -DSYSINSTALL_BINDINGS=ON -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_PYTHON=ON
&& make install
> # download libwebsockets code from https://github.com/warmcat/libwebsockets/commits/v2.1-stable
> RUN cd /main && git clone --branch v2.1-stable https://github.com/warmcat/libwebsockets.git
&& mkdir /main/libwebsockets/build
> WORKDIR /main/libwebsockets/build
> RUN cmake .. && make install
> # Clone the qpid-dispatch git repo
> RUN cd /main && git clone https://git-wip-us.apache.org/repos/asf/qpid-dispatch.git
&& mkdir /main/qpid-dispatch/build
> WORKDIR /main/qpid-dispatch/build
> RUN cmake .. -DCMAKE_INSTALL_PREFIX=/usr && make install
> # Add site-packages to the PYTHONPATH environment variable. This is because Ubuntu does
not list the site-packages folder in the sys.path 
> ENV PYTHONPATH=/usr/lib/python2.7/site-packages
> # Uncomment the following line if you would like to run all the dispatch unit tests and
system tests. 
> # RUN ctest -VV
> # Start the dispatch router
> CMD ["qdrouterd"]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message