LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   SBo scripts not building on current (read 1st post, pls) (https://www.linuxquestions.org/questions/slackware-installation-40/sbo-scripts-not-building-on-current-read-1st-post-pls-4175659430/)

edps 08-19-2019 06:46 PM

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:

https://hastebin.com/zoranodaga.bash


how to procede?

thanks!

frankbell 08-19-2019 07:45 PM

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?

edps 08-20-2019 12:10 PM

Quote:

Originally Posted by frankbell (Post 6027028)
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:

https://www.linuxquestions.org/quest...ls-4175561999/

Matteo said: ditch script update is needed and will be done in the next update

Is there any way to delete this topic?

edps.


All times are GMT -5. The time now is 06:48 AM.