New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building current core-libvirt fails #1474

Closed
kalkin opened this Issue Nov 30, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@kalkin
Member

kalkin commented Nov 30, 2015

The package qubes-core-dom0-3.1.4.1 is pulling in the dependency libvirt-daemon-xen >= 1.2.20-4 when you try to install it. There is no up to date libvirt-daemon-xen package on current-testing or unstable repositories (I checked the 3.1 and 3.0).

I tried to build the RPM package using the current HEAD of core-libvirt, but this fails during compilation with the following error:

  CC       libxl/libvirt_driver_libxl_impl_la-libxl_driver.lo
libxl/libxl_conf.c: In function 'libxlMakePCI':
libxl/libxl_conf.c:1684:15: error: 'libxl_device_pci' has no member named 'rdm_policy'
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
               ^
libxl/libxl_conf.c:1684:30: error: 'LIBXL_RDM_RESERVE_POLICY_RELAXED' undeclared (first use in this function)
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
                              ^
libxl/libxl_conf.c:1684:30: note: each undeclared identifier is reported only once for each function it appears in
  CC       libxl/libvirt_driver_libxl_impl_la-libxl_migration.lo
Makefile:8004: recipe for target 'libxl/libvirt_driver_libxl_impl_la-libxl_conf.lo' failed
make[3]: *** [libxl/libvirt_driver_libxl_impl_la-libxl_conf.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** wait: No child processes.  Stop.
Makefile:5108: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/user/rpmbuild/BUILD/libvirt-1.2.20/src'
Makefile:1989: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/rpmbuild/BUILD/libvirt-1.2.20'
Makefile:1885: recipe for target 'all' failed
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.39MS7X (%build)

Building version 1.20-3 works without errors.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Nov 30, 2015

Member

On Mon, Nov 30, 2015 at 09:33:12AM -0800, kalkin wrote:

The package qubes-core-dom0-3.1.4.1 is pulling in the dependency libvirt-daemon-xen >= 1.2.20-4 when you try to install it. There is no up to date libvirt-daemon-xen package on current-testing or unstable repositories (I checked the 3.1 and 3.0).

It's here:
http://yum.qubes-os.org/r3.1/current-testing/dom0/fc20/rpm/libvirt-daemon-xen-1.2.20-4.fc20.x86_64.rpm

I tried to build the RPM package using the current HEAD of core-libvirt, but this fails during compilation with the following error:

  CC       libxl/libvirt_driver_libxl_impl_la-libxl_driver.lo
libxl/libxl_conf.c: In function 'libxlMakePCI':
libxl/libxl_conf.c:1684:15: error: 'libxl_device_pci' has no member named 'rdm_policy'
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
               ^
libxl/libxl_conf.c:1684:30: error: 'LIBXL_RDM_RESERVE_POLICY_RELAXED' undeclared (first use in this function)
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
                              ^
libxl/libxl_conf.c:1684:30: note: each undeclared identifier is reported only once for each function it appears in
  CC       libxl/libvirt_driver_libxl_impl_la-libxl_migration.lo

You need Xen 4.6 for that... So yes, missing BuildRequires.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Nov 30, 2015

On Mon, Nov 30, 2015 at 09:33:12AM -0800, kalkin wrote:

The package qubes-core-dom0-3.1.4.1 is pulling in the dependency libvirt-daemon-xen >= 1.2.20-4 when you try to install it. There is no up to date libvirt-daemon-xen package on current-testing or unstable repositories (I checked the 3.1 and 3.0).

It's here:
http://yum.qubes-os.org/r3.1/current-testing/dom0/fc20/rpm/libvirt-daemon-xen-1.2.20-4.fc20.x86_64.rpm

I tried to build the RPM package using the current HEAD of core-libvirt, but this fails during compilation with the following error:

  CC       libxl/libvirt_driver_libxl_impl_la-libxl_driver.lo
libxl/libxl_conf.c: In function 'libxlMakePCI':
libxl/libxl_conf.c:1684:15: error: 'libxl_device_pci' has no member named 'rdm_policy'
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
               ^
libxl/libxl_conf.c:1684:30: error: 'LIBXL_RDM_RESERVE_POLICY_RELAXED' undeclared (first use in this function)
         pcidev->rdm_policy = LIBXL_RDM_RESERVE_POLICY_RELAXED;
                              ^
libxl/libxl_conf.c:1684:30: note: each undeclared identifier is reported only once for each function it appears in
  CC       libxl/libvirt_driver_libxl_impl_la-libxl_migration.lo

You need Xen 4.6 for that... So yes, missing BuildRequires.

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@kalkin

This comment has been minimized.

Show comment
Hide comment
@kalkin

kalkin Nov 30, 2015

Member

Ohh looks like i missed it. Thank you and sorry for disturbance.

Member

kalkin commented Nov 30, 2015

Ohh looks like i missed it. Thank you and sorry for disturbance.

@kalkin kalkin closed this Nov 30, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment