SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Also, I noticed that Arch has a patch for compilation against clang 9 (which is the clang version in -current) for exactly the same error you are getting in clangformatutils.cpp: https://695274.bugs.gentoo.org/attac...=raw&headers=1
For the first time I tried the Current-Version, just out of curiosity...
its really impressive, everything works fine just "out of the box".
via sbopkg i tried to install some extra packages.
I changed the sbopkg.conf to point to the Current-Repo - build some packages - no problems so far
except one package: cairo-dock-plug-ins-3.4.1
the compilation stopped with
Code:
...
patching file Dbus/demos/demo_mono/demo_mono.cs
patching file Dbus/interfaces/mono/IApplet.cs
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 27 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file Dbus/interfaces/mono/IApplet.cs.rej
patching file Dbus/interfaces/mono/ISubApplet.cs
Hunk #1 FAILED at 1 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file Dbus/interfaces/mono/ISubApplet.cs.rej
ok, as I am not a programmer, thats a bit of hieroglyphics
but I had a look in the BuildScript in /var/lib/sbopkg/SBo-git/desktop/cairo-dock-plugins
and found that a "mono"-patch is applied [Line 73]
commenting that line # dosn't work, as the sbopkg command overwrites the changing...
cp'ed the necessary files to some local dir, commenting line 73 in the build script
and starting the build manually works fine, no errors, the difference is, the resulting
package is *SBo.tgz instead of *ponce.tgz
As I said, I'm not a programmer, and it was just "a try", although I did not know what the patch is for!?
Maybe its a bit helpful for the maintainer, and maybe someone can explain some relations to me
By the way, the "cairo-dock" works fine, no error messages about missing plugins :-) and the plugins also working
Also, I noticed that Arch has a patch for compilation against clang 9 (which is the clang version in -current) for exactly the same error you are getting in clangformatutils.cpp: https://695274.bugs.gentoo.org/attac...=raw&headers=1
As advised jumped to qt-creator 4.10.1. Already using AlienBob's Qt 5.13.1. This cleared the deprecated problems, but left me with this error -
Quote:
clangformatutils.cpp: In function 'clang::format::FormatStyle ClangFormat::qtcStyle()':
clangformatutils.cpp:63:49: error: cannot convert 'bool' to 'clang::format::FormatStyle::ShortIfStyle' in assignment
63 | style.AllowShortIfStatementsOnASingleLine = false;
| ^~~~~
make[3]: *** [Makefile:1270: .obj/release-shared/clangformatutils.o] Error 1
make[3]: Leaving directory '/tmp/SBo/qt-creator-4.10.1/src/plugins/clangformat'
make[2]: *** [Makefile:148: sub-clangformat-make_first] Error 2
make[2]: *** Waiting for unfinished jobs....
So applied the patch that AlienBob pointed out.
qt-creator 4.10.1 now compiles without error.
Thanks to AlienBob for pointing me in the right direction. Now all I have to do is test it!
For the first time I tried the Current-Version, just out of curiosity...
its really impressive, everything works fine just "out of the box".
via sbopkg i tried to install some extra packages.
I changed the sbopkg.conf to point to the Current-Repo - build some packages - no problems so far
except one package: cairo-dock-plug-ins-3.4.1
the compilation stopped with
Code:
...
patching file Dbus/demos/demo_mono/demo_mono.cs
patching file Dbus/interfaces/mono/IApplet.cs
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 27 (different line endings).
2 out of 2 hunks FAILED -- saving rejects to file Dbus/interfaces/mono/IApplet.cs.rej
patching file Dbus/interfaces/mono/ISubApplet.cs
Hunk #1 FAILED at 1 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file Dbus/interfaces/mono/ISubApplet.cs.rej
ok, as I am not a programmer, thats a bit of hieroglyphics
but I had a look in the BuildScript in /var/lib/sbopkg/SBo-git/desktop/cairo-dock-plugins
and found that a "mono"-patch is applied [Line 73]
commenting that line # dosn't work, as the sbopkg command overwrites the changing...
cp'ed the necessary files to some local dir, commenting line 73 in the build script
and starting the build manually works fine, no errors, the difference is, the resulting
package is *SBo.tgz instead of *ponce.tgz
As I said, I'm not a programmer, and it was just "a try", although I did not know what the patch is for!?
Maybe its a bit helpful for the maintainer, and maybe someone can explain some relations to me
By the way, the "cairo-dock" works fine, no error messages about missing plugins :-) and the plugins also working
kind regards
gp
thanks for the report! I fixed the patches (it will go in at the next global update).
Also, I noticed that Arch has a patch for compilation against clang 9 (which is the clang version in -current) for exactly the same error you are getting in clangformatutils.cpp: https://695274.bugs.gentoo.org/attac...=raw&headers=1
Thanks to AlienBob for pointing me in the right direction. Now all I have to do is test it!
Fyi theres also a binary qtcreator provided by the qt company itself that should run everywhere. You can install it with the qt online installer thing. it would be nice to have an alternative slackbuild like with blender (where you can choose between compiling and binary) since compile times at least for me are super high.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.