libecap2 FTBFS due to gcc5 transition

Bug #1504200 reported by Tiago Stürmer Daitx on 2015-10-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libecap (Ubuntu)
High
Unassigned

Bug Description

Currently libecap2 FTBFS on a rebuild with a few symbol changes due to gcc5 transition.

rebuild FTBFS: http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20151001-wily.html#ubuntu-server

Log from https://launchpad.net/ubuntu/+archive/test-rebuild-20151001/+build/8031290
=====
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libecap2/DEBIAN/symbols doesn't match completely debian/libecap2.symbols
--- debian/libecap2.symbols (libecap2_0.2.0-1ubuntu5_amd64)
+++ dpkg-gensymbolshtUyNq 2015-10-02 02:33:20.177489000 +0000
@@ -15,8 +15,10 @@
  _ZN7libecap12methodDeleteE@Base 0.2.0
  _ZN7libecap12protocolHttpE@Base 0.2.0
  _ZN7libecap12protocolWaisE@Base 0.2.0
- _ZN7libecap13TextExceptionC1ERKSsPKci@Base 0.2.0
- _ZN7libecap13TextExceptionC2ERKSsPKci@Base 0.2.0
+ _ZN7libecap13TextExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKci@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap13TextExceptionC1ERKSsPKci@Base 0.2.0
+ _ZN7libecap13TextExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKci@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap13TextExceptionC2ERKSsPKci@Base 0.2.0
  _ZN7libecap13TextExceptionD0Ev@Base 0.2.0
  _ZN7libecap13TextExceptionD1Ev@Base 0.2.0
  _ZN7libecap13TextExceptionD2Ev@Base 0.2.0
@@ -42,14 +44,19 @@
  _ZN7libecap23metaAuthenticatedGroupsE@Base 0.2.0
  (arch=armhf i386 powerpc)_ZN7libecap4Area14FromTempBufferEPKcj@Base 0.2.0
  (arch=any-amd64)_ZN7libecap4Area14FromTempBufferEPKcm@Base 0.2.0
- _ZN7libecap4Area14FromTempStringERKSs@Base 0.2.0
+ _ZN7libecap4Area14FromTempStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap4Area14FromTempStringERKSs@Base 0.2.0
  _ZN7libecap4Name6NextIdEv@Base 0.2.0
  _ZN7libecap4Name9TheLastIdE@Base 0.2.0
- _ZN7libecap4NameC1ERKSs@Base 0.2.0
- _ZN7libecap4NameC1ERKSsi@Base 0.2.0
+ _ZN7libecap4NameC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 0.2.0-1ubuntu5
+ _ZN7libecap4NameC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap4NameC1ERKSs@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap4NameC1ERKSsi@Base 0.2.0
  _ZN7libecap4NameC1Ev@Base 0.2.0
- _ZN7libecap4NameC2ERKSs@Base 0.2.0
- _ZN7libecap4NameC2ERKSsi@Base 0.2.0
+ _ZN7libecap4NameC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 0.2.0-1ubuntu5
+ _ZN7libecap4NameC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap4NameC2ERKSs@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# _ZN7libecap4NameC2ERKSsi@Base 0.2.0
  _ZN7libecap4NameC2Ev@Base 0.2.0
  _ZN7libecap4NameD1Ev@Base 0.2.0
  _ZN7libecap4NameD2Ev@Base 0.2.0
@@ -58,9 +65,9 @@
  _ZN7libecap6MyHostEv@Base 0.2.0
  _ZN7libecap7Message10addTrailerEv@Base 0.2.0
  _ZN7libecap7Message7trailerEv@Base 0.2.0
- (optional)_ZN7libecap7MessageD0Ev@Base 0.2.0
- (optional)_ZN7libecap7MessageD1Ev@Base 0.2.0
- (optional)_ZN7libecap7MessageD2Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZN7libecap7MessageD0Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZN7libecap7MessageD1Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZN7libecap7MessageD2Ev@Base 0.2.0
  _ZN7libecap7adapter7Service11reconfigureERKNS_7OptionsE@Base 0.2.0
  _ZN7libecap7adapter7Service4stopEv@Base 0.2.0
  _ZN7libecap7adapter7Service5startEv@Base 0.2.0
@@ -81,22 +88,24 @@
  _ZN7libecaplsERSoRKNS_4AreaE@Base 0.2.0
  _ZNK7libecap13TextException4whatEv@Base 0.2.0
  _ZNK7libecap13TextException5printERSo@Base 0.2.0
- _ZNK7libecap4Area8toStringEv@Base 0.2.0
+ _ZNK7libecap4Area8toStringB5cxx11Ev@Base 0.2.0-1ubuntu5
+#MISSING: 0.2.0-1ubuntu5# _ZNK7libecap4Area8toStringEv@Base 0.2.0
  _ZNK7libecap4Name12assignHostIdEi@Base 0.2.0
  _ZNK7libecap4Name14assignedHostIdEv@Base 0.2.0
  _ZNK7libecap7Message7trailerEv@Base 0.2.0
  _ZNK7libecap8BodySize7badSizeEv@Base 0.2.0
- (optional)_ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag@Base 0.2.0
- (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev@Base 0.2.0
- (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev@Base 0.2.0
- (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED0Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED1Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev@Base 0.2.0
  _ZNSt3tr110shared_ptrIN7libecap4host4HostEED1Ev@Base 0.2.0
  _ZNSt3tr110shared_ptrIN7libecap4host4HostEED2Ev@Base 0.2.0
  (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv@Base 0.2.0
+ _ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base 0.2.0-1ubuntu5
  (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE15_M_weak_releaseEv@Base 0.2.0
- (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 0.2.0
- (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 0.2.0
- (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 0.2.0
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base 0.2.0
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base 0.2.0
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 0.2.0
@@ -107,8 +116,10 @@
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 0.2.0
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 0.2.0
  _ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 0.2.0
- _ZNSt4listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS5_EED1Ev@Base 0.2.0
- _ZNSt4listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS5_EED2Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# _ZNSt4listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS5_EED1Ev@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# _ZNSt4listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS5_EED2Ev@Base 0.2.0
+ _ZNSt7__cxx114listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS6_EED1Ev@Base 0.2.0-1ubuntu5
+ _ZNSt7__cxx114listINSt3tr18weak_ptrIN7libecap7adapter7ServiceEEESaIS6_EED2Ev@Base 0.2.0-1ubuntu5
  _ZTIN7libecap11AreaDetailsE@Base 0.2.0
  _ZTIN7libecap13TextExceptionE@Base 0.2.0
  _ZTIN7libecap20StdStringAreaDetailsE@Base 0.2.0
@@ -131,11 +142,11 @@
  (optional)_ZTSNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
  _ZTSNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
  _ZTSNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
- _ZTVN7libecap11AreaDetailsE@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# _ZTVN7libecap11AreaDetailsE@Base 0.2.0
  _ZTVN7libecap13TextExceptionE@Base 0.2.0
  _ZTVN7libecap20StdStringAreaDetailsE@Base 0.2.0
  _ZTVN7libecap7MessageE@Base 0.2.0
  _ZTVN7libecap7adapter7ServiceE@Base 0.2.0
- (optional)_ZTVNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
+#MISSING: 0.2.0-1ubuntu5# (optional)_ZTVNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
  _ZTVNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
  (optional)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 0.2.0
dh_makeshlibs: failing due to earlier errors
/usr/share/cdbs/1/rules/debhelper.mk:264: recipe for target 'binary-fixup/libecap2' failed
make: *** [binary-fixup/libecap2] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Related branches

Tiago Stürmer Daitx (tdaitx) wrote :

* GCC5 transition (LP: #1504200)
  - d/control: rename libecap2 to libecap2v5
  - d/rules: call dh_clean to remove *.debhelper.log files
  - d/libecap2v5.symbols: update symbols

tags: added: patch
Tiago Stürmer Daitx (tdaitx) wrote :

While there is a newer libecap in -proposed (1.0), the current squid3 version is under the 3.3 series, which can only be build with libecap 0.20.

In order to use the libecap in version available in proposed we would need to update squid to 3.5, so while that does not happen it would be good to fix libecap FTBFS and allow the currently packaged squid 3.3 to be build.

Tiago Stürmer Daitx (tdaitx) wrote :

libecap3 has been deleted from -proposed, it is now ok to apply this fix.

Changed in libecap (Ubuntu):
importance: Undecided → High
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libecap - 0.2.0-1ubuntu6

---------------
libecap (0.2.0-1ubuntu6) wily; urgency=medium

  * GCC5 transition (LP: #1504200)
    - d/control: rename libecap2 to libecap2v5
    - d/rules: call dh_clean to remove *.debhelper.log files
    - d/libecap2v5.symbols: update symbols

 -- Tiago Stürmer Daitx <email address hidden> Sat, 26 Sep 2015 03:23:48 +0000

Changed in libecap (Ubuntu):
status: Fix Committed → Fix Released
Amos Jeffries (yadi) wrote :

squid3_ 3.3.8-1ubuntu16 resolves this for Squid

Changed in squid3 (Ubuntu):
status: New → Fix Released
no longer affects: squid3 (Ubuntu)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers