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&suite=sid > [2]:https://buildd.debian.org/status/fetch.php?pkg=gensio&arch=loong64&ver=2.6.6-6&stamp=1693582913&raw=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.000000000 +0000 > +++ gensio-2.6.6/debian/changelog 2023-09-13 08:42:41.000000000 +0000 > @@ -1,3 +1,9 @@ > +gensio (2.6.6-6+loong64) unreleased; urgency=medium > + > + * update symbols file for loongarch64 > + > + -- Dandan Zhang <zhangdan...@loongson.cn> 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.000000000 > +0000 > +++ gensio-2.6.6/debian/libgensio4.symbols 2023-09-13 08:41:26.000000000 > +0000 > @@ -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<char, std::char_traits<char>, std::allocator<char> > >, bool, int*, int*, char const***)@Base" 2.6.2 > (c++)"gensios::Addr::Addr(gensios::Os_Funcs&, > std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, 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