Merge lp:~vorlon/process-cpp/explicit-gcc-version into lp:process-cpp

Proposed by Marcus Tomlinson
Status: Merged
Approved by: Thomas Voß
Approved revision: 54
Merged at revision: 53
Proposed branch: lp:~vorlon/process-cpp/explicit-gcc-version
Merge into: lp:process-cpp
Diff against target: 101 lines (+25/-6)
5 files modified
CMakeLists.txt (+2/-2)
debian/changelog (+6/-0)
debian/control (+6/-2)
debian/libprocess-cpp2.symbols (+1/-2)
debian/rules (+10/-0)
To merge this branch: bzr merge lp:~vorlon/process-cpp/explicit-gcc-version
Reviewer Review Type Date Requested Status
Thomas Voß (community) Approve
Marcus Tomlinson (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+226594@code.launchpad.net

This proposal supersedes a proposal from 2014-07-12.

Commit message

Bump major revision and so name to account for toolchain update.

Description of the change

Bump major revision and so name to account for toolchain update.

To post a comment you must log in.
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote : Posted in a previous version of this proposal

Steve:

This branch duplicates changes already appearing in lp:~thomas-voss/process-cpp/bump-so-name-and-major-version

Could you please, rebase this branch so that your diff shows only the additions you've made.

review: Needs Fixing
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote : Posted in a previous version of this proposal

Otherwise, is it not cleaner to just have tvoss update his branch with this change?

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:54
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~vorlon/process-cpp/explicit-gcc-version/+merge/226569/+edit-commit-message

http://jenkins.qa.ubuntu.com/job/process-cpp-ci/68/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/process-cpp-utopic-amd64-ci/7
    SUCCESS: http://jenkins.qa.ubuntu.com/job/process-cpp-utopic-armhf-ci/7
        deb: http://jenkins.qa.ubuntu.com/job/process-cpp-utopic-armhf-ci/7/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/process-cpp-utopic-i386-ci/7

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/process-cpp-ci/68/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Steve Langasek (vorlon) wrote : Posted in a previous version of this proposal

Marcus,

"prerequisite" implies that the other branch should be merged independently and that my branch should be merged afterwards. As I described at <https://code.launchpad.net/~thomas-voss/process-cpp/explicit-gcc-version/+merge/224755>, which I have marked as rejected, Thomas's branch is broken and causes a build failure on one architecture and can therefore not be landed. There is no reason for these branches to be landed serially when the first one is broken.

As for asking tvoss to include the changes in his own branch, this is part of a landing of 17 distinct branches that have been pending since the 27th of June and are blocking a toolchain update for Utopic. As I'm working on getting the landing unstuck by clearing the build failures, it would not make sense to wait until Thomas can merge these changes into his branch when I can just raise a new MP myself.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote : Posted in a previous version of this proposal

> Marcus,
>
> "prerequisite" implies that the other branch should be merged independently
> and that my branch should be merged afterwards. As I described at
> <https://code.launchpad.net/~thomas-voss/process-cpp/explicit-gcc-
> version/+merge/224755>, which I have marked as rejected, Thomas's branch is
> broken and causes a build failure on one architecture and can therefore not be
> landed. There is no reason for these branches to be landed serially when the
> first one is broken.

Ah, forgive me for finding this arrangement of branches confusing. So there is a 3rd branch with the exact same stuff in it? Perhaps you should reject lp:~thomas-voss/process-cpp/bump-so-name-and-major-version as well. Its difficult to tell which branch is the master.

>
> As for asking tvoss to include the changes in his own branch, this is part of
> a landing of 17 distinct branches that have been pending since the 27th of
> June and are blocking a toolchain update for Utopic. As I'm working on
> getting the landing unstuck by clearing the build failures, it would not make
> sense to wait until Thomas can merge these changes into his branch when I can
> just raise a new MP myself.

I've clearly intruded on something you're in control of. Sorry.

review: Abstain
Revision history for this message
Steve Langasek (vorlon) wrote : Posted in a previous version of this proposal

Aha, thanks, I didn't even notice that the branch you mentioned wasn't the same one I had superseded the MP for! Yes, I'll mark that other MP rejected as well now.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Resubmitted as originally intended. Sorry again about the prerequisite mixup.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

fwiw, this looks good to me.

review: Approve
Revision history for this message
Thomas Voß (thomas-voss) wrote :

LGTM.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-05-21 16:56:20 +0000
3+++ CMakeLists.txt 2014-07-12 22:57:38 +0000
4@@ -56,9 +56,9 @@
5 SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
6 ENDIF(cmake_build_type_lower MATCHES coverage)
7
8-set(PROCESS_CPP_VERSION_MAJOR 1)
9+set(PROCESS_CPP_VERSION_MAJOR 2)
10 set(PROCESS_CPP_VERSION_MINOR 0)
11-set(PROCESS_CPP_VERSION_PATCH 1)
12+set(PROCESS_CPP_VERSION_PATCH 0)
13
14 include(CTest)
15
16
17=== modified file 'debian/changelog'
18--- debian/changelog 2014-05-22 09:49:51 +0000
19+++ debian/changelog 2014-07-12 22:57:38 +0000
20@@ -1,3 +1,9 @@
21+process-cpp (2.0.0) UNRELEASED; urgency=medium
22+
23+ * Bump major revision and so name to account for toolchain update.
24+
25+ -- Thomas Voß <thomas.voss@canonical.com> Fri, 27 Jun 2014 09:49:30 +0200
26+
27 process-cpp (1.0.1+14.10.20140522-0ubuntu1) utopic; urgency=medium
28
29 [ Pete Woods ]
30
31=== modified file 'debian/control'
32--- debian/control 2014-03-24 17:12:32 +0000
33+++ debian/control 2014-07-12 22:57:38 +0000
34@@ -6,6 +6,10 @@
35 doxygen,
36 google-mock,
37 graphviz,
38+# We rely on C++11 features, and to prevent from ABI breaks
39+# in libstdc++ causing us issues, we explicitly select a G++
40+# version.
41+ g++-4.9,
42 libboost-dev,
43 libboost-iostreams-dev,
44 libboost-system-dev,
45@@ -19,7 +23,7 @@
46 Vcs-Bzr: https://code.launchpad.net/~phablet-team/content-hub/trunk
47 Vcs-Browser: https://bazaar.launchpad.net/~phablet-team/process-cpp/trunk/files
48
49-Package: libprocess-cpp1
50+Package: libprocess-cpp2
51 Architecture: any
52 Multi-Arch: same
53 Pre-Depends: ${misc:Pre-Depends},
54@@ -35,7 +39,7 @@
55 Architecture: any
56 Multi-Arch: same
57 Recommends: libprocess-cpp-doc,
58-Depends: libprocess-cpp1 (= ${binary:Version}),
59+Depends: libprocess-cpp2 (= ${binary:Version}),
60 ${misc:Depends},
61 libproperties-cpp-dev,
62 Description: C++11 library for handling processes - dev headers and libraries
63
64=== renamed file 'debian/libprocess-cpp1.install' => 'debian/libprocess-cpp2.install'
65=== renamed file 'debian/libprocess-cpp1.symbols' => 'debian/libprocess-cpp2.symbols'
66--- debian/libprocess-cpp1.symbols 2014-05-22 09:49:50 +0000
67+++ debian/libprocess-cpp2.symbols 2014-07-12 22:57:38 +0000
68@@ -1,4 +1,4 @@
69-libprocess-cpp.so.1 libprocess-cpp1 #MINVER#
70+libprocess-cpp.so.2 libprocess-cpp2 #MINVER#
71 (c++)"core::posix::Signalable::send_signal(core::posix::Signal, std::error_code&)@Base" 1.0.0+14.04.20140326.2
72 (c++)"core::posix::Signalable::send_signal_or_throw(core::posix::Signal)@Base" 1.0.0+14.04.20140326.2
73 (c++)"core::posix::ChildProcess::DeathObserver::create_once_with_signal_trap(std::shared_ptr<core::posix::SignalTrap>)@Base" 1.0.0+14.04.20140326.2
74@@ -8,7 +8,6 @@
75 (c++)"core::posix::ChildProcess::invalid()@Base" 0.0.1+14.04.20140311
76 (c++)"core::posix::ChildProcess::wait_for(core::posix::wait::Flags const&)@Base" 0.0.1+14.04.20140311
77 (c++)"core::posix::ChildProcess::~ChildProcess()@Base" 1.0.0+14.04.20140326.2
78- (c++|arch=ppc64el)"core::posix::ChildProcess::ChildProcess(core::posix::ChildProcess const&)@Base" 1.0.0+14.04.20140326.2
79 (c++)"core::posix::this_process::cin()@Base" 1.0.0+14.04.20140326.2
80 (c++)"core::posix::this_process::env::get_or_throw(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 1.0.0+14.04.20140326.2
81 (c++)"core::posix::this_process::env::set_or_throw(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 1.0.0+14.04.20140326.2
82
83=== modified file 'debian/rules'
84--- debian/rules 2013-10-21 12:07:28 +0000
85+++ debian/rules 2014-07-12 22:57:38 +0000
86@@ -3,5 +3,15 @@
87
88 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
89
90+include /usr/share/dpkg/default.mk
91+
92+# Explicitly selecting a G{CC,++}-version here to avoid accidental
93+# ABI breaks introduced by toolchain updates.
94+export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
95+export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
96+
97 %:
98 dh $@ --fail-missing
99+
100+override_dh_auto_configure:
101+ dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)

Subscribers

People subscribed via source and target branches