#1146304 tigervnc: FTBFS with new libtool

Package:
src:tigervnc
Source:
src:tigervnc
Submitter:
Santiago Vila
Date:
2026-10-17 18:45:02 UTC
Severity:
normal
Tags:
#1146304#5
Date:
2026-08-31 09:19:05 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

[ Note: It looks like this package is trying to do the same as
  dh-autoreconf in #1146143 and it fails in a similar way. ]

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:tigervnc, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
test/Makefile.am:84: warning: source file 'xi2/xi2.c' is in a subdirectory,
test/Makefile.am:84: but option 'subdir-objects' is disabled
autoreconf: configure.ac: not running make: --make not given
autoreconf: Leaving directory 'unix/xserver'
cd /<<PKGBUILDDIR>>/unix/xserver && { \
    patch --no-backup-if-mismatch -p1 < /<<PKGBUILDDIR>>/contrib/packages/deb/ubuntu-jammy/debian/xorg-source-patches/debian_libtool.patch; \
  }
patching file ltmain.sh
Hunk #1 FAILED at 7890.
1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
patching file ltmain.sh
Hunk #1 succeeded at 8138 (offset 570 lines).
patching file m4/libtool.m4
Hunk #1 succeeded at 5247 (offset 311 lines).
Hunk #2 succeeded at 5306 with fuzz 2 (offset 311 lines).
Hunk #3 succeeded at 6094 (offset 327 lines).
make[2]: *** [debian/rules:138: override_dh_autoreconf] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:221: build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:221: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1146304#10
Date:
2026-10-02 14:06:51 UTC
From:
To:
Since no-one has done anything yet and tigervnc got removed from
testing...

This is apparently due to first hunk of the following patch:

  contrib/packages/deb/ubuntu-jammy/debian/xorg-source-patches/debian_libtool.patch

Modifying debian/rules so that this patch is no longer applied (see
attached debian/rules) allows one to build tigervnc and run vncviewer.

I suppose that this patch was a workaround for a libtool bug, and this
is no longer needed with the new libtool.

#1146304#17
Date:
2026-10-03 16:32:29 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for tigervnc (versioned as 1.15.0+dfsg-2.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian

#1146304#24
Date:
2026-10-05 11:05:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tigervnc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146304@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated tigervnc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 03 Oct 2026 19:26:40 +0300
Source: tigervnc
Architecture: source
Version: 1.15.0+dfsg-2.2
Distribution: unstable
Urgency: medium
Maintainer: TigerVNC Packaging Team <pkg-tigervnc-devel@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1146304
Changes:
 tigervnc (1.15.0+dfsg-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Workaround FTBFS with libtool 2.6.2. (Closes: #1146304)
Checksums-Sha1:
 b9c72da3c68b03d04616a67716284bb0c15b31a1 4065 tigervnc_1.15.0+dfsg-2.2.dsc
 c07e7ae24972c805ef84b0080677c31c9fdfacec 624536 tigervnc_1.15.0+dfsg-2.2.debian.tar.xz
Checksums-Sha256:
 14f8e17270c6057d94ddb5c2cf1adb1546d8d48b0cf1dcd2c7f241f11b119bdd 4065 tigervnc_1.15.0+dfsg-2.2.dsc
 ad5043a228da00bf9e0f54260fd6c29db17f0bfaa20af44b49f871bb2038525d 624536 tigervnc_1.15.0+dfsg-2.2.debian.tar.xz
Files:
 42809ca70aee2c2e44af499011be4a7d 4065 x11 optional tigervnc_1.15.0+dfsg-2.2.dsc
 54c0d86e6a601e841b3f90322661a0e1 624536 x11 optional tigervnc_1.15.0+dfsg-2.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmrBLagACgkQiNJCh6LY
mLF/KQ/2I1rWbtKMTObS0Fx6bfIPcQG6YS4O+z0+AzDlK0ep8KEdZeK2Fx7j9QHK
FL80ZJKmaPuOL6c8STVhCph4cFBWGFNgY6VWnQkIozP0muURu+z9zv698Yhtexlj
9LQariRtzAPndaasPi7EXDSX3yiT8CGfbKOIHAcEudIO7e5/eriuzZUHpH03D/J2
cOFlGjhKBL5hJTW57jUnpsyVfzo6XV4AgG3c7zIjGTeJzyY5nV+Pegnwx+SisdYG
shpV+Iw/lE+lmQC3DbQ9DHoazufT+1MPiL4Pu63QjU/3VgvqL7FIdJZGWtg7abAw
jTzttfss91wfiw4rytRqtg85Ojzuzony2tBHZwMUuNde61fw6q+Ftq2rT+ZiTk0P
6pQTg0YfxkXJGemg7cyJbEVccPdZXuyWk053Nhyq8qyJmwpYesU1gakp1HPH2iLF
gnh5RMNXRWk+ET5H0bHtvfeE8b9koX/Z9KihhuHuk/n3+PZYW7jJtZeUdbt2g85O
H7ClEhq/Al3byCSQhUxrz+YtdflUywb0wpYgMa5fdv9gfel2S4KgLDueScflZuWc
/efPve3Ycm+51+ULIqVcX5J7KLmhBHu6j3vpo5FFlWBvv7Po50riohepxFAhyD2+
yxWnlpZg6t6xleK1Vyp/YeDf80UvVi5321+DfZTmFVaslBZTcQ==
=eTju
-----END PGP SIGNATURE-----

#1146304#29
Date:
2026-10-08 22:51:47 UTC
From:
To:
reopen 1146304
thanks

This is either not fixed, or happening again.

See also:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/tigervnc.html

autoreconf: configure.ac: not running make: --make not given
autoreconf: Leaving directory 'unix/xserver'
cd /<<PKGBUILDDIR>>/unix/xserver && { \
    patch --no-backup-if-mismatch -p1 < /<<PKGBUILDDIR>>/contrib/packages/deb/ubuntu-jammy/debian/xorg-source-patches/
debian_libtool.patch; \
  }
patching file ltmain.sh
Hunk #1 FAILED at 7890.
1 out of 1 hunk FAILED -- saving rejects to file ltmain.sh.rej
patching file ltmain.sh
Hunk #1 succeeded at 8138 (offset 570 lines).
patching file m4/libtool.m4
Hunk #1 succeeded at 5247 (offset 311 lines).
Hunk #2 succeeded at 5306 with fuzz 2 (offset 311 lines).
Hunk #3 succeeded at 6094 (offset 327 lines).
make[2]: *** [debian/rules:141: override_dh_autoreconf] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:224: build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:224: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2

#1146304#38
Date:
2026-10-09 00:04:44 UTC
From:
To:
#1146304#41
Date:
2026-10-09 17:32:37 UTC
From:
To:
Hello,

Bug #1146304 in tigervnc reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-remote-team/tigervnc/-/commit/eaaed712b5a5b7a24bd52b3e446cc1ee11619e03
However, this will reopen bug #966238 in tigervnc-xorg-extension.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146304

#1146304#48
Date:
2026-10-10 05:47:36 UTC
From:
To:
Hi All,
unfortunately not. Both your fix and Vincent Lefèvre seem to lead to:

..]# ldd /usr/lib/xorg/modules/extensions/libvnc.so
	linux-vdso.so.1 (0x00007f48dcd37000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
(0x00007f48dc800000)
	libgcc_s.so.1 => /usr/lib/x86_64-linux-gnu/libgcc_s.so.1
(0x00007f48dcc26000)
	libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6 (0x00007f48dc60a000)
	libm.so.6 => /usr/lib/x86_64-linux-gnu/libm.so.6 (0x00007f48dcb10000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f48dcd39000)

Instead old tigervnc on trixie is:
..]# ldd ldd /usr/lib/xorg/modules/extensions/libvnc.so
	linux-vdso.so.1 (0x00007a1f83dbe000)
	libjpeg.so.62 => /lib/x86_64-linux-gnu/libjpeg.so.62 (0x00007a1f83c39000)
	libpixman-1.so.0 => /lib/x86_64-linux-gnu/libpixman-1.so.0
(0x00007a1f83b8c000)
	libpam.so.0 => /lib/x86_64-linux-gnu/libpam.so.0 (0x00007a1f83b7a000)
	libhogweed.so.6 => /lib/x86_64-linux-gnu/libhogweed.so.6
(0x00007a1f83b2f000)
	libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x00007a1f83aa3000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007a1f83a83000)
	libgnutls.so.30 => /lib/x86_64-linux-gnu/libgnutls.so.30
(0x00007a1f83800000)
	libnettle.so.8 => /lib/x86_64-linux-gnu/libnettle.so.8 (0x00007a1f83a2d000)
	libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007a1f83400000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007a1f8320c000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007a1f837d3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007a1f83dc0000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007a1f836e3000)
	libaudit.so.1 => /lib/x86_64-linux-gnu/libaudit.so.1 (0x00007a1f836a7000)
	libp11-kit.so.0 => /lib/x86_64-linux-gnu/libp11-kit.so.0
(0x00007a1f8306b000)
	libidn2.so.0 => /lib/x86_64-linux-gnu/libidn2.so.0 (0x00007a1f83674000)
	libunistring.so.5 => /lib/x86_64-linux-gnu/libunistring.so.5
(0x00007a1f82e83000)
	libtasn1.so.6 => /lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007a1f82e6d000)
	libcap-ng.so.0 => /lib/x86_64-linux-gnu/libcap-ng.so.0 (0x00007a1f8366c000)
	libffi.so.8 => /lib/x86_64-linux-gnu/libffi.so.8 (0x00007a1f82e60000)

#1146304#51
Date:
2026-10-15 19:11:06 UTC
From:
To:
Hello,

Bug #1146304 in tigervnc reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/debian-remote-team/tigervnc/-/commit/2ae80d91141b5f9e0404ec0ef53853b6fed14672
------------------------------------------------------------------------
d/patches: Add patch to update xorg source patch, debian_libtool.patch, to fix FTBFS with libtool 2.6.2 and avoid reopening bug #966238 in tigervnc-xorg-extension. (Closes: #1146304)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1146304

#1146304#56
Date:
2026-10-17 13:34:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
tigervnc, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1146304@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Joachim Falk <joachim.falk@gmx.de> (supplier of updated tigervnc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 15 Oct 2026 21:12:38 +0200
Source: tigervnc
Architecture: source
Version: 1.16.2+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: TigerVNC Packaging Team <pkg-tigervnc-devel@lists.alioth.debian.org>
Changed-By: Joachim Falk <joachim.falk@gmx.de>
Closes: 1146304
Changes:
 tigervnc (1.16.2+dfsg-1) unstable; urgency=medium
 .
   [ Joachim Falk ]
   * TigerVNC 1.16.2 is now available. Lots of changes have been made since the
     last release, but the highlights are:
     - The native viewer has a new keyboard shortcut system to control the
       viewer, replacing the F8 shortcut and allowing easier access to toggle
       full-screen mode and redirecting system keys
     - The native viewer now supports sending system keys even in windowed mode
     - Added a new server called w0vncserver for sharing Wayland desktops
     - The Java viewer has more fine-grained control of scaling the session
     - The native viewer uses a different method to intercept system keys on
        macOS, which will require explicit user approval
     - The native viewer has an improved server field, with searchable history
     - The native viewer is now more responsive when resizing the remote session
 .
   [ Ileana Dumitrescu ]
   * d/copyright: Update Files-Excluded to remove files that are not packaged
     in tar from upstream.
   * d/watch: Update Version to 5.
   * d/patches: Remove upstream applied security fix, and refresh other patches.
   * d/control: Bump debhelper-compat from 13 to 14 and Standards-Version from
     4.6.2 to 4.7.4.
   * d/control: Update arch specific strings and remove invalid ones.
   * d/control: Update obsolete package name, libselinux1-dev => libselinux-dev.
   * d/rules: Remove dpkg-parsechangelog in favour of DEB variables in pkg-info.
   * d/patches: Add patch to update xorg source patch, debian_libtool.patch, to
     fix FTBFS with libtool 2.6.2 and avoid reopening bug #966238 in
     tigervnc-xorg-extension. (Closes: #1146304)
Checksums-Sha1:
 a01982264247c59b5a3ba71c6c61cec2fce27949 4072 tigervnc_1.16.2+dfsg-1.dsc
 7989540b136580bb4553c1d0c959fe111fba1c79 1599956 tigervnc_1.16.2+dfsg.orig.tar.xz
 a64d39332aafb03102e3131f12908e00f20b3a4a 625164 tigervnc_1.16.2+dfsg-1.debian.tar.xz
 745cab512600da40d04398e3896447abc12130aa 11355 tigervnc_1.16.2+dfsg-1_source.buildinfo
Checksums-Sha256:
 b148592de98dd6cbfef7c887403b4b0acd9a19bb1710addb52c920465c1a6e87 4072 tigervnc_1.16.2+dfsg-1.dsc
 88a070aad8bca22e0d190e95a6cf078347bb86722f89070ace45939ee8833045 1599956 tigervnc_1.16.2+dfsg.orig.tar.xz
 9b50bcd2c83c229a38c4573bbc7abbc2ce7192a21eb367a3fca05b95aa8b8262 625164 tigervnc_1.16.2+dfsg-1.debian.tar.xz
 eb9cfa08eeea135f07a85ea729ac6cdaa792d010d032495aa45d81a2a05136af 11355 tigervnc_1.16.2+dfsg-1_source.buildinfo
Files:
 0ad71101404d27f4bd9c8245d20138d0 4072 x11 optional tigervnc_1.16.2+dfsg-1.dsc
 c29f477a8b5aa46095fb3a238075e343 1599956 x11 optional tigervnc_1.16.2+dfsg.orig.tar.xz
 22caea05583c38f8906806e73eedb5de 625164 x11 optional tigervnc_1.16.2+dfsg-1.debian.tar.xz
 8f13ecd4afe29b711da2224d2858e052 11355 x11 optional tigervnc_1.16.2+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEd0JxOxv4oYU15116MFSGLSVGoYAFAmrTco0UHGpvYWNoaW0u
ZmFsa0BnbXguZGUACgkQMFSGLSVGoYABgQ/9H8DY0fUUrUxvzTIGv0sc/edg2541
3F5lpXvyc2e7qYs1Eeucq0/Tu/OXMzpR+6KFEQGykwGsF2pyLrcYjf1YSfBPPwGc
h+n5rJIvEPtcptDca4CW0ZtjDLLD+3OUeFVdIM2vh/bSzW+/FZg5zZ+vS1tn4jbN
i/bRWyycGh/Z0RC4wQwNUmU82+U9nYjWqmBeX8+8UsTmpx/YOGYjg9BWF0C+tvZA
Wkso3HwNcEM+VmeBVhzhOPiwSToP66xoQFQ9Fb6AHb8NbLl+Hve/ejv3i2fgG/Ct
AcVSj4xYx/jKKPVntugU6W/sb3xesjXxzNHqBN5eg9QGM/WPT3brcr8HF6z5Xe/M
nVL9HFn1XIyPiv5LkcM0vLvqLsaSBYLPrLwvRAXWADDe0Atl/d9KeNI7NZxJR78a
K54k7osK56GjUOVKB7jvNornXO+46UYrjL/LspHiAXSpO8n478XFevg3ezkMCwnF
g5asPwa3tvf0674KIrg2vk2nUs/9LYYJ3NdXIUaTFmGtNnD7V10ctytNDeRofuHB
QrHvwF8i8XeEpgXQLZ4chtYJ+8JCWeq/ssdP4GGVA3+VDYqiyw8LJsZzHqujNbAL
Ej68XugpG6MHrQiaE89Xe8KbqtJ8CrVra9D3nUpVnJOMIGJ4/h7ZSsftYX/3DEmL
FZYylEPTjvW3gv4=
=gER8
-----END PGP SIGNATURE-----

#1146304#61
Date:
2026-10-17 18:43:27 UTC
From:
To:
[...]

This patch is a dirty hack (it should not be needed to patch the
files generated by Libtool, except in case of Libtool bug).

According to https://github.com/TigerVNC/tigervnc/issues/294 it
is apparently Debian that introduced a bug in Libtool:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702737