How to Compile systemback using QT5.9.1 on Ubuntu 17.10

Asked by Biagio De Maio

Hi kendek,
i would let You know that You are my idol as your program is very useful and well done.
I think You are a brilliant programmer and I hope you will continue to develop this miracle tool !
I was able to install systemback on Ubuntu 17.10 (18.04 too) modifying your scrip install.sh, and now
installed the Qt5 (5.9.1 version) on Ubuntu 17.10 to try follow the programming step You leaved in,
but when I try to compile It by Qt I get always many errors (like these ...
:-1: error: No rule to make target '../../systemback_1.8.402/libsystemback/parted/parted.h', needed by 'sblib.o'. Stop.
:-1: error: No rule to make target '../../systemback_1.8.402/libsystemback/blkid/blkid.h', needed by 'sblib.o'. Stop.)
So I think that it could miss some SDK development environment files (like Ubuntu SDK not existent for 17.10) or similar
I tried to add manually them and going forward, but after I got again this error ...
/media/Dati/Programmi/Systemback/Systemback tool/systemback_1.8.402_source/systemback_1.8.402/libsystemback/sblib.cpp:-1: In member function ‘virtual void sb::run()’:

So how Can I edit your program to recompile It, I am going to learn the C++ to understand your source and I saw that the tool is
drived into graphical rules to execute many differents scripts (packed by C++ variables) ?
Or better how can I configure Qt to get all working well ?
Which files are missing ?
Many thanks for your help as I would understand your work and try to learn to program as You done !

Merry Christmas and Happy New Year

P.S. the script to install your systemback on 17.10

#!/bin/sh
#
# script bash pour télécharger et installer Systemback sur Ubuntu 17.10 - 18.04
# BDMaster et Babdu89 12/12/2017
#
# Le shell s'attend à être dans / home / user (user = user_name)
# Télécharger l'outil Systemback 'Systemback_Install_Pack_v1.8.402.tar.xz'
# dans le dossier / home, puis décompressez le fichier tar pour obtenir le
# dossier /home/Systemback_Install_Pack_v1.8.402 qui contient les fichiers
# pour l'installation.
# Après cela, il va copier le nouveau shell dans le dossier
# installation /home/Systemback_Install_Pack_v1.8.402/install.sh
# et lui transmettra le chèque pour effectuer l'installation proprement dite.
# Start

sudo wget -P /home https://sourceforge.net/projects/systemback/files/1.8/Systemback_Install_Pack_v1.8.402.tar.xz

sudo tar xpvf /home/Systemback_Install_Pack_v1.8.402.tar.xz -C /home/

sudo chmod 755 /home/Systemback_Install_Pack_v1.8.402/install.sh

sudo sed -i '9 i # Ubuntu 17.10 Artful Aardvark,' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '10 i # Ubuntu 18.04 Bionic Beaver,' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '16 i # Last modification: 2017.12.12. by Biagio De Maio <email address hidden>' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '17 i # and friend of mine Babdu89 <email>' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '46 i \ artful)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '47 i \ release=Ubuntu_Xenial' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '48 i \ ;;' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '49 i \ bionic)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '50 i \ release=Ubuntu_Xenial' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '51 i \ ;;' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '75 i \ 5 ─ Ubuntu 17.10 (Artful Aardvark)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '76 i \ 6 ─ Ubuntu 18.04 (Bionic Beaver)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '77d' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '77 i \ 7 ─ Debian 8.0 (Jessie)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '104 i \ 5)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '105 i \ release=Ubuntu_Xenial' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '106 i \ ;;' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '107 i \ 6)' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '108 i \ release=Ubuntu_Xenial' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '109 i \ ;;' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '110d' /home/Systemback_Install_Pack_v1.8.402/install.sh
sudo sed -i '110 i \ 7)' /home/Systemback_Install_Pack_v1.8.402/install.sh

/home/Systemback_Install_Pack_v1.8.402/install.sh

# End

Question information

Language:
English Edit question
Status:
Solved
For:
Systemback Edit question
Assignee:
No assignee Edit question
Solved by:
Biagio De Maio
Solved:
Last query:
Last reply:
Revision history for this message
Kendek (nemh) said :
#1

Hi Biagio, thank you for your question.
You need to use the Qt Creator for developing, just import the source code. The debian/control file is contains the list of the dependencies. If you want to build the Debian packages, just using the "debuild" command.

Revision history for this message
Biagio De Maio (bdmaster) said :
#2

Thanks Kristian,
So I have added some build-essential to Ubuntu 17.10 and covered the initial issues about incuded files and directory,
but successively I got these errors and they are the same I got using the command debuild :(

/media/Dati/Programmi/Systemback/Systemback tool/systemback_1.8.402_source/systemback_1.8.402/libsystemback/sblib.cpp:1806: error: ‘libmnt_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~

This is the log I got into the terminal (same as Qt Creator) :

 dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: Avviso: Usare un gain-root-command con privilegi di amministrazione
dpkg-buildpackage: Informazioni: Pacchetto sorgente systemback
dpkg-buildpackage: Informazioni: Versione sorgente 1.8.402
dpkg-buildpackage: Informazioni: Distribuzione sorgente release
dpkg-buildpackage: Informazioni: Sorgente modificata da Kende Krisztián <email address hidden>
 dpkg-source --before-build systemback_1.8.402
dpkg-buildpackage: Informazioni: Architettura host amd64
 fakeroot debian/rules clean
rm -f configure-stamp build-*-stamp lang/*.qm libsystemback/libmount.hpp
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean
 dpkg-source -b systemback_1.8.402
dpkg-source: Informazioni: using source format '3.0 (native)'
dpkg-source: Informazioni: building systemback in systemback_1.8.402.tar.xz
dpkg-source: Informazioni: building systemback in systemback_1.8.402.dsc
 debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati/systemback_1.8.402/.qmake.stash
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/Scaricati/systemback_1.8.402"
cd libsystemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/libsystemback/libsystemback.pro ) && /usr/bin/make -f Makefile
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/libsystemback"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sblib.o sblib.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/rcc -name version version.qrc -o qrc_version.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qrc_version.o qrc_version.cpp
sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
         QOpenGLContext
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                              ^~~~~~~~~~~~~~~
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
                         acct
sblib.cpp:1807:9: error: ‘mnt_context_set_source’ was not declared in this scope
         mnt_context_set_source(mcxt, bstr(ThrdStr[0])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1808:9: error: ‘mnt_context_set_target’ was not declared in this scope
         mnt_context_set_target(mcxt, bstr(ThrdStr[1])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1809:9: error: ‘mnt_context_set_options’ was not declared in this scope
         mnt_context_set_options(mcxt, ! ThrdStr[2].isEmpty() ? bstr(ThrdStr[2]).data : isdir(ThrdStr[0]) ? "bind" : "noatime"),
         ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
         ThrdRslt = ! mnt_context_mount(mcxt);
                      ^~~~~~~~~~~~~~~~~
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
         return mnt_free_context(mcxt);
                ^~~~~~~~~~~~~~~~
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
         return mnt_free_context(mcxt);
                                     ^
sblib.cpp: In member function ‘bool sb::umnt(cbstr&)’:
sblib.cpp:2072:5: error: ‘libmnt_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
     QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                          ^~~~~~~~~~~~~~~
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
                     umnt
sblib.cpp:2073:5: error: ‘mnt_context_set_target’ was not declared in this scope
     mnt_context_set_target(ucxt, dev),
     ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2074:5: error: ‘mnt_context_enable_force’ was not declared in this scope
     mnt_context_enable_force(ucxt, true),
     ^~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2075:5: error: ‘mnt_context_enable_lazy’ was not declared in this scope
     mnt_context_enable_lazy(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2077:5: error: ‘mnt_context_enable_loopdel’ was not declared in this scope
     mnt_context_enable_loopdel(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2079:15: error: ‘mnt_context_umount’ was not declared in this scope
     bool rv(! mnt_context_umount(ucxt));
               ^~~~~~~~~~~~~~~~~~
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
     mnt_free_context(ucxt);
     ^~~~~~~~~~~~~~~~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if(ok) return Nodbg;
                 ^~
sblib.cpp:71:13: note: here
             default:
             ^~~~~~~
sblib.cpp: In member function ‘bool sb::recrmdir(cbstr&, bool)’:
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(slimit && size(fpath) > 8000000) continue;
                         ^~
sblib.cpp:1745:21: note: here
                     default:
                     ^~~~~~~
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     if(slimit && size(fpath) > 8000000) break;
                     ^~
sblib.cpp:1760:17: note: here
                 default:
                 ^~~~~~~
sblib.cpp: In member function ‘bool sb::thrdsrestore(uchar, cQStr&, cQStr&, cQStr&, bool)’:
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-fallthrough=]
                             if(exist(srci) && lcomp(srci, trgi)) break;
                                                                       ^
sblib.cpp:2632:25: note: here
                         case Isfile:
                         ^~~~
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:2745:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(! inc && fsize(trgi) > 8000000) break;
                                     ^~
sblib.cpp:2993:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(lcomp(srci, trgi)) goto nitem_2;
                                     ^~
sblib.cpp:3023:33: note: here
                                 case Isfile:
                                 ^~~~
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                                     if(! inc && fsize(strgi) > 8000000) break;
                                                     ^~
sblib.cpp:3052:49: note: here
                                                 case Islink:
                                                 ^~~~
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(skppd) goto nitem_2;
                                     ^~
sblib.cpp:3082:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp: In member function ‘bool sb::thrdscopy(uchar, cQStr&, cQStr&)’:
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(! lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:3291:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                             if(skppd) goto nitem_1;
                                             ^~
sblib.cpp:3336:37: note: here
                                     case Islink:
                                     ^~~~
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(islink(srci) && lcomp(srci, trgi)) break;
                                                                    ^
sblib.cpp:3428:21: note: here
                     case Isfile:
                     ^~~~
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_2;
                                         ^~
sblib.cpp:3560:37: note: here
                                     case Isfile:
                                     ^~~~
Makefile:384: set di istruzioni per l'obiettivo "sblib.o" non riuscito
make[2]: *** [sblib.o] Errore 1
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/libsystemback"
Makefile:49: set di istruzioni per l'obiettivo "sub-libsystemback-make_first" non riuscito
make[1]: *** [sub-libsystemback-make_first] Errore 2
make[1]: uscita dalla directory "/root/Scaricati/systemback_1.8.402"
debian/rules:16: set di istruzioni per l'obiettivo "build-arch-stamp" non riuscito
make: *** [build-arch-stamp] Errore 2
dpkg-buildpackage: Errore: debian/rules build gave error exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed
root@Aspire-5742:~/Scaricati/systemback_1.8.402# chmod -R + x *
chmod: impossibile accedere a 'x': File o directory non esistente
root@Aspire-5742:~/Scaricati/systemback_1.8.402# chmod -R +x *
root@Aspire-5742:~/Scaricati/systemback_1.8.402# ls -l
totale 1476
-rwxr-xr-x 1 root root 0 dic 28 19:06 configure-stamp
drwxr-xr-x 3 root root 4096 mag 16 2016 debian
-rwxr-xr-x 1 root root 928752 apr 21 2016 efi-amd64.bootfiles
drwxr-xr-x 6 root root 4096 mar 1 2015 icons
drwxr-xr-x 2 root root 4096 mag 14 2016 lang
drwxr-xr-x 2 root root 4096 dic 28 19:06 libsystemback
-rwxrwxr-x 1 root root 348236 lug 5 2015 logo.png
-rwxr-xr-x 1 root root 35292 dic 28 19:06 Makefile
-rwxrwxr-x 1 root root 204 mar 1 2015 sbschedule.desktop
-rwxrwxr-x 1 root root 200 mar 1 2015 sbschedule-kde.desktop
drwxr-xr-x 2 root root 4096 mag 14 2016 sbscheduler
drwxr-xr-x 2 root root 4096 dic 21 19:43 sbsustart
drwxr-xr-x 2 root root 4096 mag 14 2016 sbsysupgrade
-rwxrwxr-x 1 root root 88043 mar 1 2015 splash.png
drwxr-xr-x 3 root root 4096 dic 21 15:38 systemback
drwxr-xr-x 2 root root 4096 mag 14 2016 systemback-cli
-rwxrwxr-x 1 root root 362 mar 1 2015 systemback.desktop
-rwxrwxr-x 1 root root 358 mar 1 2015 systemback-kde.desktop
-rwxr-xr-x 1 root root 1075 nov 14 2015 systemback.pro
-rwxr-xr-x 1 root root 41777 dic 28 18:43 systemback.pro.user
root@Aspire-5742:~/Scaricati/systemback_1.8.402# debuild
 dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: Avviso: Usare un gain-root-command con privilegi di amministrazione
dpkg-buildpackage: Informazioni: Pacchetto sorgente systemback
dpkg-buildpackage: Informazioni: Versione sorgente 1.8.402
dpkg-buildpackage: Informazioni: Distribuzione sorgente release
dpkg-buildpackage: Informazioni: Sorgente modificata da Kende Krisztián <email address hidden>
 dpkg-source --before-build systemback_1.8.402
dpkg-buildpackage: Informazioni: Architettura host amd64
 fakeroot debian/rules clean
rm -f configure-stamp build-*-stamp lang/*.qm libsystemback/libmount.hpp
[ ! -f Makefile ] || /usr/bin/make distclean
make[1]: ingresso nella directory "/root/Scaricati/systemback_1.8.402"
cd libsystemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/libsystemback/libsystemback.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/libsystemback"
rm -f qrc_version.cpp
rm -f moc_predefs.h
rm -f sblib.o qrc_version.o
rm -f *~ core *.core
rm -f libsystemback.so.1.0.0
rm -f libsystemback.so libsystemback.so.1 libsystemback.so.1.0 libsystemback.a
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/libsystemback"
cd sbscheduler/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbscheduler/sbscheduler.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbscheduler"
rm -f moc_predefs.h
rm -f moc_sbscheduler.cpp
rm -f main.o sbscheduler.o moc_sbscheduler.o
rm -f *~ core *.core
rm -f sbscheduler
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbscheduler"
cd sbsysupgrade/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbsysupgrade/sbsysupgrade.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbsysupgrade"
rm -f moc_predefs.h
rm -f sbsysupgrade.o
rm -f *~ core *.core
rm -f sbsysupgrade
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbsysupgrade"
cd sbsustart/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbsustart/sbsustart.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbsustart"
rm -f moc_predefs.h
rm -f moc_sbsustart.cpp
rm -f main.o sbsustart.o moc_sbsustart.o
rm -f *~ core *.core
rm -f sbsustart
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbsustart"
cd systemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/systemback/systemback.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/systemback"
rm -f qrc_pictures.cpp
rm -f moc_predefs.h
rm -f moc_systemback.cpp moc_bttnevent.cpp moc_chckbxevent.cpp moc_lblevent.cpp moc_lndtevent.cpp moc_pnlevent.cpp moc_tblwdgtevent.cpp
rm -f ui_systemback.h
rm -f main.o systemback.o qrc_pictures.o moc_systemback.o moc_bttnevent.o moc_chckbxevent.o moc_lblevent.o moc_lndtevent.o moc_pnlevent.o moc_tblwdgtevent.o
rm -f *~ core *.core
rm -f systemback
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/systemback"
cd systemback-cli/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/systemback-cli/systemback-cli.pro ) && /usr/bin/make -f Makefile distclean
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/systemback-cli"
rm -f moc_predefs.h
rm -f moc_systemback-cli.cpp
rm -f main.o systemback-cli.o moc_systemback-cli.o
rm -f *~ core *.core
rm -f systemback-cli
rm -f Makefile
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/systemback-cli"
rm -f Makefile
rm -f .qmake.stash
make[1]: uscita dalla directory "/root/Scaricati/systemback_1.8.402"
dh_clean
 dpkg-source -b systemback_1.8.402
dpkg-source: Informazioni: using source format '3.0 (native)'
dpkg-source: Informazioni: building systemback in systemback_1.8.402.tar.xz
dpkg-source: Informazioni: building systemback in systemback_1.8.402.dsc
 debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati/systemback_1.8.402/.qmake.stash
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/Scaricati/systemback_1.8.402"
cd libsystemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/libsystemback/libsystemback.pro ) && /usr/bin/make -f Makefile
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/libsystemback"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sblib.o sblib.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/rcc -name version version.qrc -o qrc_version.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qrc_version.o qrc_version.cpp
sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
         QOpenGLContext
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                              ^~~~~~~~~~~~~~~
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
                         acct
sblib.cpp:1807:9: error: ‘mnt_context_set_source’ was not declared in this scope
         mnt_context_set_source(mcxt, bstr(ThrdStr[0])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1808:9: error: ‘mnt_context_set_target’ was not declared in this scope
         mnt_context_set_target(mcxt, bstr(ThrdStr[1])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1809:9: error: ‘mnt_context_set_options’ was not declared in this scope
         mnt_context_set_options(mcxt, ! ThrdStr[2].isEmpty() ? bstr(ThrdStr[2]).data : isdir(ThrdStr[0]) ? "bind" : "noatime"),
         ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
         ThrdRslt = ! mnt_context_mount(mcxt);
                      ^~~~~~~~~~~~~~~~~
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
         return mnt_free_context(mcxt);
                ^~~~~~~~~~~~~~~~
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
         return mnt_free_context(mcxt);
                                     ^
sblib.cpp: In member function ‘bool sb::umnt(cbstr&)’:
sblib.cpp:2072:5: error: ‘libmnt_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
     QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                          ^~~~~~~~~~~~~~~
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
                     umnt
sblib.cpp:2073:5: error: ‘mnt_context_set_target’ was not declared in this scope
     mnt_context_set_target(ucxt, dev),
     ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2074:5: error: ‘mnt_context_enable_force’ was not declared in this scope
     mnt_context_enable_force(ucxt, true),
     ^~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2075:5: error: ‘mnt_context_enable_lazy’ was not declared in this scope
     mnt_context_enable_lazy(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2077:5: error: ‘mnt_context_enable_loopdel’ was not declared in this scope
     mnt_context_enable_loopdel(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2079:15: error: ‘mnt_context_umount’ was not declared in this scope
     bool rv(! mnt_context_umount(ucxt));
               ^~~~~~~~~~~~~~~~~~
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
     mnt_free_context(ucxt);
     ^~~~~~~~~~~~~~~~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if(ok) return Nodbg;
                 ^~
sblib.cpp:71:13: note: here
             default:
             ^~~~~~~
sblib.cpp: In member function ‘bool sb::recrmdir(cbstr&, bool)’:
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(slimit && size(fpath) > 8000000) continue;
                         ^~
sblib.cpp:1745:21: note: here
                     default:
                     ^~~~~~~
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     if(slimit && size(fpath) > 8000000) break;
                     ^~
sblib.cpp:1760:17: note: here
                 default:
                 ^~~~~~~
sblib.cpp: In member function ‘bool sb::thrdsrestore(uchar, cQStr&, cQStr&, cQStr&, bool)’:
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-fallthrough=]
                             if(exist(srci) && lcomp(srci, trgi)) break;
                                                                       ^
sblib.cpp:2632:25: note: here
                         case Isfile:
                         ^~~~
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:2745:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(! inc && fsize(trgi) > 8000000) break;
                                     ^~
sblib.cpp:2993:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(lcomp(srci, trgi)) goto nitem_2;
                                     ^~
sblib.cpp:3023:33: note: here
                                 case Isfile:
                                 ^~~~
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                                     if(! inc && fsize(strgi) > 8000000) break;
                                                     ^~
sblib.cpp:3052:49: note: here
                                                 case Islink:
                                                 ^~~~
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(skppd) goto nitem_2;
                                     ^~
sblib.cpp:3082:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp: In member function ‘bool sb::thrdscopy(uchar, cQStr&, cQStr&)’:
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(! lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:3291:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                             if(skppd) goto nitem_1;
                                             ^~
sblib.cpp:3336:37: note: here
                                     case Islink:
                                     ^~~~
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(islink(srci) && lcomp(srci, trgi)) break;
                                                                    ^
sblib.cpp:3428:21: note: here
                     case Isfile:
                     ^~~~
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_2;
                                         ^~
sblib.cpp:3560:37: note: here
                                     case Isfile:
                                     ^~~~
Makefile:384: set di istruzioni per l'obiettivo "sblib.o" non riuscito
make[2]: *** [sblib.o] Errore 1
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/libsystemback"
Makefile:49: set di istruzioni per l'obiettivo "sub-libsystemback-make_first" non riuscito
make[1]: *** [sub-libsystemback-make_first] Errore 2
make[1]: uscita dalla directory "/root/Scaricati/systemback_1.8.402"
debian/rules:16: set di istruzioni per l'obiettivo "build-arch-stamp" non riuscito
make: *** [build-arch-stamp] Errore 2
dpkg-buildpackage: Errore: debian/rules build gave error exit status 2
debuild: fatal error at line 1124:
dpkg-buildpackage -rfakeroot -us -uc failed

That's it :(
I cannot resolve by myself, actually, this issue (not declared into scope) and there isn't any systemback older version with sources to try it !
many thanks eanyway for your support ..
replicating errors or solut

Revision history for this message
Kendek (nemh) said :
#3

I am on Ubuntu 17.10:

sudo apt install devscripts debhelper libblkid-dev libmount-dev libncursesw5-dev libparted0-dev qtbase5-dev qttools5-dev-tools
cd systemback_1.8.402
debuild

and yeah, there is some warnings, but the compilation process is successfully finished and the Debian packages are created.
See my systemback_1.8.402_amd64.build file:
https://paste.ubuntu.com/26273382

All the warnings are new, because the newer compiler and other tools.

Revision history for this message
Biagio De Maio (bdmaster) said :
#4

Hi Kristian,
many thanks for your availability and courtesy, sincerely.
I used these command to install SDK components before trying the debuild :

sudo apt install build-essential debhelper devscripts libblkid-dev libmount-dev libncursesw5-dev libparted0-dev qtbase5-dev qttools5-dev-tools

Now I will try again with your suggestions and let You know ... (i saw your log and It's quite), as i said I am using the Qt5.9.1 version !

Revision history for this message
Biagio De Maio (bdmaster) said :
#5

Look here :

root@Aspire-5742:~# sudo apt-get install build-essential debhelper devscripts libblkid-dev libmount-dev libncursesw5-dev libpa^C
root@Aspire-5742:~# sudo apt install devscripts debhelper libblkid-dev libmount-dev libncursesw5-dev libparted0-dev qtbase5-dev qttools5-dev-tools
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
debhelper is already the newest version (10.7.2ubuntu2).
devscripts is already the newest version (2.17.9build1).
libblkid-dev is already the newest version (2.30.1-0ubuntu4).
libmount-dev is already the newest version (2.30.1-0ubuntu4).
libncursesw5-dev is already the newest version (6.0+20160625-1ubuntu1).
libparted0-dev is already the newest version (3.2-18).
qtbase5-dev is already the newest version (5.9.1+dfsg-10ubuntu1).
qttools5-dev-tools is already the newest version (5.9.1-2).
I seguenti pacchetti sono stati installati automaticamente e non sono più richiesti:
  linux-headers-4.13.0-16 linux-headers-4.13.0-16-generic
  linux-headers-4.13.0-17 linux-headers-4.13.0-17-generic
  linux-image-4.13.0-16-generic linux-image-4.13.0-17-generic
  linux-image-extra-4.13.0-16-generic linux-image-extra-4.13.0-17-generic
Usare "sudo apt autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 13 non aggiornati.

I just installed before these ...

Revision history for this message
Biagio De Maio (bdmaster) said :
#6

I just have done getting same issue ... so I am checking your log comparing with mine and I found errors not warning ...

####################################################################################
Your :

sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if(ok) return Nodbg;
                 ^~
sblib.cpp:71:13: note: here
             default:
             ^~~~~~~
sblib.cpp: In member function ‘bool sb::recrmdir(cbstr&, bool)’:
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(slimit && size(fpath) > 8000000) continue;
                         ^~
sblib.cpp:1745:21: note: here
                     default:
                     ^~~~~~~
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     if(slimit && size(fpath) > 8000000) break;
                     ^~
sblib.cpp:1760:17: note: here
                 default:
                 ^~~~~~~
sblib.cpp: In member function ‘bool sb::thrdsrestore(uchar, cQStr&, cQStr&, cQStr&, bool)’:
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-fallthrough=]
                             if(exist(srci) && lcomp(srci, trgi)) break;
                                                                       ^
sblib.cpp:2632:25: note: here
                         case Isfile:
                         ^~~~
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:2745:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(! inc && fsize(trgi) > 8000000) break;
                                     ^~
sblib.cpp:2993:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(lcomp(srci, trgi)) goto nitem_2;
                                     ^~
sblib.cpp:3023:33: note: here
                                 case Isfile:
                                 ^~~~
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                                     if(! inc && fsize(strgi) > 8000000) break;
                                                     ^~
sblib.cpp:3052:49: note: here
                                                 case Islink:
                                                 ^~~~
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(skppd) goto nitem_2;
                                     ^~
sblib.cpp:3082:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp: In member function ‘bool sb::thrdscopy(uchar, cQStr&, cQStr&)’:
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(! lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:3291:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                             if(skppd) goto nitem_1;
                                             ^~
sblib.cpp:3336:37: note: here
                                     case Islink:
                                     ^~~~
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(islink(srci) && lcomp(srci, trgi)) break;
                                                                    ^
sblib.cpp:3428:21: note: here
                     case Isfile:
                     ^~~~
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_2;
                                         ^~
sblib.cpp:3560:37: note: here
                                     case Isfile:
                                     ^~~~

#############################################################################
Mine :

sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
         libmnt_context *mcxt(mnt_new_context());
         ^~~~~~~~~~~~~~
         QOpenGLContext
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                              ^~~~~~~~~~~~~~~
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
         libmnt_context *mcxt(mnt_new_context());
                         ^~~~
                         acct
sblib.cpp:1807:9: error: ‘mnt_context_set_source’ was not declared in this scope
         mnt_context_set_source(mcxt, bstr(ThrdStr[0])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1808:9: error: ‘mnt_context_set_target’ was not declared in this scope
         mnt_context_set_target(mcxt, bstr(ThrdStr[1])),
         ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1809:9: error: ‘mnt_context_set_options’ was not declared in this scope
         mnt_context_set_options(mcxt, ! ThrdStr[2].isEmpty() ? bstr(ThrdStr[2]).data : isdir(ThrdStr[0]) ? "bind" : "noatime"),
         ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
         ThrdRslt = ! mnt_context_mount(mcxt);
                      ^~~~~~~~~~~~~~~~~
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
         return mnt_free_context(mcxt);
                ^~~~~~~~~~~~~~~~
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
         return mnt_free_context(mcxt);
                                     ^
sblib.cpp: In member function ‘bool sb::umnt(cbstr&)’:
sblib.cpp:2072:5: error: ‘libmnt_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
     libmnt_context *ucxt(mnt_new_context());
     ^~~~~~~~~~~~~~
     QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                          ^~~~~~~~~~~~~~~
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
     libmnt_context *ucxt(mnt_new_context());
                     ^~~~
                     umnt
sblib.cpp:2073:5: error: ‘mnt_context_set_target’ was not declared in this scope
     mnt_context_set_target(ucxt, dev),
     ^~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2074:5: error: ‘mnt_context_enable_force’ was not declared in this scope
     mnt_context_enable_force(ucxt, true),
     ^~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2075:5: error: ‘mnt_context_enable_lazy’ was not declared in this scope
     mnt_context_enable_lazy(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2077:5: error: ‘mnt_context_enable_loopdel’ was not declared in this scope
     mnt_context_enable_loopdel(ucxt, true);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
sblib.cpp:2079:15: error: ‘mnt_context_umount’ was not declared in this scope
     bool rv(! mnt_context_umount(ucxt));
               ^~~~~~~~~~~~~~~~~~
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
     mnt_free_context(ucxt);
     ^~~~~~~~~~~~~~~~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if(ok) return Nodbg;
                 ^~
sblib.cpp:71:13: note: here
             default:
             ^~~~~~~
sblib.cpp: In member function ‘bool sb::recrmdir(cbstr&, bool)’:
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(slimit && size(fpath) > 8000000) continue;
                         ^~
sblib.cpp:1745:21: note: here
                     default:
                     ^~~~~~~
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     if(slimit && size(fpath) > 8000000) break;
                     ^~
sblib.cpp:1760:17: note: here
                 default:
                 ^~~~~~~
sblib.cpp: In member function ‘bool sb::thrdsrestore(uchar, cQStr&, cQStr&, cQStr&, bool)’:
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-fallthrough=]
                             if(exist(srci) && lcomp(srci, trgi)) break;
                                                                       ^
sblib.cpp:2632:25: note: here
                         case Isfile:
                         ^~~~
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:2745:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(! inc && fsize(trgi) > 8000000) break;
                                     ^~
sblib.cpp:2993:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(lcomp(srci, trgi)) goto nitem_2;
                                     ^~
sblib.cpp:3023:33: note: here
                                 case Isfile:
                                 ^~~~
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                                     if(! inc && fsize(strgi) > 8000000) break;
                                                     ^~
sblib.cpp:3052:49: note: here
                                                 case Islink:
                                                 ^~~~
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(skppd) goto nitem_2;
                                     ^~
sblib.cpp:3082:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp: In member function ‘bool sb::thrdscopy(uchar, cQStr&, cQStr&)’:
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(! lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:3291:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                             if(skppd) goto nitem_1;
                                             ^~
sblib.cpp:3336:37: note: here
                                     case Islink:
                                     ^~~~
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(islink(srci) && lcomp(srci, trgi)) break;
                                                                    ^
sblib.cpp:3428:21: note: here
                     case Isfile:
                     ^~~~
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_2;
                                         ^~
sblib.cpp:3560:37: note: here
                                     case Isfile:
                                     ^~~~

############################################################################

As You can look there are different number's lines too ?!? where You got the sources You used ?
I am not understanding all these differences :(

Revision history for this message
Biagio De Maio (bdmaster) said :
#7

Ok God help me please !
i have downloaded again your sources from here :

https://sourceforge.net/projects/systemback/?source=typ_redirect

and gave again the debuild command and this time I got almost all compiling but at the end got this error or alert
(may be as I am working with root permissions, I am root):

 dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: Avviso: Usare un gain-root-command con privilegi di amministrazione
dpkg-buildpackage: Informazioni: Pacchetto sorgente systemback
dpkg-buildpackage: Informazioni: Versione sorgente 1.8.402
dpkg-buildpackage: Informazioni: Distribuzione sorgente release
dpkg-buildpackage: Informazioni: Sorgente modificata da Kende Krisztián <email address hidden>
 dpkg-source --before-build systemback_1.8.402
dpkg-buildpackage: Informazioni: Architettura host amd64
 fakeroot debian/rules clean
rm -f configure-stamp build-*-stamp lang/*.qm libsystemback/libmount.hpp
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean
 dpkg-source -b systemback_1.8.402
dpkg-source: Informazioni: using source format '3.0 (native)'
dpkg-source: Informazioni: building systemback in systemback_1.8.402.tar.xz
dpkg-source: Informazioni: building systemback in systemback_1.8.402.dsc
 debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati/systemback_1.8.402/.qmake.stash
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/Scaricati/systemback_1.8.402"
cd libsystemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/libsystemback/libsystemback.pro ) && /usr/bin/make -f Makefile
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/libsystemback"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sblib.o sblib.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/rcc -name version version.qrc -o qrc_version.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -Wno-unused-result -D_REENTRANT -fPIC -DSYSTEMBACK_LIBRARY -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qrc_version.o qrc_version.cpp
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
                 if(ok) return Nodbg;
                 ^~
sblib.cpp:71:13: note: here
             default:
             ^~~~~~~
sblib.cpp: In member function ‘bool sb::recrmdir(cbstr&, bool)’:
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(slimit && size(fpath) > 8000000) continue;
                         ^~
sblib.cpp:1745:21: note: here
                     default:
                     ^~~~~~~
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     if(slimit && size(fpath) > 8000000) break;
                     ^~
sblib.cpp:1760:17: note: here
                 default:
                 ^~~~~~~
sblib.cpp: In member function ‘bool sb::thrdsrestore(uchar, cQStr&, cQStr&, cQStr&, bool)’:
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-fallthrough=]
                             if(exist(srci) && lcomp(srci, trgi)) break;
                                                                       ^
sblib.cpp:2632:25: note: here
                         case Isfile:
                         ^~~~
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:2745:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(! inc && fsize(trgi) > 8000000) break;
                                     ^~
sblib.cpp:2993:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(lcomp(srci, trgi)) goto nitem_2;
                                     ^~
sblib.cpp:3023:33: note: here
                                 case Isfile:
                                 ^~~~
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                                     if(! inc && fsize(strgi) > 8000000) break;
                                                     ^~
sblib.cpp:3052:49: note: here
                                                 case Islink:
                                                 ^~~~
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                     if(skppd) goto nitem_2;
                                     ^~
sblib.cpp:3082:33: note: here
                                 case Islink:
                                 ^~~~
sblib.cpp: In member function ‘bool sb::thrdscopy(uchar, cQStr&, cQStr&)’:
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(! lcomp(srci, trgi)) goto nitem_1;
                                         ^~
sblib.cpp:3291:37: note: here
                                     case Isfile:
                                     ^~~~
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                             if(skppd) goto nitem_1;
                                             ^~
sblib.cpp:3336:37: note: here
                                     case Islink:
                                     ^~~~
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-fallthrough=]
                         if(islink(srci) && lcomp(srci, trgi)) break;
                                                                    ^
sblib.cpp:3428:21: note: here
                     case Isfile:
                     ^~~~
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-fallthrough=]
                                         if(lcomp(srci, trgi)) goto nitem_2;
                                         ^~
sblib.cpp:3560:37: note: here
                                     case Isfile:
                                     ^~~~
rm -f libsystemback.so.1.0.0 libsystemback.so libsystemback.so.1 libsystemback.so.1.0
g++ -m64 -g -Wl,-Bsymbolic-functions -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -shared -Wl,-soname,libsystemback.so.1 -o libsystemback.so.1.0.0 sblib.o qrc_version.o -lmount -lblkid -lparted -lQt5Core -lpthread
ln -s libsystemback.so.1.0.0 libsystemback.so
ln -s libsystemback.so.1.0.0 libsystemback.so.1
ln -s libsystemback.so.1.0.0 libsystemback.so.1.0
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/libsystemback"
cd sbscheduler/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbscheduler/sbscheduler.pro ) && /usr/bin/make -f Makefile
cd sbsustart/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbsustart/sbsustart.pro ) && /usr/bin/make -f Makefile
cd sbsysupgrade/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/sbsysupgrade/sbsysupgrade.pro ) && /usr/bin/make -f Makefile
cd systemback/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/systemback/systemback.pro ) && /usr/bin/make -f Makefile
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbscheduler"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbsustart"
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/sbsysupgrade"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sbsysupgrade.o sbsysupgrade.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/systemback"
/usr/lib/x86_64-linux-gnu/qt5/bin/uic systemback.ui -o ui_systemback.h
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
g++ -m64 -g -Wl,-rpath=/usr/lib/systemback -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -o sbsysupgrade sbsysupgrade.o -L../libsystemback -lsystemback -lQt5Core -lpthread
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sbscheduler.o sbscheduler.cpp
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbsysupgrade"
cd systemback-cli/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile /root/Scaricati/systemback_1.8.402/systemback-cli/systemback-cli.pro ) && /usr/bin/make -f Makefile
make[2]: ingresso nella directory "/root/Scaricati/systemback_1.8.402/systemback-cli"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o main.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o sbsustart.o sbsustart.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o systemback.o systemback.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o systemback-cli.o systemback-cli.cpp
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/sbscheduler -I/root/Scaricati/systemback_1.8.402/libsystemback -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include sbscheduler.hpp -o moc_sbscheduler.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/sbsustart -I/root/Scaricati/systemback_1.8.402/libsystemback -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include sbsustart.hpp -o moc_sbsustart.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_sbsustart.o moc_sbsustart.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../libsystemback -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_sbscheduler.o moc_sbscheduler.cpp
g++ -m64 -g -Wl,-rpath=/usr/lib/systemback -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -o sbscheduler main.o sbscheduler.o moc_sbscheduler.o -L../libsystemback -lsystemback -lQt5Core -lpthread
g++ -m64 -g -Wl,-rpath=/usr/lib/systemback -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -o sbsustart main.o sbsustart.o moc_sbsustart.o -L../libsystemback -lsystemback -lQt5Core -lpthread
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback-cli -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include systemback-cli.hpp -o moc_systemback-cli.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_systemback-cli.o moc_systemback-cli.cpp
systemback.cpp: In member function ‘virtual bool systemback::eventFilter(QObject*, QEvent*)’:
systemback.cpp:3266:40: warning: this statement may fall through [-Wimplicit-fallthrough=]
             qApp->sendEvent(this, &nev);
                                        ^
systemback.cpp:3268:9: note: here
         default:
         ^~~~~~~
systemback.cpp: In member function ‘void systemback::on_partitionsettings_currentItemChanged(QTableWidgetItem*, QTableWidgetItem*)’:
systemback.cpp:5763:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
                     }
                     ^
systemback.cpp:5765:9: note: here
         case sb::Emptyspace:
         ^~~~
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbsustart"
/usr/lib/x86_64-linux-gnu/qt5/bin/rcc -name pictures pictures.qrc -o qrc_pictures.cpp
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o qrc_pictures.o qrc_pictures.cpp
systemback.cpp: In member function ‘void systemback::on_newpartition_clicked()’:
systemback.cpp:7553:57: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if(msize && (len -= 1048576) < 1048576) goto end;
                                                         ^
systemback.cpp:7555:5: note: here
     default:
     ^~~~~~~
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/sbscheduler"
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include systemback.hpp -o moc_systemback.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include bttnevent.hpp -o moc_bttnevent.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include chckbxevent.hpp -o moc_chckbxevent.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include lblevent.hpp -o moc_lblevent.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include lndtevent.hpp -o moc_lndtevent.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include pnlevent.hpp -o moc_pnlevent.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -I/root/Scaricati/systemback_1.8.402/systemback -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/QtCore -I/usr/include/c++/7 -I/usr/include/x86_64-linux-gnu/c++/7 -I/usr/include/c++/7/backward -I/usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/local/include -I/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include tblwdgtevent.hpp -o moc_tblwdgtevent.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_systemback.o moc_systemback.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_bttnevent.o moc_bttnevent.cpp
g++ -m64 -g -Wl,-rpath=/usr/lib/systemback -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -o systemback-cli main.o systemback-cli.o moc_systemback-cli.o -L../libsystemback -lsystemback -lncursesw -lQt5Core -lpthread
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_chckbxevent.o moc_chckbxevent.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_lblevent.o moc_lblevent.cpp
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/systemback-cli"
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_lndtevent.o moc_lndtevent.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_pnlevent.o moc_pnlevent.cpp
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-inlines-hidden -fno-asynchronous-unwind-tables -flto -O2 -std=gnu++11 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -D_FILE_OFFSET_BITS=64 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o moc_tblwdgtevent.o moc_tblwdgtevent.cpp
g++ -m64 -g -Wl,-rpath=/usr/lib/systemback -Wl,--as-needed -fuse-ld=gold -Wl,-z,relro -flto -Wl,-O1 -o systemback main.o systemback.o qrc_pictures.o moc_systemback.o moc_bttnevent.o moc_chckbxevent.o moc_lblevent.o moc_lndtevent.o moc_pnlevent.o moc_tblwdgtevent.o -L/usr/X11R6/lib64 -L../libsystemback -lsystemback -lcrypt -lX11 -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
systemback.hpp:159:10: warning: ‘on_admins_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_admins_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:3549:6: note: ‘on_admins_currentIndexChanged’ was previously declared here
 void systemback::on_admins_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:160:10: warning: ‘on_adminpassword_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_adminpassword_textChanged(const QStr &arg1);
          ^
systemback.cpp:3580:6: note: ‘on_adminpassword_textChanged’ was previously declared here
 void systemback::on_adminpassword_textChanged(cQStr &arg1)
      ^
systemback.hpp:150:10: warning: ‘on_includeusers_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_includeusers_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:5420:6: note: ‘on_includeusers_currentIndexChanged’ was previously declared here
 void systemback::on_includeusers_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:173:10: warning: ‘on_fullname_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_fullname_textChanged(const QStr &arg1);
          ^
systemback.cpp:6549:6: note: ‘on_fullname_textChanged’ was previously declared here
 void systemback::on_fullname_textChanged(cQStr &arg1)
      ^
systemback.hpp:148:10: warning: ‘on_repairmountpoint_currentTextChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_repairmountpoint_currentTextChanged(const QStr &arg1);
          ^
systemback.cpp:6157:6: note: ‘on_repairmountpoint_currentTextChanged’ was previously declared here
 void systemback::on_repairmountpoint_currentTextChanged(cQStr &arg1)
      ^
systemback.hpp:155:10: warning: ‘on_mountpoint_currentTextChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_mountpoint_currentTextChanged(const QStr &arg1);
          ^
systemback.cpp:6052:6: note: ‘on_mountpoint_currentTextChanged’ was previously declared here
 void systemback::on_mountpoint_currentTextChanged(cQStr &arg1)
      ^
systemback.hpp:172:10: warning: ‘on_livename_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_livename_textChanged(const QStr &arg1);
          ^
systemback.cpp:6218:6: note: ‘on_livename_textChanged’ was previously declared here
 void systemback::on_livename_textChanged(cQStr &arg1)
      ^
systemback.hpp:182:10: warning: ‘on_point15_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point15_textChanged(const QStr &arg1);
          ^
systemback.cpp:3880:6: note: ‘on_point15_textChanged’ was previously declared here
 void systemback::on_point15_textChanged(cQStr &arg1)
      ^
systemback.hpp:181:10: warning: ‘on_point14_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point14_textChanged(const QStr &arg1);
          ^
systemback.cpp:3875:6: note: ‘on_point14_textChanged’ was previously declared here
 void systemback::on_point14_textChanged(cQStr &arg1)
      ^
systemback.hpp:180:10: warning: ‘on_point13_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point13_textChanged(const QStr &arg1);
          ^
systemback.cpp:3870:6: note: ‘on_point13_textChanged’ was previously declared here
 void systemback::on_point13_textChanged(cQStr &arg1)
      ^
systemback.hpp:179:10: warning: ‘on_point12_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point12_textChanged(const QStr &arg1);
          ^
systemback.cpp:3865:6: note: ‘on_point12_textChanged’ was previously declared here
 void systemback::on_point12_textChanged(cQStr &arg1)
      ^
systemback.hpp:178:10: warning: ‘on_point11_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point11_textChanged(const QStr &arg1);
          ^
systemback.cpp:3860:6: note: ‘on_point11_textChanged’ was previously declared here
 void systemback::on_point11_textChanged(cQStr &arg1)
      ^
systemback.hpp:177:10: warning: ‘on_point10_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point10_textChanged(const QStr &arg1);
          ^
systemback.cpp:3855:6: note: ‘on_point10_textChanged’ was previously declared here
 void systemback::on_point10_textChanged(cQStr &arg1)
      ^
systemback.hpp:195:10: warning: ‘on_point9_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point9_textChanged(const QStr &arg1);
          ^
systemback.cpp:3850:6: note: ‘on_point9_textChanged’ was previously declared here
 void systemback::on_point9_textChanged(cQStr &arg1)
      ^
systemback.hpp:194:10: warning: ‘on_point8_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point8_textChanged(const QStr &arg1);
          ^
systemback.cpp:3845:6: note: ‘on_point8_textChanged’ was previously declared here
 void systemback::on_point8_textChanged(cQStr &arg1)
      ^
systemback.hpp:193:10: warning: ‘on_point7_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point7_textChanged(const QStr &arg1);
          ^
systemback.cpp:3840:6: note: ‘on_point7_textChanged’ was previously declared here
 void systemback::on_point7_textChanged(cQStr &arg1)
      ^
systemback.hpp:192:10: warning: ‘on_point6_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point6_textChanged(const QStr &arg1);
          ^
systemback.cpp:3835:6: note: ‘on_point6_textChanged’ was previously declared here
 void systemback::on_point6_textChanged(cQStr &arg1)
      ^
systemback.hpp:191:10: warning: ‘on_point5_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point5_textChanged(const QStr &arg1);
          ^
systemback.cpp:3830:6: note: ‘on_point5_textChanged’ was previously declared here
 void systemback::on_point5_textChanged(cQStr &arg1)
      ^
systemback.hpp:190:10: warning: ‘on_point4_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point4_textChanged(const QStr &arg1);
          ^
systemback.cpp:3825:6: note: ‘on_point4_textChanged’ was previously declared here
 void systemback::on_point4_textChanged(cQStr &arg1)
      ^
systemback.hpp:189:10: warning: ‘on_point3_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point3_textChanged(const QStr &arg1);
          ^
systemback.cpp:3820:6: note: ‘on_point3_textChanged’ was previously declared here
 void systemback::on_point3_textChanged(cQStr &arg1)
      ^
systemback.hpp:188:10: warning: ‘on_point2_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point2_textChanged(const QStr &arg1);
          ^
systemback.cpp:3815:6: note: ‘on_point2_textChanged’ was previously declared here
 void systemback::on_point2_textChanged(cQStr &arg1)
      ^
systemback.hpp:187:10: warning: ‘on_point1_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_point1_textChanged(const QStr &arg1);
          ^
systemback.cpp:3810:6: note: ‘on_point1_textChanged’ was previously declared here
 void systemback::on_point1_textChanged(cQStr &arg1)
      ^
systemback.hpp:175:10: warning: ‘on_hostname_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_hostname_textChanged(const QStr &arg1);
          ^
systemback.cpp:6641:6: note: ‘on_hostname_textChanged’ was previously declared here
 void systemback::on_hostname_textChanged(cQStr &arg1)
      ^
systemback.hpp:145:10: warning: ‘on_grubreinstallrepair_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_grubreinstallrepair_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7732:6: note: ‘on_grubreinstallrepair_currentIndexChanged’ was previously declared here
 void systemback::on_grubreinstallrepair_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:146:10: warning: ‘on_grubinstallcopy_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_grubinstallcopy_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7727:6: note: ‘on_grubinstallcopy_currentIndexChanged’ was previously declared here
 void systemback::on_grubinstallcopy_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:144:10: warning: ‘on_grubreinstallrestore_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_grubreinstallrestore_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7722:6: note: ‘on_grubreinstallrestore_currentIndexChanged’ was previously declared here
 void systemback::on_grubreinstallrestore_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:162:10: warning: ‘on_users_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_users_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7680:6: note: ‘on_users_currentIndexChanged’ was previously declared here
 void systemback::on_users_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:158:10: warning: ‘on_styles_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_styles_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7628:6: note: ‘on_styles_currentIndexChanged’ was previously declared here
 void systemback::on_styles_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:154:10: warning: ‘on_languages_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_languages_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:7598:6: note: ‘on_languages_currentIndexChanged’ was previously declared here
 void systemback::on_languages_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:149:10: warning: ‘on_windowposition_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_windowposition_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:6911:6: note: ‘on_windowposition_currentIndexChanged’ was previously declared here
 void systemback::on_windowposition_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:161:10: warning: ‘on_rootpassword1_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_rootpassword1_textChanged(const QStr &arg1);
          ^
systemback.cpp:6724:6: note: ‘on_rootpassword1_textChanged’ was previously declared here
 void systemback::on_rootpassword1_textChanged(cQStr &arg1)
      ^
systemback.hpp:168:10: warning: ‘on_password1_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_password1_textChanged(const QStr &arg1);
          ^
systemback.cpp:6687:6: note: ‘on_password1_textChanged’ was previously declared here
 void systemback::on_password1_textChanged(cQStr &arg1)
      ^
systemback.hpp:174:10: warning: ‘on_username_textChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_username_textChanged(const QStr &arg1);
          ^
systemback.cpp:6593:6: note: ‘on_username_textChanged’ was previously declared here
 void systemback::on_username_textChanged(cQStr &arg1)
      ^
systemback.hpp:147:10: warning: ‘on_repairpartition_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_repairpartition_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:6151:6: note: ‘on_repairpartition_currentIndexChanged’ was previously declared here
 void systemback::on_repairpartition_currentIndexChanged(cQStr &arg1)
      ^
systemback.hpp:153:10: warning: ‘on_filesystem_currentIndexChanged’ violates the C++ One Definition Rule [-Wodr]
     void on_filesystem_currentIndexChanged(const QStr &arg1);
          ^
systemback.cpp:6030:6: note: ‘on_filesystem_currentIndexChanged’ was previously declared here
 void systemback::on_filesystem_currentIndexChanged(cQStr &arg1)
      ^
make[2]: uscita dalla directory "/root/Scaricati/systemback_1.8.402/systemback"
make[1]: uscita dalla directory "/root/Scaricati/systemback_1.8.402"
touch build-arch-stamp
lrelease -qt5 systemback.pro
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_hu.qm'...
    Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_ar_EG.qm'...
    Generated 143 translation(s) (143 finished and 0 unfinished)
    Ignored 174 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_ca_ES.qm'...
    Generated 192 translation(s) (192 finished and 0 unfinished)
    Ignored 125 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_cs.qm'...
    Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_da_DK.qm'...
    Generated 316 translation(s) (316 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_de.qm'...
    Generated 309 translation(s) (309 finished and 0 unfinished)
    Ignored 8 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_en_GB.qm'...
    Generated 6 translation(s) (6 finished and 0 unfinished)
    Ignored 311 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_es.qm'...
    Generated 296 translation(s) (296 finished and 0 unfinished)
    Ignored 21 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_fi.qm'...
    Generated 187 translation(s) (187 finished and 0 unfinished)
    Ignored 130 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_fr.qm'...
    Generated 309 translation(s) (309 finished and 0 unfinished)
    Ignored 8 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_gl_ES.qm'...
    Generated 212 translation(s) (212 finished and 0 unfinished)
    Ignored 105 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_id.qm'...
    Generated 269 translation(s) (269 finished and 0 unfinished)
    Ignored 48 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_pt_BR.qm'...
    Generated 223 translation(s) (223 finished and 0 unfinished)
    Ignored 94 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_ro.qm'...
    Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_ru.qm'...
    Generated 292 translation(s) (292 finished and 0 unfinished)
    Ignored 25 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_tr.qm'...
    Generated 137 translation(s) (137 finished and 0 unfinished)
    Ignored 180 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_uk.qm'...
    Generated 268 translation(s) (268 finished and 0 unfinished)
    Ignored 49 untranslated source text(s)
Updating '/root/Scaricati/systemback_1.8.402/lang/systemback_zh_CN.qm'...
    Generated 316 translation(s) (316 finished and 0 unfinished)
    Ignored 1 untranslated source text(s)
touch build-indep-stamp
 fakeroot debian/rules binary
dh_installdirs -a
dh_install -a
dh_installman debian/systemback.1 -p systemback
dh_installman debian/systemback-cli.1 -p systemback-cli
dh_strip --dbg-package=systemback-dbg -p systemback
dh_strip --dbg-package=systemback-cli-dbg -p systemback-cli
dh_strip --dbg-package=systemback-scheduler-dbg -p systemback-scheduler
dh_strip --dbg-package=libsystemback-dbg -p libsystemback
dh_link -a
dh_fixperms -a
chmod 4755 debian/systemback-scheduler/usr/lib/systemback/sbsustart
dh_makeshlibs -nV "libsystemback (= 1.8.402)" -a
dh_shlibdeps -a
dh_installdeb -a
dh_gencontrol -a
dh_installdocs -a
dh_installchangelogs -a
dh_lintian -a
dh_compress -a
dh_builddeb -a
dpkg-deb: building package 'libsystemback' in '../libsystemback_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback-scheduler' in '../systemback-scheduler_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback-cli' in '../systemback-cli_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback' in '../systemback_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback-scheduler-dbg' in '../systemback-scheduler-dbg_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback-cli-dbg' in '../systemback-cli-dbg_1.8.402_amd64.deb'.
dpkg-deb: building package 'libsystemback-dbg' in '../libsystemback-dbg_1.8.402_amd64.deb'.
dpkg-deb: building package 'systemback-dbg' in '../systemback-dbg_1.8.402_amd64.deb'.
dh_install -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_installdocs -i
dh_installchangelogs -i
dh_compress -i
dh_builddeb -i
dpkg-deb: building package 'systemback-efiboot-amd64' in '../systemback-efiboot-amd64_1.8.402_all.deb'.
dpkg-deb: building package 'systemback-locales' in '../systemback-locales_1.8.402_all.deb'.
 dpkg-genbuildinfo
 dpkg-genchanges >../systemback_1.8.402_amd64.changes
dpkg-genchanges: Informazioni: including full source code in upload
 dpkg-source --after-build systemback_1.8.402
dpkg-buildpackage: Informazioni: full upload; Debian-native package (full source is included)
Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
E: systemback changes: bad-distribution-in-changes-file release
W: systemback source: out-of-date-standards-version 3.9.7 (current is 4.1.1)
W: systemback-dbg: priority-extra-is-replaced-by-priority-optional
W: systemback-scheduler-dbg: priority-extra-is-replaced-by-priority-optional
W: systemback-cli-dbg: priority-extra-is-replaced-by-priority-optional
W: libsystemback-dbg: priority-extra-is-replaced-by-priority-optional
N: 4 tags overridden (4 warnings)
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc systemback_1.8.402.dsc Kende Krisztián <email address hidden>
gpg: saltato "Kende Krisztián <email address hidden>": Nessuna chiave segreta
gpg: /tmp/debsign.AinK4ulD/systemback_1.8.402.dsc: clearsign failed: Nessuna chiave segreta
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1053:
running debsign failed

##############################################################################

As You can see the last rows are showing the issue :

Now running lintian...
warning: the authors of lintian do not recommend running it with root privileges!
E: systemback changes: bad-distribution-in-changes-file release
W: systemback source: out-of-date-standards-version 3.9.7 (current is 4.1.1)
W: systemback-dbg: priority-extra-is-replaced-by-priority-optional
W: systemback-scheduler-dbg: priority-extra-is-replaced-by-priority-optional
W: systemback-cli-dbg: priority-extra-is-replaced-by-priority-optional
W: libsystemback-dbg: priority-extra-is-replaced-by-priority-optional
N: 4 tags overridden (4 warnings)
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc systemback_1.8.402.dsc Kende Krisztián <email address hidden>
gpg: saltato "Kende Krisztián <email address hidden>": Nessuna chiave segreta
gpg: /tmp/debsign.AinK4ulD/systemback_1.8.402.dsc: clearsign failed: Nessuna chiave segreta
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1053:
running debsign failed

##############################################################################

Please krisztian, let me know where am I doing wrong ?

Revision history for this message
Biagio De Maio (bdmaster) said :
#8

It seems that I haven't any secret key ...

Now signing changes and any dsc files...
signfile dsc systemback_1.8.402.dsc Kende Krisztián <email address hidden>

gpg: jumped "Kende Krisztián <email address hidden>": None secret key

gpg: /tmp/debsign.AinK4ulD/systemback_1.8.402.dsc: clearsign failed: None secret key

debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1053:
running debsign failed

So 'debsign failed' ... why ?

Revision history for this message
Biagio De Maio (bdmaster) said :
#9

Hi Krisztian,
I checked my compiler's GCC version on Ubuntu 17.10 and It's 7.2 then I looked info for this and I found that Qt5 can work in
C++11 (and C++14) with GCC version GCC 4.8, GCC 4.9, GCC 5, GCC 6, GCC 7, so I think compiler is ok.

http://doc.qt.io/qt-5/supported-platforms.html
http://doc.qt.io/qt-5/supported-platforms.html

Then using Qt Creator to compile and run I got these log ...

######################################################

cc1plus: all warnings being treated as errors
Makefile:861: recipe for target 'sblib.o' failed
make[1]: Leaving directory '/media/Dati/Programmi/Systemback/Systemback tool/systemback_1.8.402_source/build-systemback-Desktop_Qt_5_9_1_GCC_64bit-Debug/libsystemback'
make[1]: *** [sblib.o] Error 1
Makefile:49: recipe for target 'sub-libsystemback-make_first' failed
make: *** [sub-libsystemback-make_first] Error 2
09:35:06: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project systemback (kit: Desktop Qt 5.9.1 GCC 64bit)
When executing step "Make"
09:35:06: Elapsed time: 00:06.

#####################################################

There are all these trouble to recompile a program :(
I will try to install a new fresh instance of Ubuntu to make a try yet !
Thank you for your patience and help !!!

Revision history for this message
Kendek (nemh) said :
#10

Hi Biagio,

I hear you, and I understand the problem. But what is the primary goal? Currently I do not have enought time for the Systemback, and the last supported Ubuntu version is 17.04, up to Qt 5.7.1, GCC 6.3 and Clang 4.0. The compilation is just a little thing, it would need a C++ developer for the code fixing and maintaining. There would be a lot of things to do, the Systemback is far from complete or bug free.

Revision history for this message
Biagio De Maio (bdmaster) said :
#11

Ok Krisztian,
You get this goal using the right versions of Qt and GCC on Ubuntu 17.10, not my configuration.
Now You said to me all I need to know ... the last right environment to make working Qt and compiling tool !
Many thanks for all again ... You are my HERO, I am not a C++ developer but will try to give a chance ...
I wish you the best

Revision history for this message
RobertX (bobbyyu1) said :
#12

Biagio De Maio,

You and the Systemback development team are beyond respect for involving of the great tool!

So long as the link to this repository stays available, I will provide recommendations for Debian/Ubuntu users to come here.

I am using Linux Mint, however, but it's still an Ubuntu-like OS.

Revision history for this message
Thomas Weissel (xapient) said :
#13

hi everybody.. i just wanted to get into the line of people saying thank you to Kendek .. your program saved me hours or maybe days already..

but.. since you are not developing it anymore and as i already wrote in another thread the installer does not support nvme devices.
thereforei decided to start "from scratch" in a programming language i know..
 (i also tried to fix some parts of you C code but i'm just not good enough in C++)

so i started to write a systembackup program based on "remastersys" in PYTHON and Qt -- no compiling, easys to read, easy to understand, easy to maintain and easy to fix..

the main part of the image processing code and the usb device creation code is simple "bash script" tied in seamlessly into the python Qt User interface..

its not as powerful as systemback and probably will never be.. but it allows you to create a distributable copy of your running system with a mouseclick..

have a look here...

https://github.com/valueerrorx/life-builder

for now it's optimized for KDE NEON (ubuntu based kde distribution) but with some additional lines of code in the main bashscript it's going to do it's job on mint, ubuntu, etc......

if you have questions, bugfixes, ideas.. please comment on the github page ...

have a nice day !