vala warnings

Bug #900395 reported by Feanor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Déjà Dup
Fix Released
Low
Unassigned
Gentoo Linux
New
Undecided
Unassigned

Bug Description

I am running arch linux

deja-dup 21.2
duplicity 0.6.17-2
vala 0.14.1-1
gtk3 3.2.2-3

If I start make the first time I get

Making all in common
make[2]: Entering directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2/common'
  CC libcommon_la-chacks.lo
  CC libcommon_la-uriutils.lo
make[2]: *** No rule to make target `common.h', needed by `all-am'. Stop.
make[2]: *** Waiting for unfinished jobs....
  VALAC libcommon_la_vala.stamp
DuplicityInstance.vala:417.23-417.47: warning: string.to_ulong is deprecated. Use uint64.parse
DuplicityInstance.vala:438.23-438.47: warning: string.to_ulong is deprecated. Use uint64.parse
Compilation succeeded - 2 warning(s)
make[2]: Leaving directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2'
make: *** [all] Error 2

and on the second run of make I get

Making all in widgets
make[2]: Entering directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2/widgets'
make[2]: *** No rule to make target `widgets.h', needed by `all-am'. Stop.
make[2]: *** Waiting for unfinished jobs....
  VALAC libwidgets_la_vala.stamp

(valac-0.14:26650): GLib-GObject-WARNING **: invalid cast from `ValaNamespace' to `ValaTypeSymbol'

(valac-0.14:26650): GLib-GObject-WARNING **: invalid cast from `ValaNamespace' to `ValaTypeSymbol'

(valac-0.14:26650): GLib-GObject-WARNING **: invalid cast from `ValaNamespace' to `ValaTypeSymbol'

(valac-0.14:26650): GLib-GObject-WARNING **: invalid cast from `ValaNamespace' to `ValaTypeSymbol'
make[2]: Leaving directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2/widgets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/data/Dokumente/Programmieren/PKGBUILD/deja-dup-devel/src/deja-dup-21.2'
make: *** [all] Error 2

The third run is fine though

On make check I get https://bugs.launchpad.net/deja-dup/+bug/900383

Related branches

Revision history for this message
Michael Terry (mterry) wrote :

The warings are harmless. The problems are the errors like "No rule to make target `widgets.h', needed by `all-am'. Stop" Maybe this is a -j2 issue...

Revision history for this message
Feanor (michael.pusterhofer) wrote :

thx it works with -j1

Revision history for this message
Justin (jlec) wrote :

It's a parallel build issue. Could this be fixed by removing common.h and widgets.h from noninst_HEADERS?

Revision history for this message
Michael Terry (mterry) wrote :

Awesome, good call. Removing them from noinst_HEADERS did the trick. Fixed in trunk.

Changed in deja-dup:
importance: Undecided → Low
milestone: none → 21.3
status: New → Fix Committed
Michael Terry (mterry)
Changed in deja-dup:
milestone: 21.3 → 21.4
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.