shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

Error compiling `unity-lenses/unity-lens-music-6.9.1_p_p0_p03` #247

Closed renegart closed 3 years ago

renegart commented 3 years ago

With update to groovy I get following error while compiling 'unity-lens-music'

`

make all-recursive make[1]: Entering directory '/var/tmp/portage/unity-lenses/unity-lens-music-6.9.1_p_p0_p03/work/unity-lens-music-6.9.1+16.04' Making all in src make[2]: Entering directory '/var/tmp/portage/unity-lenses/unity-lens-music-6.9.1_p_p0_p03/work/unity-lens-music-6.9.1+16.04/src' /usr/bin/valac-0.48 -C --pkg dee-1.0 --pkg sqlite3 --pkg unity --pkg unity-extras --pkg gee-0.8 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg glib-2.0 --vapidir . --pkg tdb --target-glib=2.32 album.vala banshee-collection.vala banshee-filter-parser.vala banshee-filter-parser-decade.vala banshee-filter-parser-genre.vala banshee-scope.vala categories.vala config.vala daemon.vala filter-parser.vala filter-parser-decade.vala filter-parser-genre.vala genre.vala main.vala rhythmbox-scope.vala rhythmbox-collection.vala simple-scope.vala track.vala /usr/bin/valac-0.48 -C --pkg gstreamer-1.0 --pkg gstreamer-pbutils-1.0 --pkg gio-2.0 --enable-experimental music-preview-player.vala player-service.vala dash-proxy.vala player.vala filter-parser.vala:26.5-26.23: error: Creation method of abstract class cannot be public. public FilterParser (Filter filter) ^^^^^^^^^^^^^^^^^^^ genre.vala:26.5-26.39: warning: the modifier static' is not applicable to constants public static const string BLUES_ID = "blues"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:27.5-27.43: warning: the modifierstatic' is not applicable to constants public static const string CLASSICAL_ID = "classical"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:28.5-28.41: warning: the modifier static' is not applicable to constants public static const string COUNTRY_ID = "country"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:29.5-29.39: warning: the modifierstatic' is not applicable to constants public static const string DISCO_ID = "disco"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:30.5-30.38: warning: the modifier static' is not applicable to constants public static const string FUNK_ID = "funk"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:31.5-31.38: warning: the modifierstatic' is not applicable to constants public static const string ROCK_ID = "rock"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:32.5-32.39: warning: the modifier static' is not applicable to constants public static const string METAL_ID = "metal"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:33.5-33.40: warning: the modifierstatic' is not applicable to constants public static const string HIPHOP_ID = "hip-hop"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:34.5-34.39: warning: the modifier static' is not applicable to constants public static const string HOUSE_ID = "house"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:35.5-35.41: warning: the modifierstatic' is not applicable to constants public static const string NEWWAVE_ID = "new-wave"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:36.5-36.39: warning: the modifier static' is not applicable to constants public static const string RANDB_ID = "r-and-b"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:37.5-37.38: warning: the modifierstatic' is not applicable to constants public static const string PUNK_ID = "punk"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:38.5-38.38: warning: the modifier static' is not applicable to constants public static const string JAZZ_ID = "jazz"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:39.5-39.37: warning: the modifierstatic' is not applicable to constants public static const string POP_ID = "pop"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:40.5-40.40: warning: the modifier static' is not applicable to constants public static const string REGGAE_ID = "reggae"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:41.5-41.38: warning: the modifierstatic' is not applicable to constants public static const string SOUL_ID = "soul"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:42.5-42.40: warning: the modifier static' is not applicable to constants public static const string TECHNO_ID = "techno"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ genre.vala:43.5-43.39: warning: the modifierstatic' is not applicable to constants public static const string OTHER_ID = "other"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ main.vala:29.3-29.30: warning: the modifier static' is not applicable to constants static const string BUS_NAME = "com.canonical.Unity.Scope.Music"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dash-proxy.vala:21.3-21.36: warning: the modifierstatic' is not applicable to constants static const string DASH_DBUS_NAME = "com.canonical.Unity"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dash-proxy.vala:22.3-22.36: warning: the modifier static' is not applicable to constants static const string DASH_DBUS_PATH = "/com/canonical/Unity/Dash"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ simple-scope.vala:39.5-39.22: error: Creation method of abstract class cannot be public. public SimpleScope () ^^^^^^^^^^^^^^^^^^ Compilation failed: 2 error(s), 19 warning(s) make[2]: *** [Makefile:1222: unity_music_daemon.vala.stamp] Error 1 make[2]: *** Waiting for unfinished jobs.... player.vala:56.5-56.24: error: error typePreviewPlayer.PreviewPlayerError' is less accessible than creation method PreviewPlayer.PreviewPlayer.new' public PreviewPlayer () throws PreviewPlayerError ^^^^^^^^^^^^^^^^^^^^ player-service.vala:39.5-39.20: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void play (string uri) ^^^^^^^^^^^^^^^^ player-service.vala:50.5-50.21: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void pause () ^^^^^^^^^^^^^^^^^ player-service.vala:55.5-55.22: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void resume () ^^^^^^^^^^^^^^^^^^ player-service.vala:60.5-60.28: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void pause_resume () ^^^^^^^^^^^^^^^^^^^^^^^^ player-service.vala:65.5-65.20: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void stop () ^^^^^^^^^^^^^^^^ player-service.vala:70.5-70.21: warning: DBus methods are recommended to throw at leastGLib.Error' or GLib.DBusError, GLib.IOError' public void close () ^^^^^^^^^^^^^^^^^ player-service.vala:81.5-81.54: warning: DBus methods are recommended to throw at leastGLib.Error' or `GLib.DBusError, GLib.IOError' public HashTable<string, Variant> video_properties (string uri) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 1 error(s), 9 warning(s) make[2]: [Makefile:1226: music_preview_player.vala.stamp] Error 1 make[2]: Leaving directory '/var/tmp/portage/unity-lenses/unity-lens-music-6.9.1_p_p0_p03/work/unity-lens-music-6.9.1+16.04/src' make[1]: [Makefile:530: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/unity-lenses/unity-lens-music-6.9.1_p_p0_p03/work/unity-lens-music-6.9.1+16.04' make: *** [Makefile:436: all] Error 2