Bug 214676 - Bug: conflict when installing emulators/qemu with emulators/qemu-devel installed
Summary: Bug: conflict when installing emulators/qemu with emulators/qemu-devel installed
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-19 23:14 UTC by Alexander Nusov
Modified: 2016-11-21 01:13 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Nusov 2016-11-19 23:14:47 UTC
I'm experiencing an issue with installing qemu from ports tree when qemu-devel port is installed.

===>  Installing for qemu-2.6.1_1
===>   qemu-2.6.1_1 depends on file: /usr/local/libdata/pkgconfig/pixman-1.pc - found
===>   qemu-2.6.1_1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   qemu-2.6.1_1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found
===>   qemu-2.6.1_1 depends on shared library: libnettle.so - found (/usr/local/lib/libnettle.so)
===>   qemu-2.6.1_1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so)
===>   qemu-2.6.1_1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so)
===>   qemu-2.6.1_1 depends on shared library: libcurl.so - found (/usr/local/lib/libcurl.so)
===>   qemu-2.6.1_1 depends on shared library: libgnutls.so - found (/usr/local/lib/libgnutls.so)
===>   qemu-2.6.1_1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   qemu-2.6.1_1 depends on shared library: libsasl2.so - found (/usr/local/lib/libsasl2.so)
===>   qemu-2.6.1_1 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===>   qemu-2.6.1_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===>   qemu-2.6.1_1 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   qemu-2.6.1_1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so)
===>   qemu-2.6.1_1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so)
===>   qemu-2.6.1_1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so)
===>   qemu-2.6.1_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so)
===>   qemu-2.6.1_1 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so)
===>   qemu-2.6.1_1 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so)
===>   qemu-2.6.1_1 depends on shared library: libvte.so - found (/usr/local/lib/libvte.so)
===>   qemu-2.6.1_1 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>  Checking if qemu already installed
===>   Registering installation for qemu-2.6.1_1 as automatic
  stalling qemu-2.6.1_1...
pkg-static: qemu-2.6.1_1 conflicts with qemu-devel-2.6.0_2 (installs files into the same place).  Problematic file: /usr/local/bin/ivshmem-server
*** Error code 70

Stop.
make[1]: stopped in /usr/ports/emulators/qemu
*** Error code 1

is it known?

Steps to reproduce:
1. install devel/libvirt and enable QEMU support (qemu-devel will be installed)
2. install devel/qemu package
Comment 1 Alexander Nusov 2016-11-19 23:22:30 UTC
> 2. install devel/qemu package
emulators/qemu

looks like a version mismatch.

root@controller:/usr/ports # grep VERSION emulators/qemu-devel/Makefile
DISTVERSION=	2.6.0
root@controller:/usr/ports # grep VERSION emulators/qemu/Makefile
PORTVERSION=	2.6.1
DIST_SUBDIR=	qemu/${PORTVERSION}
Comment 2 Alexander Nusov 2016-11-19 23:26:08 UTC
SVN revision info:
revision 426544.

Working Copy Root Path: /usr/ports
URL: https://svn.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: https://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 426544
Node Kind: directory
Schedule: normal
Last Changed Author: marino
Last Changed Rev: 426544
Last Changed Date: 2016-11-20 02:17:35 +0300 (Sun, 20 Nov 2016)
Comment 3 Alexander Nusov 2016-11-21 01:13:47 UTC
Not a bug, those are diffetent branches.
Maybe adding CONFLICTS_INSTALL would be helpful.