[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1072338: syndication: fix building with nocheck



Source: syndication
Version: 5.115.0-2
Severity: important

Hello,

syndication currently fails to build with DEB_BUILD_OPTIONS=nocheck:

dpkg-gensymbols: error: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libkf5syndication5abi1/DEBIAN/symbols doesn't match completely debian/libkf5syndication5abi1.symbols
--- debian/libkf5syndication5abi1.symbols (libkf5syndication5abi1_1:5.115.0-2_amd64)
+++ dpkg-gensymbolsscli3z       2024-06-01 08:16:49.000000000 +0000
@@ -1,7 +1,7 @@
 libKF5Syndication.so.5abi1 libkf5syndication5abi1 #MINVER#
 * Build-Depends-Package: libkf5syndication-dev
  ABI_5_1@ABI_5_1 18.07.90
- _ZN11Syndication10LoaderUtil9parseFeedERK10QByteArrayRK4QUrl@ABI_5_1 1:5.69.0
+#MISSING: 1:5.115.0-2# _ZN11Syndication10LoaderUtil9parseFeedERK10QByteArrayRK4QUrl@ABI_5_1 1:5.69.0
  _ZN11Syndication10PersonImplC1ERK7QStringS3_S3_@ABI_5_1 18.07.90
  _ZN11Syndication10PersonImplC1Ev@ABI_5_1 18.07.90
  _ZN11Syndication10PersonImplC2ERK7QStringS3_S3_@ABI_5_1 18.07.90

Indeed, with tests disabled, ./src/syndication_private_export.h defines
SYNDICATION_TESTS_EXPORT to empty, and thus this declaration hides the
symbol:

./src/loaderutil_p.h:Q_REQUIRED_RESULT SYNDICATION_TESTS_EXPORT QUrl parseFeed(const QByteArray &data, const QUrl &url);

So it's effectively an optional symbol, could you apply the attached
patch to fix this?

Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unreleased'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.9.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- debian/libkf5syndication5abi1.symbols.orig	2024-06-01 09:52:19.000000000 +0000
+++ debian/libkf5syndication5abi1.symbols	2024-06-01 09:52:21.000000000 +0000
@@ -2,7 +2,7 @@
 libKF5Syndication.so.5abi1 libkf5syndication5abi1 #MINVER#
 * Build-Depends-Package: libkf5syndication-dev
  ABI_5_1@ABI_5_1 18.07.90
- _ZN11Syndication10LoaderUtil9parseFeedERK10QByteArrayRK4QUrl@ABI_5_1 1:5.69.0
+ (optional)_ZN11Syndication10LoaderUtil9parseFeedERK10QByteArrayRK4QUrl@ABI_5_1 1:5.69.0
  _ZN11Syndication10PersonImplC1ERK7QStringS3_S3_@ABI_5_1 18.07.90
  _ZN11Syndication10PersonImplC1Ev@ABI_5_1 18.07.90
  _ZN11Syndication10PersonImplC2ERK7QStringS3_S3_@ABI_5_1 18.07.90

Reply to: