#1139463 apvlv: FTBFS: /usr/include/QuaZip-Qt6-1.7.1/quazip/quazip_textcodec.h:32:10: fatal error: QTextCodec: No such file or directory

Package:
src:apvlv
Source:
src:apvlv
Submitter:
Santiago Vila
Date:
2026-06-14 03:21:02 UTC
Severity:
normal
Tags:
#1139463#5
Date:
2026-06-09 09:47:10 UTC
From:
To:
Dear maintainer:

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

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/202606/

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:apvlv, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[ 81%] Building CXX object src/CMakeFiles/apvlv.dir/file/ApvlvEpub.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/x86 [too-long-redacted] UILDDIR>>/src/file/ApvlvEpub.cc
In file included from /usr/include/QuaZip-Qt6-1.7.1/quazip/quazip_qt_compat.h:15,
                 from /usr/include/QuaZip-Qt6-1.7.1/quazip/quazip.h:30,
                 from /usr/include/QuaZip-Qt6-1.7.1/quazip/quazipfile.h:31,
                 from /<<PKGBUILDDIR>>/src/file/ApvlvEpub.cc:32:
/usr/include/QuaZip-Qt6-1.7.1/quazip/quazip_textcodec.h:32:10: fatal error: QTextCodec: No such file or directory
   32 | #include <QTextCodec>
      |          ^~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/CMakeFiles/apvlv.dir/build.make:508: src/CMakeFiles/apvlv.dir/file/ApvlvEpub.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:155: src/CMakeFiles/apvlv.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:159: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1139463#10
Date:
2026-06-11 09:09:00 UTC
From:
To:
Hi,

apvlv FTBFS by transition: libquazip1  #1138499


在 2026/6/9 17:47, Santiago Vila 写道:

Is this bug of new version QuaZip 1.7?

Is <QTextCodec> exist in qt6?

Regards,

#1139463#17
Date:
2026-06-11 09:39:10 UTC
From:
To:
https://doc.qt.io/qt-6/qtextcodec.html suggests it's part of the Qt5 compatibility APIs,

In Debian it's provided by qt6-5compat-dev:

  $ apt-file search QTextCodec
  qt6-5compat-dev: /usr/include/x86_64-linux-gnu/qt6/QtCore5Compat/QTextCodec
  qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextCodec
  qtbase5-gles-dev: /usr/include/x86_64-linux-gnu/qt5/QtCore/QTextCodec

Kind Regards,

Bas

#1139463#22
Date:
2026-06-11 09:56:53 UTC
From:
To:
Control: tags -1 patch
libquazip1-qt6-dev pulls in qt6-5compat-dev, and libquazip1-qt6-1.7 depends on libqt6core5compat6, that seems fine.

A workaround for the FTBFS is to add the include path per the attached patch.

Kind Regards,

Bas

#1139463#29
Date:
2026-06-11 11:28:25 UTC
From:
To:
The underlying issue the missing Requires in the quazip pkg-config file, this is known upstream:

https://github.com/stachenov/quazip/issues/255

My approach to fix that is attached, the upstream PR might be better.

Kind Regards,

Bas

#1139463#34
Date:
2026-06-12 01:25:54 UTC
From:
To:
Hi,

在 2026/6/11 19:28, Sebastiaan Couwenberg 写道:
Thanks for help to confirm this is a bug of upstream libquazip1.

The fix will be the milestone of upstream quazip v1.7.2:
https://github.com/stachenov/quazip/milestone/6

Upstream first is better, your patch is still to appreciate, thanks!



Kind Regards,

#1139463#39
Date:
2026-06-13 21:20:37 UTC
From:
To:
Hello,

libquazip1 version 1.7.1-2 has just been accepted into unstable; the
release just adds the patch from Bas.

Thanks,
--
Ben Westover

#1139463#44
Date:
2026-06-14 03:12:44 UTC
From:
To:
Hi,

在 2026/6/14 05:20, Ben Westover 写道:

apvlv had build success on new libquazip1 version 1.7.1-2.


Thanks!