FTBFS moserial valac compile errors

Bug #532649 reported by Paul Larson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moserial (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: moserial

/usr/bin/valac -C --pkg gtk+-2.0 --pkg gdk-2.0 --pkg Config --pkg posix --pkg gconf-2.0 --vapidir src/ --basedir . src/MainWindow.vala src/Main.vala src/SettingsDialog.vala src/Settings.vala src/SendProgressDialog.vala src/ReceiveChooserDialog.vala src/ReceiveProgressDialog.vala src/RecordDialog.vala src/PreferencesDialog.vala src/SerialConnection.vala src/HexTextBuffer.vala src/SerialStreamRecorder.vala src/InputParser.vala src/Rzwrapper.vala src/XmodemFilenameDialog.vala src/SendChooserDialog.vala src/Szwrapper.vala src/AutoScroll.vala src/Preferences.vala src/Profile.vala src/DefaultPaths.vala src/MoUtils.vala
posix.vapi:471.31-471.37: warning: deprecated syntax, use [CCode (has_target = false)]
  public static delegate void Handler (int sig_num);
                              ^^^^^^^
posix.vapi:505.31-505.43: warning: deprecated syntax, use [CCode (has_target = false)]
  public static delegate void ActionHandler (int sig_num, Info info, void* context);
                              ^^^^^^^^^^^^^
src/Settings.vala:44.17-44.27: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.device = device;
                ^^^^^^^^^^^
src/Settings.vala:45.17-45.29: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.baudRate = baudRate;
                ^^^^^^^^^^^^^
src/Settings.vala:46.17-46.29: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.dataBits = dataBits;
                ^^^^^^^^^^^^^
src/Settings.vala:47.17-47.29: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.stopBits = stopBits;
                ^^^^^^^^^^^^^
src/Settings.vala:48.17-48.27: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.parity = parity;
                ^^^^^^^^^^^
src/Settings.vala:49.17-49.30: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.handshake = handshake;
                ^^^^^^^^^^^^^^
src/Settings.vala:50.17-50.31: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.accessMode = accessMode;
                ^^^^^^^^^^^^^^^
src/Settings.vala:51.17-51.30: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.localEcho = localEcho;
                ^^^^^^^^^^^^^^
src/SettingsDialog.vala:46.17-46.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/Preferences.vala:40.3-40.29: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.useSystemMonospaceFont=useSystemMonospaceFont;
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Preferences.vala:41.3-41.11: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.font=font;
  ^^^^^^^^^
src/Preferences.vala:42.3-42.19: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.recordLaunch=recordLaunch;
  ^^^^^^^^^^^^^^^^^
src/Preferences.vala:43.3-43.16: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.fontColor=fontColor;
  ^^^^^^^^^^^^^^
src/Preferences.vala:44.3-44.22: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.backgroundColor=backgroundColor;
  ^^^^^^^^^^^^^^^^^^^^
src/Preferences.vala:45.3-45.21: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.highlightColor=highlightColor;
  ^^^^^^^^^^^^^^^^^^^
src/Preferences.vala:46.3-46.20: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.enableTimeout=enableTimeout;
  ^^^^^^^^^^^^^^^^^^
src/Preferences.vala:47.3-47.14: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.timeout=timeout;
  ^^^^^^^^^^^^
src/SendProgressDialog.vala:30.17-30.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/SendChooserDialog.vala:29.17-29.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/ReceiveProgressDialog.vala:30.17-30.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/ReceiveChooserDialog.vala:29.17-29.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/RecordDialog.vala:32.17-32.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/PreferencesDialog.vala:37.17-37.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/XmodemFilenameDialog.vala:28.17-28.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/Rzwrapper.vala:39.3-39.15: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.protocol = protocol;
  ^^^^^^^^^^^^^
src/Rzwrapper.vala:40.3-40.9: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.sc = sc;
  ^^^^^^^
src/Rzwrapper.vala:41.3-41.11: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.path = p;
  ^^^^^^^^^
src/Rzwrapper.vala:42.3-42.15: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.filename = filename;
  ^^^^^^^^^^^^^
src/Rzwrapper.vala:151.12-151.50: warning: unhandled error `GLib.IOChannelError'
           source.read_chars(m_buf, out bytesRead);
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:215.12-215.50: warning: unhandled error `GLib.IOChannelError'
           source.read_chars(m_buf, out bytesRead);
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:83.5-83.38: warning: unhandled error `GLib.IOChannelError'
    IOChannelOutput.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:84.5-84.52: warning: unhandled error `GLib.IOChannelError'
    IOChannelOutput.set_flags(GLib.IOFlags.NONBLOCK);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:85.5-85.37: warning: unhandled error `GLib.IOChannelError'
    IOChannelError.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:86.5-86.51: warning: unhandled error `GLib.IOChannelError'
    IOChannelError.set_flags(GLib.IOFlags.NONBLOCK);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Rzwrapper.vala:87.5-87.37: warning: unhandled error `GLib.IOChannelError'
    IOChannelInput.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:39.3-39.15: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.protocol = protocol;
  ^^^^^^^^^^^^^
src/Szwrapper.vala:40.3-40.9: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.sc = sc;
  ^^^^^^^
src/Szwrapper.vala:41.3-41.15: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
  this.filename = filename;
  ^^^^^^^^^^^^^
src/Szwrapper.vala:143.12-143.50: warning: unhandled error `GLib.IOChannelError'
           source.read_chars(m_buf, out bytesRead);
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:213.12-213.50: warning: unhandled error `GLib.IOChannelError'
           source.read_chars(m_buf, out bytesRead);
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:86.5-86.38: warning: unhandled error `GLib.IOChannelError'
    IOChannelOutput.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:87.5-87.52: warning: unhandled error `GLib.IOChannelError'
    IOChannelOutput.set_flags(GLib.IOFlags.NONBLOCK);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:88.5-88.37: warning: unhandled error `GLib.IOChannelError'
    IOChannelError.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:89.5-89.51: warning: unhandled error `GLib.IOChannelError'
    IOChannelError.set_flags(GLib.IOFlags.NONBLOCK);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Szwrapper.vala:90.5-90.37: warning: unhandled error `GLib.IOChannelError'
    IOChannelInput.set_encoding(null);
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:99.17-99.28: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.builder=builder;
                ^^^^^^^^^^^^
src/MainWindow.vala:100.17-100.43: warning: assigning to construct-only properties is deprecated, use Object (property: value) constructor chain up
                this.startupProfileFilename=profileFilename;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:310.27-310.56: warning: unhandled error `GLib.ConvertError'
   recentManager.add_item(GLib.Filename.to_uri(filename));
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:332.16-332.58: warning: unhandled error `GLib.ConvertError'
  applyProfile(GLib.Filename.from_uri(r.get_current_uri()));
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:446.11-446.25: error: Access to private member `moserial.Szwrapper.updateStatus' denied
          sz.updateStatus+=sendProgressDialog.updateStatus;
          ^^^^^^^^^^^^^^^
src/MainWindow.vala:447.11-447.45: error: Access to private member `moserial.SendProgressDialog.transferCanceled' denied
          sendProgressDialog.transferCanceled+=sz.transferCanceled;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:448.11-448.29: error: Access to private member `moserial.Szwrapper.transferComplete' denied
          sz.transferComplete += this.sendComplete;
          ^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:453.10-453.24: error: Access to private member `moserial.Szwrapper.updateStatus' denied
         sz.updateStatus-=sendProgressDialog.updateStatus;
         ^^^^^^^^^^^^^^^
src/MainWindow.vala:454.10-454.44: error: Access to private member `moserial.SendProgressDialog.transferCanceled' denied
         sendProgressDialog.transferCanceled-=sz.transferCanceled;
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:489.11-489.25: error: Access to private member `moserial.Rzwrapper.updateStatus' denied
          rz.updateStatus+=receiveProgressDialog.updateStatus;
          ^^^^^^^^^^^^^^^
src/MainWindow.vala:490.11-490.48: error: Access to private member `moserial.ReceiveProgressDialog.transferCanceled' denied
          receiveProgressDialog.transferCanceled+=rz.transferCanceled;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:491.11-491.29: error: Access to private member `moserial.Rzwrapper.transferComplete' denied
          rz.transferComplete += this.receiveComplete;
          ^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:496.17-496.31: error: Access to private member `moserial.Rzwrapper.updateStatus' denied
                rz.updateStatus-=receiveProgressDialog.updateStatus;
                ^^^^^^^^^^^^^^^
src/MainWindow.vala:497.17-497.54: error: Access to private member `moserial.ReceiveProgressDialog.transferCanceled' denied
                receiveProgressDialog.transferCanceled-=rz.transferCanceled;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:618.17-618.40: error: Access to private member `moserial.SerialConnection.newData' denied
                serialConnection.newData += this.updateIncoming;
                ^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:629.25-629.48: error: Access to private member `moserial.SerialConnection.newData' denied
                        serialConnection.newData -= this.updateIncoming;
                        ^^^^^^^^^^^^^^^^^^^^^^^^
src/MainWindow.vala:826.26-826.62: warning: unhandled error `GLib.ConvertError'
  recentManager.add_item(GLib.Filename.to_uri(profileFilename));
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 12 error(s), 52 warning(s)
make[1]: *** [src/moserial.vala.stamp] Error 1
make[1]: Leaving directory `/tmp/buildd/moserial-2.28.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2

Tags: patch

Related branches

Paul Larson (pwlars)
Changed in moserial (Ubuntu):
assignee: nobody → Paul Larson (pwlars)
Revision history for this message
Paul Larson (pwlars) wrote :

debdiff attached

tags: added: patch
Changed in moserial (Ubuntu):
status: New → Confirmed
assignee: Paul Larson (pwlars) → nobody
importance: Undecided → Medium
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

And thanks to fix this FTBFS.

I've updated a bit the changelog entry, to make clearer the modified files, and also changed the patch name, to make clearer what it does.
I also updated the DEP3 header of the patch, as the Origin tag is not for author but for the URL of the GIT entry, in this case.

Anyway, good job!

Thanks,
Fabrice

Changed in moserial (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package moserial - 2.28.2-0ubuntu2

---------------
moserial (2.28.2-0ubuntu2) lucid; urgency=low

  * Added fix_ftbfs-public_definitions.patch to fix build failure (LP: #532649)
  * debian/control: Added build dependency on quilt
  * debian/rules: Added --with quilt to call quilt
  * debian/control: Bumped standards version to 3.8.4
  * Added README.source because of using a patch system
 -- Paul Larson <email address hidden> Thu, 04 Mar 2010 11:54:42 -0600

Changed in moserial (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.