Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702816 - app-emulation/libvirt-5.10.0 version bump
Summary: app-emulation/libvirt-5.10.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://libvirt.org/news.html
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-12-14 09:21 UTC by Thomas Stein
Modified: 2019-12-31 22:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Stein 2019-12-14 09:21:37 UTC
Hello Devs.

Libvirt 5.10.0 has been released a few days ago. An updated ebuild would be nice.

cheers, t.

Reproducible: Always
Comment 1 Jason Chan 2019-12-21 01:14:17 UTC
Hi, it appears that this version bump needs some TLC. I've tried both the stable and git version of crossdev and received the same error.


--
* Applying libvirt-5.7.0-do-not-use-sysconf.patch ...                                                                                                                                                                                [ ok ]
 * Applying libvirt-1.2.16-fix_paths_in_libvirt-guests_sh.patch ...                                                                                                                                                                   [ ok ]
 * Applying libvirt-5.2.0-fix-paths-for-apparmor.patch ...                                                                                                                                                                            [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-emulation/libvirt-5.10.0/work/libvirt-5.10.0' ...
 * Running libtoolize --install --copy --force --automake ...                                                                                                                                                                         [ ok ]
 * Running aclocal -I m4 ...                                                                                                                                                                                                          [ ok ]
 * Running autoconf --force ...                                                                                                                                                                                                       [ ok ]
 * Running autoheader ...                                                                                                                                                                                                             [ ok ]
 * Running automake --add-missing --copy --force-missing ...                                                                                                                                                                          [ ok ]
 * Running elibtoolize in: libvirt-5.10.0/
 * Running elibtoolize in: libvirt-5.10.0/build-aux/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/libvirt-5.10.0/work/libvirt-5.10.0 ...
 * econf: updating libvirt-5.10.0/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating libvirt-5.10.0/build-aux/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libvirt-5.10.0 --htmldir=/usr/share/doc/libvirt-5.10.0/html --with-sysroot=/ --libdir=/usr/lib64 --with-apparmor --with-apparmor-profiles --without-audit --with-capng --with-dbus --without-dtrace --without-firewalld --with-fuse --without-glusterfs --without-storage-gluster --without-storage-iscsi --without-storage-iscsi-direct --with-libvirtd --with-libssh --with-storage-lvm --with-storage-mpath --with-lxc --with-macvtap --enable-nls --with-numactl --with-numad --without-openvz --with-storage-disk --with-libpcap --with-phyp --with-pm-utils --with-polkit --with-qemu --with-yajl --without-storage-rbd --with-sasl --without-selinux --with-udev --with-virtualport --with-network --with-wireshark-dissector --without-libxl --without-storage-zfs --without-hal --without-netcf --without-sanlock --with-esx --with-init-script=systemd --with-qemu-group=qemu --with-qemu-user=qemu --with-remote --with-storage-fs --with-vmware --disable-static --disable-werror --localstatedir=/var --with-runstatedir=/run --enable-threads=posix --with-vbox
configure: loading site script /usr/share/config.site
configure: error: Build directory must be different from source directory
--
Comment 2 Han Han 2019-12-31 03:50:07 UTC
(In reply to Jason Chan from comment #1)
> Hi, it appears that this version bump needs some TLC. I've tried both the
> stable and git version of crossdev and received the same error.
> 
> 
> --
> * Applying libvirt-5.7.0-do-not-use-sysconf.patch ...                       
> [ ok ]
>  * Applying libvirt-1.2.16-fix_paths_in_libvirt-guests_sh.patch ...         
> [ ok ]
>  * Applying libvirt-5.2.0-fix-paths-for-apparmor.patch ...                  
> [ ok ]
>  * Running eautoreconf in
> '/var/tmp/portage/app-emulation/libvirt-5.10.0/work/libvirt-5.10.0' ...
>  * Running libtoolize --install --copy --force --automake ...               
> [ ok ]
>  * Running aclocal -I m4 ...                                                
> [ ok ]
>  * Running autoconf --force ...                                             
> [ ok ]
>  * Running autoheader ...                                                   
> [ ok ]
>  * Running automake --add-missing --copy --force-missing ...                
> [ ok ]
>  * Running elibtoolize in: libvirt-5.10.0/
>  * Running elibtoolize in: libvirt-5.10.0/build-aux/
>  *   Applying portage/1.2.0 patch ...
>  *   Applying sed/1.5.6 patch ...
>  *   Applying as-needed/2.4.3 patch ...
> >>> Source prepared.
> >>> Configuring source in /var/tmp/portage/app-emulation/libvirt-5.10.0/work/libvirt-5.10.0 ...
>  * econf: updating libvirt-5.10.0/build-aux/config.sub with
> /usr/share/gnuconfig/config.sub
>  * econf: updating libvirt-5.10.0/build-aux/config.guess with
> /usr/share/gnuconfig/config.guess
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
> --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
> --disable-dependency-tracking --disable-silent-rules
> --docdir=/usr/share/doc/libvirt-5.10.0
> --htmldir=/usr/share/doc/libvirt-5.10.0/html --with-sysroot=/
> --libdir=/usr/lib64 --with-apparmor --with-apparmor-profiles --without-audit
> --with-capng --with-dbus --without-dtrace --without-firewalld --with-fuse
> --without-glusterfs --without-storage-gluster --without-storage-iscsi
> --without-storage-iscsi-direct --with-libvirtd --with-libssh
> --with-storage-lvm --with-storage-mpath --with-lxc --with-macvtap
> --enable-nls --with-numactl --with-numad --without-openvz
> --with-storage-disk --with-libpcap --with-phyp --with-pm-utils --with-polkit
> --with-qemu --with-yajl --without-storage-rbd --with-sasl --without-selinux
> --with-udev --with-virtualport --with-network --with-wireshark-dissector
> --without-libxl --without-storage-zfs --without-hal --without-netcf
> --without-sanlock --with-esx --with-init-script=systemd
> --with-qemu-group=qemu --with-qemu-user=qemu --with-remote --with-storage-fs
> --with-vmware --disable-static --disable-werror --localstatedir=/var
> --with-runstatedir=/run --enable-threads=posix --with-vbox
> configure: loading site script /usr/share/config.site
> configure: error: Build directory must be different from source directory
> --
Hello Jason,
Since libvirt-5.10(commit f96395e78), libvirt changed the way of compiling. You can see https://libvirt.org/compiling.html#compiling for reference.

Luckily I found copying libvirt-9999 for libvirt-5.10 worked for me. So I pushed a PR here: https://github.com/gentoo/gentoo/pull/14190 .

If any problem found by CI, I'll fix it later.
Comment 3 Larry the Git Cow gentoo-dev 2019-12-31 22:01:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb4fc1071be2c3cc4db7f3ce9ba4b5ef15aae3ac

commit bb4fc1071be2c3cc4db7f3ce9ba4b5ef15aae3ac
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2019-12-31 21:07:11 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2019-12-31 22:01:21 +0000

    app-emulation/libvirt: version bump to 5.10.0
    
    Closes: https://bugs.gentoo.org/698424
    Closes: https://bugs.gentoo.org/702816
    Closes: https://github.com/gentoo/gentoo/pull/14190
    Package-Manager: Portage-2.3.83, Repoman-2.3.20
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 app-emulation/libvirt/Manifest              |   1 +
 app-emulation/libvirt/libvirt-5.10.0.ebuild | 379 ++++++++++++++++++++++++++++
 2 files changed, 380 insertions(+)