tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
334 stars 27 forks source link

No function 'waf' defined in wscript #591

Closed yochananmarqos closed 4 years ago

yochananmarqos commented 4 years ago

Basic information

Describe the bug

Project fails to build with No function 'waf' defined in wscript

Steps to reproduce the behavior

    ./waf configure \
        --prefix=/usr \
        --libdir=/usr/lib \
        --no-vala-lint \
        --no-js-lint \
        --no-cef \
        --no-unity \
        --no-appindicator \
    ./waf build

Expected behavior

Self-explanatory.

Debugging log

Setting top to                           : /home/yochanan/Documents/pkgbuilds/nuvolaruntime-git/src/nuvolaruntime 
Setting out to                           : /home/yochanan/Documents/pkgbuilds/nuvolaruntime-git/src/nuvolaruntime/build 
Version                                  : 4.16.32 
Upstream revision                        : 32-gb6b0ee5 
Install prefix                           : /usr 
Branding                                 : default 
Branding metadata                        : branding/default.json 
App data XML                             : branding/default/appdata.xml 
Checking for 'gcc' (C compiler)          : /usr/sbin/gcc 
Checking for program 'pkg-config'        : /usr/sbin/pkg-config 
Checking for 'gobject-2.0'               : yes 
Checking for 'gthread-2.0'               : yes 
Checking for program 'valac-0.8'         : not found 
Checking for program 'valac'             : /usr/sbin/valac 
Checking for valac version >= (0, 8, 0)  : (0, 46, 6) 
Checking for program 'valac-0.42'        : /usr/sbin/valac 
Checking for valac-0.42 version >= (0, 42, 0) : (0, 46, 6) 
Checking for 'glib-2.0'                       : yes 
Checking for 'gio-2.0'                        : yes 
Checking for 'gio-unix-2.0'                   : yes 
Checking for 'gtk+-3.0'                       : yes 
Checking for 'gdk-3.0'                        : yes 
Checking for 'gdk-x11-3.0'                    : yes 
Checking for 'gee-0.8'                        : yes 
Checking for 'x11'                            : yes 
Checking for 'sqlite3'                        : yes 
Checking for 'dioriteglib4'                   : yes 
Checking for 'dioritegtk4'                    : yes 
Checking for 'json-glib-1.0'                  : yes 
Checking for 'libnotify'                      : yes 
Checking for 'libsecret-1'                    : yes 
Checking for 'gstreamer-1.0'                  : yes 
Checking for 'webkit2gtk-4.0'                 : yes 
Checking for 'webkit2gtk-web-extension-4.0'   : yes 
Checking for 'javascriptcoregtk-4.0'          : yes 
Checking for 'uuid'                           : yes 
Checking for 'libsoup-2.4'                    : yes 
Checking for 'dri2'                           : yes 
Checking for 'libdrm'                         : yes 
Checking for 'libarchive'                     : yes 
Checking for 'libpulse'                       : yes 
Checking for 'libpulse-mainloop-glib'         : yes 
Checking for program 'diorite-testgen4'       : /usr/sbin/diorite-testgen4 
Checking for 'webkit2gtk-4.0' version         : 2.26.4 
'configure' finished successfully (0.277s)
No function './waf' defined in /home/yochanan/Documents/pkgbuilds/nuvolaruntime-git/src/nuvolaruntime/wscript
jiri-janousek commented 4 years ago

Hello @yochananmarqos. Remove the backslash after --no-appindicator.

Please note that builds with --no-cef are not supported and might not work at all. This option is now kept only to run CI without CEF.

yochananmarqos commented 4 years ago

Aha, a typo! Thanks for pointing it out. I was just getting started and realized I would need CEF.