How to Compile systemback using QT5.9.1 on Ubuntu 17.10
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 '../../
:-1: error: No rule to make target '../../
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/
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_
# dans le dossier / home, puis décompressez le fichier tar pour obtenir le
# dossier /home/Systembac
# pour l'installation.
# Après cela, il va copier le nouveau shell dans le dossier
# installation /home/Systembac
# et lui transmettra le chèque pour effectuer l'installation proprement dite.
# Start
sudo wget -P /home https:/
sudo tar xpvf /home/Systembac
sudo chmod 755 /home/Systembac
sudo sed -i '9 i # Ubuntu 17.10 Artful Aardvark,' /home/Systembac
sudo sed -i '10 i # Ubuntu 18.04 Bionic Beaver,' /home/Systembac
sudo sed -i '16 i # Last modification: 2017.12.12. by Biagio De Maio <email address hidden>' /home/Systembac
sudo sed -i '17 i # and friend of mine Babdu89 <email>' /home/Systembac
sudo sed -i '46 i \ artful)' /home/Systembac
sudo sed -i '47 i \ release=
sudo sed -i '48 i \ ;;' /home/Systembac
sudo sed -i '49 i \ bionic)' /home/Systembac
sudo sed -i '50 i \ release=
sudo sed -i '51 i \ ;;' /home/Systembac
sudo sed -i '75 i \ 5 ─ Ubuntu 17.10 (Artful Aardvark)' /home/Systembac
sudo sed -i '76 i \ 6 ─ Ubuntu 18.04 (Bionic Beaver)' /home/Systembac
sudo sed -i '77d' /home/Systembac
sudo sed -i '77 i \ 7 ─ Debian 8.0 (Jessie)' /home/Systembac
sudo sed -i '104 i \ 5)' /home/Systembac
sudo sed -i '105 i \ release=
sudo sed -i '106 i \ ;;' /home/Systembac
sudo sed -i '107 i \ 6)' /home/Systembac
sudo sed -i '108 i \ release=
sudo sed -i '109 i \ ;;' /home/Systembac
sudo sed -i '110d' /home/Systembac
sudo sed -i '110 i \ 7)' /home/Systembac
/home/Systembac
# 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
|
#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
|
#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/
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/
[ ! -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_
dpkg-source: Informazioni: building systemback in systemback_
debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/
cd libsystemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
sblib.cpp:1807:9: error: ‘mnt_context_
sblib.cpp:1808:9: error: ‘mnt_context_
sblib.cpp:1809:9: error: ‘mnt_context_
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
ThrdRslt = ! mnt_context_
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
return mnt_free_
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return mnt_free_
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_
^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
libmnt_context *ucxt(mnt_
^~~~~~~~~~~~~~
QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
libmnt_context *ucxt(mnt_
sblib.cpp:2073:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2074:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2075:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2077:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2079:15: error: ‘mnt_context_
bool rv(! mnt_context_
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
mnt_
^~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-
^~
sblib.cpp:71:13: note: here
sblib.cpp: In member function ‘bool sb::recrmdir(
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1745:21: note: here
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1760:17: note: here
sblib.cpp: In member function ‘bool sb::thrdsrestor
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2632:25: note: here
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2745:37: note: here
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2993:33: note: here
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3023:33: note: here
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3052:49: note: here
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3082:33: note: here
sblib.cpp: In member function ‘bool sb::thrdscopy(
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3291:37: note: here
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3336:37: note: here
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3428:21: note: here
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3560:37: note: here
Makefile:384: set di istruzioni per l'obiettivo "sblib.o" non riuscito
make[2]: *** [sblib.o] Errore 1
make[2]: uscita dalla directory "/root/
Makefile:49: set di istruzioni per l'obiettivo "sub-libsystemb
make[1]: *** [sub-libsystemb
make[1]: uscita dalla directory "/root/
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-
chmod: impossibile accedere a 'x': File o directory non esistente
root@Aspire-
root@Aspire-
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-
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-
-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-
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/
[ ! -f Makefile ] || /usr/bin/make distclean
make[1]: ingresso nella directory "/root/
cd libsystemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
rm -f qrc_version.cpp
rm -f moc_predefs.h
rm -f sblib.o qrc_version.o
rm -f *~ core *.core
rm -f libsystemback.
rm -f libsystemback.so libsystemback.so.1 libsystemback.
rm -f Makefile
make[2]: uscita dalla directory "/root/
cd sbscheduler/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
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/
cd sbsysupgrade/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
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/
cd sbsustart/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
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/
cd systemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
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_tblwdgteven
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/
cd systemback-cli/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
rm -f moc_predefs.h
rm -f moc_systemback-
rm -f main.o systemback-cli.o moc_systemback-
rm -f *~ core *.core
rm -f systemback-cli
rm -f Makefile
make[2]: uscita dalla directory "/root/
rm -f Makefile
rm -f .qmake.stash
make[1]: uscita dalla directory "/root/
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_
dpkg-source: Informazioni: building systemback in systemback_
debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/
cd libsystemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
sblib.cpp:1807:9: error: ‘mnt_context_
sblib.cpp:1808:9: error: ‘mnt_context_
sblib.cpp:1809:9: error: ‘mnt_context_
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
ThrdRslt = ! mnt_context_
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
return mnt_free_
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return mnt_free_
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_
^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
libmnt_context *ucxt(mnt_
^~~~~~~~~~~~~~
QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
libmnt_context *ucxt(mnt_
sblib.cpp:2073:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2074:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2075:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2077:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2079:15: error: ‘mnt_context_
bool rv(! mnt_context_
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
mnt_
^~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-
^~
sblib.cpp:71:13: note: here
sblib.cpp: In member function ‘bool sb::recrmdir(
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1745:21: note: here
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1760:17: note: here
sblib.cpp: In member function ‘bool sb::thrdsrestor
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2632:25: note: here
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2745:37: note: here
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2993:33: note: here
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3023:33: note: here
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3052:49: note: here
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3082:33: note: here
sblib.cpp: In member function ‘bool sb::thrdscopy(
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3291:37: note: here
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3336:37: note: here
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3428:21: note: here
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3560:37: note: here
Makefile:384: set di istruzioni per l'obiettivo "sblib.o" non riuscito
make[2]: *** [sblib.o] Errore 1
make[2]: uscita dalla directory "/root/
Makefile:49: set di istruzioni per l'obiettivo "sub-libsystemb
make[1]: *** [sub-libsystemb
make[1]: uscita dalla directory "/root/
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
|
#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_
https:/
All the warnings are new, because the newer compiler and other tools.
Revision history for this message
|
#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
|
#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-
libparted0-dev is already the newest version (3.2-18).
qtbase5-dev is already the newest version (5.9.1+
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-
linux-
linux-
linux-
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
|
#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-
^~
sblib.cpp:71:13: note: here
sblib.cpp: In member function ‘bool sb::recrmdir(
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1745:21: note: here
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1760:17: note: here
sblib.cpp: In member function ‘bool sb::thrdsrestor
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2632:25: note: here
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2745:37: note: here
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2993:33: note: here
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3023:33: note: here
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3052:49: note: here
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3082:33: note: here
sblib.cpp: In member function ‘bool sb::thrdscopy(
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3291:37: note: here
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3336:37: note: here
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3428:21: note: here
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3560:37: note: here
#######
Mine :
sblib.cpp: In member function ‘virtual void sb::run()’:
sblib.cpp:1806:9: error: ‘libmnt_context’ was not declared in this scope
sblib.cpp:1806:9: note: suggested alternative: ‘QOpenGLContext’
sblib.cpp:1806:30: error: ‘mnt_new_context’ was not declared in this scope
sblib.cpp:1806:25: error: ‘mcxt’ was not declared in this scope
sblib.cpp:1806:25: note: suggested alternative: ‘acct’
sblib.cpp:1807:9: error: ‘mnt_context_
sblib.cpp:1808:9: error: ‘mnt_context_
sblib.cpp:1809:9: error: ‘mnt_context_
sblib.cpp:1810:22: error: ‘mnt_context_mount’ was not declared in this scope
ThrdRslt = ! mnt_context_
sblib.cpp:1811:16: error: ‘mnt_free_context’ was not declared in this scope
return mnt_free_
sblib.cpp:1811:37: error: return-statement with a value, in function returning 'void' [-fpermissive]
return mnt_free_
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_
^~~~~~~~~~~~~~
sblib.cpp:2072:5: note: suggested alternative: ‘QOpenGLContext’
libmnt_context *ucxt(mnt_
^~~~~~~~~~~~~~
QOpenGLContext
sblib.cpp:2072:26: error: ‘mnt_new_context’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: error: ‘ucxt’ was not declared in this scope
libmnt_context *ucxt(mnt_
sblib.cpp:2072:21: note: suggested alternative: ‘umnt’
libmnt_context *ucxt(mnt_
sblib.cpp:2073:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2074:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2075:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2077:5: error: ‘mnt_context_
mnt_
^~
sblib.cpp:2079:15: error: ‘mnt_context_
bool rv(! mnt_context_
sblib.cpp:2080:5: error: ‘mnt_free_context’ was not declared in this scope
mnt_
^~
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-
^~
sblib.cpp:71:13: note: here
sblib.cpp: In member function ‘bool sb::recrmdir(
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1745:21: note: here
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1760:17: note: here
sblib.cpp: In member function ‘bool sb::thrdsrestor
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2632:25: note: here
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2745:37: note: here
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2993:33: note: here
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3023:33: note: here
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3052:49: note: here
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3082:33: note: here
sblib.cpp: In member function ‘bool sb::thrdscopy(
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3291:37: note: here
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3336:37: note: here
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3428:21: note: here
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3560:37: note: here
#######
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
|
#7 |
Ok God help me please !
i have downloaded again your sources from here :
https:/
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/
[ ! -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_
dpkg-source: Informazioni: building systemback in systemback_
debian/rules build
qmake -qt5
Info: creating stash file /root/Scaricati
touch configure-stamp
/usr/bin/make -j 4
make[1]: ingresso nella directory "/root/
cd libsystemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
sblib.cpp: In lambda function:
sblib.cpp:70:17: warning: this statement may fall through [-Wimplicit-
^~
sblib.cpp:71:13: note: here
sblib.cpp: In member function ‘bool sb::recrmdir(
sblib.cpp:1744:25: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1745:21: note: here
sblib.cpp:1759:21: warning: this statement may fall through [-Wimplicit-
sblib.cpp:1760:17: note: here
sblib.cpp: In member function ‘bool sb::thrdsrestor
sblib.cpp:2630:71: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2632:25: note: here
sblib.cpp:2744:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2745:37: note: here
sblib.cpp:2992:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:2993:33: note: here
sblib.cpp:3022:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3023:33: note: here
sblib.cpp:3051:53: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3052:49: note: here
sblib.cpp:3081:37: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3082:33: note: here
sblib.cpp: In member function ‘bool sb::thrdscopy(
sblib.cpp:3290:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3291:37: note: here
sblib.cpp:3334:45: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3336:37: note: here
sblib.cpp:3426:68: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3428:21: note: here
sblib.cpp:3559:41: warning: this statement may fall through [-Wimplicit-
sblib.cpp:3560:37: note: here
rm -f libsystemback.
g++ -m64 -g -Wl,-Bsymbolic-
ln -s libsystemback.
ln -s libsystemback.
ln -s libsystemback.
make[2]: uscita dalla directory "/root/
cd sbscheduler/ && ( test -e Makefile || /usr/lib/
cd sbsustart/ && ( test -e Makefile || /usr/lib/
cd sbsysupgrade/ && ( test -e Makefile || /usr/lib/
cd systemback/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
make[2]: ingresso nella directory "/root/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
make[2]: ingresso nella directory "/root/
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -g -Wl,-rpath=
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
make[2]: uscita dalla directory "/root/
cd systemback-cli/ && ( test -e Makefile || /usr/lib/
make[2]: ingresso nella directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
/usr/lib/
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -g -Wl,-rpath=
g++ -m64 -g -Wl,-rpath=
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
systemback.cpp: In member function ‘virtual bool systemback:
systemback.
systemback.
default:
^~~~~~~
systemback.cpp: In member function ‘void systemback:
systemback.
systemback.
case sb::Emptyspace:
^~~~
make[2]: uscita dalla directory "/root/
/usr/lib/
g++ -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
systemback.cpp: In member function ‘void systemback:
systemback.
if(msize && (len -= 1048576) < 1048576) goto end;
systemback.
default:
^~~~~~~
make[2]: uscita dalla directory "/root/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -g -Wl,-rpath=
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
make[2]: uscita dalla directory "/root/
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -c -m64 -pipe -g -fno-rtti -fvisibility=hidden -fvisibility-
g++ -m64 -g -Wl,-rpath=
systemback.
void on_admins_
^
systemback.
void systemback:
^
systemback.
void on_adminpasswor
^
systemback.
void systemback:
^
systemback.
void on_includeusers
^
systemback.
void systemback:
^
systemback.
void on_fullname_
^
systemback.
void systemback:
^
systemback.
void on_repairmountp
^
systemback.
void systemback:
^
systemback.
void on_mountpoint_
^
systemback.
void systemback:
^
systemback.
void on_livename_
^
systemback.
void systemback:
^
systemback.
void on_point15_
^
systemback.
void systemback:
^
systemback.
void on_point14_
^
systemback.
void systemback:
^
systemback.
void on_point13_
^
systemback.
void systemback:
^
systemback.
void on_point12_
^
systemback.
void systemback:
^
systemback.
void on_point11_
^
systemback.
void systemback:
^
systemback.
void on_point10_
^
systemback.
void systemback:
^
systemback.
void on_point9_
^
systemback.
void systemback:
^
systemback.
void on_point8_
^
systemback.
void systemback:
^
systemback.
void on_point7_
^
systemback.
void systemback:
^
systemback.
void on_point6_
^
systemback.
void systemback:
^
systemback.
void on_point5_
^
systemback.
void systemback:
^
systemback.
void on_point4_
^
systemback.
void systemback:
^
systemback.
void on_point3_
^
systemback.
void systemback:
^
systemback.
void on_point2_
^
systemback.
void systemback:
^
systemback.
void on_point1_
^
systemback.
void systemback:
^
systemback.
void on_hostname_
^
systemback.
void systemback:
^
systemback.
void on_grubreinstal
^
systemback.
void systemback:
^
systemback.
void on_grubinstallc
^
systemback.
void systemback:
^
systemback.
void on_grubreinstal
^
systemback.
void systemback:
^
systemback.
void on_users_
^
systemback.
void systemback:
^
systemback.
void on_styles_
^
systemback.
void systemback:
^
systemback.
void on_languages_
^
systemback.
void systemback:
^
systemback.
void on_windowpositi
^
systemback.
void systemback:
^
systemback.
void on_rootpassword
^
systemback.
void systemback:
^
systemback.
void on_password1_
^
systemback.
void systemback:
^
systemback.
void on_username_
^
systemback.
void systemback:
^
systemback.
void on_repairpartit
^
systemback.
void systemback:
^
systemback.
void on_filesystem_
^
systemback.
void systemback:
^
make[2]: uscita dalla directory "/root/
make[1]: uscita dalla directory "/root/
touch build-arch-stamp
lrelease -qt5 systemback.pro
Updating '/root/
Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/
Generated 143 translation(s) (143 finished and 0 unfinished)
Ignored 174 untranslated source text(s)
Updating '/root/
Generated 192 translation(s) (192 finished and 0 unfinished)
Ignored 125 untranslated source text(s)
Updating '/root/
Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/
Generated 316 translation(s) (316 finished and 0 unfinished)
Ignored 1 untranslated source text(s)
Updating '/root/
Generated 309 translation(s) (309 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Updating '/root/
Generated 6 translation(s) (6 finished and 0 unfinished)
Ignored 311 untranslated source text(s)
Updating '/root/
Generated 296 translation(s) (296 finished and 0 unfinished)
Ignored 21 untranslated source text(s)
Updating '/root/
Generated 187 translation(s) (187 finished and 0 unfinished)
Ignored 130 untranslated source text(s)
Updating '/root/
Generated 309 translation(s) (309 finished and 0 unfinished)
Ignored 8 untranslated source text(s)
Updating '/root/
Generated 212 translation(s) (212 finished and 0 unfinished)
Ignored 105 untranslated source text(s)
Updating '/root/
Generated 269 translation(s) (269 finished and 0 unfinished)
Ignored 48 untranslated source text(s)
Updating '/root/
Generated 223 translation(s) (223 finished and 0 unfinished)
Ignored 94 untranslated source text(s)
Updating '/root/
Generated 317 translation(s) (317 finished and 0 unfinished)
Updating '/root/
Generated 292 translation(s) (292 finished and 0 unfinished)
Ignored 25 untranslated source text(s)
Updating '/root/
Generated 137 translation(s) (137 finished and 0 unfinished)
Ignored 180 untranslated source text(s)
Updating '/root/
Generated 268 translation(s) (268 finished and 0 unfinished)
Ignored 49 untranslated source text(s)
Updating '/root/
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/
dh_strip --dbg-package=
dh_strip --dbg-package=
dh_strip --dbg-package=
dh_strip --dbg-package=
dh_link -a
dh_fixperms -a
chmod 4755 debian/
dh_makeshlibs -nV "libsystemback (= 1.8.402)" -a
dh_shlibdeps -a
dh_installdeb -a
dh_gencontrol -a
dh_installdocs -a
dh_installchang
dh_lintian -a
dh_compress -a
dh_builddeb -a
dpkg-deb: building package 'libsystemback' in '../libsystemba
dpkg-deb: building package 'systemback-
dpkg-deb: building package 'systemback-cli' in '../systemback-
dpkg-deb: building package 'systemback' in '../systemback_
dpkg-deb: building package 'systemback-
dpkg-deb: building package 'systemback-
dpkg-deb: building package 'libsystemback-dbg' in '../libsystemba
dpkg-deb: building package 'systemback-dbg' in '../systemback-
dh_install -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_installdocs -i
dh_installchang
dh_compress -i
dh_builddeb -i
dpkg-deb: building package 'systemback-
dpkg-deb: building package 'systemback-
dpkg-genbuildinfo
dpkg-genchanges >../systemback_
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-distributio
W: systemback source: out-of-
W: systemback-dbg: priority-
W: systemback-
W: systemback-cli-dbg: priority-
W: libsystemback-dbg: priority-
N: 4 tags overridden (4 warnings)
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc systemback_
gpg: saltato "Kende Krisztián <email address hidden>": Nessuna chiave segreta
gpg: /tmp/debsign.
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-distributio
W: systemback source: out-of-
W: systemback-dbg: priority-
W: systemback-
W: systemback-cli-dbg: priority-
W: libsystemback-dbg: priority-
N: 4 tags overridden (4 warnings)
Finished running lintian.
Now signing changes and any dsc files...
signfile dsc systemback_
gpg: saltato "Kende Krisztián <email address hidden>": Nessuna chiave segreta
gpg: /tmp/debsign.
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
|
#8 |
It seems that I haven't any secret key ...
Now signing changes and any dsc files...
signfile dsc systemback_
gpg: jumped "Kende Krisztián <email address hidden>": None secret key
gpg: /tmp/debsign.
debsign: gpg error occurred! Aborting....
debuild: fatal error at line 1053:
running debsign failed
So 'debsign failed' ... why ?
Revision history for this message
|
#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://
http://
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/
make[1]: *** [sblib.o] Error 1
Makefile:49: recipe for target 'sub-libsystemb
make: *** [sub-libsystemb
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
|
#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
|
#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
|
#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
|
#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:/
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 !