Merge lp:~thomas-voss/platform-api/explicit-gcc-version into lp:platform-api

Proposed by Thomas Voß
Status: Rejected
Rejected by: Steve Langasek
Proposed branch: lp:~thomas-voss/platform-api/explicit-gcc-version
Merge into: lp:platform-api
Diff against target: 60 lines (+21/-1)
3 files modified
debian/changelog (+6/-0)
debian/control (+5/-1)
debian/rules (+10/-0)
To merge this branch: bzr merge lp:~thomas-voss/platform-api/explicit-gcc-version
Reviewer Review Type Date Requested Status
Steve Langasek Disapprove
Colin Watson Needs Fixing
PS Jenkins bot continuous-integration Needs Fixing
Matthias Klose Pending
Ricardo Mendoza Pending
Review via email: mp+224764@code.launchpad.net

Commit message

Explicitly select g++-4.9 to prevent from ABI breaks.

Description of the change

Explicitly select g++-4.9 to prevent from ABI breaks.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Colin Watson (cjwatson) wrote :

Why the change in ubuntu-application-api2-touch's package name? If that's intentional, then you haven't also renamed debian/ubuntu-application-api2-touch.install, which is why you have build failures.

I notice you haven't bumped the SONAME here. Does platform-api shield its users from the C++ implementation details?

review: Needs Fixing
235. By Steve Langasek

Revert accidental binary package rename, causing a build failure

Revision history for this message
Steve Langasek (vorlon) wrote :

The symbols files show that these packages only export a C ABI, so there are no C++11 ABI problems here. Of course, the binary package name change is still fatal here and should be reverted.

Superseded by https://code.launchpad.net/~vorlon/platform-api/explicit-gcc-version/+merge/226566

review: Disapprove

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2014-06-24 20:22:48 +0000
+++ debian/changelog 2014-06-27 08:38:00 +0000
@@ -1,3 +1,9 @@
1platform-api (2.1.0+14.10.20140624.4-0ubuntu2) UNRELEASED; urgency=medium
2
3 * Explicitly select g++-4.9 to prevent from ABI breaks.
4
5 -- Thomas Voß <thomas.voss@canonical.com> Fri, 27 Jun 2014 10:36:28 +0200
6
1platform-api (2.1.0+14.10.20140624.4-0ubuntu1) utopic; urgency=low7platform-api (2.1.0+14.10.20140624.4-0ubuntu1) utopic; urgency=low
28
3 [ Ricardo Mendoza ]9 [ Ricardo Mendoza ]
410
=== modified file 'debian/control'
--- debian/control 2014-06-13 16:31:35 +0000
+++ debian/control 2014-06-27 08:38:00 +0000
@@ -7,6 +7,10 @@
7 debhelper (>= 9),7 debhelper (>= 9),
8 doxygen,8 doxygen,
9 graphviz,9 graphviz,
10# We rely on C++11 features, and to prevent from ABI breaks
11# in libstdc++ causing us issues, we explicitly select a G++
12# version.
13 g++-4.9,
10 libgles2-mesa-dev,14 libgles2-mesa-dev,
11 libhybris-common-dev,15 libhybris-common-dev,
12 pkg-config,16 pkg-config,
@@ -77,7 +81,7 @@
77 This package provides the development library and headers (via81 This package provides the development library and headers (via
78 dependency) for the Ubuntu Application API.82 dependency) for the Ubuntu Application API.
7983
80Package: ubuntu-application-api2-touch84Package: ubuntu-application-api-touch
81Section: libs85Section: libs
82Pre-Depends: ${misc:Pre-Depends},86Pre-Depends: ${misc:Pre-Depends},
83Multi-Arch: same87Multi-Arch: same
8488
=== modified file 'debian/rules'
--- debian/rules 2014-05-20 14:24:10 +0000
+++ debian/rules 2014-06-27 08:38:00 +0000
@@ -2,9 +2,19 @@
22
3DPKG_GENSYMBOLS_CHECK_LEVEL = 43DPKG_GENSYMBOLS_CHECK_LEVEL = 4
44
5include /usr/share/dpkg/default.mk
6
7# Explicitly selecting a G{CC,++}-version here to avoid accidental
8# ABI breaks introduced by toolchain updates.
9export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
10export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
11
5%:12%:
6 dh $@13 dh $@
714
15override_dh_auto_configure:
16 dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)
17
8override_dh_install:18override_dh_install:
9 dh_install --fail-missing19 dh_install --fail-missing
1020

Subscribers

People subscribed via source and target branches