Source: katarakt
Version: 0.2-2
Severity: serious
Tags: ftbfs

katarakt fails to build from source. A build ends with:

| g++ -c -pipe -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -Wextra -fPIC -DQT_DEPRECATED_WARNINGS 
-DPOPPLER_VERSION_MAJOR=20 -DPOPPLER_VERSION_MINOR=09 -DPOPPLER_VERSION_MICRO=0 
-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_WIDGETS_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I. 
-I/usr/include/poppler/qt5 -I/usr/include/poppler 
-I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtWidgets 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtNetwork 
-I/usr/include/x86_64-linux-gnu/qt5/QtXml 
-I/usr/include/x86_64-linux-gnu/qt5/QtDBus 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o resourcemanager.o 
src/resourcemanager.cpp
| <command-line>: error: invalid digit "9" in octal constant
| src/util.h:11:59: note: in expansion of macro ‘POPPLER_VERSION_MINOR’
|    11 | #define POPPLER_VERSION ((POPPLER_VERSION_MAJOR << 16) | 
(POPPLER_VERSION_MINOR << 8) | (POPPLER_VERSION_MICRO))
|       |                                                           
^~~~~~~~~~~~~~~~~~~~~
| src/resourcemanager.cpp:121:5: note: in expansion of macro ‘POPPLER_VERSION’
|   121 | #if POPPLER_VERSION >= POPPLER_VERSION_CHECK(0, 18, 0)
|       |     ^~~~~~~~~~~~~~~
| <command-line>: error: invalid digit "9" in octal constant
| src/util.h:11:59: note: in expansion of macro ‘POPPLER_VERSION_MINOR’
|    11 | #define POPPLER_VERSION ((POPPLER_VERSION_MAJOR << 16) | 
(POPPLER_VERSION_MINOR << 8) | (POPPLER_VERSION_MICRO))
|       |                                                           
^~~~~~~~~~~~~~~~~~~~~
| src/resourcemanager.cpp:124:5: note: in expansion of macro ‘POPPLER_VERSION’
|   124 | #if POPPLER_VERSION >= POPPLER_VERSION_CHECK(0, 22, 0)
|       |     ^~~~~~~~~~~~~~~
| <command-line>: error: invalid digit "9" in octal constant
| src/util.h:11:59: note: in expansion of macro ‘POPPLER_VERSION_MINOR’
|    11 | #define POPPLER_VERSION ((POPPLER_VERSION_MAJOR << 16) | 
(POPPLER_VERSION_MINOR << 8) | (POPPLER_VERSION_MICRO))
|       |                                                           
^~~~~~~~~~~~~~~~~~~~~
| src/resourcemanager.cpp:127:5: note: in expansion of macro ‘POPPLER_VERSION’
|   127 | #if POPPLER_VERSION >= POPPLER_VERSION_CHECK(0, 24, 0)
|       |     ^~~~~~~~~~~~~~~
| src/resourcemanager.cpp: In member function ‘QDomDocument* 
ResourceManager::get_toc() const’:
| src/resourcemanager.cpp:483:18: warning: ‘QDomDocument* 
Poppler::Document::toc() const’ is deprecated [-Wdeprecated-declarations]
|   483 |  return doc->toc();
|       |                  ^
| In file included from src/resourcemanager.h:11,
|                  from src/resourcemanager.cpp:10:
| /usr/include/poppler/qt5/poppler-qt5.h:1709:37: note: declared here
|  1709 |     Q_DECL_DEPRECATED QDomDocument *toc() const;
|       |                                     ^~~
| src/layout/layout.cpp: In member function ‘virtual void 
Layout::activate_link(int, float, float)’:
| src/layout/layout.cpp:349:12: warning: enumeration value ‘OCGState’ not 
handled in switch [-Wswitch]
|   349 |     switch (l->linkType()) {
|       |            ^
| src/layout/layout.cpp:349:12: warning: enumeration value ‘Hide’ not handled 
in switch [-Wswitch]
| make[2]: *** [Makefile:635: resourcemanager.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory '/<<PKGBUILDDIR>>'
| dh_auto_build: error: make -j8 returned exit code 2
| make[1]: *** [debian/rules:13: override_dh_auto_build] Error 25
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:7: binary] Error 2
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2

Also reproducible by reproducible builds in bullseye:
https://tests.reproducible-builds.org/debian/rbuild/bullseye/amd64/katarakt_0.2-2.rbuild.log.gz

Also seen by crossqa in unstable:
http://crossqa.debian.net/build/katarakt_0.2-2_armhf_20200925023420.log

Helmut

Reply via email to