[ovirt-users] Building ovirt-host-deploy gives `configure: error: otopi-devtools required but missing`

Jason Brooks jbrooks at redhat.com
Tue Apr 25 17:02:55 UTC 2017


On Tue, Apr 25, 2017 at 7:45 AM, Leni Kadali Mutungi
<lenikmutungi at gmail.com> wrote:
> Hello. I got the error mentioned in the subject when when trying to
> build ovirt-host-deploy. Full output here:
> https://paste.fedoraproject.org/paste/Dh7FF1XjhDa2TGNSBs~o815M1UNdIGYhyRLivL9gydE=
>
> The troubleshooting I've done so far is as follows:
> 1. Rebuilt otopi, running the commands `autoreconf -ivf` and then
> `./configure --enable-java-sdk --with-maven`. This made `make`
> download a host of stuff for otopi project from
> https://repo.maven.apache.org
> It did this again when I ran `make install`. When I went back to the
> ovirt-host-deploy directory, I ran `./configure`, both with the
> --enable-java-sdk and --with-maven options. Got the same error again.
>
> 2. I tried running entering the directory src/java and running `mvn
> install`. I received a build success message and then proceeded to run
>
> ./configure --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
> --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> --includedir=/usr/include --libdir=/usr/lib64
> --libexecdir=/usr/libexec --localstatedir=/var
> --sharedstatedir=/var/lib --mandir=/usr/share/man
> --disable-python-syntax-check --enable-java-sdk
> --with-local-version=otopi-1.7.0.master
> COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar
> JUNIT_JAR=/usr/share/java/junit.jar
>
> I omitted the --disable-dependency-tracking and
> --docdir=/usr/share/doc/otopi-1.7.0 options because of the following
> error: configure: WARNING: unrecognized options:
> --disable-dependency-tracking and the fact that I didn't have the
> directory /usr/share/doc/otopi-1.7.0 respectively. I got the following
> output: https://paste.fedoraproject.org/paste/90D0k1AyVPGDbNhk1WxlBl5M1UNdIGYhyRLivL9gydE=
>
> Running `sudo make install` gives me the same errors. It seems otopi
> is failing to compile properly and as a result, running ./configure
> within the ovirt-host-deploy directory ends with an error saying
> otopi-devtools are missing. Documentation of my environment as it
> stands is here:
> https://github.com/leni1/oVirt-docs-Debian/blob/master/oVirt-Development-Environment.md
>
> Any ideas on what I should try next are welcome.

On debian testing, I managed to build and install using ./configure
--with-otopi-sources=/root/otopi (this is where I'd checked out and
built otopi)

I got this error running ovirt-host-deploy:

# ovirt-host-deploy
***L:ERROR Internal error: Internal error, plugins set(['otopi',
'ovirt-host-common', 'ovirt-host-deploy']) are missing

It ran a bit further when run from the source dir:


# ./src/bin/ovirt-host-deploy
[ INFO  ] Stage: Initializing
          Continuing will configure this host for serving as
hypervisor. Are you sure you want to continue? (yes/no) yes
[ INFO  ] Stage: Environment setup
          Configuration files: []
          Log file: /tmp/ovirt-host-deploy-20170425170102-6mdsx6.log
          Version: otopi-1.7.0_master ()
          Version: ovirt-host-deploy-1.7.0_master ()
[ INFO  ] Stage: Environment packages setup
[ ERROR ] Failed to execute stage 'Environment packages setup':
Packager install not implemented
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

>
> --
> - Warm regards
> Leni Kadali Mutungi
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


More information about the Users mailing list