Menu

#180 2.7.0: FTBFS on Debian "sid": not declared in this scope

1.0
closed
None
2020-01-20
2020-01-13
onlyjob
No
/build/zint-2.7.0/frontend_qt/exportwindow.cpp:109:9: error: 'txtFeedback' was not declared in this scope; did you mean 'Feedback'?
  109 |         txtFeedback->clear();
      |         ^~~~~~~~~~~
      |         Feedback
make[3] *** [frontend_qt/CMakeFiles/zint-qt.dir/build.make:193: frontend_qt/CMakeFiles/zint-qt.dir/exportwindow.cpp.o] Error 1
make[3] *** Waiting for unfinished jobs....
/build/zint-2.7.0/frontend_qt/mainwindow.cpp: In constructor 'MainWindow::MainWindow(QWidget*, Qt::WindowFlags)':
/build/zint-2.7.0/frontend_qt/mainwindow.cpp:161:13: error: 'chkAutoHeight' was not declared in this scope
  161 |     connect(chkAutoHeight, SIGNAL(stateChanged( int )), SLOT(autoheight_clicked()));
      |             ^~~~~~~~~~~~~
/build/zint-2.7.0/frontend_qt/mainwindow.cpp: In member function 'void MainWindow::autoheight_clicked()':
/build/zint-2.7.0/frontend_qt/mainwindow.cpp:331:9: error: 'chkAutoHeight' was not declared in this scope
  331 |     if (chkAutoHeight->isChecked()) {
      |         ^~~~~~~~~~~~~
/build/zint-2.7.0/frontend_qt/mainwindow.cpp:332:9: error: 'lblHeight' was not declared in this scope; did you mean 'PdmHeight'?
  332 |         lblHeight->setEnabled(false);
      |         ^~~~~~~~~
      |         PdmHeight
/build/zint-2.7.0/frontend_qt/mainwindow.cpp:335:9: error: 'lblHeight' was not declared in this scope; did you mean 'PdmHeight'?
  335 |         lblHeight->setEnabled(true);
      |         ^~~~~~~~~
      |         PdmHeight
/build/zint-2.7.0/frontend_qt/mainwindow.cpp: In member function 'void MainWindow::update_preview()':
/build/zint-2.7.0/frontend_qt/mainwindow.cpp:1072:8: error: 'chkAutoHeight' was not declared in this scope
 1072 |     if(chkAutoHeight->isChecked()) {
      |        ^~~~~~~~~~~~~
make[3] *** [frontend_qt/CMakeFiles/zint-qt.dir/build.make:154: frontend_qt/CMakeFiles/zint-qt.dir/mainwindow.cpp.o] Error 1

Discussion

  • Harald Oehlmann

    Harald Oehlmann - 2020-01-13

    Thank you for the bug-report.

    I have no idea about Debian. But on the windows side this may happen, if the following command was not issued before a make:
    qmake backend-qt

    Just an idea...

     
  • onlyjob

    onlyjob - 2020-01-13

    Thanks, I tried that but it did not help...

     
  • Anders Lind

    Anders Lind - 2020-01-15

    There is a somewhat similar output in https://sourceforge.net/p/zint/tickets/175/ (although not completely the same), but it might relate to the same problem!
    I am running Ubuntu 18.04.3 as mentioned in ticket 175.

    In Ubuntu when trying with 'qmake ../backend_qt' prior to calling 'sudo makie install' in the build directory yields (in Danish) that the File Format was not recoqnized
    (e.g. "strip:/tmp/zint-2.7.0/backend_qt/inst/include/zint.h: Filformatet ikke genkendt"):

    anders@anders-desktop:/tmp/zint-2.7.0/build$ qmake ../backend_qt
    Info: creating stash file /tmp/zint-2.7.0/build/.qmake.stash
    anders@anders-desktop:/tmp/zint-2.7.0/build$ sudo make install
    [sudo] adgangskode for anders: 
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o 2of5.o ../backend/2of5.c
    ../backend/2of5.c: In functioninterleaved_two_of_five’:
    ../backend/2of5.c:217:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i += 2) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o auspost.o ../backend/auspost.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o aztec.o ../backend/aztec.c
    ../backend/aztec.c: In functioncount_doubles’:
    ../backend/aztec.c:58:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while ((i < src_len) && cond);
                     ^
    ../backend/aztec.c: In functionget_next_mode’:
    ../backend/aztec.c:119:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while ((i < src_len) && (encode_mode[i] == encode_mode[posn]));
                     ^
    ../backend/aztec.c:120:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (i >= src_len) {
               ^~
    ../backend/aztec.c: In functionaztec_text_process’:
    ../backend/aztec.c:152:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len; i++) {
                       ^
    ../backend/aztec.c:163:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len - 1; i++) {
                       ^
    ../backend/aztec.c:234:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < src_len; i++) {
                           ^
    ../backend/aztec.c:266:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (i < src_len);
                    ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o bmp.o ../backend/bmp.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o codablock.o ../backend/codablock.c
    ../backend/codablock.c: In functionCreateCharacterSetTable’:
    ../backend/codablock.c:142:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (charCur=0;charCur<dataLength;charCur++)
                               ^
    ../backend/codablock.c:158:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (runChar>=dataLength)
                                    ^~
    ../backend/codablock.c:167:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 } while (runChar<dataLength);
                                 ^
    ../backend/codablock.c: In functionColumns2Rows’:
    ../backend/codablock.c:276:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 while(emptyColumns>0 && charCur<dataLength)
                                                ^
    ../backend/codablock.c:378:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (charCur<dataLength)
                                ^
    ../backend/codablock.c:392:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } while (charCur<dataLength); /* <= Data.Len-1 */
                             ^
    ../backend/codablock.c:209:62: warning: unused parameterdata’ [-Wunused-parameter]
     static int Columns2Rows(CharacterSetTable *T, unsigned char *data, const size_t dataLength,
                                                                  ^~~~
    ../backend/codablock.c:400:32: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     pSet[charCur-1]|=CFill;
                                    ^
    ../backend/codablock.c:402:13: note: here
                 case 0:
                 ^~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o code.o ../backend/code.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o code128.o ../backend/code128.c
    ../backend/code128.c: In functioncode_128’:
    ../backend/code128.c:320:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < sourcelen; i++) {
                       ^
    ../backend/code128.c:328:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < sourcelen; i++) {
                       ^
    ../backend/code128.c:341:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if ((j >= 3) && (i == (sourcelen - 1))) {
                                ^~
    ../backend/code128.c:349:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 1; i < sourcelen; i++) {
                       ^
    ../backend/code128.c:352:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (j = 0; (fset[i + j] == ' ') && ((i + j) < sourcelen); j++);
                                                              ^
    ../backend/code128.c:353:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if ((j < 5) || ((j < 3) && ((i + j) == (sourcelen - 1)))) {
                                                     ^~
    ../backend/code128.c:378:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while ((list[1][indexliste] == mode) && (indexchaine < sourcelen)) {
                                                                  ^
    ../backend/code128.c:387:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (indexchaine < sourcelen);
                              ^
    ../backend/code128.c:454:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < sourcelen; i++) {
                       ^
    ../backend/code128.c:666:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (read < sourcelen);
                       ^
    ../backend/code128.c: In functionean_128’:
    ../backend/code128.c:981:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o code16k.o ../backend/code16k.c
    ../backend/code16k.c: In functiondxsmooth16’:
    ../backend/code16k.c:130:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i != *(indexliste) - 1) {
                   ^~
    ../backend/code16k.c: In functioncode16k’:
    ../backend/code16k.c:343:62: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while ((list[1][indexliste] == mode) && (indexchaine < input_length)) {
                                                                  ^
    ../backend/code16k.c:352:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (indexchaine < input_length);
                              ^
    ../backend/code16k.c:359:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (j = 0; j < list[0][i]; j++) {
                           ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o code49.o ../backend/code49.c
    ../backend/code49.c: In functioncode_49’:
    ../backend/code49.c:182:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (i < h) {
                           ^
    ../backend/code49.c:197:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (i < h);
                    ^
    ../backend/code49.c:330:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (j = 0; j < strlen(pattern); j++) {
                           ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o common.o ../backend/common.c
    ../backend/common.c: In functionustrchr_cnt’:
    ../backend/common.c:146:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o composite.o ../backend/composite.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dmatrix.o ../backend/dmatrix.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dotcode.o ../backend/dotcode.c
    ../backend/dotcode.c:107:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
     const int score_array(char Dots[], int Hgt, int Wid) {
     ^~~~~
    ../backend/dotcode.c: In functionapply_mask’:
    ../backend/dotcode.c:1212:135: warning: unused parameterdot_stream’ [-Wunused-parameter]
     pply_mask(int mask, int data_length, unsigned char *masked_codeword_array, unsigned char *codeword_array, int ecc_length, char *dot_stream) {
                                                                                                                                     ^~~~~~~~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o eci.o ../backend/eci.c
    ../backend/eci.c: In functionutf_to_eci’:
    ../backend/eci.c:72:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (*length < (in_posn + 2)) {
                             ^
    ../backend/eci.c:88:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (*length < (in_posn + 2)) {
                             ^
    ../backend/eci.c:92:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (*length < (in_posn + 3)) {
                             ^
    ../backend/eci.c:248:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (in_posn < *length);
                          ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o emf.o ../backend/emf.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gb2312.o ../backend/gb2312.c
    ../backend/gb2312.c: In functiongb2312_wctomb_zint’:
    ../backend/gb2312.c:1504:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
         if (wc >= 0x0000 && wc < 0x0460) {
                ^~
    ../backend/gb2312.c: In functiongb2312_utf8tomb’:
    ../backend/gb2312.c:1570:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0, length = *p_length; i < length; i++) {
                                           ^
    ../backend/gb2312.c: In functiongb2312_cpy’:
    ../backend/gb2312.c:1611:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0, j = 0, length = *p_length; i < length; i++, j++) {
                                                  ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o general_field.o ../backend/general_field.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gif.o ../backend/gif.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gridmtx.o ../backend/gridmtx.c
    ../backend/gridmtx.c: In functionnumeral_lat’:
    ../backend/gridmtx.c:64:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = posn, nondigit = 0, digit_cnt = 0; i < length && i < posn + 4 && digit_cnt < 3; i++) {
                                                       ^
    ../backend/gridmtx.c:73:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } else if (i < length - 1 && gbdata[i] == 13 && gbdata[i + 1] == 10) {
                          ^
    ../backend/gridmtx.c: In functiondefine_mode’:
    ../backend/gridmtx.c:183:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    ../backend/gridmtx.c:193:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             double_digit = i < length - 1 && numeric && gbdata[i + 1] >= '0' && gbdata[i + 1] <= '9';
                              ^
    ../backend/gridmtx.c:194:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             eol = i < length - 1 && gbdata[i] == 13 && gbdata[i + 1] == 10;
                     ^
    ../backend/gridmtx.c:240:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i == length - 1) { /* Add end of data costs if last character */
                   ^~
    ../backend/gridmtx.c: In functiongm_encode’:
    ../backend/gridmtx.c:502:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (sp != (length - 1)) {
                                ^~
    ../backend/gridmtx.c:512:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (sp != (length - 1)) {
                                ^~
    ../backend/gridmtx.c:560:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         } else if (sp < (length - 1) && (gbdata[sp] == 13) && (gbdata[sp + 1] == 10)) {
                                       ^
    ../backend/gridmtx.c:572:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     } while ((p < 3) && (sp < length) && mode[sp] == GM_NUMBER);
                                             ^
    ../backend/gridmtx.c:727:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (sp < length);
                     ^
    ../backend/gridmtx.c: In functiongm_add_ecc’:
    ../backend/gridmtx.c:806:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < data_posn; i++) {
                       ^
    ../backend/gridmtx.c: In functiongrid_matrix’:
    ../backend/gridmtx.c:88:18: warning: ‘nondigit_posnmay be used uninitialized in this function [-Wmaybe-uninitialized]
         if (nondigit && nondigit_posn == i - 1) { /* Non-digit can't be at end */
             ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
    ../backend/gridmtx.c:54:22: note: ‘nondigit_posnwas declared here
         int i, nondigit, nondigit_posn, digit_cnt;
                          ^~~~~~~~~~~~~
    ../backend/gridmtx.c:165:27: warning: ‘numeral_costmay be used uninitialized in this function [-Wmaybe-uninitialized]
         int numeral_end = -1, numeral_cost;
                               ^~~~~~~~~~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o gs1.o ../backend/gs1.c
    ../backend/gs1.c: In functiongs1_verify’:
    ../backend/gs1.c:96:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len; i++) {
                       ^
    ../backend/gs1.c:124:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len; i++) {
                       ^
    ../backend/gs1.c:181:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 1; i < src_len; i++) {
                       ^
    ../backend/gs1.c:206:111: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } while ((source[data_location[i] + data_length[i] - 1] != '[') && (data_location[i] + data_length[i] <= src_len));
                                                                                                                   ^~
    ../backend/gs1.c:665:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len; i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o hanxin.o ../backend/hanxin.c
    ../backend/hanxin.c: In functionlookup_text2’:
    ../backend/hanxin.c:324:34: warning: comparison is always true due to limited range of data type [-Wtype-limits]
         if ((input >= '{') && (input <= 127)) {
                                      ^~
    ../backend/hanxin.c: In functioncalculate_binary’:
    ../backend/hanxin.c:654:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (position < length);
                           ^
    ../backend/hanxin.c: In functionhan_xin’:
    ../backend/hanxin.c:1255:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < length; i++) {
                           ^
    ../backend/hanxin.c:1268:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < length; i++) {
                           ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o imail.o ../backend/imail.c
    ../backend/imail.c: In functionimail’:
    ../backend/imail.c:360:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (read = 0; read < strlen(zip_adder); read++) {
                             ^
    ../backend/imail.c:400:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (read = 2; read < strlen(tracker); read++) {
                             ^
    ../backend/imail.c:549:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < strlen(data_pattern); i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o large.o ../backend/large.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o library.o ../backend/library.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o mailmark.o ../backend/mailmark.c
    ../backend/mailmark.c: In functionmailmark’:
    ../backend/mailmark.c:575:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < strlen(bar); i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o maxicode.o ../backend/maxicode.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o medical.o ../backend/medical.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o pcx.o ../backend/pcx.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o pdf417.o ../backend/pdf417.c
    ../backend/pdf417.c: In functionnumbprocess’:
    ../backend/pdf417.c:520:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (loop = 0; loop < strlen(chainemod); loop++) {
                                         ^
    ../backend/pdf417.c: In functionpdf417’:
    ../backend/pdf417.c:572:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while ((liste[1][indexliste] == mode) && (indexchaine < length)) {
                                                                   ^
    ../backend/pdf417.c:578:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (indexchaine < length);
                              ^
    ../backend/pdf417.c:815:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (loop = 0; loop < strlen(pattern); loop++) {
                                 ^
    ../backend/pdf417.c: In functionmicro_pdf417’:
    ../backend/pdf417.c:917:63: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             while ((liste[1][indexliste] == mode) && (indexchaine < length)) {
                                                                   ^
    ../backend/pdf417.c:923:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (indexchaine < length);
                              ^
    ../backend/pdf417.c:1276:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (loop = 0; loop < strlen(pattern); loop++) {
                                 ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o plessey.o ../backend/plessey.c
    ../backend/plessey.c: In functionmsi_plessey_mod10’:
    ../backend/plessey.c:160:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    ../backend/plessey.c:167:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = n; i < length; i += 2) {
                       ^
    ../backend/plessey.c:179:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < h; i++) {
                       ^
    ../backend/plessey.c:184:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = n; i < length; i += 2) {
                       ^
    ../backend/plessey.c: In functionmsi_plessey_mod1010’:
    ../backend/plessey.c:248:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < h; i++) {
                       ^
    ../backend/plessey.c:278:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < h; i++) {
                       ^
    ../backend/plessey.c: In functionmsi_plessey_mod11’:
    ../backend/plessey.c:329:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < src_len; i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o postal.o ../backend/postal.c
    ../backend/postal.c: In functionpostnet’:
    ../backend/postal.c:109:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    ../backend/postal.c: In functionplanet’:
    ../backend/postal.c:175:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    ../backend/postal.c: In functionrm4scc’:
    ../backend/postal.c:309:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < length; i++) {
                       ^
    ../backend/postal.c: In functionkix_code’:
    ../backend/postal.c:410:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (loopey = 0; loopey < h; loopey++) {
                                 ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ps.o ../backend/ps.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o raster.o ../backend/raster.c
    ../backend/raster.c: In functionplot_raster_default’:
    ../backend/raster.c:687:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (i = 0; i < ustrlen(symbol->text); i++) {
                               ^
    ../backend/raster.c:772:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < ustrlen(local_text); i++) {
                           ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o reedsol.o ../backend/reedsol.c
    ../backend/reedsol.c: In functionrs_encode’:
    ../backend/reedsol.c:128:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < len; i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o rss.o ../backend/rss.c
    ../backend/rss.c: In functionrss_binary_string’:
    ../backend/rss.c:1386:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = read_posn; i < strlen(source); i++) {
                               ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o sjis.o ../backend/sjis.c
    ../backend/sjis.c: In functionjisx0208_wctomb’:
    ../backend/sjis.c:1458:12: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
         if (wc >= 0x0000 && wc < 0x0100) {
                ^~
    ../backend/sjis.c: In functionsjis_utf8tomb’:
    ../backend/sjis.c:1551:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0, length = *p_length; i < length; i++) {
                                           ^
    ../backend/sjis.c: In functionsjis_cpy’:
    ../backend/sjis.c:1592:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0, j = 0, length = *p_length; i < length; i++, j++) {
                                                  ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o svg.o ../backend/svg.c
    ../backend/svg.c: In functionmake_html_friendly’:
    ../backend/svg.c:53:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < ustrlen(string); i++) {
                       ^
    ../backend/svg.c: In functionsvg_plot’:
    ../backend/svg.c:108:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < strlen((char *)symbol->text); i++) {
                       ^
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o telepen.o ../backend/telepen.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o tif.o ../backend/tif.c
    ../backend/tif.c: In functiontif_pixel_plot’:
    ../backend/tif.c:122:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (free_memory > 0xffff0000) {
                         ^
    ../backend/tif.c:172:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if ((bytes_put + 3) >= strip_bytes[strip]) {
                                 ^~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ultra.o ../backend/ultra.c
    ../backend/ultra.c: In functionultracode’:
    ../backend/ultra.c:36:63: warning: unused parametersource’ [-Wunused-parameter]
     int ultracode(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length) {
                                                                   ^~~~~~
    ../backend/ultra.c:36:86: warning: unused parameterin_length’ [-Wunused-parameter]
     int ultracode(struct zint_symbol *symbol, const unsigned char source[], const size_t in_length) {
                                                                                          ^~~~~~~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o upcean.o ../backend/upcean.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o vector.o ../backend/vector.c
    ../backend/vector.c: In functionplot_vector’:
    ../backend/vector.c:269:49: warning: unused parameterrotate_angle’ [-Wunused-parameter]
     int plot_vector(struct zint_symbol *symbol, int rotate_angle, int file_type) {
                                                     ^~~~~~~~~~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qr.o ../backend/qr.c
    ../backend/qr.c: In functiondefine_mode’:
    ../backend/qr.c:97:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (ustrchr_cnt((unsigned char*) mode, length, 'N') != length) {
                                                             ^~
    ../backend/qr.c:116:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (ustrchr_cnt((unsigned char*) mode, length, 'A') != length) {
                                                             ^~
    ../backend/qr.c: In functionqr_binary’:
    ../backend/qr.c:189:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < length; i++) {
                           ^
    ../backend/qr.c:206:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } while (((short_data_block_length + position) < length)
                                                            ^
    ../backend/qr.c:460:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (position < length);
                           ^
    ../backend/qr.c: In functionapplyOptimisation’:
    ../backend/qr.c:1269:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < inputLength; i++) {
                       ^
    ../backend/qr.c:1288:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < inputLength; i++) {
                       ^
    ../backend/qr.c: In functiongetBinaryLength’:
    ../backend/qr.c:1440:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (j = i; j < (i + blockLength(i, inputMode, inputLength)); j++) {
                                       ^
    ../backend/qr.c:1456:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (j = i; j < (i + alphalength); j++) {
                                       ^
    ../backend/qr.c: In functionmicro_qr_intermediate’:
    ../backend/qr.c:1751:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (i = 0; i < length; i++) {
                           ^
    ../backend/qr.c:1771:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             } while (((short_data_block_length + position) < length) && (mode[position + short_data_block_length] == data_block));
                                                            ^
    ../backend/qr.c:1959:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (position < length);
                           ^
    ../backend/qr.c: In functionget_bitlength’:
    ../backend/qr.c:2009:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (i < length);
                    ^
    ../backend/qr.c: In functionmicroqr_expand_binary’:
    ../backend/qr.c:2093:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (i < length);
                    ^
    ../backend/qr.c: In functionmicro_populate_grid’:
    ../backend/qr.c:2520:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if (i < n) {
                   ^
    ../backend/qr.c:2548:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         } while (i < n);
                    ^
    ../backend/qr.c: In functionmicroqr’:
    ../backend/qr.c:2740:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (a_count == length) {
                     ^~
    ../backend/qr.c:2747:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (n_count == length) {
                     ^~
    ../backend/qr.c:2882:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < size; i++) {
                       ^
    ../backend/qr.c:2971:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i = 0; i < size; i++) {
                       ^
    ../backend/qr.c: In functionupnqr’:
    ../backend/qr.c:3011:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (i = 0; i < length; i++) {
                               ^
    ../backend/qr.c:3026:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for (i = 0; i < length; i++) {
                               ^
    ../backend/qr.c: In functionsetup_rmqr_grid’:
    ../backend/qr.c:3095:93: warning: unused parameterversion’ [-Wunused-parameter]
     static void setup_rmqr_grid(unsigned char* grid,const int h_size,const int v_size,const int version) {
                                                                                                 ^~~~~~~
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o dllversion.o ../backend/dllversion.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o code1.o ../backend/code1.c
    gcc -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o png.o ../backend/png.c
    g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DZINT_VERSION=\"2.7.0\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../backend_qt -I. -I../backend -I../../lpng -I../../zlib -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o qzint.o ../backend_qt/qzint.cpp
    ../backend_qt/qzint.cpp: In member functionvoid Zint::QZint::render(QPainter&, const QRectF&, Zint::QZint::AspectRatioMode)’:
    ../backend_qt/qzint.cpp:276:86: warning: unused parametermode’ [-Wunused-parameter]
         void QZint::render(QPainter & painter, const QRectF & paintRect, AspectRatioMode mode) {
                                                                                          ^~~~
    rm -f libQtZint.a
    ar cqs libQtZint.a 2of5.o auspost.o aztec.o bmp.o codablock.o code.o code128.o code16k.o code49.o common.o composite.o dmatrix.o dotcode.o eci.o emf.o gb2312.o general_field.o gif.o gridmtx.o gs1.o hanxin.o imail.o large.o library.o mailmark.o maxicode.o medical.o pcx.o pdf417.o plessey.o postal.o ps.o raster.o reedsol.o rss.o sjis.o svg.o telepen.o tif.o ultra.o upcean.o vector.o qr.o dllversion.o code1.o png.o qzint.o
    /usr/lib/qt5/bin/qmake -install qinstall libQtZint.a /tmp/zint-2.7.0/backend_qt/inst/lib/libQtZint.a
    /usr/lib/qt5/bin/qmake -install qinstall -exe /tmp/zint-2.7.0/backend/zint.h /tmp/zint-2.7.0/backend_qt/inst/include/zint.h
    strip /tmp/zint-2.7.0/backend_qt/inst/include/zint.h
    strip:/tmp/zint-2.7.0/backend_qt/inst/include/zint.h: Filformatet ikke genkendt
    Makefile:775: recipe for target 'install_include' failed
    make: [install_include] Error 1 (ignored)
    /usr/lib/qt5/bin/qmake -install qinstall -exe /tmp/zint-2.7.0/backend_qt/qzint.h /tmp/zint-2.7.0/backend_qt/inst/include/qzint.h
    strip /tmp/zint-2.7.0/backend_qt/inst/include/qzint.h
    strip:/tmp/zint-2.7.0/backend_qt/inst/include/qzint.h: Filformatet ikke genkendt
    Makefile:775: recipe for target 'install_include' failed
    make: [install_include] Error 1 (ignored)
    

    Cheers

     

    Last edit: Anders Lind 2020-01-15
  • onlyjob

    onlyjob - 2020-01-17

    Jakob Haufe pointed out to me that the problem is because pre-generated files in the release tarball are not being removed before build (e.g. make clean).

    Manuallty removing frontend_qt/ui_*.h files fixes this FTBFS.

    Build system should be corrected to always re-build those files as required.

     
  • Jakob Haufe

    Jakob Haufe - 2020-01-17

    Another detail: This only happens when building in a separate build directory. Then, the source directory comes first in the include path but the generated ui_* files end up in the build directory, effectively being ignored.

    IMHO the real bug is the release tarball containing build artifacts.

     
  • Harald Oehlmann

    Harald Oehlmann - 2020-01-18

    Thank you for the hint. That is definitively an error in "2.7.0/zint-2.7.0.tar.gz".
    May you please try the file "test/zint-2.7.0.tar.gz" ?
    I tried to restore the real release files, but had still some differences.

    I am not the best git master...

    Thank you,
    Harald

     
  • onlyjob

    onlyjob - 2020-01-19

    Thanks, Harald. No need to try test tarball as removing artifacts with rm -v frontend_qt/ui_*.h is sufficient to fix build with original tarball. As I've said removing those files should be done in make clean so I recommend to implement that then release a corrected 2.7.1 release -- there are already some fixes in master that qualify for minor release.

     
  • Harald Oehlmann

    Harald Oehlmann - 2020-01-19
    • status: open --> closed
    • assigned_to: Harald Oehlmann
     
  • Harald Oehlmann

    Harald Oehlmann - 2020-01-19

    What I understood is, that there is an issue in "make clean". Will you provide the patch for this?

    I also understood that the issue is solved so I close the bug.

    A new version 2.7.1 may come soon.

    Thank you,
    Harald

     
    👎
    1
  • onlyjob

    onlyjob - 2020-01-20

    Workaround is known but the issue is not fixed so let's keep the ticket open please.

    I'm not sure I have enough time to contribute a patch...

     

Log in to post a comment.