[pkg-lxqt-devel] Bug#984102: NMU: libfm-qt: ftbfs with GCC-11

Sebastian Ramacher sebastian at ramacher.at
Wed Jun 15 20:03:56 BST 2022


Control: reopen -1

On 2022-06-15 19:54:51 +0200, Bastian Germann wrote:
> I am sponsoring a NMU that was provided to fix this.
> debdiff is attached.

Thanks, but the fix was incomplete:
https://buildd.debian.org/status/fetch.php?pkg=libfm-qt&arch=i386&ver=0.16.0-3.1&stamp=1655316964&raw=0

Cheers


> diff -Nru libfm-qt-0.16.0/debian/changelog libfm-qt-0.16.0/debian/changelog
> --- libfm-qt-0.16.0/debian/changelog	2021-01-08 20:15:46.000000000 +0100
> +++ libfm-qt-0.16.0/debian/changelog	2022-06-15 09:59:06.000000000 +0200
> @@ -1,3 +1,10 @@
> +libfm-qt (0.16.0-3.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Fix FTBFS with Qt >=5.15.3 and gcc-11. (Closes: #984102)
> +
> + -- Mateusz Łukasik <mati75 at linuxmint.pl>  Wed, 15 Jun 2022 09:59:06 +0200
> +
>  libfm-qt (0.16.0-3) unstable; urgency=high
>  
>    * Update symbols for armel, armhf, i386, mipsel and s390x to fit FTBFS.
> diff -Nru libfm-qt-0.16.0/debian/libfm-qt8.symbols libfm-qt-0.16.0/debian/libfm-qt8.symbols
> --- libfm-qt-0.16.0/debian/libfm-qt8.symbols	2021-01-08 12:56:41.000000000 +0100
> +++ libfm-qt-0.16.0/debian/libfm-qt8.symbols	2022-06-15 09:56:41.000000000 +0200
> @@ -1293,7 +1293,6 @@
>   _ZNK2Fm9DeleteJob10metaObjectEv at Base 0.16.0
>   _ZNK2Fm9Templates10metaObjectEv at Base 0.16.0
>   _ZNKSt10_HashtableIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_St10shared_ptrIKN2Fm8FileInfoEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS6_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE19_M_find_before_nodeEmRS6_m at Base 0.16.0
> - _ZNSt10_HashtableIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_St10shared_ptrIKN2Fm8FileInfoEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS6_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE4findERS6_ at Base 0.16.0
>   _ZNSt10_HashtableIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS6_St10shared_ptrIKN2Fm8FileInfoEEESaISD_ENSt8__detail10_Select1stESt8equal_toIS6_ESt4hashIS5_ENSF_18_Mod_range_hashingENSF_20_Default_ranged_hashENSF_20_Prime_rehash_policyENSF_17_Hashtable_traitsILb1ELb0ELb1EEEE5clearEv at Base 0.16.0
>   _ZNSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_N2Fm12FileInfoListEESaISA_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb1ELb0ELb1EEEE5clearEv at Base 0.16.0
>   _ZNSt14_Fwd_list_baseISt10shared_ptrIKN2Fm8IconInfoEESaIS4_EE14_M_erase_afterEPSt19_Fwd_list_node_baseS8_ at Base 0.16.0
> @@ -1308,7 +1307,6 @@
>   _ZNSt6vectorIN2Fm8FilePathESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorIN2Fm8FilePathESaIS1_EE17_M_realloc_insertIJRS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorIN2Fm8FilePathESaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_ at Base 0.16.0
> - _ZNSt6vectorIN2Fm8FilePathESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_ at Base 0.16.0
>   _ZNSt6vectorIN2Fm8FilePathESaIS1_EE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPS1_S3_EES7_ at Base 0.16.0
>   _ZNSt6vectorIPN2Fm12ThumbnailJobESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorIPN2Fm16DirTreeModelItemESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_ at Base 0.16.0
> @@ -1319,12 +1317,12 @@
>   _ZNSt6vectorISt10shared_ptrIKN2Fm8FileInfoEESaIS4_EE12emplace_backIJRKS4_EEEvDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIKN2Fm8FileInfoEESaIS4_EE17_M_realloc_insertIJRKS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIKN2Fm8FileInfoEESaIS4_EE17_M_realloc_insertIJS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_ at Base 0.16.0
> - _ZNSt6vectorISt10shared_ptrIKN2Fm8MimeTypeEESaIS4_EE12emplace_backIJRKS4_EEEvDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIKN2Fm8MimeTypeEESaIS4_EE17_M_realloc_insertIJRKS4_EEEvN9__gnu_cxx17__normal_iteratorIPS4_S6_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIN2Fm11ThumbnailerEESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIN2Fm12TemplateItemEESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIN2Fm12TemplateItemEESaIS3_EE8_M_eraseEN9__gnu_cxx17__normal_iteratorIPS3_S5_EES9_ at Base 0.16.0
>   _ZNSt6vectorISt10shared_ptrIN2Fm6FolderEESaIS3_EE17_M_realloc_insertIJS3_EEEvN9__gnu_cxx17__normal_iteratorIPS3_S5_EEDpOT_ at Base 0.16.0
> + _ZNSt6vectorISt10unique_ptrIN2Fm8ArchiverESt14default_deleteIS2_EESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt4pairISt10shared_ptrIKN2Fm8FileInfoEES5_ESaIS6_EE12emplace_backIJS6_EEEvDpOT_ at Base 0.16.0
>   _ZNSt6vectorISt4pairISt10shared_ptrIKN2Fm8FileInfoEES5_ESaIS6_EE17_M_realloc_insertIJS6_EEEvN9__gnu_cxx17__normal_iteratorIPS6_S8_EEDpOT_ at Base 0.16.0
>   _ZNSt8__detail9_Map_baseIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIS7_St10shared_ptrIKN2Fm8FileInfoEEESaISE_ENS_10_Select1stESt8equal_toIS7_ESt4hashIS6_ENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb1ELb0ELb1EEELb1EEixEOS7_ at Base 0.16.0
> diff -Nru libfm-qt-0.16.0/debian/patches/fix_ftbfs_qt_5.15.3.patch libfm-qt-0.16.0/debian/patches/fix_ftbfs_qt_5.15.3.patch
> --- libfm-qt-0.16.0/debian/patches/fix_ftbfs_qt_5.15.3.patch	1970-01-01 01:00:00.000000000 +0100
> +++ libfm-qt-0.16.0/debian/patches/fix_ftbfs_qt_5.15.3.patch	2022-06-15 09:59:06.000000000 +0200
> @@ -0,0 +1,27 @@
> +Origin: upstream, https://github.com/lxqt/libfm-qt/commit/868f0d36979c6930efcc8be20ed355cc1205723c
> +From: Chiitoo <Chiitoo at users.noreply.github.com>
> +Date: Sat, 21 Nov 2020 03:52:22 +0200
> +Subject: Fix compiling with Qt >=5.15.3 (#588)
> +
> +After a Qt upstream change [1], certain assignments that were not
> +caught by the compiler will now fail hard due to 'use of deleted
> +function'.
> +
> +1. https://code.qt.io/cgit/qt/qtbase.git/commit/?id=f8ad329f7ee
> +---
> + src/filedialog.cpp | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/src/filedialog.cpp b/src/filedialog.cpp
> +index 51754ce0..ef28696e 100644
> +--- a/src/filedialog.cpp
> ++++ b/src/filedialog.cpp
> +@@ -1109,7 +1109,7 @@ void FileDialog::setMimeTypeFilters(const QStringList& filters) {
> +                 nameFilter += suffix;
> +                 nameFilter += QLatin1Char(' ');
> +             }
> +-            nameFilter[nameFilter.length() - 1] = ')';
> ++            nameFilter[nameFilter.length() - 1] = QLatin1Char(')');
> +         }
> +         nameFilters << nameFilter;
> +     }
> diff -Nru libfm-qt-0.16.0/debian/patches/series libfm-qt-0.16.0/debian/patches/series
> --- libfm-qt-0.16.0/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
> +++ libfm-qt-0.16.0/debian/patches/series	2022-06-15 09:47:20.000000000 +0200
> @@ -0,0 +1 @@
> +fix_ftbfs_qt_5.15.3.patch


-- 
Sebastian Ramacher



More information about the pkg-lxqt-devel mailing list