Having trouble building Upstart 1.6.1 from source

alexxxbt alexxxbt at gmail.com
Sat Jan 12 09:55:56 UTC 2013


Hello, I got the same problem once, so..

Upstart needs dbus and libnih. Upstart uses libnih library for a  
generation of dbus calls from xml (nih-dbus-tool)
There are possible some combination of upstart and libnih/dbus version  
when upstart uses some dbus types which isn't supported by libnih version.

So, I suggest that you just should use more latest version of libnih (and  
maybe it will need more latest version of dbus).

On Sat, 12 Jan 2013 11:34:55 +0400, Chris Angelico <rosuav at gmail.com>  
wrote:

> Hi! My apologies if this is the wrong place for this, but I can't find
> an Upstart users mailing list, only the -devel.
>
> I'm trying to install a recent Upstart into a Debian Squeeze box
> (using a VM for testing at the moment). The build is failing, and I'm
> not sure what I've done wrong. It's a mostly default Debian 6.0.6
> except that the kernel has been built fresh from source, the latest
> version thereof (3.7.2).
>
> Based on the recommendation in:
> https://lists.ubuntu.com/archives/upstart-devel/2012-December/002106.html
> I took from source control, autoreconf'd, and tried to build; no  
> difference.
>
> The configure script completes with no visible complaints, but then make  
> says:
>
> rosuav at sikordebbie:~/upstart-1.6.1$ make
> make  all-recursive
> make[1]: Entering directory `/home/rosuav/upstart-1.6.1'
> Making all in intl
> make[2]: Entering directory `/home/rosuav/upstart-1.6.1/intl'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/rosuav/upstart-1.6.1/intl'
> Making all in dbus
> make[2]: Entering directory `/home/rosuav/upstart-1.6.1/dbus'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/home/rosuav/upstart-1.6.1/dbus'
> Making all in init
> make[2]: Entering directory `/home/rosuav/upstart-1.6.1/init'
>   GEN    com.ubuntu.Upstart.c
> nih-dbus-tool:../dbus/com.ubuntu.Upstart.xml:65:49: Invalid D-Bus type
> in <arg> type attribute: Unknown typecode
> make[2]: *** [com.ubuntu.Upstart.c] Error 1
> make[2]: Leaving directory `/home/rosuav/upstart-1.6.1/init'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rosuav/upstart-1.6.1'
> make: *** [all] Error 2
>
> Presumably there's a build step that I've missed. I'm using
> json-c-0.10 built from source (and installed), and all configure
> options at their defaults. I'm somewhat stuck here; is Upstart 1.6.1
> incompatible with kernel 3.7.2? Have I mucked up kernel parameters?
> Messed up the build incantation?
>
> Chris Angelico
>


-- 
Best regards, Alexander



More information about the upstart-devel mailing list