#1012798 libecap: diff for NMU version 1.0.1-3.3 fix FTBFS on riscv arch

Package:
libecap3
Source:
libecap
Description:
eCAP library
Submitter:
xiao sheng wen
Date:
2022-06-24 15:21:04 UTC
Severity:
important
Tags:
#1012798#5
Date:
2022-06-14 09:41:58 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for libecap (versioned as 1.0.1-3.3) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

I'd upload to mentors.d.n.

Welcome to review and upload.
---------------------------------
Your upload of the package 'libecap' to mentors.debian.net was
successful. Others can now see it. The URL of your package is:

https://mentors.debian.net/package/libecap/

The respective dsc file can be found at:

https://mentors.debian.net/debian/pool/main/libe/libecap/libecap_1.0.1-3.3.dsc

Regards.
xiao sheng wen

diff -Nru libecap-1.0.1/debian/changelog libecap-1.0.1/debian/changelog
--- libecap-1.0.1/debian/changelog	2016-10-04 05:22:11.000000000 +0800
+++ libecap-1.0.1/debian/changelog	2022-06-14 15:09:04.000000000 +0800
@@ -1,3 +1,12 @@
+libecap (1.0.1-3.3) experimental; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "ftbfs on riscv64 (error: some symbols or patterns disappeared
+    in the symbols file)", update d/libecap3.symbols (Closes: #1012565)
+  * d/control: B-D add pkg-kde-tools
+
+ -- xiao sheng wen <atzlinux@sina.com>  Tue, 14 Jun 2022 15:09:04 +0800
+
 libecap (1.0.1-3.2) unstable; urgency=medium

   * Non-maintainer upload.
diff -Nru libecap-1.0.1/debian/control libecap-1.0.1/debian/control
--- libecap-1.0.1/debian/control	2016-09-27 06:24:40.000000000 +0800
+++ libecap-1.0.1/debian/control	2022-06-14 15:09:04.000000000 +0800
@@ -1,7 +1,8 @@
 Source: libecap
 Priority: extra
 Maintainer: Luigi Gangitano <luigi@debian.org>
-Build-Depends: debhelper (>= 9), autotools-dev, cdbs, dh-autoreconf
+Build-Depends: debhelper (>= 9), autotools-dev, cdbs, dh-autoreconf,
+ pkg-kde-tools,
 Standards-Version: 3.9.8
 Section: libs
 Homepage: http://www.e-cap.org/Downloads
diff -Nru libecap-1.0.1/debian/libecap3.symbols libecap-1.0.1/debian/libecap3.symbols
--- libecap-1.0.1/debian/libecap3.symbols	2016-10-04 05:22:11.000000000 +0800
+++ libecap-1.0.1/debian/libecap3.symbols	2022-06-12 09:58:02.000000000 +0800
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 1.0.1 amd64 armhf i386 powerpc
+# SymbolsHelper-Confirmed: 1.0.1 amd64 arm64 armel armhf i386 mips64el mipsel powerpc ppc64el riscv64 s390x
 libecap.so.3 libecap3 #MINVER#
  _ZN7libecap10methodHeadE@Base 1.0.1
  _ZN7libecap10methodPostE@Base 1.0.1
@@ -80,20 +80,34 @@
  _ZNK7libecap8BodySize7badSizeEv@Base 1.0.1
  (optional=templinst)_ZNSt3tr110shared_ptrIN7libecap4host4HostEED1Ev@Base 1.0.1
  (optional=templinst)_ZNSt3tr110shared_ptrIN7libecap4host4HostEED2Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv@Base 1.0.1
- (optional=templinst)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 1.0.1
- (optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_destroyEv@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_releaseEv@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_releaseEv@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EE10_M_disposeEv@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EE14_M_get_deleterERKSt9type_info@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EED0Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EED1Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EED2Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EE10_M_disposeEv@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EE14_M_get_deleterERKSt9type_info@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EED0Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EED1Ev@Base 1.0.1
+ (optional=templinst|arch=armel riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EED2Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE10_M_disposeEv@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED0Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED1Ev@Base 1.0.1
+ (optional=templinst|arch=!armel !riscv64)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base 1.0.1
  (optional=templinst)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEED1Ev@Base 1.0.1
  (optional=templinst)_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEED2Ev@Base 1.0.1
+ (optional=templinst|arch=!powerpc !riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base 1.0.1
+ (optional=templinst|arch=!powerpc !riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag@Base 1.0.1
  (optional=templinst)_ZNSt7__cxx114listISt4pairINS_12basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEESaISD_EED1Ev@Base 1.0.1
  (optional=templinst)_ZNSt7__cxx114listISt4pairINS_12basic_stringIcSt11char_traitsIcESaIcEEENSt3tr18weak_ptrIN7libecap7adapter7ServiceEEEESaISD_EED2Ev@Base 1.0.1
  _ZTIN7libecap11AreaDetailsE@Base 1.0.1
@@ -103,12 +117,17 @@
  _ZTIN7libecap7OptionsE@Base 1.0.1
  _ZTIN7libecap7adapter7ServiceE@Base 1.0.1
  _ZTIN7libecap7adapter7XactionE@Base 1.0.1
- (arch=!armel)_ZTINSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=armhf)_ZTINSt3tr111_Sp_deleterIN7libecap20StdStringAreaDetailsEEE@Base 1.0.1
- (arch=armhf)_ZTINSt3tr111_Sp_deleterIN7libecap7adapter7ServiceEEE@Base 1.0.1
- (arch=!armel)_ZTINSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=!armel)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=!armel)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 1.0.1
+ (arch=armel riscv64)_ZTINSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTINSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel armhf)_ZTINSt3tr111_Sp_deleterIN7libecap20StdStringAreaDetailsEEE@Base 1.0.1
+ (arch=armel armhf)_ZTINSt3tr111_Sp_deleterIN7libecap7adapter7ServiceEEE@Base 1.0.1
+ (arch=armel riscv64)_ZTINSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTINSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTINSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
  _ZTSN7libecap11AreaDetailsE@Base 1.0.1
  _ZTSN7libecap13TextExceptionE@Base 1.0.1
  _ZTSN7libecap20StdStringAreaDetailsE@Base 1.0.1
@@ -116,16 +135,23 @@
  _ZTSN7libecap7OptionsE@Base 1.0.1
  _ZTSN7libecap7adapter7ServiceE@Base 1.0.1
  _ZTSN7libecap7adapter7XactionE@Base 1.0.1
- (arch=!armel)_ZTSNSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTSN9__gnu_cxx7__mutexE@Base 1.0.1
+ (arch=armel riscv64)_ZTSNSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTSNSt3tr111_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
  _ZTSNSt3tr111_Sp_deleterIN7libecap20StdStringAreaDetailsEEE@Base 1.0.1
  _ZTSNSt3tr111_Sp_deleterIN7libecap7adapter7ServiceEEE@Base 1.0.1
- (arch=!armel)_ZTSNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=!armel)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=!armel)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTSNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTSNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTSNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
  _ZTVN7libecap13TextExceptionE@Base 1.0.1
  _ZTVN7libecap20StdStringAreaDetailsE@Base 1.0.1
  _ZTVN7libecap7MessageE@Base 1.0.1
  _ZTVN7libecap7adapter7ServiceE@Base 1.0.1
  _ZTVN7libecap7adapter7XactionE@Base 1.0.1
- (arch=!armel)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
- (arch=!armel)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap20StdStringAreaDetailsENS_11_Sp_deleterIS2_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1
+ (arch=armel riscv64)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE1EEE@Base 1.0.1
+ (arch=!armel !riscv64)_ZTVNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EEE@Base 1.0.1

#1012798#10
Date:
2022-06-14 10:10:15 UTC
From:
To:
Control:  forcemerge 1012565 1012798


O, I make a mistake when use nmudiff to report bug.

#1012798 should not open as a new bug, it should follow #1012565.

sorry!

在 2022/6/14 17:45, Debian Bug Tracking System 写道:

#1012798#23
Date:
2022-06-14 18:56:31 UTC
From:
To:
This is not needed when you just used it during development of your change.
It is not used in the build. I have attached another debdiff with this reverted and some more changes.

Upload to DELAYED/2 as suggested.

#1012798#28
Date:
2022-06-15 03:59:38 UTC
From:
To:
Hi,

Thanks!

It's list on https://ftp-master.debian.org/deferred.html


在 2022/6/15 02:56, Bastian Germann 写道:

 From https://www.eyrie.org/~eagle/journal/2012-01/008.html,

It said in step 4:

"I added a dependency on pkg-kde-tools and then added the (undocumented)
pkgkde_symbolshelper add-on to my |dh --with| flag. "

As libecap use cdbs, so I can't add it in debian/rules.

This upload only the NMU, perhaps let the package maintainer to deal
with this in the future is the better way.


Regards.

#1012798#33
Date:
2022-06-15 22:40:07 UTC
From:
To:
Hi Xiao,

Thanks a lot for taking care of this bug. libecap is currently undeveloped upstream, so these fixes are the only ones expected from time to time.

If I understand correctly the post you referred to, step 3 is still needed to check if everything is ok for other architectures. This means uploading a new version, triggering buildds and then feeding back the errors to pkgkde-symbolshelper.

It looks like this is what Matthias did back in 2016.

Shall we do that in experimental?

Best,

L

#1012798#38
Date:
2022-06-16 02:05:38 UTC
From:
To:
Hi Luigi,

在 2022/6/16 06:40, Luigi Gangitano 写道:
I'm glad to see your reply.
Yes. I'd do it in this NMU, the next is to triggering buildds to verify.
I also find some MISSING infos in the build log:

+#MISSING: 1.0.1-3.3# (optional=templinst|arch=!powerpc
!riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base
1.0.1
+#MISSING: 1.0.1-3.3# (optional=templinst|arch=!powerpc
!riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag@Base
1.0.1

As they are optional, so they don't bread the build.

 From man deb-src-symbols (5), section "Standard symbol tags" "optional",

It say "such a symbol needs to be removed from the symbol file".

The libecap package is builded several years ago in buildds, there are
many things changed in buildds,

so I'm not very sure what will happen for symbols in the next build.


Anyway, cancel this NMU, upload to sid, not use experimental, it is also
a way to fix this bug.


Thanks!

Best,

#1012798#39
Date:
2022-06-16 19:37:03 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libecap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012565@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated libecap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 14 Jun 2022 20:43:41 +0200
Source: libecap
Architecture: source
Version: 1.0.1-3.3
Distribution: experimental
Urgency: medium
Maintainer: Luigi Gangitano <luigi@debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1012565
Changes:
 libecap (1.0.1-3.3) experimental; urgency=medium
 .
   * Non-maintainer upload
   * d/control: Fix Homepage, convert Priority: extra -> optional
   * d/watch: Scan existing download area
   * d/copyright: Apply standardized Format field
 .
   [ xiao sheng wen ]
   * Fix "ftbfs on riscv64 (error: some symbols or patterns disappeared
     in the symbols file)", update d/libecap3.symbols (Closes: #1012565)
Checksums-Sha1:
 77ab64b25705544184f53c737501b5f06dbbc971 1640 libecap_1.0.1-3.3.dsc
 7f5eb009c3d6fb6d6f1eb7d91298a9dda6a24ed8 5272 libecap_1.0.1-3.3.debian.tar.xz
 1082ed6044415a23733e1276fdb279d33c377f0d 5518 libecap_1.0.1-3.3_source.buildinfo
Checksums-Sha256:
 911cfe6fe9aab063e24bca30fdf86ef3e82911386e01108f73e0aa43c0d6b819 1640 libecap_1.0.1-3.3.dsc
 2fe4eccb1f08639893ef424924a327e666697fba33c16817ae847759b96c0eca 5272 libecap_1.0.1-3.3.debian.tar.xz
 d00a15e675bf65bb8584fa5cc3f266abdcea408aac97b3929fdfb8c58ba5ddeb 5518 libecap_1.0.1-3.3_source.buildinfo
Files:
 e4e19a91df71726a93ceaf95727767d0 1640 libs optional libecap_1.0.1-3.3.dsc
 1804e434bb3936fac28956d2a5f54417 5272 libs optional libecap_1.0.1-3.3.debian.tar.xz
 18c17c944d56579b22f85939beccdd94 5518 libs optional libecap_1.0.1-3.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmKo11gQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFEwKDACZJPIpeDViy0ip3KVDUS0ZatVDaCncD0fi
SIwJkstxPgvNhI9TqRE/UX9MkW8OUDE5RS4K25fg+k49LDq/LTf0K+uqo+uOZ+2g
oNAFfO6N/JcahZMB6EqdnEx8ITd99d3ZPVK4BG6nfr5lyxn0OLfHG15geVfIpw6j
FLxdJaAJf5lB3cBs9atMTIAQO98QAWEx3uTdIp2oApp2eKdgmHc7DYXkBM/Ls/ZC
IX9dDstUGMBSdxrmny0lJUHh2Fgb6kqQJvdJ+l9tCwxRUOj45RlcvWIsFdP8tXuN
EZycOQXaNiZP4/enCdpL1TTbqH1f+4QyK+Klp83zQqdDgECHabakQ9rJo0dP4NJu
cA3pYPtc6n4ctbkFiwUjWiznlle0wDY9s1ItwA+xm5QcnTdp40PA6tykMXaPrqpW
2MS0Y3y6XgrgrEBbVOv3znN5LqKE3WjGNgsyOuV5qSFWjRTmh0ARJEynjVn3lHgj
FILKQstV7OfLxdJKVRfRacDZOQ5Dxhs=
=e1je
-----END PGP SIGNATURE-----

#1012798#44
Date:
2022-06-20 07:16:51 UTC
From:
To:
Hi,

     Good news!

The libecap build success on most arches in experimental.

pkgkde-getbuildlogs can download all build logs.

There are 19 arches logs now, I checked these logs:

cd libecap_experimental_logs

grep "^-\ (optional=templinst" * |awk -F":" {'print $2'}|sort|uniq


- (optional=templinst|arch=!powerpc
!riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag@Base
1.0.1
- (optional=templinst|arch=!powerpc
!riscv64)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base
1.0.1

grep "^-\ (optional=templinst" * |awk -F":" {'print $2'}|wc -l

34

That is say, these two lines are not need in these 19 arches.

Let's do update libecap3.symbols to remove it, please see it in attachment.


Please review and help to upload it to sid.


Thanks!

在 2022/6/16 10:05, xiao sheng wen (肖盛文) 写道:

#1012798#49
Date:
2022-06-23 15:44:24 UTC
From:
To:
Am 20.06.22 um 09:16 schrieb xiao sheng wen(肖盛文):

Please note that Ubuntu has resolved this with

libecap (1.0.1-3.2ubuntu1) focal; urgency=medium

   * Update symbols file for riscv64.

#1012798#58
Date:
2022-06-24 02:23:30 UTC
From:
To:
Hi Bastian,

     I just do the test of build the newest verison 1.0.1-3.2ubuntu4 on
my riscv board.

There are many warnings in the buildlog, for example:

dpkg-gensymbols: warning: some new symbols appeared in the symbols file:
see diff output below
dpkg-gensymbols: warning: debian/libecap3/DEBIAN/symbols doesn't match
completely debian/libecap3.symbols
--- debian/libecap3.symbols (libecap3_1.0.1-3.2ubuntu4_riscv64)
+++ dpkg-gensymbols3zT4aR       2022-06-24 10:03:22.197056134 +0800

......

-
(optional=templinst)_ZNSt3tr121_Sp_counted_base_implIPN7libecap7adapter7ServiceENS_11_Sp_deleterIS3_EELN9__gnu_cxx12_Lock_policyE2EED2Ev@Base
1.0.1
+
_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_destroyEv@Base
1.0.1-3.2ubuntu4
+
_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE1EE10_M_releaseEv@Base
1.0.1-3.2ubuntu4
+#MISSING: 1.0.1-3.2ubuntu4#
(optional=templinst)_ZNSt3tr116_Sp_counted_baseILN9__gnu_cxx12_Lock_policyE2EE10_M_destroyEv@Base
1.0.1
........

So, the current libecap3.symbols in ubuntu is not perfect.

The whole build log, please see attachment
libecap_1.0.1-3.2ubuntu4_riscv64.build.


Please use the my libecap3.symbols, help upload it to sid.

After the new libecap package coming into testing, ubuntu perhaps will
use it.


Thanks!

在 2022/6/23 23:44, Bastian Germann 写道:

#1012798#63
Date:
2022-06-24 14:51:29 UTC
From:
To:
Am 20.06.22 um 09:16 schrieb xiao sheng wen(肖盛文):

I have just uploaded another NMU with the provided symbols file.
The debdiff is attached.

#1012798#64
Date:
2022-06-24 15:19:34 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libecap, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1012565@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated libecap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 24 Jun 2022 16:46:18 +0200
Source: libecap
Architecture: source
Version: 1.0.1-3.4
Distribution: unstable
Urgency: medium
Maintainer: Luigi Gangitano <luigi@debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1012565
Changes:
 libecap (1.0.1-3.4) unstable; urgency=medium
 .
   * Non-maintainer upload
   * New d/libecap3.symbols revision (Closes: #1012565)
Checksums-Sha1:
 74ee8e77b5816aba05acb5e6bbd1fcc974b008c3 1640 libecap_1.0.1-3.4.dsc
 fe413668f693077fbd005727fdcd4739cdb9d9a5 5252 libecap_1.0.1-3.4.debian.tar.xz
 92bf30c23003aee316d122693a4cf8189e196978 5511 libecap_1.0.1-3.4_source.buildinfo
Checksums-Sha256:
 48837111de219b5d7548935412fcc0f9d4ec20dacb7b43ef786dd100d94f090d 1640 libecap_1.0.1-3.4.dsc
 98b77008513ea81ec9fe57c4992fa59dbae8e959e853e41ce36f1a723f27dc4c 5252 libecap_1.0.1-3.4.debian.tar.xz
 5e331943a2f0fe78c3605dd0d61825883d1a63f39a4a9224e4fca9bd7b9e161b 5511 libecap_1.0.1-3.4_source.buildinfo
Files:
 c50ca730f059b1041779cfb153a6696a 1640 libs optional libecap_1.0.1-3.4.dsc
 4c1b2630b507ad73d16214016cc17e9d 5252 libs optional libecap_1.0.1-3.4.debian.tar.xz
 64d7c2eb9583a9b107e835144cb9774d 5511 libs optional libecap_1.0.1-3.4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmK1zpkQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFAvWDAD17V9Eq7t0I0xQHxdopq7yh4Cfx4LfsnS0
2gZjdnQP1KJnXI4mmc9dbRz6Osvp15qGHc4JqNyJ3P7v33EdYMj4BZQBN8vt8mvt
H4d6JyD6aKI6FNGmjK0OxTmonu99KIQJlpegxCAiIq2EsMiXOiN1pTATw07mxLab
qR0Yhd60YqRfFv92UbjcYi88DrXRNqeplNZB+5nE41e7RpdqCYMoMZMBzrWxCc3v
M3T3834WPoIc20MxHqoWPt7GnkQs1kvHiMzlVLCiK+v0LbTX4iOXGztnqJw3GMRL
TQb3gzquWOJs5j+jsF2yNynI6mZUdIwHdV1byKUFe26RnPQujQzQg2JyopnJ1+Jn
xq3U70ddTFm1H5btew0Q+QR06VVFBP35+JAY+dYMW1BYYjpz6ZrkNAgsIya7ZfMv
vNUncnG1Zz+jCpBLoniVAIQN1F0Qt/VXY5GsCcNRowFxZ6cjvp5gzJrh6h3fvx/1
Y0PqsLqrPcU9qVvTBXt9H62eRSbxTFI=
=aTrS
-----END PGP SIGNATURE-----