gtk+3.0: FTBFS: dpkg-gensymbols: error: some new symbols appeared in the symbols file: see diff output below

Bug #1956388 reported by Norbert
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Debian)
Fix Released
Unknown
gtk+3.0 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

apt-get source -b libgtk-3-dev
Reading package lists... Done
Picking 'gtk+3.0' as source package instead of 'libgtk-3-dev'
NOTICE: 'gtk+3.0' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/gnome-team/gtk3.git -b ubuntu/focal
Please use:
git clone https://salsa.debian.org/gnome-team/gtk3.git -b ubuntu/focal
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 22.9 MB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1 (dsc) [3,639 B]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1 (tar) [22.7 MB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main gtk+3.0 3.24.20-0ubuntu1 (diff) [171 kB]
Fetched 22.9 MB in 28s (815 kB/s)
dpkg-source: info: extracting gtk+3.0 in gtk+3.0-3.24.20
dpkg-source: info: unpacking gtk+3.0_3.24.20.orig.tar.xz
dpkg-source: info: unpacking gtk+3.0_3.24.20-0ubuntu1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series

...

dwz: debian/libgtk-3-0/usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2404.16: DWARF compression not beneficial - old size 8243658 new size 8376050
   dh_strip -O--buildsystem=autoconf
   debian/rules override_dh_makeshlibs
make[1]: Entering directory '/root/gtk+3.0-3.24.20'
sed: couldn't write 35 items to stdout: Broken pipe
dh_makeshlibs -plibgtk-3-0 --add-udeb=libgtk-3-0-udeb -Xusr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0 -- -c4
dpkg-gensymbols: error: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libgtk-3-0/DEBIAN/symbols doesn't match completely debian/libgtk-3-0.symbols
--- debian/libgtk-3-0.symbols (libgtk-3-0_3.24.20-0ubuntu1_amd64)
+++ dpkg-gensymbolsrezAkY 2022-01-04 20:54:52.551202248 +0000
@@ -1,5 +1,8 @@
 libgdk-3.so.0 libgtk-3-0 #MINVER#
 * Build-Depends-Package: libgtk-3-dev
+ _gdk_get_resource@Base 3.24.20-0ubuntu1
+ _gdk_register_resource@Base 3.24.20-0ubuntu1
+ _gdk_unregister_resource@Base 3.24.20-0ubuntu1
  gdk__private__@Base 3.16.2
  gdk_add_option_entries_libgtk_only@Base 3.0.0
  gdk_anchor_hints_get_type@Base 3.21.5
@@ -758,6 +761,9 @@
  gdk_x11_xatom_to_atom@Base 3.0.0
  gdk_x11_xatom_to_atom_for_display@Base 3.0.0
 libgtk-3.so.0 libgtk-3-0 #MINVER#
+ _gtk_get_resource@Base 3.24.20-0ubuntu1
+ _gtk_register_resource@Base 3.24.20-0ubuntu1
+ _gtk_unregister_resource@Base 3.24.20-0ubuntu1
  gtk_about_dialog_add_credit_section@Base 3.3.16
  gtk_about_dialog_get_artists@Base 3.0.0
  gtk_about_dialog_get_authors@Base 3.0.0
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:243: override_dh_makeshlibs] Error 2
make[1]: Leaving directory '/root/gtk+3.0-3.24.20'
make: *** [debian/rules:135: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
W: Download is performed unsandboxed as root as file 'gtk+3.0_3.24.20-0ubuntu1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: Build command 'cd gtk+3.0-3.24.20 && dpkg-buildpackage -b -uc' failed.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libgtk-3-dev (not installed)
ProcVersionSignature: Ubuntu 5.4.0-92.103-generic 5.4.157
Uname: Linux 5.4.0-92-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.21
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Wed Jan 5 00:02:06 2022
InstallationDate: Installed on 2020-04-23 (621 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: gtk+3.0
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Changed in gtk+3.0 (Debian):
status: Unknown → Fix Released
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "build-Don-t-export-GResource-related-symbols-with-newer-G.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Norbert (nrbrtx) wrote :

To reproduce run:

docker run -it --rm ubuntu:focal bash -c "sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list; apt-get update; apt-get dist-upgrade -y; apt-get build-dep libgtk-3-dev -y; apt-get source -b libgtk-3-dev"

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is fixed in the current version

Changed in gtk+3.0 (Ubuntu):
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.