[
https://issues.apache.org/jira/browse/PROTON-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495827#comment-15495827
]
Alex Rudyy commented on PROTON-1302:
------------------------------------
Hi Andrew,
It looks like the change introduced in timestamp.cpp as part of commit
[https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=bf615ad] caused
the failure in proton-c build in jenkins job
[Qpid-Python-Java-Test|https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Java-Test/1154/].
The build failed with the following output:
{noformat}
Linking CXX shared library libqpid-proton-cpp.so
CMakeFiles/qpid-proton-cpp.dir/src/connector.cpp.o: In function
`proton::connector::on_transport_closed(proton::proton_event&)':
/home/jenkins/jenkins-slave/workspace/Qpid-Python-Java-Test/qpid-proton/proton-c/bindings/cpp/src/connector.cpp:83:
undefined reference to `proton::timestamp::now()'
collect2: ld returned 1 exit status
make[2]: *** [proton-c/bindings/cpp/libqpid-proton-cpp.so.9.0.0] Error 1
make[1]: *** [proton-c/bindings/cpp/CMakeFiles/qpid-proton-cpp.dir/all] Error 2
make: *** [all] Error 2
{noformat}
If you need more details about environment and installed packages please have a
look into job output log
[here|https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-Python-Java-Test/1154/console]
> Don't depend on proton-c for OS services (use std library)
> ----------------------------------------------------------
>
> Key: PROTON-1302
> URL: https://issues.apache.org/jira/browse/PROTON-1302
> Project: Qpid Proton
> Issue Type: Improvement
> Components: cpp-binding
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
>
> For example:
> * timestamp::now() uses pn_timestamp_now() but this is part of the platform
> code of proton-c and the C++ binding should not depend on it.
> * Getting an error string from a failed listener relies on getting a pn_io_t
> (from the platform code) from the pn_reactor
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]