[SOLVED] SBo scripts not building on current (read 1st post, pls)
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
SBo scripts not building on current (read 1st post, pls)
Hi all, this is my first post here so...
when i'm trying to build simple-scan on -current i get this:
Code:
╭─edps@darkstar in ~
╰$ su -l
Senha :
root@darkstar:~# sbopkg -k -i simple-scan
Both a queuefile and a package were found with the name "simple-scan".
Use (Q)ueuefile, (P)ackage, or (A)bort?: q
###########################################
New queue process started on:
seg ago 19 20:08:23 -03 2019
###########################################
+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process: Download, build, and install
simple-scan:
GPG checks not supported for the SBo-git repository.
Processing simple-scan 3.30.1.1-1
Using original .info file
Using original SlackBuild file
No build options selected.
+++++++++++++++++++++++++++++++++++++++++++
Pre-check complete.
Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.
(P)roceed or (Q)uit?: p
Processing simple-scan
simple-scan:
Found simple-scan-3.30.1.1.tar.bz2 in /var/cache/sbopkg.
Checking MD5SUM:
MD5SUM check for simple-scan-3.30.1.1.tar.bz2 ... OK
Building package for simple-scan...
simple-scan-3.30.1.1/
...
..
..
.
simple-scan-3.30.1.1/src/simple-scan.vala
The Meson build system
Version: 0.51.1
Source dir: /tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1
Build dir: /tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1/build
Build type: native build
Project name: simple-scan
Project version: 3.30.1.1
C compiler for the build machine: ccache cc (gcc 9.2.0 "cc (GCC) 9.2.0")
Vala compiler for the build machine: valac (valac 0.44.7)
C compiler for the host machine: ccache cc (gcc 9.2.0 "cc (GCC) 9.2.0")
Vala compiler for the host machine: valac (valac 0.44.7)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.60.6
Run-time dependency gtk+-3.0 found: YES 3.24.10
Run-time dependency gmodule-export-2.0 found: YES 2.60.6
Run-time dependency gthread-2.0 found: YES 2.60.6
Run-time dependency zlib found: YES 1.2.11
Run-time dependency cairo found: YES 1.16.0
Run-time dependency gdk-pixbuf-2.0 found: YES 2.38.1
Run-time dependency gusb found: YES 0.2.11
Run-time dependency colord found: YES 1.3.5
Run-time dependency packagekit-glib2 found: YES 1.1.10
Run-time dependency libwebp found: YES 1.0.3
Run-time dependency libwebpmux found: YES 1.0.3
Run-time dependency sane-backends found: YES 1.0.28
Program msgfmt found: YES (/usr/bin/msgfmt)
Program itstool found: YES (/usr/bin/itstool)
Program meson_compile_gschema.py found: YES (/tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1/data/meson_compile_gschema.py)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Build targets in project: 10
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[1/19] Generating resources_h with a custom command.
[2/19] Generating resources_c with a custom command.
[3/19] Compiling C object 'src/25a6634@@simple-scan@exe/meson-generated_.._resources.c.o'.
[4/19] Compiling Vala source ../src/config.vapi ../src/app-window.vala ../src/authorize-dialog.vala ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/preferences-dialog.vala ../src/simple-scan.vala ../src/scanner.vala ../src/screensaver.vala ../src/autosave-manager.vala.
FAILED: src/25a6634@@simple-scan@exe/app-window.c src/25a6634@@simple-scan@exe/authorize-dialog.c 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/preferences-dialog.c src/25a6634@@simple-scan@exe/simple-scan.c src/25a6634@@simple-scan@exe/scanner.c src/25a6634@@simple-scan@exe/screensaver.c src/25a6634@@simple-scan@exe/autosave-manager.c
valac -C --debug --debug --pkg libwebpmux --pkg libwebp --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/sbopkg.7Tyzxi/simple-scan-3.30.1.1/src -D HAVE_COLORD -D HAVE_PACKAGEKIT -D HAVE_WEBP ../src/config.vapi ../src/app-window.vala ../src/authorize-dialog.vala ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/preferences-dialog.vala ../src/simple-scan.vala ../src/scanner.vala ../src/screensaver.vala ../src/autosave-manager.vala
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
ThreadFunc<Error?>? write_delegate = null;
^^^^^^^^^^^^^^^^^^
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
ThreadFunc<Error?>? write_delegate = null;
^^^^^^^^^^^^^^^^^^
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
ThreadFunc<Error?>? write_delegate = null;
^^^^^^^^^^^^^^^^^^
../src/simple-scan.vala:134.31-134.42: error: Argument 1: Cannot convert from `unowned GLib.List<weak ScanDevice>' to `unowned GLib.List<ScanDevice>'
app.set_scan_devices (devices_copy, missing_driver);
^^^^^^^^^^^^
Compilation failed: 1 error(s), 3 warning(s)
[5/19] Generating simple-scan.desktop_data_merge with a custom command.
[6/19] Generating simple-scan.appdata.xml_data_merge with a custom command.
ninja: build stopped: subcommand failed.
Cleaning up...
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?:
When i update version to 3.32.2.1 script builds fine and program works too, see the complete log:
Just to be thorough, did you install these dependencies listed on the Slackbuilds page for simple-scan and any dependencies listed on their pages before attempting to build simple-scan: vala, libgusb, colord, packagekit, meson?
Just to be thorough, did you install these dependencies listed on the Slackbuilds page for simple-scan and any dependencies listed on their pages before attempting to build simple-scan: vala, libgusb, colord, packagekit, meson?
@frankbell, i'm sorry for post this in wrong place, after this i'm post into the right place:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.