libdmapsharing ftbfs in disco

Bug #1823425 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libdmapsharing (Ubuntu)
Fix Released
High
Unassigned

Bug Description

https://launchpadlibrarian.net/417924367/buildlog_ubuntu-disco-amd64.libdmapsharing_2.9.39-4_BUILDING.txt.gz

Making all in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
/usr/bin/valac --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg gio-2.0 --pkg avahi-gobject dacplisten.vala vala-dmap-db.vala vala-dmap-container-db.vala -C
/usr/bin/valac --vapidir=../vala --pkg gee-0.8 --pkg gtk+-2.0 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg gio-2.0 --pkg avahi-gobject dpapview.vala vala-dmap-db.vala vala-dpap-record.vala -C
/usr/bin/valac --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg gio-2.0 --pkg avahi-gobject dmapcopy.vala vala-dmap-db.vala vala-dpap-record.vala -C
/usr/bin/valac --vapidir=../vala --pkg gee-0.8 --pkg gstreamer-1.0 --pkg libdmapsharing-3.0 --pkg libsoup-2.4 --pkg gio-2.0 --pkg avahi-gobject dmapserve.vala vala-dmap-db.vala vala-dpap-record.vala vala-dmap-container-db.vala -C
vala-dpap-record.vala:120.3-120.42: warning: unhandled error `GLib.FileError'
  GLib.FileUtils.get_data (path, out data);
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-db.vala:27.2-27.46: error: Cannot convert from `Gee.ArrayList<DMAP.Record>' to `Gee.ArrayList<weak DMAP.Record>'
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-db.vala:30.3-30.8: error: The name `add' does not exist in the context of `ValaDMAPDb.db'
  db.add (((DMAP.Record) record));
  ^^^^^^
vala-dmap-db.vala:27.2-27.46: vala-dmap-db.vala:31.10-31.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:43.10-43.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:48.19-48.25: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^
error: Cannot convert from `Gee.ArrayList<DMAP.Record>'vala-dmap-db.vala:58.10-58.15: error: The name `get' does not exist in the context of `ValaDMAPDb.db'
  return db.get ((int) id - 1);
         ^^^^^^
vala-dmap-container-db.vala:27.2-27.46: error: Cannot convert from `Gee.ArrayList<DMAP.Record>' to `Gee.ArrayList<weak DMAP.Record>'
 to `Gee.ArrayList<weak DMAP.Record>'
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-container-db.vala:30.10-30.16: error: The name `size' does not exist in the context of `ValaDMAPContainerDb.db'
  return db.size;
         ^^^^^^ ^
^^^vala-dmap-container-db.vala:35.19-35.25: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-db.vala:30.3-30.8: error: The name `add' does not exist in the context of `ValaDMAPDb.db'error: The name `size' does not exist in the context of `ValaDMAPContainerDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^

  db.add (((DMAP.Record) record));
dmapserve.vala:34.40-34.43: ^^^^^^
vala-dmap-db.vala:31.10-31.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
warning: Argument 2: Cannot pass null to non-null parameter type
vala-dmap-db.vala:43.10-43.16: error: The name share = new DPAP.Share ("dmapserve", null, db, container_db, null);
                                       ^^^^
dmapserve.vala:34.64-34.67: warning: Argument 5: Cannot pass null to non-null parameter type
  share = new DPAP.Share ("dmapserve", null, db, container_db, null);
                                                               ^^^^
`size' does not exist in the context of `ValaDMAPDb.db'dmapserve.vala:57.6-57.32:
  return db.size;
         ^^^^^^^
warning: unhandled error `GLib.Error'
vala-dmap-db.vala:48.19-48.25: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^
 var dmapcopy = new DPAPServe ();
     ^^^vala-dmap-db.vala:58.10-58.15: error: The name `get' does not exist in the context of `ValaDMAPDb.db'
  return db.get ((int) id - 1);
         ^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 9 error(s), 4 warning(s)
vala-dpap-record.vala:120.3-120.42: warning: unhandled error `GLib.FileError'
  GLib.FileUtils.get_data (path, out data);
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dmapcopy.vala:95.6-95.31: warning: unhandled error `GLib.Error'
 var dmapcopy = new DPAPCopy ();
     ^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 6 error(s), 2 warning(s)
make[3]: *** [Makefile:956: dmapserve.stamp] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [Makefile:952: dmapcopy.stamp] Error 1
dacplisten.vala:27.3-27.13: warning: `null' incompatible with return type `DAAP.Record'
  return null;
  ^^^^^^^^^^^
dacplisten.vala:32.3-32.13: warning: `null' incompatible with return type `uchar[]'
  return null;
  ^^^^^^^^^^^
vala-dmap-db.vala:27.2-27.46: error: Cannot convert from `Gee.ArrayList<DMAP.Record>' to `Gee.ArrayList<weak DMAP.Record>'
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-db.vala:30.3-30.8: error: The name `add' does not exist in the context of `ValaDMAPDb.db'
  db.add (((DMAP.Record) record));
  ^^^^^^
vala-dmap-db.vala:31.10-31.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:43.10-43.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:48.19-48.25: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^
vala-dmap-db.vala:58.10-58.15: error: The name `get' does not exist in the context of `ValaDMAPDb.db'
  return db.get ((int) id - 1);
         ^^^^^^
vala-dmap-container-db.vala:27.2-27.46: error: Cannot convert from `Gee.ArrayList<DMAP.Record>' to `Gee.ArrayList<weak DMAP.Record>'
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-container-db.vala:30.10-30.16: error: The name `size' does not exist in the context of `ValaDMAPContainerDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-container-db.vala:35.19-35.25: error: The name `size' does not exist in the context of `ValaDMAPContainerDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^
Compilation failed: 9 error(s), 2 warning(s)
make[3]: *** [Makefile:944: dacplisten.stamp] Error 1
gtk+-2.0.vapi:5873.40-5873.42: warning: Gtk is deprecated. Use gtk+-3.0
vala-dmap-db.vala:27.2-27.46: error: Cannot convert from `Gee.ArrayList<DMAP.Record>' to `Gee.ArrayList<weak DMAP.Record>'
 private Gee.ArrayList<unowned DMAP.Record> db = new Gee.ArrayList<DMAP.Record> ();
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
vala-dmap-db.vala:30.3-30.8: error: The name `add' does not exist in the context of `ValaDMAPDb.db'
  db.add (((DMAP.Record) record));
  ^^^^^^
vala-dmap-db.vala:31.10-31.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:43.10-43.16: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  return db.size;
         ^^^^^^^
vala-dmap-db.vala:48.19-48.25: error: The name `size' does not exist in the context of `ValaDMAPDb.db'
  for (i = 0; i < db.size; i++) {
                  ^^^^^^^
vala-dmap-db.vala:58.10-58.15: error: The name `get' does not exist in the context of `ValaDMAPDb.db'
  return db.get ((int) id - 1);
         ^^^^^^
vala-dpap-record.vala:120.3-120.42: warning: unhandled error `GLib.FileError'
  GLib.FileUtils.get_data (path, out data);
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dpapview.vala:40.18-40.20: warning: Gdk is deprecated. Use gdk-3.0
dpapview.vala:37.9-37.66: warning: unhandled error `GLib.FileError'
    int fd = GLib.FileUtils.open_tmp ("dpapview.XXXXXX", out path);
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dpapview.vala:38.5-38.71: warning: unhandled error `GLib.FileError'
    GLib.FileUtils.set_data (path, ((ValaDPAPRecord) v).thumbnail.data);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dpapview.vala:40.14-40.44: warning: unhandled error `GLib.Error'
    pixbuf = new Gdk.Pixbuf.from_file (path);
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dpapview.vala:78.2-78.4: warning: Gtk is deprecated. Use gtk+-3.0
dpapview.vala:81.21-81.23: warning: Gtk is deprecated. Use gtk+-3.0
dpapview.vala:86.3-86.5: warning: Gtk is deprecated. Use gtk+-3.0
Compilation failed: 6 error(s), 9 warning(s)
make[3]: *** [Makefile:948: dpapview.stamp] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:542: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:441: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

Matthias Klose (doko)
tags: added: ftbfs rls-dd-incoming
Changed in libdmapsharing (Ubuntu):
importance: Undecided → High
Changed in libdmapsharing (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libdmapsharing - 2.9.39-4ubuntu1

---------------
libdmapsharing (2.9.39-4ubuntu1) disco; urgency=medium

  * debian/patches/new_vala_build.patch:
    - changes to fix the build with the new vala version, thanks ricotz!
      (lp: #1823425)

 -- Sebastien Bacher <email address hidden> Mon, 08 Apr 2019 13:51:00 +0200

Changed in libdmapsharing (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.