Bug#1051842: gensio: FTBFS: error: some symbols or patterns disappeared in the symbols file

2023-09-14 Thread Marc Haber
On Thu, Sep 14, 2023 at 10:22:12AM +0200, John Paul Adrian Glaubitz wrote:
> On Wed, 2023-09-13 at 18:53 +0200, Marc Haber wrote:
> > thanks for your bug report. I have manually applied the patch (the file
> > had developed further in git).
> > 
> > I don't quite understand your hints about riscvi, which might be
> > connected to my current personal stress level which makes it hard to
> > concentrate for me at the moment. I apologize for that.
> > 
> > I would also like to suggest that you use wdiff for symbols files
> > differences, wdiff can mark changes inside long lines which makes it
> > easier to detect a change as "just add loong64 in the list of arches in
> > this line without doing additional changes".
> 
> I actually recommend using pkgkde-symbolshelper from the KDE team to work with
> symbols files [1]. It automatically retrieves build logs and uses them to 
> patch
> symbols files. This saves a lot of work!

That is great to know. Can you write some sentences about that tool in
https://wiki.debian.org/UsingSymbolsFiles please?

Greetings
Marc

-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Bug#1051842: gensio: FTBFS: error: some symbols or patterns disappeared in the symbols file

2023-09-14 Thread John Paul Adrian Glaubitz
Hi!

On Wed, 2023-09-13 at 18:53 +0200, Marc Haber wrote:
> thanks for your bug report. I have manually applied the patch (the file
> had developed further in git).
> 
> I don't quite understand your hints about riscvi, which might be
> connected to my current personal stress level which makes it hard to
> concentrate for me at the moment. I apologize for that.
> 
> I would also like to suggest that you use wdiff for symbols files
> differences, wdiff can mark changes inside long lines which makes it
> easier to detect a change as "just add loong64 in the list of arches in
> this line without doing additional changes".

I actually recommend using pkgkde-symbolshelper from the KDE team to work with
symbols files [1]. It automatically retrieves build logs and uses them to patch
symbols files. This saves a lot of work!

Adrian

> [1] https://qt-kde-team.pages.debian.net/symbolfiles.html

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#1051842: gensio: FTBFS: error: some symbols or patterns disappeared in the symbols file

2023-09-13 Thread Marc Haber
Hi Dandan Zhang,

thanks for your bug report. I have manually applied the patch (the file
had developed further in git).

I don't quite understand your hints about riscvi, which might be
connected to my current personal stress level which makes it hard to
concentrate for me at the moment. I apologize for that.

I would also like to suggest that you use wdiff for symbols files
differences, wdiff can mark changes inside long lines which makes it
easier to detect a change as "just add loong64 in the list of arches in
this line without doing additional changes".

Greetings
Marc

On Wed, Sep 13, 2023 at 07:08:48PM +0800, zhangdandan wrote:
> Package: gensio
> Version: 2.6.6-6
> Severity: normal
> Tags: patch ftbfs
> User: debian-de...@lists.debian.org
> Usertags: loongarch64
> 
> Dear maintainers,
> 
> When compiling the package gensio for loong64 in the Debian Package
> Auto-Building environment [1], the dh_makeshlibs stage reports an error.
> The full compilation log can be found at [2].
> I have updated libgensio4.symbols file for loongarch64.
> Please consider the patch I have attached.
> 
> BTW, I would like to remind that "riscvi" in libgensio4.symbols file may be
> written incorrectly.
> Meanwhile, refer to link [1], other architectures such as ppc64 should also
> need to update the symbols file in build.
> 
> 
> [1]:https://buildd.debian.org/status/package.php?p=gensio=sid
> [2]:https://buildd.debian.org/status/fetch.php?pkg=gensio=loong64=2.6.6-6=1693582913=0
> 
> thanks,
> Dandan Zhang
> 

> diff -Nru gensio-2.6.6/debian/changelog gensio-2.6.6/debian/changelog
> --- gensio-2.6.6/debian/changelog 2023-07-03 05:15:11.0 +
> +++ gensio-2.6.6/debian/changelog 2023-09-13 08:42:41.0 +
> @@ -1,3 +1,9 @@
> +gensio (2.6.6-6+loong64) unreleased; urgency=medium
> +
> +  * update symbols file for loongarch64
> +
> + -- Dandan Zhang  Wed, 13 Sep 2023 16:42:41 +0800
> +
>  gensio (2.6.6-6) unstable; urgency=medium
>  
>* hopefully final version of symbols file
> diff -Nru gensio-2.6.6/debian/libgensio4.symbols 
> gensio-2.6.6/debian/libgensio4.symbols
> --- gensio-2.6.6/debian/libgensio4.symbols2023-07-03 05:15:11.0 
> +
> +++ gensio-2.6.6/debian/libgensio4.symbols2023-09-13 08:41:26.0 
> +
> @@ -1029,11 +1029,11 @@
>   (c++)"gensios::set_log_mask(int)@Base" 2.6.2
>   (c++)"gensios::err_to_string[abi:cxx11](int)@Base" 2.6.2
>   
> (c++)"gensios::log_level_to_str[abi:cxx11](gensios::gensio_log_levels)@Base" 
> 2.6.2
> - (arch=mips64el mipsel hppa ia64 m68k ppc64 riscv64i 
> sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, void*)@Base" 2.6.2
> + (arch=mips64el mipsel hppa ia64 loong64 m68k ppc64 riscv64i 
> sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, void*)@Base" 2.6.2
>   (arch=i386 
> ppc64el|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, char*)@Base" 2.6.2
>   (arch=sh4|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, __va_list_tag)@Base" 2.6.2
>   (arch=arm64 armel 
> armhf|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, std::__va_list)@Base" 2.6.2
> - (arch=!arm64 !armel !armhf !i386 !mips64el !mipsel !ppc64el !hppa !ia64 
> !m68k !ppc64 !riscv64 !sh4 
> !sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, __va_list_tag*)@Base" 2.6.2
> + (arch=!arm64 !armel !armhf !i386 !loong64 !mips64el !mipsel !ppc64el !hppa 
> !ia64 !m68k !ppc64 !riscv64 !sh4 
> !sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
> gensios::gensio_log_levels, char const*, __va_list_tag*)@Base" 2.6.2
>   (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, 
> std::__cxx11::basic_string, std::allocator 
> >, bool, int*, int*, char const***)@Base" 2.6.2
>   (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, 
> std::__cxx11::basic_string, std::allocator 
> >, bool, int)@Base" 2.6.2
>   (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, int, void const*, unsigned 
> long, unsigned int)@Base" 2.6.2


-- 
-
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany|  lose things."Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421



Bug#1051842: gensio: FTBFS: error: some symbols or patterns disappeared in the symbols file

2023-09-13 Thread zhangdandan

Package: gensio
Version: 2.6.6-6
Severity: normal
Tags: patch ftbfs
User: debian-de...@lists.debian.org
Usertags: loongarch64

Dear maintainers,

When compiling the package gensio for loong64 in the Debian Package 
Auto-Building environment [1], the dh_makeshlibs stage reports an error.

The full compilation log can be found at [2].
I have updated libgensio4.symbols file for loongarch64.
Please consider the patch I have attached.

BTW, I would like to remind that "riscvi" in libgensio4.symbols file may 
be written incorrectly.
Meanwhile, refer to link [1], other architectures such as ppc64 should 
also need to update the symbols file in build.



[1]:https://buildd.debian.org/status/package.php?p=gensio=sid
[2]:https://buildd.debian.org/status/fetch.php?pkg=gensio=loong64=2.6.6-6=1693582913=0

thanks,
Dandan Zhang

diff -Nru gensio-2.6.6/debian/changelog gensio-2.6.6/debian/changelog
--- gensio-2.6.6/debian/changelog   2023-07-03 05:15:11.0 +
+++ gensio-2.6.6/debian/changelog   2023-09-13 08:42:41.0 +
@@ -1,3 +1,9 @@
+gensio (2.6.6-6+loong64) unreleased; urgency=medium
+
+  * update symbols file for loongarch64
+
+ -- Dandan Zhang  Wed, 13 Sep 2023 16:42:41 +0800
+
 gensio (2.6.6-6) unstable; urgency=medium
 
   * hopefully final version of symbols file
diff -Nru gensio-2.6.6/debian/libgensio4.symbols 
gensio-2.6.6/debian/libgensio4.symbols
--- gensio-2.6.6/debian/libgensio4.symbols  2023-07-03 05:15:11.0 
+
+++ gensio-2.6.6/debian/libgensio4.symbols  2023-09-13 08:41:26.0 
+
@@ -1029,11 +1029,11 @@
  (c++)"gensios::set_log_mask(int)@Base" 2.6.2
  (c++)"gensios::err_to_string[abi:cxx11](int)@Base" 2.6.2
  (c++)"gensios::log_level_to_str[abi:cxx11](gensios::gensio_log_levels)@Base" 
2.6.2
- (arch=mips64el mipsel hppa ia64 m68k ppc64 riscv64i 
sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, void*)@Base" 2.6.2
+ (arch=mips64el mipsel hppa ia64 loong64 m68k ppc64 riscv64i 
sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, void*)@Base" 2.6.2
  (arch=i386 
ppc64el|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, char*)@Base" 2.6.2
  (arch=sh4|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, __va_list_tag)@Base" 2.6.2
  (arch=arm64 armel 
armhf|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, std::__va_list)@Base" 2.6.2
- (arch=!arm64 !armel !armhf !i386 !mips64el !mipsel !ppc64el !hppa !ia64 !m68k 
!ppc64 !riscv64 !sh4 
!sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, __va_list_tag*)@Base" 2.6.2
+ (arch=!arm64 !armel !armhf !i386 !loong64 !mips64el !mipsel !ppc64el !hppa 
!ia64 !m68k !ppc64 !riscv64 !sh4 
!sparc64|c++)"gensios::gensio_cpp_vlog_handler(gensios::gensio_os_funcs*, 
gensios::gensio_log_levels, char const*, __va_list_tag*)@Base" 2.6.2
  (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, 
std::__cxx11::basic_string, std::allocator 
>, bool, int*, int*, char const***)@Base" 2.6.2
  (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, 
std::__cxx11::basic_string, std::allocator 
>, bool, int)@Base" 2.6.2
  (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, int, void const*, unsigned 
long, unsigned int)@Base" 2.6.2