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.
But SimGear depends on specific version of OpenSceneGraph (it is 3.5.5 in SlackBuilds.org) which is incompatible, I have to compile OpenSceneGraph 3.4.1 for it to work.
But SimGear depends on specific version of OpenSceneGraph (it is 3.5.5 in SlackBuilds.org) which is incompatible, I have to compile OpenSceneGraph 3.4.1 for it to work.
FlightGear compiled and run fine after this.
I have not tried yet myself as I got my build hosts busy ATM, but I spotted a new SimGear/FlightGear release of two days ago
thunar-dropbox (currently at 0.2.1) no longer builds. This is no fault of SBO; it appears that its upstream maintainer has gone MIA. The issue is, it is no longer compatible with the gtk3 version of Thunar, which is shipped with Slackware Current.
The attached patch gets it to build; however, the app itself seems quite buggy. Quaere whether it's worth continuing to include in SBO or if it should just be cut as unmaintained software.
as it's unmaintaned upstream I opted to remove it for the moment, thanks for reporting!
SFML 2.4.2 does not build on -current, it fails with conflicting variable declarations in glx. I was able to fix it by version bumping to 2.5.1 and commenting out the FindSFML.cmake file move section (since it is no longer included?).
thanks for the report: I updated it too to 2.5.1 here and updated SFGUI too accordingly, they will go in at the next merge.
could you please check if things are ok with that?
Yes, it works. I was compiling the 2018.3.1 version, it still require OpenSceneGraph 3.4.
Since OpenSceneGraph's maintainer is different from SimGear, I guess it is needed by different pkgs. For the time being, only SimGear is requiring it for me, I could bear with it.
Yes, it works. I was compiling the 2018.3.1 version, it still require OpenSceneGraph 3.4.
I'm not really sure what you mean with this "require" because I just tried building the FlightGear version in the repository and all of its dependencies (so with OpenSceneGraph-3.5.5) on 14.2 and it went fine...
what I see on current is compilation breaking because of the newer boost
Code:
[ 45%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/structure/SGPerfMon.cxx.o
[ 46%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/structure/StringTable.cxx.o
In file included from /tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalContext.cxx:20:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: error: ‘enable_if’ in namespace ‘boost’ does not name a template type
typename boost::enable_if< boost::is_function<Sig>,
^~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: note: suggested alternative: ‘enable_if_’
typename boost::enable_if< boost::is_function<Sig>,
^~~~~~~~~
enable_if_
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:32: error: expected unqualified-id before ‘<’ token
typename boost::enable_if< boost::is_function<Sig>,
^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: error: ‘enable_if_c’ in namespace ‘boost’ does not name a template type
typename boost::enable_if_c< is_const || !is_other_const,
^~~~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: note: suggested alternative: ‘enable_if_t’
typename boost::enable_if_c< is_const || !is_other_const,
^~~~~~~~~~~
enable_if_t
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:48: error: expected ‘,’ or ‘...’ before ‘<’ token
typename boost::enable_if_c< is_const || !is_other_const,
^
In file included from /tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.cxx:19:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: error: ‘enable_if’ in namespace ‘boost’ does not name a template type
typename boost::enable_if< boost::is_function<Sig>,
^~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: note: suggested alternative: ‘enable_if_’
typename boost::enable_if< boost::is_function<Sig>,
^~~~~~~~~
enable_if_
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:32: error: expected unqualified-id before ‘<’ token
typename boost::enable_if< boost::is_function<Sig>,
^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: error: ‘enable_if_c’ in namespace ‘boost’ does not name a template type
typename boost::enable_if_c< is_const || !is_other_const,
^~~~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: note: suggested alternative: ‘enable_if_t’
typename boost::enable_if_c< is_const || !is_other_const,
^~~~~~~~~~~
enable_if_t
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:48: error: expected ‘,’ or ‘...’ before ‘<’ token
typename boost::enable_if_c< is_const || !is_other_const,
^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx: In function ‘simgear::Map<std::__cxx11::basic_string<char>, Value> from_nasal_helper(naContext, naRef, const simgear::Map<std::__cxx11::basic_string<char>, Value>*)’:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:290:57: error: no match for ‘operator!=’ (operand types are ‘nasal::Hash::const_iterator’ {aka ‘nasal::Hash::Iterator<true>’} and ‘nasal::Hash::iterator’ {aka ‘nasal::Hash::Iterator<false>’})
for(nasal::Hash::const_iterator it = hash.begin(); it != hash.end(); ++it)
BTW, thanks a lot for testing the new version: I'll test it too and push the updates.
EDIT: SimGear 2018.3.2 seems to have built fine with the boost patch you posted in your previous message and so FlightGear-2018.3.2 and FlightGear-data-2018.3.2 (I've used OpenSceneGraph-3.5.5).
I'm not really sure what you mean with this "require" because I just tried building the FlightGear version in the repository and all of its dependencies (so with OpenSceneGraph-3.5.5) on 14.2 and it went fine...
Really strange, it is compiled fine now with 3.5.5.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
simple-scan failed to build on -current withe : sbopkg -V SBo-git/current -i simple-scan
---------------------
[6/16] Compiling Vala source ../src/config.vapi ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/simple-scan.vala ../src/scanner.vala ../src/ui.vala ../src/autosave-manager.vala.
FAILED: src/25a6634@@simple-scan@exe/book.c src/25a6634@@simple-scan@exe/book-view.c src/25a6634@@simple-scan@exe/page.c src/25a6634@@simple-scan@exe/page-view.c src/25a6634@@simple-scan@exe/simple-scan.c src/25a6634@@simple-scan@exe/scanner.c src/25a6634@@simple-scan@exe/ui.c src/25a6634@@simple-scan@exe/autosave-manager.c
valac -C --debug --debug --pkg packagekit-glib2 --pkg colord --pkg sane-backends --pkg gusb --pkg gdk-pixbuf-2.0 --pkg cairo --pkg zlib --pkg gtk+-3.0 --target-glib ' 2.38' --pkg glib-2.0 --color=always --directory src/25a6634@@simple-scan@exe --basedir ../src --gresources=../src/simple-scan.gresource.xml --pkg=posix --vapidir=/tmp/SBo/simple-scan-3.25.1/src -D HAVE_COLORD -D HAVE_PACKAGEKIT ../src/config.vapi ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/simple-scan.vala ../src/scanner.vala ../src/ui.vala ../src/autosave-manager.vala
../src/page.vala:90.5-90.39: error: Property `Page.scan_direction' with custom `get' accessor and/or `set' mutator cannot have `default' value
public ScanDirection scan_direction
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../src/ui.vala:1347.25-1347.80: warning: Gtk.Arrow.new has been deprecated since 3.14
../src/ui.vala:1904.13-1904.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1905.13-1905.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1906.13-1906.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1907.13-1907.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1908.13-1908.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1909.13-1909.31: warning: Gtk.Application.add_accelerator has been deprecated since 3.14
../src/ui.vala:1071.9-1071.23: warning: Gtk.Menu.popup has been deprecated since 3.22
../src/ui.vala:470.42-470.45: error: Argument 1: Cannot pass value to reference or output parameter
device_model.remove (iter);
^^^^
../src/ui.vala:483.34-483.37: error: Argument 1: Cannot pass value to reference or output parameter
device_model.remove (iter);
^^^^
Compilation failed: 3 error(s), 8 warning(s)
ninja: build stopped: subcommand failed.
simple-scan:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?:
-------------------------------------------
Project has relocated to gitlab, and a newer stable version is available. That version does build on my machine. Following patches to .SlackBuild and .info get it to build:
Code:
--- simple-scan.SlackBuild 2019-01-28 14:59:55.975807283 -0500
+++ simple-scan.SlackBuild.sbopkg 2019-02-01 21:40:16.619857650 -0500
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="simple-scan"
-VERSION=${VERSION:-3.25.1}
+VERSION=${VERSION:-3.30.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
--- simple-scan.info 2019-01-28 14:59:55.975807283 -0500
+++ simple-scan.info.sbopkg 2019-02-01 21:39:55.699858448 -0500
@@ -1,8 +1,8 @@
PRGNAM="simple-scan"
-VERSION="3.25.1"
+VERSION="3.30.1.1"
HOMEPAGE="https://launchpad.net/simple-scan"
-DOWNLOAD="https://launchpad.net/simple-scan/3.25/3.25.1/+download/simple-scan-3.25.1.tar.xz"
-MD5SUM="6bff2b9bdfb529e21582f4a65c3f2d27"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/simple-scan/-/archive/3.30.1.1/simple-scan-3.30.1.1.tar.bz2"
+MD5SUM="0f4da95ee93ee2eb5421af16100190c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="colord packagekit meson libgusb vala"
Project has relocated to gitlab, and a newer stable version is available. That version does build on my machine. Following patches to .SlackBuild and .info get it to build:
Code:
--- simple-scan.SlackBuild 2019-01-28 14:59:55.975807283 -0500
+++ simple-scan.SlackBuild.sbopkg 2019-02-01 21:40:16.619857650 -0500
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="simple-scan"
-VERSION=${VERSION:-3.25.1}
+VERSION=${VERSION:-3.30.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
--- simple-scan.info 2019-01-28 14:59:55.975807283 -0500
+++ simple-scan.info.sbopkg 2019-02-01 21:39:55.699858448 -0500
@@ -1,8 +1,8 @@
PRGNAM="simple-scan"
-VERSION="3.25.1"
+VERSION="3.30.1.1"
HOMEPAGE="https://launchpad.net/simple-scan"
-DOWNLOAD="https://launchpad.net/simple-scan/3.25/3.25.1/+download/simple-scan-3.25.1.tar.xz"
-MD5SUM="6bff2b9bdfb529e21582f4a65c3f2d27"
+DOWNLOAD="https://gitlab.gnome.org/GNOME/simple-scan/-/archive/3.30.1.1/simple-scan-3.30.1.1.tar.bz2"
+MD5SUM="0f4da95ee93ee2eb5421af16100190c9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="colord packagekit meson libgusb vala"
Is it worth updating the homepage to the gitlab site as well since it seems to cover the basics (and more) that's on the launchpad site?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.