Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libzypp for openSUSE:Factory checked in at 2023-08-17 19:42:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libzypp (Old) and /work/SRC/openSUSE:Factory/.libzypp.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libzypp" Thu Aug 17 19:42:52 2023 rev:478 rq:1104215 version:17.31.19 Changes: -------- --- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes 2023-08-06 16:29:35.615709940 +0200 +++ /work/SRC/openSUSE:Factory/.libzypp.new.1766/libzypp.changes 2023-08-17 19:42:59.894727962 +0200 @@ -1,0 +2,13 @@ +Wed Aug 16 16:54:34 CEST 2023 - m...@suse.de + +- Fix zypp-tui/output/Out.h to build with clang. +- Fix zypp/Arch.h for clang (fixes #478) + Clang seems to have issues with picking the overload in + std::men_fn if there is a static overload of a member function. + We need to explicitely specify the correct type of the function + pointer. To make sure this would not break compiling a + application with clang that builds against libzypp this patch + works around the problem. +- version 17.31.19 (22) + +------------------------------------------------------------------- Old: ---- libzypp-17.31.18.tar.bz2 New: ---- libzypp-17.31.19.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libzypp.spec ++++++ --- /var/tmp/diff_new_pack.9zmWCw/_old 2023-08-17 19:43:00.870729787 +0200 +++ /var/tmp/diff_new_pack.9zmWCw/_new 2023-08-17 19:43:00.874729795 +0200 @@ -42,7 +42,7 @@ %bcond_with enable_preview_single_rpmtrans_as_default_for_zypper Name: libzypp -Version: 17.31.18 +Version: 17.31.19 Release: 0 License: GPL-2.0-or-later URL: https://github.com/openSUSE/libzypp ++++++ libzypp-17.31.18.tar.bz2 -> libzypp-17.31.19.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.18/VERSION.cmake new/libzypp-17.31.19/VERSION.cmake --- old/libzypp-17.31.18/VERSION.cmake 2023-08-04 17:42:48.000000000 +0200 +++ new/libzypp-17.31.19/VERSION.cmake 2023-08-16 17:00:07.000000000 +0200 @@ -61,8 +61,8 @@ SET(LIBZYPP_MAJOR "17") SET(LIBZYPP_COMPATMINOR "22") SET(LIBZYPP_MINOR "31") -SET(LIBZYPP_PATCH "18") +SET(LIBZYPP_PATCH "19") # -# LAST RELEASED: 17.31.18 (22) +# LAST RELEASED: 17.31.19 (22) # (The number in parenthesis is LIBZYPP_COMPATMINOR) #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.18/package/libzypp.changes new/libzypp-17.31.19/package/libzypp.changes --- old/libzypp-17.31.18/package/libzypp.changes 2023-08-04 17:42:48.000000000 +0200 +++ new/libzypp-17.31.19/package/libzypp.changes 2023-08-16 17:00:07.000000000 +0200 @@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Wed Aug 16 16:54:34 CEST 2023 - m...@suse.de + +- Fix zypp-tui/output/Out.h to build with clang. +- Fix zypp/Arch.h for clang (fixes #478) + Clang seems to have issues with picking the overload in + std::men_fn if there is a static overload of a member function. + We need to explicitely specify the correct type of the function + pointer. To make sure this would not break compiling a + application with clang that builds against libzypp this patch + works around the problem. +- version 17.31.19 (22) + +------------------------------------------------------------------- Fri Aug 4 17:40:19 CEST 2023 - m...@suse.de - SINGLE_RPMTRANS: Respect ZYPP_READONLY_HACK when checking the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.18/po/id.po new/libzypp-17.31.19/po/id.po --- old/libzypp-17.31.18/po/id.po 2023-07-24 17:10:09.000000000 +0200 +++ new/libzypp-17.31.19/po/id.po 2023-08-08 17:20:08.000000000 +0200 @@ -9,7 +9,7 @@ "Project-Id-Version: YaST (@memory@)\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-24 17:02+0200\n" -"PO-Revision-Date: 2023-01-02 05:14+0000\n" +"PO-Revision-Date: 2023-08-08 15:15+0000\n" "Last-Translator: Kukuh Syafaat <syafaatku...@gmail.com>\n" "Language-Team: Indonesian <https://l10n.opensuse.org/projects/libzypp/master/" "id/>\n" @@ -5060,6 +5060,8 @@ "Received signal :\"%1% (%2%)\", to ensure the consistency of the system it " "is not possible to cancel a running rpm transaction." msgstr "" +"Sinyal yang diterima :\"%1% (%2%)\", untuk memastikan konsistensi sistem, " +"tidak mungkin membatalkan transaksi rpm yang sedang berjalan." #: zypp/target/TargetImpl.cc:2739 msgid "Executing the transaction failed because of the following problems:" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.18/zypp/Arch.h new/libzypp-17.31.19/zypp/Arch.h --- old/libzypp-17.31.18/zypp/Arch.h 2023-07-19 11:53:07.000000000 +0200 +++ new/libzypp-17.31.19/zypp/Arch.h 2023-08-16 15:40:08.000000000 +0200 @@ -134,8 +134,11 @@ /** */ static std::string asString( const CompatSet & cset ) { - return str::join( make_transform_iterator( cset.begin(), std::mem_fn(&Arch::asString) ), - make_transform_iterator( cset.end(), std::mem_fn(&Arch::asString) ) ); + // Explicitely select the overload we want, clang seems to choke if there is a static overload for the + // member function we want to capture in std::mem_fn (fixes GH-478) + const std::string & (Arch::*memfn)( ) const = &Arch::asString; + return str::join( make_transform_iterator( cset.begin(), std::mem_fn( memfn ) ), + make_transform_iterator( cset.end(), std::mem_fn( memfn ) ) ); } public: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libzypp-17.31.18/zypp-tui/output/Out.h new/libzypp-17.31.19/zypp-tui/output/Out.h --- old/libzypp-17.31.18/zypp-tui/output/Out.h 2023-07-19 11:53:07.000000000 +0200 +++ new/libzypp-17.31.19/zypp-tui/output/Out.h 2023-08-16 15:40:08.000000000 +0200 @@ -446,8 +446,8 @@ }; ZYPP_DECLARE_FLAGS(Type,TypeBit); - static constexpr Type TYPE_NONE = TypeBit(0x00); - static constexpr Type TYPE_ALL = TypeBit(0xff); + static constexpr Type TYPE_NONE = Type(0x00); + static constexpr Type TYPE_ALL = Type(0xff); using PromptId = unsigned;